[go: up one dir, main page]

CN114971571B - Bill processing method and device based on mailbox - Google Patents

Bill processing method and device based on mailbox Download PDF

Info

Publication number
CN114971571B
CN114971571B CN202210654474.2A CN202210654474A CN114971571B CN 114971571 B CN114971571 B CN 114971571B CN 202210654474 A CN202210654474 A CN 202210654474A CN 114971571 B CN114971571 B CN 114971571B
Authority
CN
China
Prior art keywords
mailbox
bill
user
mail
ticket
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210654474.2A
Other languages
Chinese (zh)
Other versions
CN114971571A (en
Inventor
李锵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210654474.2A priority Critical patent/CN114971571B/en
Publication of CN114971571A publication Critical patent/CN114971571A/en
Application granted granted Critical
Publication of CN114971571B publication Critical patent/CN114971571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computer Hardware Design (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the specification provides a bill processing method and device based on a mailbox, wherein the bill processing method based on the mailbox comprises the following steps: after detecting that an agent mailbox of a user receives a bill mail, analyzing the bill mail; synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information; the agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.

Description

Bill processing method and device based on mailbox
This patent application is application number: cn202110819507.X, filing date: the invention discloses a method and a device for processing notes based on a mailbox, which are divided into Chinese patent application of 2021, month 07 and day 20.
Technical Field
The present document relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing a ticket based on a mailbox.
Background
Electronic tickets are vouchers that an enterprise or individual places and receives in purchasing goods, providing or receiving services, and engaging in other business activities, including providing the purchaser with the name, quality, agreed price, etc. of the product or service. In the process of issuing an electronic bill, a bill downloading link is generally provided for a user in a mail or short message mode, and the user needs to manually click the electronic bill downloading link to download the bill, so that the acquisition of the electronic bill can be completed. After the electronic ticket is acquired, management of the electronic ticket is also extremely important in the processing of the electronic ticket.
Disclosure of Invention
One or more embodiments of the present specification provide a mailbox-based ticket processing method. The mailbox-based bill processing method comprises the following steps: after detecting that the proxy mailbox of the user receives the bill mail, analyzing the bill mail. Synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information. The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
One or more embodiments of the present specification provide a mailbox-based ticket processing apparatus including: and the analysis module is configured to analyze the bill mail after detecting that the proxy mailbox of the user receives the bill mail. And the forwarding module is configured to synchronize the electronic bill obtained by analysis to a bill service application and forward the bill mail according to service configuration information. The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
One or more embodiments of the present specification provide a mailbox-based ticket processing apparatus including: a processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: after detecting that the proxy mailbox of the user receives the bill mail, analyzing the bill mail. Synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information. The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: after detecting that the proxy mailbox of the user receives the bill mail, analyzing the bill mail. Synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information. The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
Drawings
For a clearer description of one or more embodiments of the present description or of the solutions of the prior art, the drawings that are needed in the description of the embodiments or of the prior art will be briefly described below, it being obvious that the drawings in the description that follow are only some of the embodiments described in the present description, from which other drawings can be obtained, without inventive faculty, for a person skilled in the art;
FIG. 1 is a process flow diagram of a mailbox-based ticket processing method according to one or more embodiments of the present disclosure;
FIG. 2 is a flow diagram illustrating a method of processing a mailbox-based ticket for use in a ticketing services application scenario, in accordance with one or more embodiments of the present disclosure;
FIG. 3 is a schematic diagram of a mailbox-based ticket processing apparatus according to one or more embodiments of the present disclosure;
Fig. 4 is a schematic structural diagram of a mailbox-based ticket processing apparatus according to one or more embodiments of the present disclosure.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive effort, are intended to be within the scope of the present disclosure.
The embodiment of the bill processing method based on the mailbox is provided in the specification:
referring to fig. 1, a processing flow chart of a mailbox-based ticket processing method provided by the embodiment is shown, and referring to fig. 2, a processing flow chart of a mailbox-based ticket processing method applied to a ticket service application scenario provided by the embodiment is shown.
Referring to fig. 1, the mailbox-based ticket processing method provided in this embodiment specifically includes steps S102 to S104.
Step S102, after detecting that the proxy mailbox of the user receives the bill mail, analyzing the bill mail.
In practical application, the bill service application needs to be in butt joint with the bill service provider, and the electronic bill of the user can be automatically collected after the electronic bill returned by the bill service provider is acquired, but the bill service application can take a great deal of time, a great deal of manpower and a great deal of resources for being in butt joint with different bill service providers, and the efficiency is low.
According to the bill processing method based on the mailbox, the electronic bill is transferred through the proxy mailbox, and the proxy mailbox is in butt joint with the bill service application, so that the bill mail sent to the proxy mailbox can be synchronized to the bill service application for collection. Specifically, an agent mailbox is configured for a user, a forwarding mapping relation between the agent mailbox and the user mailbox is configured, the user can set the agent mailbox as a receiving address of an electronic bill in the process of issuing the electronic bill, after receiving the bill mail, the bill mail is forwarded to the user mailbox with the forwarding mapping relation, and the electronic bill obtained after analyzing the bill mail is synchronized to the bill service application, so that the bill service application is gathered. Therefore, the problem of efficiency of butting the bill service application with each bill service provider is solved, management of the electronic bill of the user is improved, and convenience of the subsequent user for accessing the electronic bill is improved.
In this embodiment, an intermediate mailbox is introduced, and interfacing is performed between the intermediate mailbox and both directions of the bill service provider and the user mailbox, that is, the intermediate mailbox forwards the bill mail to the user mailbox after receiving the bill mail sent by the bill service provider, and at the same time, parses the bill mail received by the intermediate mailbox, and synchronizes the electronic bill obtained by parsing to the bill service application for collection. The introduced intermediate mailbox is called an agent mailbox. The bill service application includes an application for providing bill collection and/or access to bill management services, and in particular, the application includes a separate third party application or a sub-program (such as an applet) loaded and accessed by the third party application.
In the implementation, the user mailbox cannot store and manage the electronic bill, so mailbox service configuration is carried out on the user through the bill service application, namely, an agent mailbox in butt joint with the bill service application is configured, and the agent mailbox is used as a receiving address of the electronic bill when the user opens the electronic bill. In addition, after the proxy mailbox is generated, a forwarding mapping relation between the proxy mailbox and the user mailbox is also required to be configured, and service configuration information is obtained, wherein the proxy mailbox and the service configuration information are generated after mailbox service configuration is performed by the bill service application.
In an optional implementation manner provided in this embodiment, in a mailbox service configuration process, the following operations are performed:
generating the proxy mailbox according to a mailbox configuration request submitted by the user through the bill service application;
Based on the user mailbox carried in the mailbox configuration request, configuring the forwarding mapping relation between the proxy mailbox and the user mailbox as the service configuration information; and forwarding the mail from the proxy mailbox to the user mailbox according to the forwarding mapping relation.
In order to improve the perception degree of the user on the mailbox identification of the proxy mailbox, the mailbox account of the user mailbox is used as the mailbox account of the proxy mailbox, and the mailbox account is spliced with the server domain name of the proxy mailbox to obtain the mailbox identification of the proxy mailbox. In an optional implementation manner provided in this embodiment, in a process of generating the proxy mailbox according to a mailbox configuration request submitted by the user through the ticketing service application, the following operations are performed:
Acquiring a mailbox configuration request submitted by the user through the bill service application;
reading a user mailbox identifier of a user mailbox carried in the mailbox configuration request, and extracting a mailbox account of the user mailbox;
And splicing the mailbox account with the server domain name of the proxy mailbox to generate the proxy mailbox.
Specifically, a user applies for an agent mailbox through a bill service application, reads a user mailbox identifier of a user mailbox carried in a mailbox configuration request after acquiring the mailbox configuration request submitted by the user through the bill service application, extracts a mailbox account, and splices the mailbox account with a server domain name of the agent mailbox to obtain the agent mailbox and the mailbox identifier of the agent mailbox. And configuring forwarding mapping relation for the proxy mailbox and the user mailbox.
For example, the user submits a mailbox configuration request through a bill service application, reads a user mailbox identifier of a user mailbox carried in the mailbox configuration request as a mailbox ID@xxx.com, extracts a mailbox account of the user mailbox as a mailbox ID if a server domain name of an agent mailbox is aaa. After the proxy mailbox is generated, in order to enable the user to check the bill mail through the user mailbox, the configuration of forwarding mapping relation is carried out on the user mailbox and the proxy mailbox, and the method comprises the steps of' sending mailbox: mailbox ID@aaa.com, receive mailbox: mailbox ID@xxx.com', service configuration information.
It should be noted that, in the process of generating the proxy mailbox, the mailbox identifier may also be generated randomly as the mailbox identifier of the proxy mailbox after the mailbox configuration application of the user is acquired.
After the agent mailbox is generated and the forwarding mapping relation is configured, the mailbox identification of the agent mailbox is sent to the user in order to improve the perception degree of the user on the mailbox identification of the agent mailbox. In an optional implementation manner provided in this embodiment, after the forwarding mapping relationship is configured, sending a mailbox identifier of the proxy mailbox to the user; so that the user takes the agent mailbox as the receiving address of the electronic bill when applying the electronic bill. For example, a user submits a mailbox configuration request through a bill service application, and after an agent mailbox and service configuration information are generated, a mailbox identifier of the agent mailbox is displayed to the user through the bill service application.
When the method is implemented, after the mailbox identification of the proxy mailbox is sent to the user, the user can take the proxy mailbox as the address for receiving the electronic bill when applying for the electronic bill. After receiving the bill mails, in order to collect the emails corresponding to the bill mails, the bill mails need to be analyzed to obtain the electronic bill. In an optional implementation manner provided in this embodiment, in a process of parsing the bill mail, the following operations are performed:
(1) And determining the service provider identification of the bill service provider corresponding to the bill mail based on the bill mail.
(2) And matching the service provider identifier with a preset mail template set, and reading the bill link of the electronic bill contained in the bill mail according to a matching result.
The preset mail template set comprises mail templates provided by bill service providers, and each mail template in the preset mail template set corresponds to each bill service provider respectively. Specifically, the service provider identifier is recorded in the mail template, and meanwhile, the template content of each part of the mail template corresponds to the mail content of the corresponding part in the bill mail respectively, for example, the bill link part in the mail template corresponds to the bill link contained in the bill mail, and the position of the bill link in the bill mail can be determined through the position of the bill link part in the mail template, so that the content corresponding to each part in the bill mail can be extracted through the positioning information of each part in the mail template.
For example, in the mail template of the a service provider, the position of the bill link part is from the x1 st line to the x2 nd line, the position is used as positioning information, and the bill link is extracted from the x1 st line to the x2 nd line in the bill mail sent by the a service provider by using the positioning information.
In practice, other contents are also included in the bill mail, so that the electronic bill is obtained. The electronic bill can be obtained according to the bill link only by reading the bill link of the electronic bill contained in the bill mail, and the received bill mail can be different due to different bill service providers, namely the positions of the bill links in the bill mail can be different, in the process of analysis, the mail templates corresponding to the bill service providers need to be intensively matched in the preset mail templates, and then the bill links are read according to the matching results.
The mail template records the position of the bill link, and after the mail template is matched with the mail template corresponding to the bill service provider, the bill link is read according to the positioning information of the bill link in the matched mail template; if the mail template corresponding to the bill service provider is not matched, all hyperlinks contained in the bill mail are identified, and then the bill links are obtained according to the identification result. In an optional implementation manner provided in this embodiment, in a process of implementing reading a ticket link of the electronic ticket included in the ticket mail according to a matching result, the following operations are performed:
if the matching is successful, determining positioning information corresponding to the bill link in the bill mail according to the service provider identifier, and reading the bill link based on the positioning information;
If the matching fails, identifying the hyperlink contained in the bill mail, and acquiring the bill link according to the identification result.
In an optional implementation manner of obtaining the bill link according to the identification result provided in this embodiment, if matching fails, the following steps are executed:
obtaining hyperlinks contained in the bill mails, and carrying out secondary matching on the hyperlinks and a preset keyword set;
If the secondary matching is successful, determining that the hyperlink is the bill link;
and if the secondary matching fails, downloading the hyperlink, and determining that the hyperlink which is successfully downloaded is the bill link.
Specifically, if the mail templates corresponding to the bill service providers are not matched in the preset mail template sets, all hyperlinks contained in the bill mails are obtained, secondary matching is carried out on the hyperlinks and the preset keyword sets, and if the secondary matching is successful, the hyperlinks successfully matched are used as bill links; if the secondary matching fails, the electronic bill is downloaded based on the hyperlink, if the electronic bill is downloaded successfully, the corresponding hyperlink is determined to be the bill link, and if the electronic bill is failed, abnormal reminding is carried out. In order to enrich the preset keyword set, extracting keywords of hyperlinks which are successfully downloaded in an attempt, adding the extracted keywords into the preset keyword set, and binding the extracted keywords with bill service providers corresponding to bill mails.
For example, when a user applies for issuing an electronic bill to an a-service provider, taking an agent mailbox ID@aaa.com as a receiving address of the electronic bill, and when the server of the agent mailbox detects that the agent mailbox receives the bill mail, reading a service provider identifier of the a-service provider carried in the bill mail; matching the service provider identification with a preset mail template set, and if the preset mail template set contains a mail template corresponding to the service provider A, reading bill links contained in the bill mails according to positioning information of the bill links recorded in the corresponding mail template and the positioning information; if the preset mail template set does not contain a mail template corresponding to the A service provider, reading all hyperlinks in the bill mail, performing secondary matching on each hyperlink and the preset keyword set, if the preset keyword set contains any keyword in the hyperlinks, taking the hyperlink as a bill link, if the preset keyword set does not contain keywords in each hyperlink, performing trial downloading on each hyperlink, judging whether an electronic bill is obtained, if so, taking the corresponding hyperlink as the bill link, extracting keywords in the hyperlink, establishing a binding relation between the extracted keywords and the A service provider, and adding the extracted keywords into the preset keyword set; if not, carrying out abnormal reminding.
(3) And carrying out downloading processing based on the bill link to obtain the electronic bill.
In the specific implementation, after the bill link is read, the downloading process is carried out based on the bill link, and the electronic bill is obtained. In an alternative implementation manner provided in this embodiment, the electronic ticket is obtained by:
Initiating an access request aiming at the bill link to acquire a response body corresponding to the access request;
and reading the type of the response body, and acquiring the electronic bill according to the type of the response body.
In an optional implementation manner provided in this embodiment, for the first type and the second type, the electronic ticket is acquired by adopting the following manner:
If the type of the response body is a first type which can not be downloaded, determining an analysis mode of the bill link based on the first type; analyzing the bill links according to the analysis mode; acquiring the electronic bill based on the analysis result;
and if the type of the response body is a downloadable second type, carrying out downloading processing based on the response body to obtain the electronic bill.
The response body in this embodiment includes a data packet including a trigger result returned after the bill link is triggered or accessed. Specifically, an access request for bill link is initiated, and a response body corresponding to the access request is obtained; reading the response body type of the response body, if the response body type is the first type which can not be downloaded, inquiring the analysis mode of the bill link, analyzing the bill link according to the analysis mode, obtaining the download link of the electronic bill, and downloading the download link to obtain the electronic bill; if the type of the response body is the downloadable second type, directly downloading the bill link to obtain the electronic bill.
Along the above example, after obtaining the bill link, accessing the bill link, obtaining a response body of the bill link, then reading a response body type of the response body, if the response body type is a downloadable type, downloading the bill link to obtain the electronic bill, if the response body type is a non-downloadable type, inquiring an analysis mode of the bill link, analyzing the bill link according to the analysis mode to obtain a downloading link of the electronic bill, and downloading the downloading link to obtain the electronic bill.
Step S104, synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information.
In practical application, when a user obtains an electronic bill which is issued by the user, the user needs to dock with a bill service provider through an email or a bill service application, not all bill service providers support the user to issue the electronic bill through the bill service application, in order to solve the docking problem with the bill service provider, the user needs to technically upgrade the bill service provider and the bill service application, and the efficiency is low. Most electronic notes can be received through a mailbox, but the mailbox cannot collect the electronic notes, the efficiency of manually collecting the electronic notes by a user is low, and an authorized note service application is used for reading user mails, so that the user mails need to be docked with a mailbox service provider, the note service application needs to be developed, and in addition, the data security of the user cannot be ensured. Receiving an electronic ticket using a mailbox may also result in the user not being able to receive the original copy of the electronic ticket mail, and the user subsequently being able to verify the electronic ticket.
Based on this, the mailbox-based bill processing method provided by the embodiment configures the proxy mailbox for the user to receive the bill mail, applies the synchronous electronic bill to the bill service to collect the electronic bill after receiving the bill mail, and forwards the bill mail to the user mailbox to enable the user to archive the electronic bill for subsequent verification, so that convenience of the user for collecting the bill is improved, development and docking costs are reduced, and data security of the user mailbox can be ensured.
In specific implementation, after analyzing the bill mail to obtain the electronic bill, the electronic bill is synchronized to the bill service application, and it should be noted that the bill service application and the proxy mailbox may be two applications corresponding to one server or may correspond to different servers, which is not limited herein. In an optional implementation manner provided in this embodiment, after receiving a synchronized electronic ticket, a ticket service application updates the electronic ticket to a ticket list of the user, so as to display the ticket list when receiving an access request submitted by the user through an access portal of the ticket service application.
After receiving the bill mail, in order to facilitate the user to archive the electronic bill and promote the convenience of checking the electronic bill later, the forwarding of the bill mail needs to be performed according to service configuration information, that is, the bill mail is forwarded to a user mailbox with a mapping relation with the proxy mailbox configuration, and in an optional implementation manner provided in this embodiment, in the process of forwarding the bill mail according to the service configuration information, firstly, according to the forwarding mapping relation, the user mailbox identifier of the user mailbox recorded in the service configuration information is read; and then forwarding the bill mail to the user mailbox through the proxy mailbox based on the user mailbox identifier.
The following further describes the mailbox-based ticket processing method provided in this embodiment, referring to fig. 2, by taking an application of the mailbox-based ticket processing method provided in this embodiment in a ticket service application scenario as an example, and specifically includes steps S202 to S214.
Step S202, detecting that the proxy mailbox receives the bill mail, and reading the service provider identifier of the bill service provider corresponding to the bill mail.
Heretofore, the proxy mailbox was configured as follows: reading a user mailbox identifier of a user mailbox submitted by a user through a bill service application, and extracting a mailbox account in the user mailbox identifier; splicing the mailbox account number and a preset server domain name to generate an agent mailbox; and configuring a forwarding mapping relation between the proxy mailbox and the user mailbox to obtain service configuration information.
Step S204, matching the service provider identification with a preset mail template set.
Step S206, reading the bill links contained in the bill mails according to the matching result.
Step S208, downloading processing is carried out based on the bill links, and the electronic bill is obtained.
Step S210, synchronizing the electronic ticket to the ticket service application.
Step S212, reading the user mailbox identification of the user mailbox recorded in the service configuration information according to the forwarding mapping relation.
Step S214, based on the user mailbox identification, the bill mail is forwarded to the user mailbox through the proxy mailbox.
In summary, in the mailbox-based bill processing method provided by the embodiment, after detecting that the proxy mailbox of the user receives the bill mail, analyzing the bill mail, synchronizing the electronic bill obtained by analysis to the bill service application, and forwarding the bill mail according to the service configuration information, wherein the proxy mailbox and the service configuration information are generated after the mailbox service application performs mailbox service configuration, so that convenience of collecting the electronic bill by the user is improved, cost of docking the bill service application with each bill service provider is improved, and the bill mail is forwarded to the user mailbox, so that the user can check the electronic bill later.
The embodiment of a bill processing device based on a mailbox provided in the specification is as follows:
In the foregoing embodiments, a method for processing a bill based on a mailbox is provided, and a device for processing a bill based on a mailbox is provided correspondingly, which will be described with reference to the accompanying drawings.
Referring to fig. 3, a schematic diagram of a bill processing device based on a mailbox according to the present embodiment is shown.
Since the apparatus embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions should be referred to the corresponding descriptions of the method embodiments provided above. The device embodiments described below are merely illustrative.
The embodiment provides a bill processing device based on a mailbox, which comprises:
the parsing module 302 is configured to parse the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
A forwarding module 304, configured to synchronize the electronic ticket obtained by parsing to a ticket service application, and forward the ticket mail according to service configuration information;
The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
The embodiment of the bill processing equipment based on the mailbox provided in the specification is as follows:
Corresponding to the above-described mailbox-based ticket processing method, based on the same technical concept, one or more embodiments of the present disclosure further provide a mailbox-based ticket processing device, where the mailbox-based ticket processing device is configured to execute the above-provided mailbox-based ticket processing method, and fig. 4 is a schematic structural diagram of the mailbox-based ticket processing device provided by one or more embodiments of the present disclosure.
The bill processing device based on mailbox provided in this embodiment includes:
As shown in fig. 4, the mailbox-based ticket processing device may have a relatively large difference due to different configurations or performances, and may include one or more processors 401 and a memory 402, where the memory 402 may store one or more storage applications or data. Wherein the memory 402 may be transient storage or persistent storage. The application program stored in memory 402 may include one or more modules (not shown in the figures), each of which may include a series of computer-executable instructions in a mailbox-based ticket processing device. Still further, the processor 401 may be configured to communicate with the memory 402 to execute a series of computer executable instructions in the memory 402 on the mailbox-based ticket processing device. The mailbox-based ticket processing device may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input/output interfaces 405, one or more keyboards 406, and the like.
In one particular embodiment, a mailbox-based ticket processing device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for use in the mailbox-based ticket processing device, and configured to be executed by one or more processors, the one or more programs including computer-executable instructions for:
After detecting that an agent mailbox of a user receives a bill mail, analyzing the bill mail;
Synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information;
The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
An embodiment of a storage medium provided in the present specification is as follows:
corresponding to the mailbox-based ticket processing method described above, one or more embodiments of the present disclosure further provide a storage medium based on the same technical concept.
The storage medium provided in this embodiment is configured to store computer executable instructions, where the computer executable instructions when executed implement the following procedures:
After detecting that an agent mailbox of a user receives a bill mail, analyzing the bill mail;
Synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information;
The agent mailbox and the service configuration information are generated after mailbox service configuration is carried out by the bill service application.
It should be noted that, in the present specification, the embodiment about the storage medium and the embodiment about the mailbox-based ticket processing method in the present specification are based on the same inventive concept, so that the specific implementation of this embodiment may refer to the implementation of the foregoing corresponding method, and the repetition is omitted.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In the 30 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable GATE ARRAY, FPGA)) is an integrated circuit whose logic functions are determined by user programming of the device. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented with "logic compiler (logic compiler)" software, which is similar to the software compiler used in program development and writing, and the original code before being compiled is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but HDL is not just one, but a plurality of kinds, such as ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language), and VHDL (Very-High-SPEED INTEGRATED Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application SPECIFIC INTEGRATED Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each unit may be implemented in the same piece or pieces of software and/or hardware when implementing the embodiments of the present specification.
One skilled in the relevant art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
One or more embodiments of the present specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended to limit the present disclosure. Various modifications and changes may occur to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.

Claims (14)

1. A mailbox-based ticket processing method, comprising:
After detecting that an agent mailbox of a user receives a bill mail, analyzing the bill mail;
And forwarding the bill mail to a user mailbox with the proxy mailbox configuration forwarding mapping relation, and synchronizing the electronic bill obtained by analysis to a bill service application.
2. The mailbox-based ticket processing method of claim 1, wherein the proxy mailbox and the forwarding mapping relationship are generated after mailbox service configuration is performed by the ticket service application;
the mailbox service configuration is realized by the following steps:
generating the proxy mailbox according to a mailbox configuration request submitted by the user through the bill service application;
And configuring a forwarding mapping relation between the proxy mailbox and the user mailbox based on the user mailbox carried in the mailbox configuration request.
3. The mailbox-based ticket processing method of claim 2, the generating the proxy mailbox according to a mailbox configuration request submitted by the user through the ticket service application, comprising:
acquiring the mailbox configuration request submitted by the user through the bill service application;
Reading a user mailbox identifier of the user mailbox carried in the mailbox configuration request, and extracting a mailbox account of the user mailbox;
And splicing the mailbox account with the server domain name of the proxy mailbox to generate the proxy mailbox.
4. The mailbox-based ticket processing method according to claim 2, wherein after the forwarding mapping relationship is configured, the following operations are performed:
sending the mailbox identification of the proxy mailbox to the user; so that the user takes the agent mailbox as the receiving address of the electronic bill when applying the electronic bill.
5. The mailbox-based ticket processing method of claim 1, said parsing the ticket mail, comprising:
based on the bill mail, determining a service provider identifier of a bill service provider corresponding to the bill mail;
matching the service provider identification with a preset mail template set, and reading a bill link of the electronic bill contained in the bill mail according to a matching result;
And carrying out downloading processing based on the bill link to obtain the electronic bill.
6. The mailbox-based ticket processing method of claim 5, wherein the reading the ticket links of the electronic ticket included in the ticket mail according to the matching result comprises:
if the matching is successful, determining positioning information corresponding to the bill link in the bill mail according to the service provider identifier, and reading the bill link based on the positioning information;
If the matching fails, identifying the hyperlink contained in the bill mail, and acquiring the bill link according to the identification result.
7. The mailbox-based ticket processing method of claim 6, wherein the identifying the hyperlinks included in the ticket mail and acquiring the ticket links according to the identification result, comprises:
obtaining hyperlinks contained in the bill mails, and carrying out secondary matching on the hyperlinks and a preset keyword set;
If the secondary matching is successful, determining that the hyperlink is the bill link;
and if the secondary matching fails, downloading the hyperlink, and determining that the hyperlink which is successfully downloaded is the bill link.
8. The mailbox-based ticket processing method according to claim 5, wherein the downloading process is performed based on the ticket link, and the electronic ticket is obtained, comprising:
Initiating an access request aiming at the bill link to acquire a response body corresponding to the access request;
and reading the type of the response body, and acquiring the electronic bill according to the type of the response body.
9. The mailbox-based ticket processing method according to claim 8, the acquiring the electronic ticket according to the response body type, comprising:
If the type of the response body is a first type which can not be downloaded, determining an analysis mode of the bill link based on the first type; analyzing the bill links according to the analysis mode; acquiring the electronic bill based on the analysis result;
and if the type of the response body is a downloadable second type, carrying out downloading processing based on the response body to obtain the electronic bill.
10. The mailbox-based ticket processing method of claim 1, the ticket service application, upon receiving the electronic ticket, performing the following operations:
updating the electronic bill into a bill list of the user, and displaying the bill list when an access request submitted by the user through an access entrance of the bill service application is received.
11. The mailbox-based ticket processing method of claim 2, the forwarding the ticket mail to a user mailbox in a forwarding mapping relationship with the proxy mailbox configuration, comprising:
reading a user mailbox identification of the user mailbox recorded in the service configuration information according to the forwarding mapping relation;
And forwarding the bill mail to the user mailbox through the proxy mailbox based on the user mailbox identifier.
12. A mailbox-based ticket processing apparatus comprising:
the analysis module is configured to analyze the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
and the forwarding module is configured to forward the bill mail to a user mailbox with the proxy mailbox configuration forwarding mapping relation, and synchronize the electronic bill obtained by analysis to a bill service application.
13. A mailbox-based ticket processing apparatus comprising:
A processor; and
A memory configured to store computer-executable instructions that, when executed, cause the processor to:
After detecting that an agent mailbox of a user receives a bill mail, analyzing the bill mail;
And forwarding the bill mail to a user mailbox with the proxy mailbox configuration forwarding mapping relation, and synchronizing the electronic bill obtained by analysis to a bill service application.
14. A storage medium storing computer-executable instructions that when executed implement the following:
After detecting that an agent mailbox of a user receives a bill mail, analyzing the bill mail;
And forwarding the bill mail to a user mailbox with the proxy mailbox configuration forwarding mapping relation, and synchronizing the electronic bill obtained by analysis to a bill service application.
CN202210654474.2A 2021-07-20 2021-07-20 Bill processing method and device based on mailbox Active CN114971571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210654474.2A CN114971571B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210654474.2A CN114971571B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox
CN202110819507.XA CN113435862B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110819507.XA Division CN113435862B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox

Publications (2)

Publication Number Publication Date
CN114971571A CN114971571A (en) 2022-08-30
CN114971571B true CN114971571B (en) 2024-09-06

Family

ID=77761136

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110819507.XA Active CN113435862B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox
CN202210654474.2A Active CN114971571B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110819507.XA Active CN113435862B (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox

Country Status (2)

Country Link
CN (2) CN113435862B (en)
WO (1) WO2023000952A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113435862B (en) * 2021-07-20 2022-06-10 支付宝(杭州)信息技术有限公司 Bill processing method and device based on mailbox
CN114418551A (en) * 2022-01-29 2022-04-29 北京字跳网络技术有限公司 A bill processing method, device, electronic device and storage medium
CN117113932B (en) * 2023-08-28 2024-11-22 北京规格委外技术有限公司 Multi-source valuation table data analysis method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965095A (en) * 2017-05-17 2018-12-07 北京京东尚科信息技术有限公司 Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing
CN109146584A (en) * 2018-08-10 2019-01-04 海南高灯科技有限公司 A kind of electronic invoice collects system and collecting method

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177643A1 (en) * 2007-01-22 2008-07-24 Matthews Clifton W System and method for invoice management
US20090271303A1 (en) * 2008-04-29 2009-10-29 Yahoo! Inc. Electronic bill process automation
US8311942B1 (en) * 2010-10-22 2012-11-13 Intuit Inc. Method and system for payment of a bill
US8543504B1 (en) * 2011-03-30 2013-09-24 Jpmorgan Chase Bank, N.A. Systems and methods for automated invoice entry
CN104980469A (en) * 2014-04-10 2015-10-14 阿里巴巴集团控股有限公司 E-mail extraction method and system
CN104579931B (en) * 2015-01-23 2017-11-03 浪潮通用软件有限公司 The access method and device of a kind of copending document based on mail
CN104933086B (en) * 2015-05-11 2019-03-26 苏州奖多多科技有限公司 A kind of data processing method and its device
CN106059896A (en) * 2016-05-27 2016-10-26 乐视控股(北京)有限公司 Method and device for automatically configuring mailbox
CN106341313A (en) * 2016-09-29 2017-01-18 北京小米移动软件有限公司 Method and apparatus for obtaining billing information
CN107424065A (en) * 2017-05-15 2017-12-01 贾琨 The method and system of electronic invoice in a kind of processing Email
CN111797070A (en) * 2019-04-08 2020-10-20 杭州晨熹多媒体科技有限公司 Ticket data processing method and device
KR102067827B1 (en) * 2019-04-17 2020-02-11 정운호 Personal financial management methods for providing automated email bill collection, aggregation and processing
CN110189099A (en) * 2019-05-10 2019-08-30 天津中新智冠信息技术有限公司 A kind of data processing method and mailing system based on mail
CN111222851B (en) * 2019-12-31 2024-02-06 论客科技(广州)有限公司 Mail classification method and device and electronic equipment
CN111737967A (en) * 2020-08-27 2020-10-02 国信电子票据平台信息服务有限公司 Method and system for checking receipt of electronic invoice
CN112132671A (en) * 2020-09-01 2020-12-25 苏宁云计算有限公司 Invoice information acquisition method and device, computer equipment and storage medium
CN113435862B (en) * 2021-07-20 2022-06-10 支付宝(杭州)信息技术有限公司 Bill processing method and device based on mailbox

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965095A (en) * 2017-05-17 2018-12-07 北京京东尚科信息技术有限公司 Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing
CN109146584A (en) * 2018-08-10 2019-01-04 海南高灯科技有限公司 A kind of electronic invoice collects system and collecting method

Also Published As

Publication number Publication date
CN114971571A (en) 2022-08-30
WO2023000952A1 (en) 2023-01-26
CN113435862B (en) 2022-06-10
CN113435862A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN114971571B (en) Bill processing method and device based on mailbox
CN109062563B (en) Method and device for generating page
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN108346028A (en) A kind of business approval processing method, apparatus and system
CN105531700A (en) Automatic augmentation of content through augmentation services
JP2018514846A (en) Web page access method, apparatus, device, and program
CN107479868B (en) Interface loading method, device and equipment
CN110058864A (en) The dispositions method and device of micro services
US10382313B2 (en) Test building for testing server operation
CN111813685B (en) Automatic test method and device
CN113327115B (en) Rental business processing method, device, equipment and system
CN110704102A (en) Page jump protocol interface document generation method, system, medium and electronic device
CN107463422A (en) Code dispositions method and device, electronic equipment
CN111931464A (en) Document editing method and device and electronic equipment
CN108647950A (en) A kind of transfer request processing method, device and equipment
CN113408254A (en) Page form information filling method, device, equipment and readable medium
CN113495797A (en) Message queue and consumer dynamic creation method and system
CN116126447A (en) Information processing method, device, electronic equipment and computer readable medium
CN113221036B (en) Method and device for processing electronic bill mail
CN106548331B (en) Method and device for determining release sequence
CN113435950B (en) Bill processing method and device
CN109120509B (en) Information collection method and device
CN114546553B (en) Information display method, device, equipment and medium
CN114860238B (en) Page generation method and device and electronic equipment
CN111767486B (en) Method, apparatus, electronic device and computer readable medium for displaying pages

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant