Enterprise data interaction control method and system based on email protocol

By automatically configuring the transmission protocol and detecting the receiver's operating status in the email system, the problem of inability to confirm the status of email delivery and document processing between enterprises in a timely manner is solved, and the accurate delivery and timely status update of electronic documents is achieved, reducing the Manual feedback on time costs improves the efficiency of the business process.

CN115529289BActive Publication Date: 2024-12-17HANGZHOU SPECTRUM CHAIN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211208969.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2024-12-17
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

When data exchange between enterprises through emails, they cannot confirm the status of email delivery and document processing in a timely manner, resulting in interruption or delay in the business process, and untimely manual feedback leads to high timely cost.

Method used

By automatically configuring the email transmission protocol at the sending terminal, the receiver's operation status is detected, and the server updates the protocol, automatic confirmation and update of the electronic document status is achieved.

Benefits of technology

It realizes the accuracy of delivery status of electronic documents and the timeliness of status updates, reduces the time cost of manual feedback, and improves the efficiency of the business process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529289B_ABST
    Figure CN115529289B_ABST
Patent Text Reader

Abstract

The disclosed embodiment discloses a method and system for controlling enterprise data exchange based on an email protocol, which realizes automated exchange confirmation of enterprise data such as electronic documents by automatically configuring the email transmission protocol when sending emails, thereby ensuring the accuracy of the delivery status of the electronic document after the email is sent, and ensuring the timeliness of the update of the status of the electronic document in the email. This solves the problem of untimely manual feedback and high labor time cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of email data transmission, and in particular to an enterprise data exchange control method and system based on an email protocol. Background Art

[0002] As a medium for business communication between enterprises, email can be used for data exchange. The exchanged data may include electronic orders, electronic invoices, receipts and other business data.

[0003] Enterprises exchange data via email, usually through a public mail transmission protocol, such as the SMTP protocol. When the receiving enterprise receives the email and processes the metadata in the email, it usually reads and processes the email manually, extracts useful information, and then enters it into the corresponding order, contract, invoice and other business systems. However, the receiver is often unable to provide feedback to the sender in a timely manner after processing the email, and the sender is unable to confirm whether the other party has received the electronic document; it is impossible to know whether the other party has approved the document; if the receiver does not process or reply in time, it will cause interruption or delay of the business process; or the receiver usually provides feedback manually after processing the email, resulting in a long manual time. Summary of the invention

[0004] The main purpose of the present disclosure is to provide an enterprise data exchange control method and system based on an email protocol, so as to control the update of the status of an electronic document in an email.

[0005] In order to achieve the above-mentioned purpose, according to the first aspect of the present disclosure, a method for controlling enterprise data exchange based on an email protocol is provided, comprising: after detecting that an email sending request is triggered by the sender, the sender terminal automatically configures the transmission protocol for transmitting the email based on the information of the electronic document in the email to obtain an initial email transmission protocol; the sender terminal interacts with the server based on the initial email transmission protocol to send the email to the receiver; the sender terminal automatically returns parameters to the server at the receiver's terminal, and the server updates the initial email transmission protocol based on the returned parameters to obtain a target email transmission protocol, and then automatically receives a reply email sent by the server through the target email transmission protocol; after receiving the reply email, the sender terminal parses the target email transmission protocol to obtain a parsing result; and updates the status of the electronic document in the email based on the parsing result.

[0006] Optionally, automatically configuring the transmission protocol for transmitting the email to obtain the initial email transmission protocol includes: extending a protocol header of the original transmission protocol on the original transmission protocol of the email.

[0007] Optionally, extending the protocol header of the original transmission protocol includes: pre-defining the protocol header for extending the original transmission protocol; during the automatic configuration, appending the pre-defined protocol header to the original transmission protocol; and assigning values ​​to preset fields in the transmission protocol after the appended protocol header.

[0008] Optionally, the recipient automatically returns the parameters to the server including: the recipient terminal automatically detects the user's operation on the electronic document in the email; and automatically returns the parameters to the server based on the result obtained by the automatic detection.

[0009] Optionally, based on the result obtained by the automatic detection, automatically returning parameters to the server includes: if the result obtained by the automatic detection is that the recipient receives the electronic document in the email, automatically returning a first parameter to the server; if the result obtained by the automatic detection is that the recipient reads the electronic document in the email, returning a second parameter to the server; if the result obtained by the automatic detection is that the recipient reads the electronic document in the email, returning a third parameter to the server; wherein the first parameter, the second parameter, and the third parameter are all used as values ​​of the second preset field in the protocol header.

[0010] Optionally, the pre-defined protocol header for extending the original transmission protocol includes: defining an email identification field; defining an identification field for each document in the email, and a second preset field corresponding to each document; wherein assigning values ​​to the preset fields in the transmission protocol after the additional protocol header includes: automatically assigning a unique identification value to the email; and assigning a value to the identification field of the document based on the name of the electronic document in the email.

[0011] Optionally, the predefined protocol header that extends the original transmission protocol also includes: defining a field to which the document in the email belongs, wherein assigning a value to the preset field in the transmission protocol after the additional protocol header includes: assigning a value to the field of the document type in the transmission protocol after the additional protocol header; defining a version number field, wherein assigning a value to the preset field in the transmission protocol after the additional protocol header includes: assigning a value to the version number field; and / or defining a field that indicates that the recipient returns content.

[0012] According to a second aspect of the present disclosure, a method for controlling enterprise data exchange based on an email protocol is provided, characterized in that it includes: after receiving an email sent by a sending terminal through a server, the receiving terminal automatically detects the user's operation on the electronic document in the email, wherein the sending terminal interacts with the server through an initial email transfer protocol; based on a result obtained by the automatic detection, the receiving terminal automatically returns parameters to the server, so that the server updates the initial email transfer protocol based on the returned parameters, and after obtaining a target email transfer protocol, automatically sends a reply email to the sending terminal through the target email transfer protocol, wherein after receiving the reply email, the sender parses the target email transfer protocol to obtain a parsing result; and updates the status of the electronic document in the email based on the parsing result.

[0013] According to a third aspect of the present disclosure, there is provided an enterprise data exchange control system based on an email protocol, characterized in that it comprises: a sender terminal, a server, and a receiver terminal; the sender terminal comprises: a transmission protocol configuration unit, configured so that after the sender terminal detects that an email sending request is triggered by the sender, the sender terminal automatically configures the transmission protocol for transmitting the email based on the information of the electronic document in the email to obtain an initial email transmission protocol; a communication unit, configured so that the sender terminal interacts with the server based on the initial email transmission protocol to send the email to the receiver; a receiving unit, configured so that the sender terminal automatically returns parameters to the server at the receiver terminal, and the server updates the initial email transmission protocol based on the returned parameters, and after obtaining a target email transmission protocol, automatically receives a reply email sent by the server through the target email transmission protocol; a parsing unit, configured so that the sender terminal automatically receives a reply email sent by the server through the target email transmission protocol after receiving the email. After receiving the reply email, the target email transfer protocol is parsed to obtain a parsing result; an updating unit is configured to update the status of the electronic document in the email based on the parsing result; the receiving terminal includes: a detection unit, configured to automatically detect the user's operation on the electronic document in the email after receiving the email sent by the sending terminal through the server, wherein the sending terminal interacts with the server through the initial email transfer protocol; an interaction unit is configured to automatically return parameters to the server based on the result obtained by the automatic detection, so that the server updates the initial email transfer protocol based on the returned parameters, and after obtaining the target email transfer protocol, automatically sends a reply email to the sending terminal through the target email transfer protocol, wherein after receiving the reply email, the sender parses the target email transfer protocol to obtain a parsing result; and updates the status of the electronic document in the email based on the parsing result.

[0014] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the enterprise data exchange control method based on the email protocol as described in any one of the implementations of the first aspect and the second aspect.

[0015] The enterprise data exchange control method based on the email protocol in this embodiment realizes automated exchange confirmation of enterprise data such as electronic documents by automatically configuring the email transmission protocol when sending emails, thereby ensuring the accuracy of the delivery status of the electronic document after the email is sent, and ensuring the timeliness of the update of the status of the electronic document in the email. This solves the problem of untimely manual feedback and high labor time cost.

[0016] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 is a flow chart of an enterprise data exchange control method based on an email protocol according to an embodiment of the present disclosure;

[0018] Figure 2 is a structural schematic diagram of an enterprise data exchange control system based on an email protocol according to an embodiment of the present disclosure;

[0019] Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the scheme of the present disclosure, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present disclosure.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] The method of this embodiment can be stored in a storage medium, and the storage medium can be set in the email sender terminal and the email receiver terminal, so that the sender and the receiver can achieve the purpose of the invention by executing the method of this embodiment. It should be understood that, since for the same email account, it can be a sender or a receiver, therefore, when the terminal role is the sender, the steps executed by the sender terminal of this embodiment are executed; when the role of the same terminal is the receiver, the steps executed by the receiver terminal of this embodiment are executed. The method of this embodiment can be encapsulated as a plug-in and stored in the above-mentioned storage medium, and the sender terminal or the receiver terminal can install the storage medium.

[0024] According to an embodiment of the present disclosure, a method for exchanging enterprise data based on email is provided, such as Figure 1 As shown, the method realizes the control of the communication status of the document, including the following steps 101 to 104:

[0025] Step 101: After detecting that an email sending request is triggered by the sender, the sender terminal automatically configures a transmission protocol for transmitting the email based on the information of the electronic document in the email to obtain an initial email transmission protocol.

[0026] In this embodiment, the email sent by the sender through the server may include one or more documents. After the sender terminal triggers the email sending request, the transmission protocol can be automatically configured based on the information of the electronic document in the email. The information of the electronic document may include the type of the electronic document (the type may be multiple, such as invoices, receipts, etc.), the identifier of each electronic document (such as name), etc.

[0027] As an optional implementation of this embodiment, automatically configuring the transmission protocol for transmitting the email to obtain the initial email transmission protocol includes: extending the protocol header of the original transmission protocol on the original transmission protocol of the email.

[0028] In this optional implementation, the original transmission protocol can be a common email protocol for completing email transmission, such as the SMPT protocol, through which the transmission of emails can be achieved. That is, the original email transmission protocol can be an email transmission protocol in the prior art, or an undisclosed email transmission protocol in the future, which is not limited here. This embodiment aims to expand the original email transmission protocol to achieve the purpose of this implementation.

[0029] During the extension, the extension may be performed in various parts of the original mail transfer protocol, preferably, the protocol header of the original mail transfer protocol is extended, and the extension is implemented by extending fields in the protocol header.

[0030] As an optional implementation method of this embodiment, extending the protocol header of the original transmission protocol includes: pre-defining the protocol header for extending the original transmission protocol; during the automatic configuration, appending the pre-defined protocol header to the original transmission protocol; and assigning values ​​to preset fields in the transmission protocol after the appended protocol header.

[0031] In this optional implementation, during configuration, an extended protocol header may be first added to the original mail transmission protocol, such as the SMTP transmission protocol, and then after adding the protocol header, the preset fields in the protocol header may be assigned values ​​based on the document-related information in the email.

[0032] As an optional implementation method of this embodiment, the pre-defined protocol header for extending the original transmission protocol includes: defining an email identification field; defining an identification field for each document in the email, and a second preset field corresponding to each document; wherein assigning values ​​to the preset fields in the transmission protocol after the additional protocol header includes: automatically assigning a unique identification value to the email; and assigning a value to the identification field of the document based on the name of the electronic document in the email.

[0033] In this optional implementation, an email identification field can be defined during definition, and the email identification field is used to indicate the identity of the email. Then, during automatic value assignment, the email identification field is automatically assigned a value. By assigning a value to this field, the uniqueness of the email can be represented. By uniquely identifying the email, any email can be identified during the email exchange process, thereby achieving control over the email.

[0034] Furthermore, when an email is transmitted, the email may contain a document as an attachment. When a document is attached to an email sent by the sender, it is the appeal of most senders to promptly determine the progress of the recipient's response to the document. At the same time, it is also the need of the recipient to promptly feedback the content of the email (including documents, etc.) to the sender. However, the related art has not solved the technical pain points of the sender and the receiver. Therefore, when defining, the identification field of each electronic document can also be defined. The identification field of the electronic document is used to indicate the identity of the electronic document. When automatically assigning a value, the field can be assigned based on the name of the document to achieve the representation of the uniqueness of the document. Exemplarily, if the email contains multiple documents, the document identification field can be used to distinguish each document, ensure the uniqueness of the document, and then achieve precise control of the documents in the email. For example, the document identification field is docID, and its value can be any value. For example, docID=1 indicates the first document in the email. docID=2 can indicate the second document in the email.

[0035] Furthermore, during the definition, a second preset field of each electronic document, namely, a status field, may also be defined. The value of the status field is determined based on the parameters returned by the receiving terminal. For example, the status field may be defined as "ack". If the value is automatically configured, there is no need to assign a value to the field. The value of the field may indicate what operation the receiving party has performed on the content in the email. For example, when the ack value is a first preset value, it may indicate that the electronic document has been received; when the value is a second preset value, it may indicate that the electronic document has been read; when the value is a third preset value, it may indicate that the electronic document has been fed back (e.g., confirmed, rejected, etc.).

[0036] As an optional implementation method of this embodiment, a field for the type of document in the email is defined, wherein a value is assigned to a field for the type of document in the transmission protocol after the additional protocol header; a field indicating feedback information from the recipient is defined; a version number field is defined, wherein assigning a value to a preset field in the transmission protocol after the additional protocol header includes: assigning a value to the version number field; and / or defining a field indicating content returned by the recipient.

[0037] In this optional implementation, different documents may have different types, such as invoices, documents, etc. A field indicating the document type may be pre-defined and assigned a value to the field indicating the document type. Different values ​​may indicate different types of documents. For example, the field indicating the document type is defined as t, and the value of t may be einvoice, representing that the document is an invoice type, or quote, representing that the document is a document type.

[0038] Furthermore, different values ​​of different version number fields can represent different versions, such as V=1 represents version 1, and V=2 represents another version 2; different business versions can be mapped with a set of extension parts with different fields as described above (i.e., the content of the protocol header). Multiple sets of standard business fields can also be mapped. Exemplarily, under different business versions, different business types can determine unique standard business fields. For example, in version 1, if the content of an email is an invoice type, the default business fields are: b1=...; b2=...; b3=... Each field is determined based on the business data in the email, such as unit price, quantity, amount, etc., and its value is configurable. Through standardized fields, it can be used to standardize the content of documents, and then different documents can be automatically assigned to different business systems for processing.

[0039] Furthermore, after reading the email content, the recipient may feedback specific information. Therefore, this embodiment defines a field indicating the return of specific information (the field of returned content), such as msg, whose value can be the returned specific information, including information returned by the recipient regarding the email content, such as content related to the unit price; it can also be specific error information returned after the recipient fails to receive the email, such as the return status code to determine whether it is a network reason or a domain name reason.

[0040] Exemplarily, through the above definition, the content of the protocol header can be as follows: X-Control-Exchange:v=1;t=einvoice;docId=588c72c8-2b61-11ed-a261-0242ac120002;ack=;msg=accepted; This is merely exemplary.

[0041] Step 102: The sender terminal interacts with the server based on the initial mail transfer protocol to send the mail to the recipient.

[0042] In this embodiment, the transmission of email data between the sender and the receiver can be achieved based on the configured initial email transmission protocol.

[0043] Step 103: The sender terminal automatically returns parameters to the server at the receiver terminal, and the server updates the initial mail transfer protocol based on the returned parameters, and after obtaining the target mail transfer protocol, automatically receives the reply mail sent by the server through the target mail transfer protocol.

[0044] In this optional implementation, after installing the plug-in encapsulated by the method of this embodiment, the receiving terminal mentioned above can automatically detect the user's operations on the electronic document in the email, and return different parameters to the server based on different operations. After receiving the value, the server assigns the value to the document status field in the aforementioned protocol header, obtains the updated target email transfer protocol after the assignment, and sends different reply content to the sending terminal based on the target email transfer protocol.

[0045] As an optional implementation of this embodiment, the recipient automatically returns the parameters to the server including: the recipient terminal automatically detects the user's operation on the electronic document in the email; and automatically returns the parameters to the server based on the result obtained by the automatic detection.

[0046] In this optional implementation, after the receiving terminal receives the email sent by the server, the receiving terminal can operate any document in the email, and the operation can be divided into three states: received, read, and feedback (for example, confirmed, rejected, etc.). The operation can be determined as needed and is not limited here. After installing the plug-in that encapsulates the method of this embodiment, the receiving terminal can detect the user's operation and return parameters to the server based on the receiving terminal's operation.

[0047] For example, if the recipient receives the email, the returned ack value may be 1; if the recipient opens the email or document, the returned ack value may be 2; if the recipient confirms the email content, the returned ack value may be 3. The ack value may also be RECD, indicating successful reception; READ, indicating read; ACCT, indicating acceptance of the document content. The content of the field and the value are not limited here.

[0048] Step 104: After receiving the reply email, the sender terminal parses the target email transfer protocol to obtain a parsing result; and updates the status of the electronic document in the email based on the parsing result.

[0049] In this embodiment, after receiving the reply email from the server, the sending terminal can parse the target email transfer protocol to parse out the value of the second preset field (status field) under each document identifier. The value of the second preset field is used as the basis for changing the status of the electronic document to change the status of the electronic document, such as changing it to a received status, a read status, or a feedback status.

[0050] This embodiment is based on an open email system and has global uniform operability. Almost all enterprises are using email systems, and using email systems to process enterprise data exchange is the easiest to implement and implement. By defining the electronic data exchange status control standard of this embodiment, the standardization of enterprise data exchange is achieved, which solves the problem that ordinary mail does not have status control; by expanding the email system to achieve data exchange, the enterprise software investment cost can be reduced to the maximum extent.

[0051] This embodiment overcomes the defects of data exchange through ordinary emails, such as being unable to confirm the delivery status, being unable to confirm whether the document is legal or exists; it overcomes the defects of manual reading prone to errors and loopholes, untimely responses, and low communication efficiency; it overcomes the defects of communication based on ordinary emails being a loose communication method and lacking constraints on both parties in communication. If the other party does not reply to the email, relevant communication evidence cannot be obtained. It avoids disputes between enterprises due to asynchronous status of enterprise data.

[0052] According to the embodiment of the present disclosure, a method for controlling enterprise data exchange based on an email protocol is also provided, and the role of the execution subject of the method can be a receiving end. It includes: after receiving the email sent by the sending terminal through the server, the receiving terminal automatically detects the user's operation on the electronic document in the email, wherein the sending terminal interacts with the server through the initial email transfer protocol; based on the result obtained by the automatic detection, the receiving terminal automatically returns parameters to the server, so that the server updates the initial email transfer protocol based on the returned parameters, and after obtaining the target email transfer protocol, automatically sends a reply email to the sending terminal through the target email transfer protocol, wherein after receiving the reply email, the sender parses the target email transfer protocol to obtain the parsing result; and based on the parsing result, updates the status of the electronic document in the email.

[0053] As an optional implementation method of this embodiment, after detecting that the email sending request is triggered by the sender, the sender terminal automatically configures the transmission protocol for transmitting the email based on the information of the electronic document in the email to obtain an initial email transmission protocol; the sender terminal interacts with the server based on the initial email transmission protocol to send the email to the recipient.

[0054] The receiving end of this embodiment can achieve the invention purpose of this application by executing the above method and cooperating with the sending end. This embodiment enables the sending end to automatically receive feedback on the status of the electronic document in a timely manner, thereby avoiding disputes between enterprises due to asynchronous status of enterprise data.

[0055] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0056] According to an embodiment of the present disclosure, there is also provided an enterprise data exchange control terminal based on an email protocol, referring to Figure 2 , comprising: a sender terminal 201, a server 202, and a receiver terminal 203; the sending terminal comprises: a transmission protocol configuration unit, configured so that after the sending terminal detects that the email sending request is triggered by the sender, the transmission protocol for transmitting the email is automatically configured based on the information of the electronic document in the email to obtain an initial email transmission protocol; a communication unit, configured so that the sending terminal interacts with the server based on the initial email transmission protocol to send the email to the receiver; a receiving unit, configured so that the sending terminal automatically returns parameters to the server at the receiver terminal, and the server updates the initial email transmission protocol based on the returned parameters, and after obtaining the target email transmission protocol, automatically receives the reply email sent by the server through the target email transmission protocol; a parsing unit, configured so that after the sending terminal receives the reply email, the parsing unit The electronic document in the email is parsed according to the mail transmission protocol to obtain a parsing result; an updating unit is configured to update the status of the electronic document in the email based on the parsing result; the receiving terminal includes: a detecting unit is configured to automatically detect the user's operation on the electronic document in the email after receiving the email sent by the sending terminal through the server, wherein the sending terminal interacts with the server through the initial mail transmission protocol; an interacting unit is configured to automatically return parameters to the server based on the result obtained by the automatic detection, so that the server updates the initial mail transmission protocol based on the returned parameters, and after obtaining the target mail transmission protocol, automatically sends a reply email to the sending terminal through the target mail transmission protocol, wherein after receiving the reply email, the sender parses the target mail transmission protocol to obtain a parsing result; and updates the status of the electronic document in the email based on the parsing result.

[0057] As an optional implementation of this embodiment, automatically configuring the transmission protocol for transmitting the email to obtain the initial email transmission protocol includes: extending the protocol header of the original transmission protocol on the original transmission protocol of the email.

[0058] As an optional implementation method of this embodiment, extending the protocol header of the original transmission protocol includes: pre-defining the protocol header for extending the original transmission protocol; during the automatic configuration, appending the pre-defined protocol header to the original transmission protocol; and assigning values ​​to preset fields in the transmission protocol after the appended protocol header.

[0059] As an optional implementation of this embodiment, the recipient automatically returns the parameters to the server including: the recipient terminal automatically detects the user's operation on the electronic document in the email; and automatically returns the parameters to the server based on the result obtained by the automatic detection.

[0060] As an optional implementation method of this embodiment, based on the result obtained by the automatic detection, automatically returning parameters to the server includes: if the result obtained by the automatic detection is that the recipient receives the electronic document in the email, automatically returning a first parameter to the server; if the result obtained by the automatic detection is that the recipient reads the electronic document in the email, returning a second parameter to the server; if the result obtained by the automatic detection is that the recipient reads the electronic document in the email, returning a third parameter to the server; wherein the first parameter, the second parameter, and the third parameter are all used as values ​​of the second preset field in the protocol header.

[0061] As an optional implementation method of this embodiment, the pre-defined protocol header for extending the original transmission protocol includes: defining an email identification field; defining an identification field for each document in the email, and a second preset field corresponding to each document; wherein assigning values ​​to the preset fields in the transmission protocol after the additional protocol header includes: automatically assigning a unique identification value to the email; and assigning a value to the identification field of the document based on the name of the electronic document in the email.

[0062] As an optional implementation method of this embodiment, the pre-defined protocol header that extends the original transmission protocol also includes: defining a field to which the type of document in the email belongs, wherein assigning a value to the preset field in the transmission protocol after the additional protocol header includes: assigning a value to the field of the type of document in the transmission protocol after the additional protocol header; defining a version number field, wherein assigning a value to the preset field in the transmission protocol after the additional protocol header includes: assigning a value to the version number field; and / or defining a field that indicates that the recipient returns content.

[0063] The present disclosure provides an electronic device, such as Figure 3 As shown, the electronic device includes one or more processors 31 and a memory 32. Figure 3 A processor 31 is taken as an example.

[0064] The controller may further include: an input device 33 and an output device 34 .

[0065] The processor 31, the memory 32, the input device 33 and the output device 34 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0066] The processor 31 may be a central processing unit (CPU). The processor 31 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips. A general-purpose processor may be a microprocessor or the processor may be any conventional processor.

[0067] The memory 32 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the control method in the embodiment of the present disclosure. The processor 31 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 32, that is, the enterprise data exchange method based on email in the above method embodiment is implemented.

[0068] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of a processing device operated by the server, etc. In addition, the memory 32 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 non-volatile solid-state storage device. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to a network connection device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0069] The input device 33 can receive input digital or character information, and generate key signal input related to user settings and function control of the processing device of the server. The output device 34 can include display devices such as a display screen.

[0070] One or more modules are stored in the memory 32, and when executed by one or more processors 31, the execution is as follows: Figure 1 The method shown.

[0071] Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiment method is a program that can be completed by instructing related hardware through a computer program, which can be stored in a computer-readable storage medium. When the program is executed, it can include the process of the embodiment of the above-mentioned method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated: HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0072] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. An enterprise data exchange control method based on email protocol, characterized in that: include: After detecting that the email sending request is triggered by the sender, the sender terminal automatically configures the transmission protocol for transmitting the email based on the information of the electronic document in the email to obtain an initial email transmission protocol; The sending terminal interacts with the server based on the initial mail transfer protocol so that the mail is sent to the receiving terminal; The sending terminal automatically returns parameters to the server at the receiving terminal, and the server updates the initial mail transfer protocol based on the returned parameters, and after obtaining the target mail transfer protocol, automatically receives the reply mail sent by the server through the target mail transfer protocol; After receiving the reply email, the sending terminal parses the target email transmission protocol to obtain a parsing result; Updating the status of the electronic document in the email based on the parsing result; Automatically configuring the transmission protocol for transmitting the email to obtain the initial email transmission protocol includes: extending the protocol header of the original transmission protocol on the original transmission protocol of the email; The protocol header extending the original transport protocol includes: Predefine a protocol header that extends the original transmission protocol; During the automatic configuration, the predefined protocol header is appended to the original transmission protocol; Assigning values ​​to the preset fields in the transport protocol after the additional protocol header; The receiving party automatically returns the parameters to the server including: The receiving terminal automatically detects the user's operation on the electronic document in the email; Based on the result obtained by the automatic detection, automatically return parameters to the server; Based on the result obtained by the automatic detection, automatically returning parameters to the server includes: If the result obtained by the automatic detection is that the recipient has received the electronic document in the email, the first parameter is automatically returned to the server; If the result obtained by the automatic detection is that the recipient has read the electronic document in the email, a second parameter is returned to the server; If the result obtained by the automatic detection is that the recipient has read and fed back the electronic document in the email, a third parameter is returned to the server; The first parameter, the second parameter, and the third parameter are all used as values ​​of the second preset field in the protocol header; The protocol header for pre-defining and extending the original transmission protocol includes: Define the mail identification field; Defining identification fields of each document in the email and second preset fields corresponding to each document; wherein assigning values ​​to the preset fields in the transmission protocol after the additional protocol header includes: Automatically assign a unique identification value to the email; Based on the name of the electronic document in the email, assign a value to an identification field of the document; The protocol header for pre-defining and extending the original transmission protocol also includes: Defining a field of the type of document in the email, wherein assigning a value to a preset field in the transmission protocol after the additional protocol header comprises: Assigning a value to a field of the type described in the document in the transmission protocol following the additional protocol header; Defining a version number field, wherein assigning a value to a preset field in the transmission protocol after the additional protocol header comprises: assigning a value to the version number field; And / or, define a field that indicates the content to be returned by the recipient.

2. An enterprise data exchange control method based on email protocol, characterized in that: include: After detecting that the email sending request is triggered by the sender, the sender terminal automatically configures the transmission protocol for transmitting the email based on the information of the electronic document in the email to obtain an initial email transmission protocol; After receiving the email sent by the sending terminal through the server, the receiving terminal automatically detects the user's operation on the electronic document in the email, wherein the sending terminal interacts with the server through the initial email transfer protocol; The receiving terminal automatically returns parameters to the server based on the result obtained by the automatic detection, so that the server updates the initial mail transfer protocol based on the returned parameters, and after obtaining the target mail transfer protocol, automatically sends a reply mail to the sending terminal through the target mail transfer protocol, wherein the sending terminal parses the target mail transfer protocol after receiving the reply mail to obtain the parsing result; and updates the status of the electronic document in the mail based on the parsing result; The receiving terminal automatically detects the user's operation on the electronic document in the email; Based on the result obtained by the automatic detection, automatically return parameters to the server; Based on the result obtained by the automatic detection, automatically returning parameters to the server includes: If the result obtained by the automatic detection is that the recipient has received the electronic document in the email, the first parameter is automatically returned to the server; If the result obtained by the automatic detection is that the recipient has read the electronic document in the email, a second parameter is returned to the server; If the result obtained by the automatic detection is that the recipient has read and fed back the electronic document in the email, a third parameter is returned to the server; The first parameter, the second parameter, and the third parameter are all used as values ​​of the second preset field in the protocol header.

3. An enterprise data exchange control system based on email protocol, characterized in that: include: sender terminal, server, and receiver terminal; The sender terminal includes: a transmission protocol configuration unit, configured to automatically configure the transmission protocol for transmitting the email based on the information of the electronic document in the email after detecting that the email sending request is triggered by the sender, and obtain the initial email transmission protocol; a communication unit, configured to interact with the server based on the initial email transmission protocol so that the email is sent to the receiver terminal; a receiving unit, configured to automatically return parameters to the server at the receiver terminal, and the server updates the initial email transmission protocol based on the returned parameters, and after obtaining the target email transmission protocol, automatically receives the reply email sent by the server through the target email transmission protocol; a parsing unit, configured to parse the target email transmission protocol after receiving the reply email, and obtain the parsing result; an updating unit, configured to update the status of the electronic document in the email based on the parsing result; Automatically configuring the transmission protocol for transmitting the email to obtain the initial email transmission protocol includes: extending the protocol header of the original transmission protocol on the original transmission protocol of the email; The protocol header extending the original transport protocol includes: Predefine a protocol header that extends the original transmission protocol; During the automatic configuration, the predefined protocol header is appended to the original transmission protocol; Assigning values ​​to the preset fields in the transport protocol after the additional protocol header; The receiving terminal comprises: a detection unit configured to automatically detect the user's operation on the electronic document in the email after receiving the email sent by the sending terminal through the server, wherein the sending terminal interacts with the server through the initial email transfer protocol; an interaction unit configured to automatically return parameters to the server based on the result obtained by the automatic detection, so that the server updates the initial email transfer protocol based on the returned parameters, and after obtaining the target email transfer protocol, automatically sends a reply email to the sending terminal through the target email transfer protocol, wherein the sender parses the target email transfer protocol after receiving the reply email to obtain the parsing result: and updates the status of the electronic document in the email based on the parsing result; The receiving terminal automatically detects the user's operation on the electronic document in the email; Based on the result obtained by the automatic detection, automatically return parameters to the server; Based on the result obtained by the automatic detection, automatically returning parameters to the server includes: If the result obtained by the automatic detection is that the recipient has received the electronic document in the email, the first parameter is automatically returned to the server; If the result obtained by the automatic detection is that the recipient has read the electronic document in the email, a second parameter is returned to the server; If the result obtained by the automatic detection is that the recipient has read and fed back the electronic document in the email, a third parameter is returned to the server; The first parameter, the second parameter, and the third parameter are all used as values ​​of the second preset field in the protocol header.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the enterprise data exchange control method based on the email protocol as described in any one of claims 1 or 2.