Invoice data transmission method, system, equipment and medium

The main server and the backup server jointly process the invoice data transmission, and use encrypted data and bit error rate to judge the transmission process, ensure the secure transmission of invoice data, solve the problem of invoice transmission delay caused by congestion on a single server channel, and reduce the risk of information leakage.

CN119276581APending Publication Date: 2025-01-07ZHONGKE XUNLIAN SMART NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411432138.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the prior art, a single server is prone to channel congestion when processing multiple invoice transmission requests, resulting in invoices not being transmitted to the receiver in time, affecting the normal operation of the enterprise.

Method used

The main server and the backup server jointly store the encrypted invoice data, and judge the transmission process based on the communication capacity and bit error rate. If an abnormality occurs, the backup server will replace the transmission to ensure that the invoice data reaches the receiving position.

Benefits of technology

It avoids the leakage of invoice details and the collection of corporate identity information by unrelated personnel, reduces the risk of commercial secret leakage, and solves the problem that a single server cannot transmit invoice data in a timely manner when channel congestion is performed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276581A_ABST
    Figure CN119276581A_ABST
Patent Text Reader

Abstract

The invention provides an invoice data transmission method, system, device and medium, and the method comprises the steps: respectively storing encrypted invoice data in a main server and a backup server which are determined in advance or in real time, and when the main server cannot normally transmit to-be-transmitted encrypted invoice data corresponding to an invoice transmission request to a specified invoice data receiving position, transmitting the to-be-transmitted encrypted invoice data to the backup server; according to the invention, the backup server can carry out transmission replacement, so that the to-be-transmitted encrypted invoice data can be transmitted to the specified invoice data receiving position according to the invoice data transmission mode, and the problem that a single server cannot transmit the invoice data to an invoice receiver in time when a channel is congested at present is solved. Meanwhile, the original invoice data is encrypted, and then the encrypted invoice data can be transmitted in the subsequent invoice transmission process, so that detailed information on the invoice can be prevented from being collected by irrelevant personnel, and the risk that the enterprise identity information is leaked is reduced; and meanwhile, business secrets such as upstream and downstream transaction business flow processes of the enterprise can be prevented from being leaked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to an invoice data transmission method, system, device and medium. Background Art

[0002] At present, when most companies conduct commercial transactions, the seller who provides goods or services issues an invoice to the corresponding buyer. After the invoice is issued, it is generally stored on the seller's server after data processing. When the buyer has an invoice transmission demand, the server will send the corresponding electronic invoice to the buyer.

[0003] At present, most enterprises basically only set up a single server to store invoices. If there are multiple buyers who have invoice transmission requests, or the same buyer initiates transmission requests for multiple invoices at the same time, the server will have channel congestion, resulting in the server being unable to transmit the invoice to the designated receiving location in a timely manner, thereby having a negative impact on the normal operations of the seller and the buyer. For example, some of the buyers did not receive the invoices transmitted by the server in a timely manner, resulting in these buyers being unable to register the corresponding goods or services for tax in a timely manner. Or for another example, the same buyer did not receive all the invoices transmitted by the server in a timely manner, resulting in these buyers being unable to register the corresponding goods or services for tax in a timely manner. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide an invoice data transmission method, system, device and medium for solving the technical problems existing in the prior art.

[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides an invoice data transmission method, comprising the following steps:

[0006] Obtain raw invoice data generated in advance or in real time;

[0007] Encrypting the original invoice data to obtain encrypted invoice data; and storing the encrypted invoice data in a primary server and a backup server determined in advance or in real time, respectively;

[0008] Receiving and parsing an invoice transmission request, and determining the encrypted invoice data to be transmitted, the invoice data transmission method, and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient;

[0009] Transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitoring the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted;

[0010] The communication capacity is compared with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving location according to the invoice data transmission method.

[0011] In one embodiment of the present invention, when the communication capacity is greater than or equal to the space capacity, the method further includes:

[0012] Calculating a bit error rate when the main server transmits the encrypted invoice data to be transmitted;

[0013] Multiplying the bit error rate by the communication capacity to determine the data bit error capacity when the main server transmits the encrypted invoice data to be transmitted;

[0014] Calculating the difference between the communication capacity and the data error capacity to obtain the actual communication capacity;

[0015] Comparing the actual communication capacity with the space capacity to determine whether the actual communication capacity is equal to the space capacity;

[0016] If the actual communication capacity is equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as normal, and the invoice data transmission is terminated;

[0017] If the actual communication capacity is not equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving location according to the invoice data transmission method.

[0018] In one embodiment of the present invention, before transmitting the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method, the method further includes:

[0019] Retransmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and recording the transmission process marking result of the encrypted invoice data to be transmitted;

[0020] If the transmission process marking result of the encrypted invoice data to be transmitted is normal, the invoice data transmission is terminated;

[0021] If the transmission process marking result of the encrypted invoice data to be transmitted is abnormal, a data supplement and transmission instruction is sent to the backup server, so that the backup server transmits the internally stored encrypted invoice data to be transmitted to the invoice data receiving location according to the invoice data transmission method based on the data supplement transmission instruction.

[0022] In one embodiment of the present invention, the process of transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method includes: slicing the encrypted invoice data to be transmitted in the main server, splitting the encrypted data to be transmitted into multiple data segments; and transmitting all the sliced ​​data segments to the invoice data receiving location according to the invoice data transmission method;

[0023] And / or, the process of transmitting the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method includes: slicing the encrypted invoice data to be transmitted in the backup server, splitting the encrypted data to be transmitted into multiple data fragments; and transmitting all the sliced ​​data fragments to the invoice data receiving location according to the invoice data transmission method.

[0024] In one embodiment of the present invention, the process of generating the original invoice data includes:

[0025] Acquire a paper invoice generated when a first object and a second object conduct a commercial transaction, with the first object acting as an invoice recipient and the second object acting as an invoice issuer; and, photograph the paper invoice using an image capturing device to generate a corresponding electronic invoice; and, perform character recognition on the electronic invoice using a character recognition model to obtain the original invoice data;

[0026] Alternatively, when a first object and a second object conduct a commercial transaction, an electronic invoice is generated by the first object as the invoice recipient and the second object as the invoice issuer; and character recognition is performed on the electronic invoice using a character recognition model to obtain the original invoice data.

[0027] In one embodiment of the present invention, the process of encrypting the original invoice data to obtain the encrypted invoice data includes:

[0028] Encrypting the original invoice data based on the corporate certificate or digital certificate of the invoice issuer to obtain the encrypted invoice data;

[0029] Alternatively, the original invoice data is encrypted based on the enterprise certificate or digital certificate of the invoice recipient to obtain the encrypted invoice data.

[0030] In one embodiment of the present invention, the original invoice data includes: commodity data information or service data information, seller data information, and buyer data information.

[0031] The present invention also provides an invoice data transmission system, the system comprising:

[0032] Data collection module, used to obtain original invoice data generated in advance or in real time;

[0033] A data encryption module, used to encrypt the original invoice data to obtain encrypted invoice data; and store the encrypted invoice data in a pre-determined or real-time determined primary server and backup server respectively;

[0034] A transmission request module, used to receive and parse an invoice transmission request, and determine the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient;

[0035] A main transmission module, used for transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitoring the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted;

[0036] A capacity comparison module, used for comparing the communication capacity with the space capacity of the encrypted invoice data to be transmitted;

[0037] The backup transmission module is used to mark the transmission process of the encrypted invoice data to be transmitted as abnormal when the communication capacity is less than the space capacity, and transmit the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method.

[0038] The present invention also provides an invoice data transmission device, comprising:

[0039] processor; and,

[0040] A computer-readable medium storing instructions, when the processor executes the instructions, causes the device to execute any of the invoice data transmission methods described above.

[0041] The present invention also provides a computer-readable medium on which instructions are stored, and the instructions are loaded by a processor to execute any of the invoice data transmission methods described above.

[0042] As described above, the present invention provides an invoice data transmission method, system, device and medium, which have the following beneficial effects:

[0043] The present invention first obtains the original invoice data generated in advance or in real time, and then encrypts the original invoice data to obtain the encrypted invoice data; and, respectively stores the encrypted invoice data in the main server and the backup server determined in advance or in real time; then receives and parses the invoice transmission request, and determines the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving position based on the invoice transmission request result; wherein the invoice transmission request includes the request initiated by the invoice recipient; then transmits the encrypted invoice data to be transmitted in the main server to the invoice data receiving position according to the invoice data transmission method, and monitors the communication capacity consumed when the main server transmits the encrypted invoice data to be transmitted; finally, compares the communication capacity with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, marks the transmission process of the encrypted invoice data to be transmitted as abnormal, and transmits the encrypted invoice data to be transmitted in the backup server to the invoice data receiving position according to the invoice data transmission method. It can be seen from this that the present invention can avoid the detailed information on the invoice from being collected by irrelevant personnel by encrypting the original invoice data, and then in the subsequent invoice transmission process, it can be transmitted as encrypted invoice data, thereby reducing the risk of corporate identity information being leaked, and also avoiding the leakage of business secrets such as the transaction business flow process of the enterprise in the upstream and downstream. At the same time, the present invention stores the encrypted invoice data in a pre- or real-time determined main server and backup server respectively. When the main server cannot normally transmit the encrypted invoice data to be transmitted corresponding to the invoice transmission request to the designated invoice data receiving location, the backup server can take over the transmission to transmit the encrypted invoice data to be transmitted in the backup server to the designated invoice data receiving location according to the invoice data transmission method, thereby solving the current problem that a single server cannot transmit invoice data to the invoice recipient in a timely manner when the channel is congested. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of an exemplary system architecture for applying the technical solutions in one or more embodiments of the present invention;

[0045] Figure 2 A schematic diagram of a flow chart of an invoice data transmission method provided in an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of invoice data provided by an embodiment of the present invention;

[0047] Figure 4 A schematic diagram of hardware receiving of an invoice data transmission system provided in one embodiment of the present invention;

[0048] Figure 5 The present invention is a schematic diagram of the hardware structure of an invoice data transmission device suitable for implementing one or more embodiments of the present invention. DETAILED DESCRIPTION

[0049] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0050] It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0051] Figure 1 FIG. 1 is a schematic diagram showing an exemplary system architecture to which the technical solution in one or more embodiments of the present invention can be applied. Figure 1 As shown, the system architecture 100 may include a terminal device 110, a network 120, and a server 130. The terminal device 110 may include various electronic devices such as a smart phone, a tablet computer, a laptop computer, and a desktop computer. The server 130 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The network 120 may be a communication medium of various connection types that can provide a communication link between the terminal device 110 and the server 130, such as a wired communication link or a wireless communication link.

[0052] According to the implementation requirements, the system architecture in the embodiment of the present invention may have any number of terminal devices, networks and servers. For example, the server 130 may be a server group composed of multiple server devices. In addition, the technical solution provided in the embodiment of the present invention may be applied to the terminal device 110, or to the server 130, or may be implemented by the terminal device 110 and the server 130 together, and the present invention does not make any special limitation on this.

[0053] In one embodiment of the present invention, the terminal device 110 or server 130 of the present invention can obtain original invoice data generated in advance or in real time, and then encrypt the original invoice data to obtain encrypted invoice data; and, store the encrypted invoice data in a main server and a backup server determined in advance or in real time respectively; then receive and parse the invoice transmission request, and determine the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; then transmit the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitor the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted; finally, compare the communication capacity with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, mark the transmission process of the encrypted invoice data to be transmitted as abnormal, and transmit the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method. By using the terminal device 110 or the server 130 to execute the invoice data transmission method, the original invoice data can be encrypted, and then in the subsequent invoice transmission process, the encrypted invoice data can be transmitted, which can prevent the detailed information on the invoice from being collected by irrelevant personnel, reduce the risk of corporate identity information being leaked, and also prevent the leakage of business secrets such as the business flow process of the company's upstream and downstream transactions. At the same time, the present invention stores the encrypted invoice data in the main server and backup server determined in advance or in real time, respectively. When the main server cannot normally transmit the encrypted invoice data to be transmitted corresponding to the invoice transmission request to the designated invoice data receiving location, the backup server can take over the transmission, so as to transmit the encrypted invoice data to be transmitted in the backup server to the designated invoice data receiving location according to the invoice data transmission method, thereby solving the current problem that a single server cannot transmit invoice data to the invoice recipient in a timely manner when the channel is congested.

[0054] The above section introduces the contents of an exemplary system architecture applying the technical solution of the present invention. Next, the invoice data transmission method of the present invention will be introduced.

[0055] Figure 2 FIG. 1 is a flow chart of an invoice data transmission method provided by an embodiment of the present invention. Specifically, in an exemplary embodiment, Figure 2 As shown, this embodiment provides an invoice data transmission method, which includes the following steps:

[0056] S210, obtaining original invoice data generated in advance or in real time;

[0057] S220, encrypting the original invoice data to obtain encrypted invoice data; and storing the encrypted invoice data in a pre-determined or real-time determined primary server and backup server respectively. As an example, the process of encrypting the original invoice data to obtain encrypted invoice data in this embodiment may include: encrypting the original invoice data based on the corporate certificate or digital certificate of the invoice issuer to obtain encrypted invoice data; or encrypting the original invoice data based on the corporate certificate or digital certificate of the invoice recipient to obtain encrypted invoice data.

[0058] S230, receiving and parsing the invoice transmission request, and determining the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; the encrypted invoice data to be transmitted is the encrypted invoice data corresponding to the invoice transmission. As an example, the invoice data transmission method and the invoice data receiving location in this embodiment can be set according to actual conditions, for example, the invoice data transmission method can be set to HTTP protocol mode (Hyper Text Transfer Protocol, Hypertext Transfer Protocol, referred to as HTTP), TCP protocol mode (Transmission Control Protocol, Transmission Control Protocol, referred to as TCP), TCP / IP protocol mode (Transmission Control Protocol / Internet Protocol, Transmission Control Protocol / Internet Protocol, referred to as TCP / IP), etc. For example, the invoice data receiving location can be set to an email address, a cloud storage address, a website address, etc.

[0059] S240, transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitoring the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted;

[0060] S250, compare the communication capacity with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, mark the transmission process of the encrypted invoice data to be transmitted as abnormal, and transmit the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method.

[0061] It can be seen that, by encrypting the original invoice data, the encrypted invoice data can be transmitted in the subsequent invoice transmission process, which can prevent the detailed information on the invoice from being collected by irrelevant personnel, reduce the risk of corporate identity information being leaked, and also avoid leaking the company's business secrets such as the transaction business flow process in the upstream and downstream. At the same time, the present embodiment stores the encrypted invoice data in the pre-determined or real-time main server and backup server respectively. When the main server cannot normally transmit the encrypted invoice data to be transmitted corresponding to the invoice transmission request to the designated invoice data receiving location, the backup server can perform the transmission and take over, so as to transmit the encrypted invoice data to be transmitted in the backup server to the designated invoice data receiving location according to the invoice data transmission method, thereby solving the current problem that a single server cannot transmit invoice data to the invoice recipient in time when the channel is congested. In this embodiment or other embodiments, the invoice issuer can also be called the seller, and the invoice recipient can also be called the buyer.

[0062] In an exemplary embodiment of the present invention, when the communication capacity is greater than or equal to the space capacity, this embodiment may also include: calculating the bit error rate when the main server transmits the encrypted invoice data to be transmitted; multiplying the bit error rate by the communication capacity to determine the data error capacity when the main server transmits the encrypted invoice data to be transmitted; calculating the difference between the communication capacity and the data error capacity to obtain the actual communication capacity; comparing the actual communication capacity with the space capacity to determine whether the actual communication capacity is equal to the space capacity; if the actual communication capacity is equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as normal, and the invoice data transmission is terminated; if the actual communication capacity is not equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving position according to the invoice data transmission method. It can be seen that when the communication capacity is greater than or equal to the space capacity, this embodiment can determine whether the actual communication capacity is equal to the space capacity by calculating the bit error rate of the main server, thereby avoiding false transmission caused by data transmission quality. That is, the total communication capacity is greater than the space capacity, but the actual communication capacity is less than the space capacity.

[0063] In an exemplary embodiment of the present invention, before the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving position according to the invoice data transmission mode, the present embodiment may further include: retransmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving position according to the invoice data transmission mode, and recording the transmission process marking result of the encrypted invoice data to be transmitted; if the transmission process marking result of the encrypted invoice data to be transmitted is normal, then the invoice data transmission is terminated; if the transmission process marking result of the encrypted invoice data to be transmitted is abnormal, then a data supplement transfer instruction is issued to the backup server, so that the backup server transmits the internally stored encrypted invoice data to be transmitted to the invoice data receiving position according to the invoice data transmission mode based on the data supplement transfer instruction. It can be seen from this that when the encrypted invoice data to be transmitted in the main server is transmitted to the invoice data receiving position according to the invoice data transmission mode, if the main server cannot normally transmit the encrypted data to be transmitted, the present embodiment will allow the main server to transmit again. If the main server cannot transmit normally twice, then a data supplement transfer instruction is issued to the backup server, so that the backup server transmits the internally stored encrypted invoice data to be transmitted to the invoice data receiving position according to the invoice data transmission mode based on the data supplement transfer instruction. That is, the transmission strategy of collecting data is mainly based on the main server transmission and supplemented by the backup server transmission.

[0064] In an exemplary embodiment of the present invention, the process of transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method may include: slicing the encrypted invoice data to be transmitted in the main server, splitting the encrypted data to be transmitted into multiple data segments; and transmitting all the sliced ​​data segments to the invoice data receiving location according to the invoice data transmission method. In addition, the process of transmitting the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method in this embodiment may include: slicing the encrypted invoice data to be transmitted in the backup server, splitting the encrypted data to be transmitted into multiple data segments; and transmitting all the sliced ​​data segments to the invoice data receiving location according to the invoice data transmission method. Therefore, this embodiment can reduce the demand for bandwidth and save invoice data transmission costs by slicing the encrypted invoice data to be transmitted and then transmitting the split data segments, compared with directly transmitting the entire encrypted invoice data to be transmitted.

[0065] In an exemplary embodiment of the present invention, the generation process of the above-mentioned original invoice data may include: obtaining a paper invoice generated by the first object as the invoice recipient and the second object as the invoice issuer when the first object and the second object conduct a commercial transaction; and, photographing the paper invoice using an image capture device to generate a corresponding electronic invoice; and, performing character recognition on the electronic invoice using a character recognition model to obtain the original invoice data. In this embodiment, the image capture device may be a camera. In this embodiment, the original invoice data includes but is not limited to: commodity data information or service data information, seller data information, buyer data information and other data. In addition, the original invoice data in this embodiment may also include other data, such as Figure 3 As shown, the original invoice data may also include invoice data such as invoice code and invoice number.

[0066] In another exemplary embodiment of the present invention, the process of generating the above-mentioned original invoice data may include: obtaining an electronic invoice generated when a first object and a second object conduct a commercial transaction, with the first object as the invoice recipient and the second object as the invoice issuer; and using a character recognition model to perform character recognition on the electronic invoice to obtain the original invoice data. In this embodiment, the original invoice data includes but is not limited to: commodity data information or service data information, seller data information, buyer data information and other data. In addition, the original invoice data in this embodiment may also include other data, such as Figure 3 As shown, the original invoice data may also include invoice data such as invoice code and invoice number.

[0067] According to the above records, the process of using the character recognition model to perform character recognition on electronic invoices and obtain original invoice data can be: annotating multiple electronic invoices to form a sample data set; and selecting a portion of the electronic invoices from the sample data set as a training data set according to a random proportion, and using the remaining number of electronic invoices as a test set; inputting the training data set into the neural network for training, and when the number of training times reaches a preset number, outputting the trained optical character recognition model; using the test set to detect the recognition accuracy of the trained optical character recognition model; when the recognition accuracy is greater than or equal to the preset accuracy value, using the optical character recognition model trained at the current moment to perform optical character recognition processing on the electronic invoice to obtain character segments in the electronic invoice, and using these character segments as the original invoice data of the electronic invoice. In this embodiment, when the recognition accuracy of the trained optical character recognition model is detected by the test set, if the recognition accuracy is less than the preset accuracy value, multiple electronic invoices are selected from the sample data set again according to a random ratio as a new training data set, and the remaining electronic invoices are used as a new test set; and the optical character recognition model trained at the current moment is iteratively trained using the new training data set, and the recognition accuracy of the iteratively trained optical character recognition model is detected using the new test set, until the recognition accuracy corresponding to the iteratively trained optical character recognition model is greater than or equal to the preset accuracy value, the iterative training is terminated, and the optical character recognition model at the end of the iterative training is used to perform optical character recognition processing on the electronic invoice. Among them, the neural network in this embodiment includes but is not limited to: convolutional neural network, recurrent neural network, long short-term memory network, bidirectional long short-term memory network, etc.

[0068] In summary, the present invention provides an invoice data transmission method, which first obtains original invoice data generated in advance or in real time, and then encrypts the original invoice data to obtain encrypted invoice data; and, respectively stores the encrypted invoice data in a main server and a backup server determined in advance or in real time; then receives and parses an invoice transmission request, and determines the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; then the encrypted invoice data to be transmitted in the main server is transmitted to the invoice data receiving location according to the invoice data transmission method, and the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted is monitored; finally, the communication capacity is compared with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving location according to the invoice data transmission method. It can be seen that this method can prevent the detailed information on the invoice from being collected by irrelevant personnel and reduce the risk of corporate identity information being leaked by encrypting the original invoice data, and then transmit the encrypted invoice data in the subsequent invoice transmission process, while also avoiding the leakage of business secrets such as the business flow process of the company's upstream and downstream transactions. At the same time, this method stores the encrypted invoice data in the pre-determined or real-time main server and backup server respectively. When the main server cannot normally transmit the encrypted invoice data to be transmitted corresponding to the invoice transmission request to the designated invoice data receiving location, the backup server can take over the transmission to transmit the encrypted invoice data to be transmitted in the backup server to the designated invoice data receiving location according to the invoice data transmission method, thereby solving the current problem that a single server cannot transmit invoice data to the invoice recipient in a timely manner when the channel is congested.

[0069] like Figure 4 As shown, the present invention also provides an invoice data transmission system, comprising:

[0070] Data collection module 410, used to obtain original invoice data generated in advance or in real time;

[0071] The data encryption module 420 is used to encrypt the original invoice data to obtain the encrypted invoice data; and store the encrypted invoice data in the primary server and the backup server determined in advance or in real time. As an example, the process of encrypting the original invoice data to obtain the encrypted invoice data in this embodiment may include: encrypting the original invoice data based on the enterprise certificate or digital certificate of the invoice issuer to obtain the encrypted invoice data; or encrypting the original invoice data based on the enterprise certificate or digital certificate of the invoice recipient to obtain the encrypted invoice data.

[0072] The transmission request module 430 is used to receive and parse the invoice transmission request, and determine the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; the encrypted invoice data to be transmitted is the encrypted invoice data corresponding to the invoice transmission. As an example, the invoice data transmission method and the invoice data receiving location in this embodiment can be set according to actual conditions, for example, the invoice data transmission method can be set to HTTP protocol mode (Hyper Text Transfer Protocol, Hypertext Transfer Protocol, referred to as HTTP), TCP protocol mode (Transmission Control Protocol, Transmission Control Protocol, referred to as TCP), TCP / IP protocol mode (Transmission Control Protocol / Internet Protocol, Transmission Control Protocol / Internet Protocol, referred to as TCP / IP), etc. For example, the invoice data receiving location can be set to an email address, a cloud storage address, a website address, etc.

[0073] The main transmission module 440 is used to transmit the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitor the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted;

[0074] A capacity comparison module 450, for comparing the communication capacity with the space capacity of the encrypted invoice data to be transmitted;

[0075] The backup transmission module 460 is used to mark the transmission process of the encrypted invoice data to be transmitted as abnormal when the communication capacity is less than the space capacity, and transmit the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method.

[0076] It can be seen that, by encrypting the original invoice data, the encrypted invoice data can be transmitted in the subsequent invoice transmission process, which can prevent the detailed information on the invoice from being collected by irrelevant personnel, reduce the risk of corporate identity information being leaked, and also avoid leaking the company's business secrets such as the transaction business flow process in the upstream and downstream. At the same time, the present embodiment stores the encrypted invoice data in the pre-determined or real-time main server and backup server respectively. When the main server cannot normally transmit the encrypted invoice data to be transmitted corresponding to the invoice transmission request to the designated invoice data receiving location, the backup server can perform the transmission and take over, so as to transmit the encrypted invoice data to be transmitted in the backup server to the designated invoice data receiving location according to the invoice data transmission method, thereby solving the current problem that a single server cannot transmit invoice data to the invoice recipient in time when the channel is congested. In this embodiment or other embodiments, the invoice issuer can also be called the seller, and the invoice recipient can also be called the buyer.

[0077] In an exemplary embodiment of the present invention, when the communication capacity is greater than or equal to the space capacity, this embodiment may also include: calculating the bit error rate when the main server transmits the encrypted invoice data to be transmitted; multiplying the bit error rate by the communication capacity to determine the data error capacity when the main server transmits the encrypted invoice data to be transmitted; calculating the difference between the communication capacity and the data error capacity to obtain the actual communication capacity; comparing the actual communication capacity with the space capacity to determine whether the actual communication capacity is equal to the space capacity; if the actual communication capacity is equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as normal, and the invoice data transmission is terminated; if the actual communication capacity is not equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving position according to the invoice data transmission method. It can be seen that when the communication capacity is greater than or equal to the space capacity, this embodiment can determine whether the actual communication capacity is equal to the space capacity by calculating the bit error rate of the main server, thereby avoiding false transmission caused by data transmission quality. That is, the total communication capacity is greater than the space capacity, but the actual communication capacity is less than the space capacity.

[0078] In an exemplary embodiment of the present invention, before the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving position according to the invoice data transmission mode, the present embodiment may further include: retransmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving position according to the invoice data transmission mode, and recording the transmission process marking result of the encrypted invoice data to be transmitted; if the transmission process marking result of the encrypted invoice data to be transmitted is normal, then the invoice data transmission is terminated; if the transmission process marking result of the encrypted invoice data to be transmitted is abnormal, then a data supplement transfer instruction is issued to the backup server, so that the backup server transmits the internally stored encrypted invoice data to be transmitted to the invoice data receiving position according to the invoice data transmission mode based on the data supplement transfer instruction. It can be seen from this that when the encrypted invoice data to be transmitted in the main server is transmitted to the invoice data receiving position according to the invoice data transmission mode, if the main server cannot normally transmit the encrypted data to be transmitted, the present embodiment will allow the main server to transmit again. If the main server cannot transmit normally twice, then a data supplement transfer instruction is issued to the backup server, so that the backup server transmits the internally stored encrypted invoice data to be transmitted to the invoice data receiving position according to the invoice data transmission mode based on the data supplement transfer instruction. That is, the transmission strategy of collecting data is mainly based on the main server transmission and supplemented by the backup server transmission.

[0079] In an exemplary embodiment of the present invention, the process of transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method may include: slicing the encrypted invoice data to be transmitted in the main server, splitting the encrypted data to be transmitted into multiple data segments; and transmitting all the sliced ​​data segments to the invoice data receiving location according to the invoice data transmission method. In addition, the process of transmitting the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method in this embodiment may include: slicing the encrypted invoice data to be transmitted in the backup server, splitting the encrypted data to be transmitted into multiple data segments; and transmitting all the sliced ​​data segments to the invoice data receiving location according to the invoice data transmission method. Therefore, this embodiment can reduce the demand for bandwidth and save invoice data transmission costs by slicing the encrypted invoice data to be transmitted and then transmitting the split data segments, compared with directly transmitting the entire encrypted invoice data to be transmitted.

[0080] In an exemplary embodiment of the present invention, the generation process of the above-mentioned original invoice data may include: obtaining a paper invoice generated by the first object as the invoice recipient and the second object as the invoice issuer when the first object and the second object conduct a commercial transaction; and, photographing the paper invoice using an image capture device to generate a corresponding electronic invoice; and, performing character recognition on the electronic invoice using a character recognition model to obtain the original invoice data. In this embodiment, the image capture device may be a camera. In this embodiment, the original invoice data includes but is not limited to: commodity data information or service data information, seller data information, buyer data information and other data. In addition, the original invoice data in this embodiment may also include other data, such as Figure 3 As shown, the original invoice data may also include invoice data such as invoice code and invoice number.

[0081] In another exemplary embodiment of the present invention, the process of generating the above-mentioned original invoice data may include: obtaining an electronic invoice generated when a first object and a second object conduct a commercial transaction, with the first object as the invoice recipient and the second object as the invoice issuer; and using a character recognition model to perform character recognition on the electronic invoice to obtain the original invoice data. In this embodiment, the original invoice data includes but is not limited to: commodity data information or service data information, seller data information, buyer data information and other data. In addition, the original invoice data in this embodiment may also include other data, such as Figure 3 As shown, the original invoice data may also include invoice data such as invoice code and invoice number.

[0082] According to the above records, the process of using the character recognition model to perform character recognition on electronic invoices and obtain original invoice data can be: annotating multiple electronic invoices to form a sample data set; and selecting a portion of the electronic invoices from the sample data set as a training data set according to a random proportion, and using the remaining number of electronic invoices as a test set; inputting the training data set into the neural network for training, and when the number of training times reaches a preset number, outputting the trained optical character recognition model; using the test set to detect the recognition accuracy of the trained optical character recognition model; when the recognition accuracy is greater than or equal to the preset accuracy value, using the optical character recognition model trained at the current moment to perform optical character recognition processing on the electronic invoice to obtain character segments in the electronic invoice, and using these character segments as the original invoice data of the electronic invoice. In this embodiment, when the recognition accuracy of the trained optical character recognition model is detected by the test set, if the recognition accuracy is less than the preset accuracy value, multiple electronic invoices are selected from the sample data set again according to a random ratio as a new training data set, and the remaining electronic invoices are used as a new test set; and the optical character recognition model trained at the current moment is iteratively trained using the new training data set, and the recognition accuracy of the iteratively trained optical character recognition model is detected using the new test set, until the recognition accuracy corresponding to the iteratively trained optical character recognition model is greater than or equal to the preset accuracy value, the iterative training is terminated, and the optical character recognition model at the end of the iterative training is used to perform optical character recognition processing on the electronic invoice. Among them, the neural network in this embodiment includes but is not limited to: convolutional neural network, recurrent neural network, long short-term memory network, bidirectional long short-term memory network, etc.

[0083] In summary, the present invention provides an invoice data transmission system, which first obtains original invoice data generated in advance or in real time, and then encrypts the original invoice data to obtain encrypted invoice data; and, respectively stores the encrypted invoice data in a main server and a backup server determined in advance or in real time; then receives and parses an invoice transmission request, and determines the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; then the encrypted invoice data to be transmitted in the main server is transmitted to the invoice data receiving location according to the invoice data transmission method, and the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted is monitored; finally, the communication capacity is compared with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving location according to the invoice data transmission method. It can be seen that this system can encrypt the original invoice data and then transmit the encrypted invoice data in the subsequent invoice transmission process, which can prevent the detailed information on the invoice from being collected by irrelevant personnel, reduce the risk of corporate identity information being leaked, and also avoid leaking the company's business secrets such as the transaction business flow process in the upstream and downstream. At the same time, this system will store the encrypted invoice data in the pre-determined or real-time main server and backup server respectively. When the main server cannot normally transmit the encrypted invoice data to be transmitted corresponding to the invoice transmission request to the designated invoice data receiving location, the backup server can take over the transmission to transmit the encrypted invoice data to be transmitted in the backup server to the designated invoice data receiving location according to the invoice data transmission method, thereby solving the current problem that a single server cannot transmit invoice data to the invoice recipient in a timely manner when the channel is congested.

[0084] It should be noted that the invoice data transmission system provided in the above embodiment and the invoice data transmission method provided in the above embodiment belong to the same concept, wherein the specific manner in which the invoice data transmission method performs operations has been described in detail in the method embodiment, and will not be repeated here. In actual applications, the invoice data transmission system provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the system into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0085] It should be noted that the above embodiments collect, store, use, process, transmit, provide, disclose, delete, etc. related data (such as paper invoices, electronic invoices, etc.) with or with the consent of the user. For example, paper invoices, electronic invoices, etc. are authorized with the knowledge and consent of the user; or are actively provided by the user after reading the relevant instructions, or are actively authorized / provided / uploaded by the user when using some or all of the functions described in the above embodiments, or are obtained through other methods / channels with or with the consent of the user.

[0086] The embodiment of the present invention also provides an invoice data transmission device, which may include: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, enable the device to execute Figure 2 The invoice data transmission method. Figure 5 A schematic diagram of the structure of an invoice data transmission device 1000 is shown. Figure 5 As shown, the invoice data transmission device 1000 includes: a processor 1010 , a memory 1020 , a power supply 1030 , a display unit 1040 , and an input unit 1060 .

[0087] The processor 1010 is the control center of the invoice data transmission device 1000. It uses various interfaces and lines to connect various components, and executes various functions of the invoice data transmission device 1000 by running or executing the software program and / or data stored in the memory 1020, thereby monitoring the invoice data transmission device 1000 as a whole. In the embodiment of the present invention, when the processor 1010 calls the computer program stored in the memory 1020, the following is executed: Figure 2 The invoice data transmission method. Optionally, the processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application, etc., and the modem processor mainly processes wireless communication. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips.

[0088] The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, various applications, etc.; the data storage area may store data created according to the use of the invoice data transmission device 1000, etc. In addition, the memory 1020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices, etc.

[0089] The invoice data transmission device 1000 also includes a power source 1030 (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 1010 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

[0090] The display unit 1040 can be used to display information input by the user or information provided to the user and various menus of the invoice data transmission device 1000. In the embodiment of the present invention, it is mainly used to display the display interface of each application in the invoice data transmission device 1000 and objects such as text and pictures displayed in the display interface. The display unit 1040 may include a display panel 1050. The display panel 1050 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.

[0091] The input unit 1060 may be used to receive information such as numbers or characters input by the user. The input unit 1060 may include a touch panel 1070 and other input devices 1080. The touch panel 1070, also known as a touch screen, may collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any other suitable object or accessory on or near the touch panel 1070).

[0092] Specifically, the touch panel 1070 can detect the user's touch operation, detect the signal brought by the touch operation, convert these signals into touch point coordinates, send them to the processor 1010, and receive and execute the command sent by the processor 1010. In addition, the touch panel 1070 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic wave. Other input devices 1080 can include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.

[0093] Of course, the touch panel 1070 can cover the display panel 1050. When the touch panel 1070 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of touch event, and then the processor 1010 provides a corresponding visual output on the display panel 1050 according to the type of touch event. Figure 5 In the embodiment, the touch panel 1070 and the display panel 1050 are two independent components to realize the input and output functions of the invoice data transmission device 1000, but in some embodiments, the touch panel 1070 and the display panel 1050 can be integrated to realize the input and output functions of the invoice data transmission device 1000.

[0094] The invoice data transmission device 1000 may further include one or more sensors, such as a pressure sensor, a gravity acceleration sensor, a proximity light sensor, etc. Of course, according to the needs of specific applications, the invoice data transmission device 1000 may also include other components such as a camera.

[0095] The embodiment of the present invention further provides a computer-readable storage medium, in which instructions are stored. When one or more processors execute the instructions, the above device can perform the present invention as follows: Figure 2 The invoice data transmission method.

[0096] It can be understood by those skilled in the art that Figure 5 This is only an example of an invoice data transmission device and does not constitute a limitation on the device. The device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing the present invention, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0097] Those skilled in the art should understand that the present invention 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. The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be applied 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 instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0098] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for transmitting invoice data, characterized in that: The method comprises the following steps: Obtain raw invoice data generated in advance or in real time; Encrypting the original invoice data to obtain encrypted invoice data; and storing the encrypted invoice data in a primary server and a backup server determined in advance or in real time, respectively; Receiving and parsing an invoice transmission request, and determining the encrypted invoice data to be transmitted, the invoice data transmission method, and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; Transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitoring the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted; The communication capacity is compared with the space capacity of the encrypted invoice data to be transmitted, and when the communication capacity is less than the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving location according to the invoice data transmission method.

2. The invoice data transmission method according to claim 1, characterized in that: When the communication capacity is greater than or equal to the space capacity, the method further includes: Calculating a bit error rate when the main server transmits the encrypted invoice data to be transmitted; Multiplying the bit error rate by the communication capacity to determine the data bit error capacity when the main server transmits the encrypted invoice data to be transmitted; Calculating the difference between the communication capacity and the data error capacity to obtain the actual communication capacity; Comparing the actual communication capacity with the space capacity to determine whether the actual communication capacity is equal to the space capacity; If the actual communication capacity is equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as normal, and the invoice data transmission is terminated; If the actual communication capacity is not equal to the space capacity, the transmission process of the encrypted invoice data to be transmitted is marked as abnormal, and the encrypted invoice data to be transmitted in the backup server is transmitted to the invoice data receiving location according to the invoice data transmission method.

3. The invoice data transmission method according to claim 1 or 2, characterized in that: Before transmitting the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method, the method further includes: Retransmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and recording the transmission process marking result of the encrypted invoice data to be transmitted; If the transmission process marking result of the encrypted invoice data to be transmitted is normal, the invoice data transmission is terminated; If the transmission process marking result of the encrypted invoice data to be transmitted is abnormal, a data supplement and transmission instruction is sent to the backup server, so that the backup server transmits the internally stored encrypted invoice data to be transmitted to the invoice data receiving location according to the invoice data transmission method based on the data supplement transmission instruction.

4. The invoice data transmission method according to claim 1, characterized in that: The process of transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method includes: slicing the encrypted invoice data to be transmitted in the main server, splitting the encrypted data to be transmitted into multiple data segments; and transmitting all the sliced ​​data segments to the invoice data receiving location according to the invoice data transmission method; And / or, the process of transmitting the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method includes: slicing the encrypted invoice data to be transmitted in the backup server, splitting the encrypted data to be transmitted into multiple data fragments; and transmitting all the sliced ​​data fragments to the invoice data receiving location according to the invoice data transmission method.

5. The invoice data transmission method according to claim 1, characterized in that: The process of generating the original invoice data includes: Acquire a paper invoice generated when a first object and a second object conduct a commercial transaction, with the first object acting as an invoice recipient and the second object acting as an invoice issuer; and, photograph the paper invoice using an image capturing device to generate a corresponding electronic invoice; and, perform character recognition on the electronic invoice using a character recognition model to obtain the original invoice data; Alternatively, when a first object and a second object conduct a commercial transaction, an electronic invoice is generated by the first object as the invoice recipient and the second object as the invoice issuer; and character recognition is performed on the electronic invoice using a character recognition model to obtain the original invoice data.

6. The invoice data transmission method according to claim 5, characterized in that: The process of encrypting the original invoice data to obtain the encrypted invoice data includes: Encrypting the original invoice data based on the corporate certificate or digital certificate of the invoice issuer to obtain the encrypted invoice data; Alternatively, the original invoice data is encrypted based on the enterprise certificate or digital certificate of the invoice recipient to obtain the encrypted invoice data.

7. The invoice data transmission method according to claim 1 or 5, characterized in that: The original invoice data includes: commodity data information or service data information, seller data information, and buyer data information.

8. An invoice data transmission system, characterized in that: The system comprises: Data collection module, used to obtain original invoice data generated in advance or in real time; A data encryption module, used to encrypt the original invoice data to obtain encrypted invoice data; and store the encrypted invoice data in a pre-determined or real-time determined primary server and backup server respectively; A transmission request module, used to receive and parse an invoice transmission request, and determine the encrypted invoice data to be transmitted, the invoice data transmission method and the invoice data receiving location based on the invoice transmission request result; wherein the invoice transmission request includes a request initiated by the invoice recipient; A main transmission module, used for transmitting the encrypted invoice data to be transmitted in the main server to the invoice data receiving location according to the invoice data transmission method, and monitoring the communication capacity consumed by the main server when transmitting the encrypted invoice data to be transmitted; A capacity comparison module, used for comparing the communication capacity with the space capacity of the encrypted invoice data to be transmitted; The backup transmission module is used to mark the transmission process of the encrypted invoice data to be transmitted as abnormal when the communication capacity is less than the space capacity, and transmit the encrypted invoice data to be transmitted in the backup server to the invoice data receiving location according to the invoice data transmission method.

9. An invoice data transmission device, characterized in that: include: processor; and, A computer-readable medium storing instructions, when the processor executes the instructions, causes the device to execute the invoice data transmission method according to any one of claims 1 to 7.

10. A computer-readable medium, characterized in that Instructions are stored thereon, and the instructions are loaded by a processor to execute the invoice data transmission method according to any one of claims 1 to 7.