Mailbox-based bill processing method and device

By configuring agent mailboxes and service configuration information, parsing and synchronizing bill emails, the problem of low efficiency in obtaining and managing electronic bills is solved, efficient bill collection and data security management are achieved, and development costs are reduced.

CN114971571BActive Publication Date: 2024-09-06ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210654474.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-20
Publication Date
2024-09-06
Estimated Expiration
2041-07-20

AI Technical Summary

Technical Problem

In the process of obtaining and managing electronic bills in the existing technology, users need to manually download and process the bills, which is inefficient and cannot be effectively collected and managed, resulting in high development costs and insufficient data security.

Method used

By configuring the proxy mailbox, parsing and synchronizing ticket emails to the ticket service application, and using the service configuration information for forwarding, efficient docking of the ticket service application and the ticket service provider and data security management of user mailboxes are achieved.

Benefits of technology

It improves the convenience of electronic bill management, reduces development and docking costs, ensures the security of user data, and improves the docking efficiency between bill service applications and bill service providers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114971571B
    Figure CN114971571B
Patent Text Reader

Abstract

The embodiments of this specification provide a mailbox-based ticket processing method and device, wherein a mailbox-based ticket processing method includes: after detecting that a user's proxy mailbox has received a ticket email, parsing the ticket email; synchronizing the electronic ticket obtained by the analysis to a ticket service application, and forwarding the ticket email according to service configuration information; wherein the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This patent application is a divisional application of the Chinese patent application with application number: CN202110819507.X, application date: July 20, 2021, and invention name “Mailbox-based bill processing method and device”. Technical Field

[0002] This document relates to the field of data processing technology, and in particular to a mailbox-based bill processing method and device. Background Art

[0003] Electronic invoices are vouchers issued and collected by enterprises or individuals when buying and selling goods, providing or receiving services, and engaging in other business activities. The content includes the name, quality, and agreed price of the product or service provided to the buyer. In the process of issuing electronic invoices, the invoice download link is usually provided to the user through email or short message. The user needs to manually click on the electronic invoice download link to download the invoice in order to complete the acquisition of the electronic invoice. After obtaining the electronic invoice, it is also extremely important to manage the electronic invoice in the process of electronic invoice processing. Summary of the invention

[0004] One or more embodiments of this specification provide a mailbox-based ticket processing method. The mailbox-based ticket processing method includes: after detecting that the user's proxy mailbox receives the ticket email, parsing the ticket email. Synchronizing the parsed electronic ticket to the ticket service application, and forwarding the ticket email according to the service configuration information. The proxy mailbox and the service configuration information are generated after the ticket service application performs the mailbox service configuration.

[0005] One or more embodiments of the present specification provide a mailbox-based ticket processing device, including: a parsing module, configured to parse the ticket email after detecting that the user's proxy mailbox receives the ticket email. A forwarding module, configured to synchronize the electronic ticket obtained by parsing to a ticket service application, and forward the ticket email according to service configuration information. The proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.

[0006] One or more embodiments of the present specification provide a mailbox-based ticket processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: after detecting that a user's proxy mailbox receives a ticket email, parse the ticket email. Synchronize the parsed electronic ticket to a ticket service application, and forward the ticket email according to service configuration information. The proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.

[0007] One or more embodiments of the present specification provide a storage medium for storing computer executable instructions, which implement the following process when executed: after detecting that a user's proxy mailbox receives a ticket email, parse the ticket email. Synchronize the electronic ticket obtained by parsing to a ticket service application, and forward the ticket email according to service configuration information. The proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.

[0009] Figure 1 A processing flow chart of a mailbox-based ticket processing method provided for one or more embodiments of this specification;

[0010] Figure 2 A processing flow chart of a mailbox-based ticket processing method applied to a ticket service application scenario provided in one or more embodiments of this specification;

[0011] Figure 3 A schematic diagram of a mailbox-based bill processing device provided for one or more embodiments of this specification;

[0012] Figure 4 A schematic diagram of the structure of a mailbox-based ticket processing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0013] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0014] This specification provides an embodiment of a mailbox-based ticket processing method:

[0015] Reference Figure 1 , which shows a processing flow chart of a mailbox-based ticket processing method provided by this embodiment, referring to Figure 2 , which shows a processing flow chart of a mailbox-based ticket processing method applied to a ticket service application scenario provided by this embodiment.

[0016] Reference Figure 1 The mailbox-based ticket processing method provided in this embodiment specifically includes steps S102 to S104.

[0017] Step S102: After detecting that the user's proxy mailbox has received the ticket email, the ticket email is parsed.

[0018] In actual applications, the bill service application needs to be connected with the bill service provider. Only after obtaining the electronic bill sent back by the billing service provider can the user's electronic bill be automatically collected. However, the connection between the bill service application and different bill service providers will not only take a lot of time, but also cost a lot of manpower and resources, and is inefficient.

[0019] The mailbox-based ticket processing method provided in this embodiment transfers electronic tickets through a proxy mailbox, and connects the proxy mailbox with the ticket service application, so that the ticket email sent to the proxy mailbox can be synchronized to the ticket service application for collection. Specifically, a proxy mailbox is configured for the user, and a forwarding mapping relationship between the proxy mailbox and the user mailbox is configured. In the process of issuing electronic tickets, the user can set the proxy mailbox as the receiving address of the electronic ticket. After receiving the ticket email, the ticket email is forwarded to the user mailbox configured with the forwarding mapping relationship, and the electronic ticket obtained after parsing the ticket email is synchronized to the ticket service application, so that the ticket service application can collect it. In this way, the efficiency problem of connecting the ticket service application with various ticket service providers is solved, the management of user electronic tickets is improved, and the convenience of subsequent user access to electronic tickets is improved.

[0020] In this embodiment, an intermediate mailbox is introduced, and the intermediate mailbox is connected to the ticket service provider and the user mailbox in two directions. That is, after receiving the ticket email sent by the ticket service provider, the intermediate mailbox forwards the ticket email to the user mailbox. At the same time, the ticket email received by the intermediate mailbox is parsed, and the electronic tickets obtained by the analysis are synchronized to the ticket service application for collection. Therefore, the introduced intermediate mailbox is called a proxy mailbox. The ticket service application includes an application that provides ticket management services such as ticket collection and / or access. Specifically, the application includes an independent third-party application, or a subprogram (such as a mini-program) loaded and accessed by a third-party application.

[0021] In specific implementation, since the user mailbox cannot store and manage the electronic receipt, the mailbox service configuration is performed for the user through the ticket service application, that is, a proxy mailbox connected to the ticket service application is configured, so that the user uses the proxy mailbox as the receiving address of the electronic receipt when issuing the electronic receipt. In addition, after the proxy mailbox is generated, it is also necessary to configure the forwarding mapping relationship between the proxy mailbox and the user mailbox to obtain the service configuration information, wherein the proxy mailbox and the service configuration information are generated after the mailbox service configuration is performed by the ticket service application.

[0022] In an optional implementation manner provided by this embodiment, during the process of configuring the mailbox service, the following operations are performed:

[0023] Generating the proxy mailbox according to the mailbox configuration request submitted by the user through the ticket service application;

[0024] Based on the user mailbox carried in the mailbox configuration request, a forwarding mapping relationship between the proxy mailbox and the user mailbox is configured as the service configuration information; so as to forward mails from the proxy mailbox to the user mailbox according to the forwarding mapping relationship.

[0025] In order to improve the user's perception of 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 provided by this embodiment, in the process of generating the proxy mailbox according to the mailbox configuration request submitted by the user through the ticket service application, the following operations are performed:

[0026] Obtaining an email configuration request submitted by the user through the ticket service application;

[0027] Read the user mailbox identifier of the user mailbox carried in the mailbox configuration request, and extract the mailbox account of the user mailbox;

[0028] The email account is concatenated with the server domain name of the proxy email to generate the proxy email.

[0029] Specifically, the user applies for a proxy mailbox through the ticket service application, obtains the mailbox configuration request submitted by the user through the ticket service application, reads the user mailbox ID of the user mailbox carried in the mailbox configuration request, extracts the mailbox account, concatenates the mailbox account with the server domain name of the proxy mailbox, obtains the proxy mailbox and the mailbox ID of the proxy mailbox, and configures the forwarding mapping relationship between the proxy mailbox and the user mailbox.

[0030] For example, if a user submits an email configuration request through the ticket service application, the user email ID of the user email carried in the email configuration request is read as "mail ID@xxx.com", and the server domain name of the proxy email is "aaa.com", then the email account of the user email is extracted as "mail ID", and the email account of the user email and the server domain name of the proxy email are concatenated to obtain the proxy email with the email ID "mail ID@aaa.com". After the proxy email is generated, in order to enable the user to view the ticket email through the user email, the forwarding mapping relationship between the user email and the proxy email is configured, and the service configuration information including "sending email: email ID@aaa.com, receiving email: email ID@xxx.com" is generated.

[0031] It should be noted that, in the process of generating the proxy mailbox, after obtaining the user's mailbox configuration application, a mailbox identifier may be randomly generated as the mailbox identifier of the proxy mailbox.

[0032] After the proxy mailbox is generated and the forwarding mapping relationship is configured, in order to enhance the user's perception of the mailbox identifier of the proxy mailbox, the mailbox identifier of the proxy mailbox is sent to the user. In an optional implementation provided by this embodiment, after the forwarding mapping relationship is configured, the mailbox identifier of the proxy mailbox is sent to the user; so that the user uses the proxy mailbox as the receiving address of the electronic ticket when applying for the electronic ticket. For example, the user submits a mailbox configuration request through the ticket service application, and after the proxy mailbox and service configuration information are generated, the mailbox identifier of the proxy mailbox is displayed to the user through the ticket service application.

[0033] In specific implementation, after sending the mailbox identifier of the proxy mailbox to the user, the user can use the proxy mailbox as the address for receiving the electronic ticket when applying for the electronic ticket. After receiving the ticket email, in order to collect the emails corresponding to the ticket email, it is necessary to parse the ticket email to obtain the electronic ticket. In an optional implementation provided by this embodiment, during the parsing of the ticket email, the following operations are performed:

[0034] (1) Based on the ticket mail, determine the service provider identifier of the ticket service provider corresponding to the ticket mail.

[0035] (2) Matching the service provider identifier with a preset email template set, and reading the ticket link of the electronic ticket contained in the ticket email according to the matching result.

[0036] The preset email template set includes email templates provided by various bill service providers, and each email template in the preset email template set corresponds to its own bill service provider. Specifically, the email template records the service provider ID, and at the same time, the template content of each part of the email template corresponds to the email content of the corresponding part in the bill email. For example, the bill link part in the email template corresponds to the bill link contained in the bill email. The location of the bill link in the bill email can also be determined by the location of the bill link part in the email template. Therefore, the content corresponding to each part in the bill email can be extracted through the positioning information of each part in the email template.

[0037] For example, in the email template of service provider A, the ticket link part is located from line x1 to line x2. This position is used as positioning information, and the positioning information is used to extract the ticket link from line x1 to line x2 in the ticket email sent by service provider A.

[0038] In specific implementation, since the ticket email also contains other content, in the process of obtaining the electronic ticket, it is necessary to first read the ticket link of the electronic ticket contained in the ticket email, and then obtain the electronic ticket according to the ticket link. Due to different ticket service providers, the received ticket emails may also be different, that is, the location of the ticket link in the ticket email may be different. In the process of parsing, it is necessary to match the email template corresponding to the ticket service provider in the preset email template set, and then read the ticket link according to the matching result.

[0039] The location of the bill link is recorded in the email template. After matching the email template corresponding to the bill service provider, the bill link is read according to the location information of the bill link in the matched email template; if the email template corresponding to the bill service provider is not matched, all hyperlinks contained in the bill email are identified, and then the bill link is obtained according to the identification result. In an optional implementation provided by this embodiment, in the process of reading the bill link of the electronic bill contained in the bill email according to the matching result, the following operations are performed:

[0040] If the match is successful, determining the location information corresponding to the ticket link in the ticket email according to the service provider identifier, and reading the ticket link based on the location information;

[0041] If the match fails, the hyperlink contained in the ticket email is identified, and the ticket link is obtained based on the identification result.

[0042] In an optional implementation of obtaining the ticket link according to the recognition result provided in this embodiment, if the match fails, the following steps are performed:

[0043] Obtaining a hyperlink contained in the ticket email, and performing secondary matching of the hyperlink with a preset keyword set;

[0044] If the secondary matching is successful, the hyperlink is determined to be the bill link;

[0045] If the second matching fails, the hyperlink is downloaded, and the successfully downloaded hyperlink is determined to be the ticket link.

[0046] Specifically, if the email template corresponding to the bill service provider is not matched in the preset email template set, all hyperlinks contained in the bill email are obtained, and the hyperlinks are matched with the preset keyword set for a second time. If the second match is successful, the successfully matched hyperlink is used as the bill link; if the second match fails, the electronic bill is attempted to be downloaded based on the hyperlink. If the download is successful, the corresponding hyperlink is determined to be the bill link. If it fails, an abnormal reminder is issued. In order to enrich the preset keyword set, keywords are extracted from the hyperlinks that are attempted to be downloaded successfully, the extracted keywords are added to the preset keyword set, and the extracted keywords are bound to the bill service provider corresponding to the bill email.

[0047] For example, when a user applies to service provider A for the issuance of an electronic invoice, the proxy mailbox "Mailbox ID@aaa.com" is used as the receiving address for the electronic invoice. When the proxy mailbox server detects that the proxy mailbox has received the invoice email, it reads the service provider identifier of service provider A carried in the invoice email; matches the service provider identifier with the preset email template set. If the preset email template set contains the email template corresponding to service provider A, then the location information of the invoice link recorded in the corresponding email template is used to read the invoice link contained in the invoice email according to the location information; if the preset email template set does not contain the email template corresponding to service provider A, then all hyperlinks in the invoice email are read, and each hyperlink is matched twice with the preset keyword set. If the preset keyword set contains the keywords in any hyperlink, the hyperlink is used as the invoice link. If the preset keyword set does not contain the keywords in each hyperlink, then an attempt is made to download each hyperlink to determine whether the electronic invoice is obtained. If so, the corresponding hyperlink is used as the invoice link, the keywords in the hyperlink are extracted, a binding relationship between the extracted keywords and service provider A is established, and the extracted keywords are added to the preset keyword set; if not, an abnormal reminder is issued.

[0048] (3) Downloading is performed based on the ticket link to obtain the electronic ticket.

[0049] In specific implementation, after reading the bill link, download processing is performed based on the bill link to obtain the electronic bill. In an optional implementation provided by this embodiment, the electronic bill is obtained in the following manner:

[0050] Initiate an access request for the ticket link to obtain a response body corresponding to the access request;

[0051] The response body type of the response body is read, and the electronic receipt is obtained according to the response body type.

[0052] The response body types described in this embodiment include a first type that cannot be downloaded and a second type that can be downloaded. In an optional implementation provided by this embodiment, for the first type and the second type, the electronic receipt is obtained in the following manner:

[0053] If the response body type is a first type that cannot be downloaded, determining a parsing method for the ticket link based on the first type; parsing the ticket link according to the parsing method; and obtaining the electronic ticket based on the parsing result;

[0054] If the response body type is the second downloadable type, download processing is performed based on the response body to obtain the electronic receipt.

[0055] The response body described in this embodiment includes a data packet containing a trigger result returned after the bill link is triggered or accessed. Specifically, an access request to the bill link is initiated, and a response body corresponding to the access request is obtained; the response body type of the response body is read, and if the response body type is the first type that cannot be downloaded, the parsing method of the bill link is queried, and the bill link is parsed according to the parsing method to obtain a download link of the electronic bill, and the download link is downloaded to obtain the electronic bill; if the response body type is the second type that can be downloaded, the bill link is directly downloaded to obtain the electronic bill.

[0056] Continuing with the above example, after obtaining the bill link, access the bill link, obtain the response body of the bill link, and then read the response body type of the response body. If the response body type is a downloadable type, download the bill link to obtain the electronic bill. If the response body type is a non-downloadable type, query the parsing method of the bill link, parse the bill link according to the parsing method, obtain the download link of the electronic bill, and download the download link to obtain the electronic bill.

[0057] Step S104, synchronizing the electronic receipt obtained by parsing to the receipt service application, and forwarding the receipt email according to the service configuration information.

[0058] In actual applications, when users obtain electronic invoices issued by them, they can do so through email or invoice service applications. Obtaining electronic invoices through invoice service applications requires docking with invoice service providers. Not all invoice service providers support users to issue electronic invoices through invoice service applications. In order to solve the docking problem with invoice service providers, technical upgrades are required for invoice service providers and invoice service applications, which is inefficient. Most electronic invoices can be received through mailboxes, but mailboxes cannot collect electronic invoices. It is inefficient for users to manually collect electronic invoices. Authorizing invoice service applications to read user emails requires not only docking with mailbox service providers, but also the development of invoice service applications. In addition, user data security cannot be guaranteed. Receiving electronic invoices through mailboxes may also result in users not being able to receive the original electronic invoice emails, and users will not be able to verify the electronic invoices later.

[0059] Based on this, the mailbox-based ticket processing method provided in this embodiment configures a proxy mailbox for the user to receive ticket emails, and after receiving the ticket emails, synchronizes the electronic tickets to the ticket service application to collect the electronic tickets, and forwards the ticket emails to the user's mailbox so that the user can archive the electronic tickets for subsequent verification. In this way, the convenience of ticket collection for users is improved, the development and docking costs are reduced, and the data security of the user's mailbox is ensured.

[0060] In specific implementation, after parsing the ticket email to obtain the electronic ticket, the electronic ticket is synchronized to the ticket service application. It should be noted that the ticket service application and the proxy mailbox can be two applications corresponding to one server, or can correspond to different servers, which is not limited in this embodiment. In an optional implementation provided by this embodiment, after receiving the synchronized electronic ticket, the ticket service application updates the electronic ticket to the ticket list of the user, so as to display the ticket list when receiving the access request submitted by the user through the access portal of the ticket service application.

[0061] It should be noted that after receiving the ticket email, in order to facilitate the user to archive the electronic invoice and improve the convenience of the user's subsequent verification of the electronic invoice, it is necessary to forward the ticket email according to the service configuration information, that is, forward the ticket email to the user mailbox with a forwarding mapping relationship configured with the proxy mailbox. In an optional implementation provided by this embodiment, in the process of forwarding the ticket email according to the service configuration information, first, according to the forwarding mapping relationship, the user mailbox identifier of the user mailbox recorded in the service configuration information is read; and then based on the user mailbox identifier, the ticket email is forwarded to the user mailbox through the proxy mailbox.

[0062] The following takes the application of a mailbox-based ticket processing method provided by this embodiment in a ticket service application scenario as an example to further illustrate the mailbox-based ticket processing method provided by this embodiment, see Figure 2 , a mailbox-based ticket processing method applied to a ticket service application scenario, specifically includes steps S202 to S214.

[0063] Step S202: Detect that the proxy mailbox has received the ticket email, and read the service provider identifier of the ticket service provider corresponding to the ticket email.

[0064] Prior to this, the proxy mailbox is configured in the following manner: read the user mailbox ID of the user mailbox submitted by the user through the ticket service application, and extract the email account in the user mailbox ID; concatenate the email account and the preset server domain name to generate a proxy mailbox; configure the forwarding mapping relationship between the proxy mailbox and the user mailbox to obtain service configuration information.

[0065] Step S204: Match the service provider identifier with the preset email template set.

[0066] Step S206, reading the ticket link contained in the ticket email according to the matching result.

[0067] Step S208: Download processing is performed based on the bill link to obtain the electronic bill.

[0068] Step S210, synchronizing the electronic receipt to the receipt service application.

[0069] Step S212: Read the user mailbox identifier of the user mailbox recorded in the service configuration information according to the forwarding mapping relationship.

[0070] Step S214: Based on the user mailbox identifier, the ticket email is forwarded to the user mailbox via the proxy mailbox.

[0071] To summarize, the mailbox-based ticket processing method provided in this embodiment first detects that the user's proxy mailbox has received the ticket email, then parses the ticket email, and then synchronizes the electronic ticket obtained by the analysis to the ticket service application, and forwards the ticket email according to the service configuration information, wherein the proxy mailbox and service configuration information are generated after the ticket service application performs mailbox service configuration, thereby improving the convenience of users in collecting electronic tickets, reducing the cost of connecting the ticket service application with various ticket service providers, and forwarding the ticket email to the user's mailbox so that the user can subsequently check the electronic ticket.

[0072] An embodiment of a bill processing device based on a mailbox provided in this specification is as follows:

[0073] In the above-mentioned embodiment, a mailbox-based bill processing method is provided, and correspondingly, a mailbox-based bill processing device is also provided, which is described below with reference to the accompanying drawings.

[0074] Reference Figure 3 , which shows a schematic diagram of a mailbox-based bill processing device provided in this embodiment.

[0075] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0076] This embodiment provides a mailbox-based bill processing device, including:

[0077] The parsing module 302 is configured to parse the ticket email after detecting that the user's proxy mailbox receives the ticket email;

[0078] The forwarding module 304 is configured to synchronize the electronic receipt obtained by parsing to the receipt service application, and forward the receipt email according to the service configuration information;

[0079] The proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.

[0080] An embodiment of a mailbox-based bill processing device provided in this specification is as follows:

[0081] Corresponding to the above-described mailbox-based bill processing method, based on the same technical concept, one or more embodiments of this specification also provide a mailbox-based bill processing device, which is used to execute the above-described mailbox-based bill processing method. Figure 4 A schematic diagram of the structure of a mailbox-based ticket processing device provided for one or more embodiments of this specification.

[0082] This embodiment provides a mailbox-based bill processing device, including:

[0083] like Figure 4As shown, the mailbox-based bill processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 401 and memory 402, and the memory 402 may store one or more storage applications or data. Among them, the memory 402 may be a short-term storage or a persistent storage. The application stored in the memory 402 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the mailbox-based bill processing device. Furthermore, 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 bill processing device. The mailbox-based bill 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, etc.

[0084] In a specific 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 the mailbox-based ticket processing device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0085] After detecting that the user's proxy mailbox receives the ticket email, the ticket email is parsed;

[0086] Synchronize the parsed electronic receipt to the receipt service application, and forward the receipt email according to the service configuration information;

[0087] The proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.

[0088] An embodiment of a storage medium provided in this specification is as follows:

[0089] Corresponding to the mailbox-based ticket processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.

[0090] The storage medium provided in this embodiment is used to store computer executable instructions, and the computer executable instructions implement the following process when executed:

[0091] After detecting that the user's proxy mailbox receives the ticket email, the ticket email is parsed;

[0092] Synchronize the parsed electronic receipt to the receipt service application, and forward the receipt email according to the service configuration information;

[0093] The proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.

[0094] It should be noted that the embodiment of the storage medium in this specification and the embodiment of the mailbox-based ticket processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0095] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0096] In the 1930s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many 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), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0097] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0098] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, 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.

[0099] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0100] It should be understood by those skilled in the art that one or more embodiments of this specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0101] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0104] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0105] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0106] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0107] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0108] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0109] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0110] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. A mailbox-based ticket processing method, comprising: After detecting that the user's proxy mailbox receives the ticket email, the ticket email is parsed; The ticket email is forwarded to the user mailbox configured with a forwarding mapping relationship with the proxy mailbox, and the electronic ticket obtained by parsing is synchronized to the ticket service application.

2. According to the mailbox-based ticket processing method of claim 1, the proxy mailbox and the forwarding mapping relationship are generated after the ticket service application performs mailbox service configuration; The mailbox service configuration is implemented in the following way: Generating the proxy mailbox according to the mailbox configuration request submitted by the user through the ticket service application; Based on the user mailbox carried in the mailbox configuration request, a forwarding mapping relationship between the proxy mailbox and the user mailbox is configured.

3. According to the mailbox-based ticket processing method of claim 2, generating the proxy mailbox according to the mailbox configuration request submitted by the user through the ticket service application comprises: Obtaining the mailbox configuration request submitted by the user through the ticket service application; Reading the user mailbox identifier of the user mailbox carried in the mailbox configuration request, and extracting the mailbox account of the user mailbox; The email account is concatenated with the server domain name of the proxy email to generate the proxy email.

4. According to the mailbox-based ticket processing method of claim 2, after the forwarding mapping relationship is configured, the following operations are performed: The mailbox identifier of the proxy mailbox is sent to the user, so that the user uses the proxy mailbox as the receiving address of the electronic bill when applying for the electronic bill.

5. According to the mailbox-based ticket processing method of claim 1, the parsing of the ticket email comprises: Based on the ticket email, determine the service provider identifier of the ticket service provider corresponding to the ticket email; Matching the service provider identifier with a preset email template set, and reading the ticket link of the electronic ticket contained in the ticket email according to the matching result; The electronic receipt is obtained by downloading the receipt link.

6. According to the mailbox-based ticket processing method of claim 5, the step of reading the ticket link of the electronic ticket contained in the ticket email according to the matching result comprises: If the match is successful, determining the location information corresponding to the ticket link in the ticket email according to the service provider identifier, and reading the ticket link based on the location information; If the match fails, the hyperlink contained in the ticket email is identified, and the ticket link is obtained based on the identification result.

7. According to the mailbox-based bill processing method of claim 6, the step of identifying the hyperlink contained in the bill email and obtaining the bill link according to the identification result comprises: Obtaining a hyperlink contained in the ticket email, and performing secondary matching of the hyperlink with a preset keyword set; If the secondary matching is successful, the hyperlink is determined to be the bill link; If the second matching fails, the hyperlink is downloaded, and the successfully downloaded hyperlink is determined to be the ticket link.

8. According to the mailbox-based ticket processing method of claim 5, the downloading process based on the ticket link to obtain the electronic ticket comprises: Initiate an access request for the ticket link to obtain a response body corresponding to the access request; The response body type of the response body is read, and the electronic receipt is obtained according to the response body type.

9. According to the mailbox-based ticket processing method of claim 8, obtaining the electronic ticket according to the response body type comprises: If the response body type is a first type that cannot be downloaded, determining a parsing method for the ticket link based on the first type; Parsing the bill link according to the parsing method; Acquire the electronic receipt based on the parsing result; If the response body type is the second downloadable type, download processing is performed based on the response body to obtain the electronic receipt.

10. According to the mailbox-based ticket processing method of claim 1, after receiving the electronic ticket, the ticket service application performs the following operations: The electronic ticket is updated to the ticket list of the user, so that the ticket list is displayed when an access request submitted by the user through the access portal of the ticket service application is received.

11. The mailbox-based ticket processing method according to claim 2, wherein the step of forwarding the ticket email to a user mailbox configured with a forwarding mapping relationship with the proxy mailbox comprises: According to the forwarding mapping relationship, read the user mailbox identifier of the user mailbox recorded in the service configuration information; Based on the user mailbox identifier, the ticket email is forwarded to the user mailbox via the proxy mailbox.

12. A bill processing device based on a mailbox, comprising: A parsing module, configured to parse the ticket email after detecting that the user's proxy mailbox receives the ticket email; The forwarding module is configured to forward the ticket email to a user mailbox configured with a forwarding mapping relationship with the proxy mailbox, and synchronize the electronic ticket obtained by parsing to the ticket service application.

13. A mailbox-based bill processing device, comprising: processor; as well as, a memory configured to store computer executable instructions which, when executed, cause the processor to: After detecting that the user's proxy mailbox receives the ticket email, the ticket email is parsed; The ticket email is forwarded to the user mailbox configured with a forwarding mapping relationship with the proxy mailbox, and the electronic ticket obtained by parsing is synchronized to the ticket service application.

14. A storage medium for storing computer executable instructions, wherein the computer executable instructions implement the following process when executed: After detecting that the user's proxy mailbox receives the ticket email, the ticket email is parsed; The ticket email is forwarded to the user mailbox configured with a forwarding mapping relationship with the proxy mailbox, and the electronic ticket obtained by parsing is synchronized to the ticket service application.

Citation Information

Patent Citations

  • Mail parsing method and system, electronic equipment and readable storage medium

    CN108965095A

  • An electronic invoice collection system and a collection method

    CN109146584A

  • Invoice information acquisition method and device, computer equipment and storage medium

    CN112132671A

  • Personal financial management methods for providing automated email bill collection, aggregation and processing

    KR102067827B1

  • Electronic bill process automation

    US20090271303A1