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

Bill processing method and device based on mailbox Download PDF

Info

Publication number
CN113435862A
CN113435862A CN202110819507.XA CN202110819507A CN113435862A CN 113435862 A CN113435862 A CN 113435862A CN 202110819507 A CN202110819507 A CN 202110819507A CN 113435862 A CN113435862 A CN 113435862A
Authority
CN
China
Prior art keywords
mailbox
bill
ticket
mail
user
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.)
Granted
Application number
CN202110819507.XA
Other languages
Chinese (zh)
Other versions
CN113435862B (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/CN114971571A/en
Priority to CN202110819507.XA priority patent/CN113435862B/en
Publication of CN113435862A publication Critical patent/CN113435862A/en
Application granted granted Critical
Publication of CN113435862B publication Critical patent/CN113435862B/en
Priority to PCT/CN2022/103287 priority patent/WO2023000952A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Abstract

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

Description

Bill processing method and device based on mailbox
Technical Field
The present invention 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 issued and collected by businesses or individuals in the process of buying and selling goods, providing or receiving services, and engaging in other business activities, and the contents include the name, quality, agreed price, etc. of the product or service provided to the purchaser. In the process of issuing an electronic bill, a bill download link is usually provided for a user in a mail or short message manner, and the user needs to manually click the electronic bill download link to download the bill, so that the electronic bill can be acquired. Managing electronic tickets after they are acquired is also of paramount importance in the processing of electronic tickets.
Disclosure of Invention
One or more embodiments of the present specification provide a method for processing a ticket based on a mailbox. The bill processing method based on the mailbox comprises the following steps: and analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail. And synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information. And the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
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 the service configuration information. And the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
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: and analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail. And synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information. And the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following: and analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail. And synchronizing the electronic bill obtained by analysis to a bill service application, and forwarding the bill mail according to service configuration information. And the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
Drawings
In order to more clearly illustrate one or more embodiments or technical solutions in the prior art in the present specification, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise;
FIG. 1 is a flowchart of a method for processing a mailbox-based ticket according to one or more embodiments of the present disclosure;
FIG. 2 is a flowchart of a mailbox-based ticket processing method applied to a ticket service application scenario according to 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 make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
The embodiment of the method for processing the bills based on the mailboxes provided by the specification comprises the following steps:
referring to fig. 1, which shows a processing flowchart of a method for processing a ticket based on a mailbox provided in this embodiment, referring to fig. 2, which shows a processing flowchart of a method for processing a ticket based on a mailbox applied to a ticket service application scenario provided in this embodiment.
Referring to fig. 1, the method for processing a ticket based on a mailbox provided in this embodiment specifically includes steps S102 to S104.
And step S102, analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail.
In practical application, the billing service application needs to be docked with a billing facilitator, and the electronic bills of the user can be automatically collected after the electronic bills returned by the billing facilitator are acquired, but docking of the billing service application with different billing facilitators not only takes a lot of time, but also takes a lot of manpower and a lot of resources, and is inefficient.
According to the mailbox-based bill processing method provided by the embodiment, 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 mails sent to the proxy mailbox can be synchronized to the bill service application for collection. Specifically, a proxy mailbox is configured for a user, a forwarding mapping relation between the proxy mailbox and the user mailbox is configured, the user can set the proxy mailbox as a receiving address of an electronic bill in the process of issuing the electronic bill, the bill mail is forwarded to the user mailbox configured with the forwarding mapping relation after receiving the bill mail, and the electronic bill obtained after analyzing the bill mail is synchronized to the bill service application, so that the bill service application is collected. Therefore, the problem of efficiency of the bill service application in butt joint with each bill service provider is solved, management of the electronic bills of the users is improved, and convenience of accessing the electronic bills of the subsequent users is improved.
In this embodiment, an intermediate mailbox is introduced and is in butt joint with a bill service provider and a user mailbox in two directions, that is, the intermediate mailbox forwards a bill mail to the user mailbox after receiving the bill mail sent by the bill service provider, and simultaneously, analyzes the bill mail received by the intermediate mailbox, and synchronizes an electronic bill obtained by analysis to a bill service application for collection. The incoming intermediate mailbox is therefore referred to as a proxy mailbox. The ticket service application includes an application providing a ticket management service such as ticket aggregation and/or access, and specifically, the application includes an independent third-party application or a sub program (such as an applet) loaded and accessed by the third-party application.
In specific implementation, because the user mailbox can not store and manage the electronic bill, the mailbox service configuration is carried out on the user through the bill service application, namely, the proxy mailbox in butt joint with the bill service application is configured, so that the user uses the proxy mailbox 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 relationship between the proxy mailbox and a user mailbox needs to be configured to obtain service configuration information, wherein the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
In an optional implementation manner provided by this embodiment, in the process of configuring the mailbox service, the following operations are performed:
generating the proxy mailbox according to a mailbox configuration request submitted by the user through the ticket service application;
configuring a forwarding mapping relation between the agent mailbox and the user mailbox as the service configuration information based on the user mailbox carried in the mailbox configuration request; and forwarding the mail from the agent mailbox to the user mailbox according to the forwarding mapping relation.
In order to improve the perception degree of the user to 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 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:
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 ticket service application, after a mailbox configuration request submitted by the user through the ticket service application is acquired, a user mailbox identifier of the user mailbox carried in the mailbox configuration request is read, a mailbox account is extracted, and the mailbox account is spliced with a server domain name of the agent mailbox to obtain the agent mailbox and the mailbox identifier of the agent mailbox. And configuring a forwarding mapping relation for the agent mailbox and the user mailbox.
For example, when a user submits a mailbox configuration request through a ticket service application, a user mailbox identifier of a user mailbox carried in the mailbox configuration request is read as 'mailbox ID @ xxx.com', a server domain name of an agent mailbox is 'aaa.com', a mailbox account of the user mailbox is extracted as 'mailbox ID', the mailbox account of the user mailbox and the server domain name of the agent mailbox are spliced, and the agent mailbox with the mailbox identifier of 'mailbox ID @ aaa.com' is obtained. After generating the agent mailbox, in order to enable the user to check the bill mail through the user mailbox, the configuration of the forwarding mapping relation between the user mailbox and the agent mailbox is carried out, and a forwarding mailbox containing a sending mailbox: com, mailbox ID @ aaa, receive mailbox: com "service configuration information of mailbox ID @ xxx.
It should be noted that in the process of generating the proxy mailbox, after acquiring the mailbox configuration application of the user, a mailbox identifier may be randomly generated as the mailbox identifier of the proxy mailbox.
And after the agent mailbox is generated and the forwarding mapping relation is configured, in order to improve the perception degree of the user to the mailbox identifier of the agent mailbox, the mailbox identifier of the agent mailbox is sent to the user. In an optional implementation manner provided by this embodiment, after the forwarding mapping relationship configuration is completed, 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. For example, after a user submits a mailbox configuration request through the ticket service application, generates an agent mailbox and service configuration information, a mailbox identifier of the agent mailbox is displayed to the user through the ticket service application.
In specific implementation, after the mailbox identification of the agent mailbox is sent to the user, the user can use the agent mailbox as an address for receiving the electronic bill when applying for the electronic bill. After receiving the bill mail, in order to collect the e-mails corresponding to the bill mail, the bill mail needs to be parsed to obtain the electronic bill. In an optional implementation manner provided by this embodiment, in the process of parsing the ticket 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 identification with a preset mail template set, and reading the bill link of the electronic bill contained in the bill mail according to the matching result.
The preset mail template set comprises mail templates provided by all bill service providers, and all the mail templates in the preset mail template set correspond to the bill service providers respectively. Specifically, the service provider identifier is recorded in the mail template, and meanwhile, the template contents of each part of the mail template respectively correspond to the mail contents of a corresponding part in the bill mail, for example, the bill link part in the mail template corresponds to the bill link included in the bill mail, and the position of the bill link in the bill mail can also be determined by the position of the bill link part in the mail template, so that the contents corresponding to each part in the bill mail can be extracted by 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 line x1 to line x2, the position is used as positioning information, and the bill link is extracted from line x1 to line x2 in the bill mail sent by the A service provider by using the positioning information.
In specific implementation, the bill mail also contains other contents, so that the electronic bill is obtained. The electronic bill can be obtained according to the bill link only if the bill link of the electronic bill contained in the bill mail is read, and the received bill mails may be different due to different bill service providers, that is, the positions of the bill link in the bill mail may be different, so that in the analysis process, the mail template corresponding to the bill service provider needs to be matched in a set of preset mail templates, and then the bill link is read according to the matching result.
Recording the position of the bill link in the mail template, and reading the bill link according to the positioning information of the bill link in the matched mail template after matching the mail template corresponding to the bill service provider; and if the mail template corresponding to the bill service provider is not matched, identifying all hyperlinks contained in the bill mail, and acquiring the bill link according to the identification result. In an optional implementation manner provided by this embodiment, in implementing a process of 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 identification, and reading the bill link based on the positioning information;
and 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 ticket link according to the recognition result provided by this embodiment, if the matching fails, the following steps are performed:
acquiring hyperlinks contained in the bill mails, and performing secondary matching on the hyperlinks and a preset keyword set;
if the secondary matching is successful, determining the hyperlink to be the bill link;
and if the secondary matching fails, downloading the hyperlink, and determining the hyperlink which is downloaded successfully as the bill link.
Specifically, if the mail template corresponding to the bill service provider is not matched in the preset mail template set, all hyperlinks contained in the bill mail are obtained, secondary matching is carried out on the hyperlinks and the preset keyword set, and if the secondary matching is successful, the successfully matched hyperlinks are used as bill links; and if the secondary matching fails, attempting to download the electronic bill based on the hyperlink, if the downloading is successful, determining the corresponding hyperlink to be the bill link, and if the downloading fails, performing abnormal reminding. In order to enrich the preset keyword set, keyword extraction is carried out on the hyperlink which is tried to be downloaded successfully, the extracted keyword is added into the preset keyword set, and the extracted keyword and a bill service provider corresponding to the bill mail are bound.
For example, when a user applies for issuing an electronic bill to an a service provider, a proxy mailbox "mailbox ID @ aaa.com" is used as a receiving address for the electronic bill, and when a server of the proxy mailbox detects that the proxy mailbox receives a bill mail, the server identifier of the a service provider carried in the bill mail is read; matching the service provider identification with a preset mail template set, if the preset mail template set contains a mail template corresponding to the service provider A, reading a bill link contained in the bill mail according to positioning information of the bill link recorded in the corresponding mail template; if the preset mail template set does not contain the mail template corresponding to the service provider A, reading all hyperlinks in the bill mail, performing secondary matching on each hyperlink and the preset keyword set, if the preset keyword set contains a keyword in any hyperlink, taking the hyperlink as a bill link, if the preset keyword set does not contain the keyword in each hyperlink, trying to download each hyperlink, judging whether an electronic bill is obtained, if so, taking the corresponding hyperlink as the bill link, extracting the keyword in the hyperlink, establishing a binding relationship between the extracted keyword and the service provider A, and adding the keyword in the extracted keyword to the preset keyword set; if not, performing abnormal reminding.
(3) And downloading the electronic bill based on the bill link to obtain the electronic bill.
In specific implementation, after the bill link is read, downloading processing is carried out based on the bill link, and the electronic bill is obtained. In an optional implementation manner provided by 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 by this embodiment, for the first type and the second type, the following manner is adopted to obtain the electronic ticket:
if the response body type 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 link according to the analyzing mode; acquiring the electronic bill based on the analysis result;
and if the type of the response body is a downloadable second type, downloading processing is carried out based on the response body, and the electronic bill is obtained.
The responder in this embodiment includes a data packet containing a trigger result, which is returned after the ticket link is triggered or accessed. Specifically, an access request for the 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 a first type which can not be downloaded, inquiring the analysis mode of the bill link, analyzing and processing the bill link according to the analysis mode and obtaining the download link of the electronic bill, and downloading and processing the download link to obtain the electronic bill; and if the type of the response body is a downloadable second type, directly downloading the bill link to obtain the electronic bill.
According to the method, after the bill link is obtained, the bill link is accessed, the response body of the bill link is obtained, then the type of the response body is read, if the type of the response body is a downloadable type, the electronic bill is obtained by downloading the bill link, if the type of the response body is a non-downloadable type, the analysis mode of the bill link is inquired, the bill link is analyzed according to the analysis mode, the download link of the electronic bill is obtained, and the electronic bill is obtained by downloading the download link.
And 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 issued by the user, the user needs to be docked with a bill service provider through an electronic mail or a bill service application and the electronic bill acquired through the bill service application, not all bill service providers support the user to issue the electronic bill through the bill service application, and in order to solve the problem of docking with the bill service provider, technical upgrading needs to be technically performed on the bill service provider and the bill service application, so that the efficiency is low. Most electronic bills can be received through the mailbox, but the mailbox cannot collect the electronic bills, the efficiency of manually collecting the electronic bills by a user is low, and the authorized bill service application needs to be docked with a mailbox service provider and develop the bill service application, 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 receiving the original of the electronic ticket mail and the user not being able to check the electronic ticket subsequently.
Based on this, the mailbox-based ticket processing method provided in this embodiment configures an agent mailbox for a user to receive a ticket mail, applies a synchronous electronic ticket to a ticket service after receiving the ticket mail to collect an electronic ticket, and forwards the ticket mail to the user mailbox to enable the user to archive the electronic ticket for subsequent checking, so that convenience of the user in collecting the ticket is improved, development and docking costs are reduced, and data security of the user mailbox can be ensured.
In a specific implementation, after the ticket mail is analyzed 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 may be two applications corresponding to one server, and may also correspond to different servers, which is not limited herein. In an optional implementation manner 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 an access request submitted by the user through an access entry of the ticket service application.
It should be noted that, after receiving a bill mail, in order to facilitate a user to archive an electronic bill and improve convenience of a user to subsequently check the electronic bill, the bill mail needs to be forwarded according to service configuration information, that is, the bill mail is forwarded to a user mailbox configured with a forwarding mapping relationship with an agent mailbox; and then forwarding the bill mail to the user mailbox through the proxy mailbox based on the user mailbox identification.
The following takes an application of the mailbox-based ticket processing method provided in this embodiment in a ticket service application scenario as an example, and further describes the mailbox-based ticket processing method provided in this embodiment, referring to fig. 2, the mailbox-based ticket processing method applied in the ticket service application scenario specifically includes steps S202 to S214.
Step S202, detecting that the proxy mailbox receives the bill mail, and reading a service provider identifier of a bill service provider corresponding to the bill mail.
Heretofore, the proxy mailbox was configured by: 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 and a preset server domain name to generate a proxy mailbox; and configuring the forwarding mapping relation between the proxy mailbox and the user mailbox to obtain service configuration information.
And step S204, matching the service provider identification with a preset mail template set.
Step S206, the bill link contained in the bill mail is read according to the matching result.
And step S208, downloading processing is carried out based on the bill link, and the electronic bill is obtained.
Step S210, synchronizing the electronic ticket to the ticket service application.
Step S212, according to the forwarding mapping relation, reading the user mailbox identification of the user mailbox recorded in the service configuration information.
And step S214, forwarding the bill mail to the user mailbox through the proxy mailbox based on the user mailbox identification.
To sum up, in the mailbox-based ticket processing method provided in this embodiment, after it is detected that the proxy mailbox of the user receives the ticket mail, the ticket mail is analyzed, then the electronic ticket obtained through analysis is synchronized to the ticket service application, and the ticket mail is forwarded according to the service configuration information, where the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration, so as to improve convenience of the user in collecting the electronic tickets, improve the cost of interfacing the ticket service application with each ticket facilitator, and forward the ticket mail to the user mailbox, so that the user can subsequently check the electronic ticket.
The embodiment of the mailbox-based bill processing device provided by the specification is as follows:
in the above embodiment, a method for processing a bill based on a mailbox is provided, and correspondingly, a device for processing a bill based on a mailbox is also provided, which is described below with reference to the accompanying drawings.
Referring to fig. 3, a schematic diagram of a mailbox-based ticket processing apparatus provided in this embodiment is shown.
Since the device embodiments correspond to the method embodiments, the description is relatively simple, and the relevant portions may refer to the corresponding description of the method embodiments provided above. The device embodiments described below are merely illustrative.
The embodiment provides a bill processing apparatus based on mailbox, including:
the analysis module 302 is configured to analyze 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;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
The embodiment of the mailbox-based bill processing equipment provided by the specification is as follows:
on the basis of the same technical concept, one or more embodiments of the present specification further provide a mailbox-based ticket processing apparatus, where the mailbox-based ticket processing apparatus is configured to execute the mailbox-based ticket processing method provided above, and fig. 4 is a schematic structural diagram of the mailbox-based ticket processing apparatus provided in one or more embodiments of the present specification.
The present embodiment provides a bill handling equipment based on mailbox, includes:
as shown in fig. 4, mailbox-based ticket processing apparatus may vary greatly in configuration or performance and may include one or more processors 401 and memory 402, where one or more stored applications or data may be stored in memory 402. Wherein memory 402 may be transient or persistent. The application stored in memory 402 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a mailbox-based ticket processing facility. Still further, processor 401 may be configured to communicate with memory 402 to execute a series of computer-executable instructions in memory 402 on a mailbox-based ticket processing device. Mailbox-based ticket processing apparatus 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 apparatus 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 apparatus, and execution of the one or more programs by one or more processors includes computer-executable instructions for:
analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
synchronizing the electronic bill obtained by analysis to bill service application, and forwarding the bill mail according to service configuration information;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
An embodiment of a storage medium provided in this specification is as follows:
on the basis of the same technical concept, one or more embodiments of the present specification further provide a storage medium corresponding to the above-described mailbox-based ticket processing method.
The storage medium provided in this embodiment is used to store computer-executable instructions, and when executed, the computer-executable instructions implement the following processes:
analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
synchronizing the electronic bill obtained by analysis to bill service application, and forwarding the bill mail according to service configuration information;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
It should be noted that the embodiment of the storage medium in this specification and the embodiment of the method for processing a ticket based on a mailbox in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the foregoing corresponding method, and repeated details are not described again.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
In the 30 s of the 20 th century, improvements in a technology could clearly be distinguished between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using 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, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: the ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, 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 divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in multiple software and/or hardware when implementing the embodiments of the present description.
One skilled in the 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 description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
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 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 an … …" 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 description 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.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of this document and is not intended to limit this document. Various modifications and changes may occur to those skilled in the art from this document. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (14)

1. A mailbox-based bill processing method comprises the following steps:
analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
synchronizing the electronic bill obtained by analysis to bill service application, and forwarding the bill mail according to service configuration information;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
2. A mailbox-based ticket processing method as in claim 1, wherein 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 ticket service application;
configuring a forwarding mapping relation between the agent mailbox and the user mailbox as the service configuration information based on the user mailbox carried in the mailbox configuration request; and forwarding the mail from the agent mailbox to the user mailbox according to the forwarding mapping relation.
3. A mailbox-based ticket processing method as in claim 2, wherein said generating the proxy mailbox according to the mailbox configuration request submitted by the user through the ticket service application comprises:
acquiring the mailbox configuration request submitted by the user through the ticket 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.
4. The method for processing the ticket based on the mailbox as claimed in claim 2, after the configuration of the forwarding mapping relation is completed, the following operations are executed:
sending the mailbox identification of the proxy mailbox 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. A mailbox-based ticket processing method as in claim 1 wherein said parsing of said ticket mailpiece comprises:
determining a service provider identifier of a bill service provider corresponding to the bill mail based on 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 downloading the electronic bill based on the bill link to obtain the electronic bill.
6. The mailbox-based ticket processing method as claimed in claim 5, wherein said reading the ticket link of said electronic ticket contained in said 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 identification, and reading the bill link based on the positioning information;
and 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 as claimed in claim 6, wherein said identifying the hyperlink contained in the ticket mail and obtaining the ticket link according to the identification result comprises:
acquiring hyperlinks contained in the bill mails, and performing secondary matching on the hyperlinks and a preset keyword set;
if the secondary matching is successful, determining the hyperlink to be the bill link;
and if the secondary matching fails, downloading the hyperlink, and determining the hyperlink which is downloaded successfully as the bill link.
8. The mailbox-based ticket processing method as in claim 5, wherein the downloading process based on the ticket link to obtain the electronic ticket comprises the following steps:
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 as claimed in claim 8, wherein said acquiring the electronic ticket according to the response body type comprises:
if the response body type 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 link according to the analyzing mode; acquiring the electronic bill based on the analysis result;
and if the type of the response body is a downloadable second type, downloading processing is carried out based on the response body, and the electronic bill is obtained.
10. The mailbox-based ticket processing method as in claim 1, wherein the ticket service application executes the following operations after receiving the electronic ticket:
and updating the electronic bill to a bill list of the user so as to display the bill list when receiving an access request submitted by the user through an access entrance of the bill service application.
11. The mailbox-based ticket processing method as claimed in claim 2, wherein the forwarding the ticket mail according to the service configuration information comprises:
reading the 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 identification.
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;
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;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
13. A mailbox-based ticket processing apparatus comprising:
a processor; and the number of the first and second groups,
a memory configured to store computer-executable instructions that, when executed, cause the processor to:
analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
synchronizing the electronic bill obtained by analysis to bill service application, and forwarding the bill mail according to service configuration information;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
14. A storage medium storing computer-executable instructions that when executed implement the following:
analyzing the bill mail after detecting that the proxy mailbox of the user receives the bill mail;
synchronizing the electronic bill obtained by analysis to bill service application, and forwarding the bill mail according to service configuration information;
and the proxy mailbox and the service configuration information are generated after the ticket service application performs mailbox service configuration.
CN202110819507.XA 2021-07-20 2021-07-20 Bill processing method and device based on mailbox Active CN113435862B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202210654474.2A CN114971571A (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
PCT/CN2022/103287 WO2023000952A1 (en) 2021-07-20 2022-07-01 Mailbox-based bill processing

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN113435862A true CN113435862A (en) 2021-09-24
CN113435862B CN113435862B (en) 2022-06-10

Family

ID=77761136

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210654474.2A Pending CN114971571A (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox
CN202110819507.XA Active CN113435862B (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
CN202210654474.2A Pending CN114971571A (en) 2021-07-20 2021-07-20 Bill processing method and device based on mailbox

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023000952A1 (en) * 2021-07-20 2023-01-26 支付宝(杭州)信息技术有限公司 Mailbox-based bill processing
WO2023143109A1 (en) * 2022-01-29 2023-08-03 北京字跳网络技术有限公司 Bill processing method and apparatus, electronic device, and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8311942B1 (en) * 2010-10-22 2012-11-13 Intuit Inc. Method and system for payment of a bill
CN104579931A (en) * 2015-01-23 2015-04-29 浪潮通用软件有限公司 Pending document access method and device based on mail
CN104933086A (en) * 2015-05-11 2015-09-23 北京金山安全软件有限公司 Data processing method and device
CN104980469A (en) * 2014-04-10 2015-10-14 阿里巴巴集团控股有限公司 E-mail extraction method and system
CN106341313A (en) * 2016-09-29 2017-01-18 北京小米移动软件有限公司 Method and apparatus for obtaining billing information
CN108965095A (en) * 2017-05-17 2018-12-07 北京京东尚科信息技术有限公司 Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing
CN110189099A (en) * 2019-05-10 2019-08-30 天津中新智冠信息技术有限公司 A kind of data processing method and mailing system based on mail
CN111222851A (en) * 2019-12-31 2020-06-02 论客科技(广州)有限公司 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
CN111797070A (en) * 2019-04-08 2020-10-20 杭州晨熹多媒体科技有限公司 Ticket data processing method and device
CN112132671A (en) * 2020-09-01 2020-12-25 苏宁云计算有限公司 Invoice information acquisition method and device, computer equipment and storage medium

Family Cites Families (3)

* 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
CN107424065A (en) * 2017-05-15 2017-12-01 贾琨 The method and system of electronic invoice in a kind of processing Email
CN114971571A (en) * 2021-07-20 2022-08-30 支付宝(杭州)信息技术有限公司 Bill processing method and device based on mailbox

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8311942B1 (en) * 2010-10-22 2012-11-13 Intuit Inc. Method and system for payment of a bill
CN104980469A (en) * 2014-04-10 2015-10-14 阿里巴巴集团控股有限公司 E-mail extraction method and system
CN104579931A (en) * 2015-01-23 2015-04-29 浪潮通用软件有限公司 Pending document access method and device based on mail
CN104933086A (en) * 2015-05-11 2015-09-23 北京金山安全软件有限公司 Data processing method and device
CN106341313A (en) * 2016-09-29 2017-01-18 北京小米移动软件有限公司 Method and apparatus for obtaining billing information
CN108965095A (en) * 2017-05-17 2018-12-07 北京京东尚科信息技术有限公司 Mail analytic method, mail resolution system, electronic equipment and readable storage medium storing program for executing
CN111797070A (en) * 2019-04-08 2020-10-20 杭州晨熹多媒体科技有限公司 Ticket data processing method and device
CN110189099A (en) * 2019-05-10 2019-08-30 天津中新智冠信息技术有限公司 A kind of data processing method and mailing system based on mail
CN111222851A (en) * 2019-12-31 2020-06-02 论客科技(广州)有限公司 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023000952A1 (en) * 2021-07-20 2023-01-26 支付宝(杭州)信息技术有限公司 Mailbox-based bill processing
WO2023143109A1 (en) * 2022-01-29 2023-08-03 北京字跳网络技术有限公司 Bill processing method and apparatus, electronic device, and storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
KR101805383B1 (en) Launching a client application based on a message
CN113435862B (en) Bill processing method and device based on mailbox
CN111274045B (en) Multi-platform docking method and device, computer equipment and readable storage medium
CN113495797B (en) Message queue and consumer dynamic creation method and system
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN110058864A (en) The dispositions method and device of micro services
CN104579909A (en) Method and equipment for classifying user information and acquiring user grouping information
CN108647950A (en) A kind of transfer request processing method, device and equipment
TW202032466A (en) User age prediction method, apparatus, and device
WO2023284505A1 (en) Method and apparatus for code-scanning payment
CN115691004A (en) Cargo access method, system and device
CN111159040A (en) Test data generation method, device, equipment and storage medium
CN112861033B (en) Method and device for executing service
CN113408254A (en) Page form information filling method, device, equipment and readable medium
CN114385382A (en) Light application access method and device, computer equipment and storage medium
CN106384255A (en) Method and device for creating information code promotion information
CN106485520A (en) Across channel communicating control method and server
CN109120509B (en) Information collection method and device
CN113435950B (en) Bill processing method and device
CN106548331B (en) Method and device for determining release sequence
CN112181817B (en) Test method and test device for SOA architecture platform
CN114648775A (en) Method and device for collecting electronic invoice based on mail
CN114064712A (en) Data access method and device, electronic equipment and computer readable storage medium
CN110532186B (en) Method, device, electronic equipment and storage medium for testing by using verification code
CN113138999B (en) Data processing method and device, computer storage medium and electronic equipment

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