File processing method, device and electronic equipment

By receiving and verifying target file information, generating verification data, and combining it with user information for file identification and signing, the problem of low security in encrypted transmission of electronic contracts is solved, and secure file transmission and processing are achieved.

CN119830316BActive Publication Date: 2026-05-19INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2024-12-09
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

The current technology of encrypting electronic contracts by setting passwords has low security and is easily cracked, which can lead to the tampering of contract documents and affect the security of contract signing.

Method used

By receiving and verifying the target file information sent by the first user, verification data is generated and sent. The file is identified and signed by combining the user information of the second user. The string and verification data are used to determine whether the file content has been tampered with, and the file is stored in the database if there are no abnormalities.

Benefits of technology

This ensures that the file content is not tampered with during transmission, guarantees the accuracy of the file and the user's identity, solves the problem of low security in encrypted transmission, and realizes secure file transmission and processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119830316B_ABST
    Figure CN119830316B_ABST
Patent Text Reader

Abstract

The application discloses a file processing method and device and electronic equipment. Relates to the field of information security, the method comprises the following steps: receiving the target file information sent by the first user through the first user terminal; in the case that the first string and the first verification data are correct, the first string is sent to the second user terminal; receiving the verification file sent by the second user through the second user terminal, and identifying the verification file according to the second user information and the second verification data to obtain an identification result; in the case that the identification result is correct, the to-be-signed file and the first string are sent to the second user terminal, and the feedback information sent by the second user terminal is received; in the case that the signed file is normal, the signed file is stored in the database. Through the application, the problem of low security of the electronic contract in the related art by setting the password to encrypt the transmission is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information security, and more specifically, to a method, apparatus, and electronic device for processing documents. Background Technology

[0002] With the rapid development of internet technology, the electronic contract market, which uses technologies such as electronic signatures to complete contract signing and delivery in the internet environment, is showing a rapid development trend.

[0003] To ensure the security and tamper-proof nature of electronic contracts, the common method is to encrypt the electronic contract during transmission and signing. However, simple encryption of contract documents has low security. Once the password is cracked, the content of the contract document can be tampered with, resulting in low security of the electronic contract and affecting the security of contract signing.

[0004] There is currently no effective solution to the problem of low security in encrypting and transmitting electronic contracts by setting passwords in related technologies. Summary of the Invention

[0005] The main objective of this application is to provide a document processing method, apparatus, and electronic device to address the problem of low security in the related art of encrypting and transmitting electronic contracts by setting passwords.

[0006] To achieve the above objectives, according to one aspect of this application, a method for processing a file is provided. The method includes: receiving target file information sent by a first user through a first user terminal, wherein the target file information includes a file to be signed, a second user, a first string, and first verification data, the first string being calculated from the file to be signed, and the first verification data being calculated from the first string; obtaining the first user information of the first user, and verifying whether the first string and the first verification data are correct based on the first user information and the file to be signed; if both the first string and the first verification data are correct, generating second verification data based on the first string and the second user information of the second user, and sending the first string to the second user terminal; receiving a verification file sent by the second user through the second user terminal, and identifying the verification file based on the second user information and the second verification data to obtain an identification result; if the identification result is correct, sending the file to be signed and the first string to the second user terminal, and receiving feedback information sent by the second user terminal, wherein the feedback information includes a signed file and the second string; determining whether the signed file has any abnormalities based on the second string, and storing the signed file in a database if the signed file has no abnormalities.

[0007] Optionally, the first user information includes a first user's first ID identifier. Verifying the correctness of the first string and the first verification data based on the first user information and the file to be signed includes: obtaining a first preset algorithm and calculating the initial string according to the first preset algorithm, wherein the first preset algorithm is used to calculate the first string based on the file to be signed; comparing the initial string and the first string, and determining that the first string is correct if the initial string and the first string are the same; obtaining a second preset algorithm and calculating the initial verification data based on the first ID identifier and the initial string according to the second preset algorithm, wherein the second preset algorithm is used to calculate the first verification data based on the first string; comparing the initial verification data and the first verification data, and determining that the first verification data is correct if the initial verification data and the first verification data are the same.

[0008] Optionally, generating second verification data based on the first string and the second user information of the second user includes: obtaining the second ID identifier of the second user from the second user information; obtaining a second preset algorithm, and calculating the second ID identifier and the first string according to the second preset algorithm to obtain the second verification data, wherein the second preset algorithm is used to calculate the first verification data based on the first string.

[0009] Optionally, the verification file includes third verification data and biometric information. The third verification data is calculated from the first string and the user identifier of the second user. Identifying the verification file based on the second user information and the second verification data includes: comparing the second verification data and the third verification data, and if the second verification data and the third verification data are the same, obtaining the biometric verification information of the second user from the second user information; comparing the biometric verification information with the biometric information, and if the biometric verification information and the biometric information are the same, determining that the identification result is correct.

[0010] Optionally, determining whether a signed file is abnormal based on the second string includes: obtaining a first preset algorithm and calculating a candidate string on the signed file according to the first preset algorithm, wherein the first preset algorithm is used to calculate the first string based on the file to be signed; comparing the candidate string with the second string, and determining that the signed file is not abnormal if the candidate string and the second string are the same; and determining that the signed file is abnormal if the candidate string and the second string are different.

[0011] Optionally, after receiving the file to be signed and the first string, the second user terminal calculates the file to be signed according to the first preset algorithm to obtain the target string, and displays the file content of the file to be signed on the second user terminal if the target string is the same as the first string. The first preset algorithm is used to calculate the first string based on the file to be signed.

[0012] Optionally, after the second user signs the file to be signed displayed on the second user terminal, a signed file is obtained. The signed file is then calculated according to the first preset algorithm to obtain a second string, and the second string and the signed file are combined into feedback information.

[0013] To achieve the above objectives, according to another aspect of this application, a document processing apparatus is provided. The device includes: a receiving unit for receiving target file information sent by a first user through a first user terminal, wherein the target file information includes a file to be signed, a second user, a first string, and first verification data, wherein the first string is calculated from the file to be signed, and the first verification data is calculated from the first string; an obtaining unit for obtaining the first user information of the first user, and verifying whether the first string and the first verification data are correct based on the first user information and the file to be signed; a generating unit for generating second verification data based on the first string and the second user information of the second user, and sending the first string to the second user terminal, provided that both the first string and the first verification data are correct; an identifying unit for receiving a verification file sent by the second user through the second user terminal, and identifying the verification file based on the second user information and the second verification data to obtain an identification result; a sending unit for sending the file to be signed and the first string to the second user terminal if the identification result is correct, and receiving feedback information sent by the second user terminal, wherein the feedback information includes a signed file and the second string; and a judging unit for judging whether the signed file has any abnormalities based on the second string, and storing the signed file in a database if the signed file has no abnormalities.

[0014] In this embodiment, the method involves receiving target file information sent by a first user through a first user terminal. The target file information includes a file to be signed, a second user, a first string, and first verification data. The first string is calculated from the file to be signed, and the first verification data is calculated from the first string. The method further involves obtaining the first user's first user information and verifying the correctness of the first string and first verification data based on the first user information and the file to be signed. If both the first string and first verification data are correct, second verification data is generated based on the first string and the second user's second user information, and the first string is sent to the second user terminal. The method also involves receiving a verification file sent by the second user through the second user terminal and identifying the verification file based on the second user information and the second verification data to obtain an identification result. If the identification result is correct, the file to be signed and the first string are sent to the second user terminal, and feedback information is received from the second user terminal, including a signed file and a second string. Finally, the method involves determining whether the signed file has any abnormalities based on the second string, and storing the signed file in a database if there are no abnormalities. By setting a first string and first verification data, the first string is used to determine whether the file content has been tampered with, and the first verification data is used to determine whether the file processor is correct. This ensures both the accuracy of the file content and the accuracy of the identity of the user processing the file, thereby achieving the technical effect of ensuring that the file will not be tampered with during transmission. This guarantees the accurate transmission and processing of the file, and solves the technical problem of low security in related technologies that use passwords to encrypt and transmit electronic contracts. Attached Figure Description

[0015] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0016] Figure 1 A hardware structure block diagram of a computer terminal for implementing a file processing method is shown.

[0017] Figure 2 This is a flowchart of a document processing method according to Embodiment 1 of this application;

[0018] Figure 3 This is a schematic diagram of a document processing system provided according to Embodiment 2 of this application;

[0019] Figure 4 This is a flowchart of the document processing flow provided in Embodiment 2 of this application;

[0020] Figure 5This is a schematic diagram of a document processing apparatus according to Embodiment 3 of this application;

[0021] Figure 6 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0022] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0025] It should be noted that the document processing methods, apparatuses, and electronic devices defined in this disclosure can be used in the field of information security, or in any field other than information security. The application fields of the document processing methods, apparatuses, and electronic devices defined in this disclosure are not limited.

[0026] It should be noted that all information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, and displayed data) used in this application are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with the relevant laws, regulations, and standards of the relevant regions, have taken necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entry points for users to choose to authorize or refuse use. If the user chooses to refuse, the process proceeds to the expert decision-making process. For example, this system has interfaces with relevant users or institutions. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or institution through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or institution.

[0027] The embodiments or examples disclosed herein are not exhaustive, but merely illustrative of some embodiments or examples, and are not intended to limit the scope of protection of this disclosure. Unless otherwise specified, each step in a particular embodiment or example can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment or example can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment or example can be arbitrarily interchanged. Furthermore, optional methods or examples in a particular embodiment or example can be arbitrarily combined; moreover, embodiments or examples can be arbitrarily combined. For example, some or all steps of different embodiments or examples can be arbitrarily combined, and a particular embodiment or example can be arbitrarily combined with optional methods or examples of other embodiments or examples.

[0028] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:

[0029] ARQC (authentication request cryptogram) is an application ciphertext generated by an IC card (Integrated Circuit Card, smart card) for online transaction processing. The card issuer verifies the validity of the card in the current transaction by verifying the ARQC during the online card authentication process.

[0030] Electronic contracts: Electronic contracts are agreements reached between two or more parties in electronic form through electronic information networks to establish, modify, or terminate property-related civil rights and obligations.

[0031] Electronic signature: refers to data contained or attached in electronic form in a data message to identify the signatory and indicate the signatory's approval of the content.

[0032] Example 1

[0033] According to an embodiment of this application, an embodiment of a document processing method is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0034] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware block diagram of a computer terminal for implementing a file processing method is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0035] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).

[0036] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the file processing method in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby implementing the above-mentioned file processing method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0037] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0038] The display can be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).

[0039] Under the aforementioned operating environment, this application provides the following: Figure 2 The document shows the method for processing files. Figure 2 This is a flowchart of a document processing method provided according to Embodiment 1 of this application.

[0040] Step S201: Receive target file information sent by the first user through the first user terminal. The target file information includes a file to be signed, a second user, a first string, and first verification data. The first string is calculated from the file to be signed, and the first verification data is calculated from the first string.

[0041] It should be noted that the executing entity in this embodiment can be a business system or a business platform in a financial institution. This system or platform can be connected to multiple user terminals, and each user terminal can act as a contract provider or a contract signatory.

[0042] Specifically, when the first user is the contract provider, the first user needs to generate a file to be signed on the first user's end. This file can be the contract document that needs to be signed. Since this file needs to be protected from tampering, when the first user sends the file to be signed to the business platform, a first string needs to be calculated based on the content of the file to be signed. Then, the first verification data is calculated based on the first string and the user information. Thus, when the business platform receives the file to be signed, it can determine whether the file to be signed has been tampered with based on the first string, and determine whether the user who sent the file is the first user based on the first verification data, thereby ensuring the security of the file transmission operation.

[0043] It should be noted that since different contract documents have different security levels, the contract documents can be encrypted during transmission according to the requirements of the contract documents. This ensures that the contract documents will not be viewed by other users during transmission. In cases where some contract documents do not require content encryption, they can be transmitted without encryption. The document to be signed, the first string, and the first verification data can be sent directly to the business platform.

[0044] It should be noted that the target file information also includes a second user, which allows the business platform to identify the user who needs to sign the document. After processing the document according to the second user's information, the document is securely sent to the second user, ensuring that the second user can sign the accurate contract document and thus guaranteeing the accuracy and security of the signing process.

[0045] Step S202: Obtain the first user information of the first user, and verify whether the first string and the first verification data are correct based on the first user information and the file to be signed.

[0046] Specifically, after receiving the target file information, it is necessary to confirm the first string and the first verification data carried in the target file information to ensure that the file to be signed in the target file information has not been tampered with during transmission, and that the user who sent the target file information is the first user.

[0047] It should be noted that when verifying the first string, the method used is to process the file to be signed using the same method as the file to be signed in the first user terminal. Then, the same method is used in the business platform to process the file to be signed to obtain the first string. The first string obtained in the business platform is compared with the first string sent by the first user terminal. If the two strings are the same, it can be determined that the file to be signed has not been tampered with.

[0048] It should be noted that, assuming the file to be signed has not been tampered with, since the user information of the first user, such as the first user's bank card chip key, was used when generating the first verification data, the user information of the first user can be obtained from the business platform. The same calculation method can be used to calculate the user information and the first string to obtain the first verification data. The first verification data obtained from the business platform is compared with the first verification data sent by the first user. If the two first verification data are the same, it can be determined that the target file information was sent by the first user. At this time, it can be determined that the file to be signed is correct, and the subsequent operation process can be carried out.

[0049] Step S203: If both the first string and the first verification data are correct, generate the second verification data based on the first string and the second user's second user information, and send the first string to the second user terminal.

[0050] It should be noted that, assuming the document to be signed is correct, the document can be sent to the second user based on the information of the second user carried in the target document. After receiving the document, the second user can sign it, thus completing the signing operation of the contract document.

[0051] Specifically, when sending a file to be signed to a second user, in order to ensure the accuracy of the file, prevent it from being tampered with during transmission, and ensure that the file is received by the second user, second verification data can be generated based on the first string and the user information of the second user. The first string is then sent to the second user's end, so that the verification information fed back by the second user based on the first string can be received. Then, based on the second verification data and the feedback information, it can be determined whether the second user is operating the second user's end, thus completing the operation process of confirming the identity of the second user.

[0052] Step S204: Receive the verification file sent by the second user through the second user terminal, and identify the verification file according to the second user information and the second verification data to obtain the identification result.

[0053] Specifically, after sending the first string to the second user terminal, the second user terminal receives the user information input by the second user. This user information can be a unique identifier that can verify the identity of the second user. After receiving the second user information, the second user terminal can use the second user information and the first string to calculate the verification information, and send the verification information as a verification file to the business platform. At this time, after receiving the verification file sent by the second user terminal, the business platform can compare the verification information in the verification file with the second verification information calculated in the business platform. If the verification information in the verification file and the second verification information calculated in the business platform are the same, it is determined that the identity of the second user is not abnormal.

[0054] It should be noted that, after confirming the identity of the second user based on the second verification information, the identity of the second user can be further identified by combining the second user's biometric information with the biometric information in the second user's second user information, such as voice information and fingerprint information, thereby ensuring the accuracy of the signature operation.

[0055] Step S205: If the recognition result is correct, send the file to be signed and the first string to the second user terminal, and receive feedback information sent by the second user terminal, wherein the feedback information includes the signed file and the second string.

[0056] Specifically, once the identity of the second user is confirmed, the file to be signed can be transmitted to the second user's end. At this time, the first string also needs to be carried, so that after receiving the file to be signed, the second user's end can determine whether the file to be signed has been tampered with during the transmission process based on the first string. That is, the second user's end uses the same calculation method as above to process the file content of the file to be signed, obtains the string, and compares the string with the first string. If they are the same, it is determined that the file to be signed has not been tampered with, and the signing operation can be performed on the file to be signed.

[0057] After the second user signs the file to be signed, the second user's client will generate a second string based on the signed file, and combine the signed file and the second string into feedback information and send it to the business platform. This allows the business platform to determine whether the signed file has been tampered with based on the second string, thereby ensuring the secure transmission of the signed file.

[0058] Step S206: Determine whether the signed file is abnormal based on the second string, and if the signed file is not abnormal, store the signed file in the database.

[0059] Specifically, upon receiving the second string and the signed file, the same calculation method can be used to calculate the signed file, resulting in a calculated string. This string is then compared with the second string. If they match, it indicates that the signed file has not been tampered with during transmission. At this point, it can be determined that the signed file is correct, and it is then stored in the database. This completes the entire file processing flow of signing and storing the file. Furthermore, by verifying the string and the verification data, the security and tamper-proof nature of the file are guaranteed.

[0060] The file processing method provided in this application embodiment involves receiving target file information sent by a first user through a first user terminal. The target file information includes a file to be signed, a second user, a first string, and first verification data. The first string is calculated from the file to be signed, and the first verification data is calculated from the first string. The method then acquires the first user's first user information and verifies the correctness of the first string and the first verification data based on the first user information and the file to be signed. If both the first string and the first verification data are correct, second verification data is generated based on the first string and the second user's second user information, and the first string is sent to the second user terminal. The method also receives a verification file sent by the second user through the second user terminal and identifies the verification file based on the second user information and the second verification data to obtain an identification result. If the identification result is correct, the file to be signed and the first string are sent to the second user terminal, and feedback information is received from the second user terminal. The feedback information includes a signed file and the second string. Finally, the method determines whether the signed file has any abnormalities based on the second string, and if the signed file has no abnormalities, it stores the signed file in a database. By setting a first string and first verification data, the first string is used to determine whether the file content has been tampered with, and the first verification data is used to determine whether the file processor is correct. This ensures both the accuracy of the file content and the accuracy of the identity of the user processing the file, thereby achieving the technical effect of ensuring that the file will not be tampered with during transmission. This guarantees the accurate transmission and processing of the file, and solves the technical problem of low security in related technologies that use passwords to encrypt and transmit electronic contracts.

[0061] Optionally, in the document processing method provided in this application embodiment, the first user information includes a first ID identifier of the first user. Verifying whether the first string and the first verification data are correct based on the first user information and the document to be signed includes: obtaining a first preset algorithm and calculating the document to be signed according to the first preset algorithm to obtain an initial string, wherein the first preset algorithm is used to calculate the first string based on the document to be signed; comparing the initial string and the first string, and determining that the first string is correct if the initial string and the first string are the same; obtaining a second preset algorithm and calculating the first ID identifier and the initial string according to the second preset algorithm to obtain initial verification data, wherein the second preset algorithm is used to calculate the first verification data based on the first string; comparing the initial verification data and the first verification data, and determining that the first verification data is correct if the initial verification data and the first verification data are the same.

[0062] It should be noted that the first user information may include the first user's first ID identifier, which can be a unique identifier for the user, such as the bank card key of a bank card used by the first user for transactions, without limitation here.

[0063] Specifically, when determining whether the first string and the first verification data are correct, it is necessary to first determine the first preset algorithm. The first preset algorithm must be the same as the algorithm used in the first user terminal to calculate the first string from the file to be signed. After obtaining the first preset algorithm, the first preset algorithm can be used to calculate the file to be signed received by the business platform to obtain the initial string. The initial string is then compared with the first string. Since both the initial string and the first string are obtained by signing the file to be signed using the first preset algorithm, the initial string and the first string must be the same if the file to be signed has not been tampered with. Therefore, if the initial string and the first string are determined to be the same, it can be concluded that the file to be signed has not been tampered with during the transmission from the first user terminal to the business platform, thus confirming that the file to be signed is without abnormalities.

[0064] Furthermore, if the initial string is the same as the first string, it is also necessary to determine whether the user using the first user terminal is indeed the first user. At this point, a second preset algorithm can be obtained, and the initial string and the first ID identifier can be calculated according to the second preset algorithm to obtain the initial verification data. Since the process and data used to calculate the initial verification data are the same as those used by the first server to calculate the first verification data, the first verification data and the initial verification data will definitely be the same if the user ID identifier is accurate. Therefore, if the first verification data and the initial verification data are the same, it can be determined that the file to be signed was sent by the first user through the first user terminal, thus ensuring the accuracy and security of the file to be signed.

[0065] This embodiment uses a first preset algorithm and a second preset algorithm to confirm the first string and the first verification data, thereby ensuring the security and accuracy of the file to be signed.

[0066] Optionally, in the document processing method provided in this application embodiment, generating second verification data based on the first string and the second user information of the second user includes: obtaining the second ID identifier of the second user from the second user information; obtaining a second preset algorithm, and calculating the second ID identifier and the first string according to the second preset algorithm to obtain the second verification data, wherein the second preset algorithm is used to calculate the first verification data based on the first string.

[0067] Specifically, when generating the second verification data, since the content of the file to be signed has not changed, the first string can continue to be used for calculation. At this time, it is necessary to change the algorithm and use the second preset algorithm to calculate and process the first string. At the same time, it is also necessary to obtain the second ID identifier in the second user's second user information. In this way, the identity information of the second user on the second user side can be verified based on the calculated second verification data, thereby verifying the second user and ensuring the accuracy of the signing operation of the file to be signed.

[0068] It should be noted that during the calculation, a second preset algorithm can be obtained, and the second ID identifier in the first string and the second user information can be calculated according to the second preset algorithm to obtain the second verification information related to the second ID identifier. Then, the identity of the second user can be verified according to the second verification information to ensure that the identity of the second user is accurate.

[0069] This embodiment uses a second preset algorithm to calculate the first string and the second ID identifier to obtain the second verification data. The second verification data, which is related to the identity information of the second user, is then used to verify the identity of the second user, thereby ensuring the accuracy of the identity of the second user who receives the file to be signed.

[0070] Optionally, in the document processing method provided in this application embodiment, the verification document includes third verification data and biometric information. The third verification data is calculated from a first string and the user identifier of the second user. Identifying the verification document based on the second user information and the second verification data includes: comparing the second verification data and the third verification data, and if the second verification data and the third verification data are the same, obtaining the biometric verification information of the second user from the second user information; comparing the biometric verification information with the biometric information, and if the biometric verification information and the biometric information are the same, determining that the identification result is correct.

[0071] Specifically, when identifying the verification file, since the third verification data in the verification file is calculated from the first string and the user identifier of the second user, in order to ensure the accuracy of the second user's identity, it is first necessary to compare the second verification data and the third verification data calculated in the above process. Since both the second verification data and the third verification data are calculated from the first string, if the user information recorded in the business platform is consistent with the user information used by the second user, the second verification data and the third verification data are equal. At this time, it can be determined that the preliminary identity recognition result of the second user is passed.

[0072] Furthermore, if the second and third verification data are identical, since the verification file also carries biometric information, it is necessary to further obtain the pre-stored biometric verification information of the second user from the user information. By comparing the biometric verification information with the biometric information in the verification file, it can be determined whether the biometric information in the verification file is correct. If the biometric information in the verification file is correct, since both the third verification data and the biometric information are correct, it can be concluded that the verification file is error-free. At this point, it can be determined that the identity of the second user is not abnormal, and the file to be signed can be transmitted to the second user's terminal, which will then display the content of the file to be signed to the second user.

[0073] This embodiment ensures that the second user using the second user terminal is the same user as the second user indicated by the first user by verifying the third verification data and biometric information in the verification file, thereby ensuring the security and accuracy of the signing operation of the file to be signed.

[0074] Optionally, in the document processing method provided in this application embodiment, determining whether a signed document is abnormal based on a second string includes: obtaining a first preset algorithm, and calculating a candidate string on the signed document according to the first preset algorithm, wherein the first preset algorithm is used to calculate a first string based on the document to be signed; comparing the candidate string with a second string, and determining that the signed document is not abnormal if the candidate string and the second string are the same; and determining that the signed document is abnormal if the candidate string and the second string are different.

[0075] Specifically, when the business platform receives a signed file, it needs to determine whether the signed file is abnormal based on the second string. At this time, a first preset algorithm can be obtained and used to calculate the signed file to obtain a candidate string. Since both the second string and the candidate string are obtained by processing the signed file through the first preset algorithm, the second string and the candidate string should be equal if the signed file has not been tampered with. If the second string and the candidate string are equal, it can be determined that the signed file has not been tampered with, and the signed file is free of abnormalities, thus ensuring the accuracy of the signed file.

[0076] This embodiment achieves the technical effect of ensuring the accuracy of signed documents by comparing the second string with the candidate string.

[0077] Optionally, in the file processing method provided in the embodiments of this application, after receiving the file to be signed and the first string, the second user terminal calculates the file to be signed according to the first preset algorithm to obtain the target string, and displays the file content of the file to be signed on the second user terminal if the target string is the same as the first string. The first preset algorithm is used to calculate the first string based on the file to be signed.

[0078] Specifically, after receiving the file to be signed and the first string, the second user terminal needs to verify the file to be signed to ensure its accuracy. At this time, the first preset algorithm can be used to calculate the file to be signed to obtain the target string, and the target string is compared with the first string. If the target string is equal to the first string, it indicates that the file to be signed has not been tampered with. At this time, the file content of the file to be signed can be displayed on the second user terminal, so that the second user can perform the signing operation on the file to be signed, thereby ensuring the accuracy of the signed file.

[0079] This embodiment ensures the accuracy of the document to be signed by the second user by recognizing the document to be signed on the second user's end.

[0080] Optionally, in the document processing method provided in this application embodiment, after the second user signs the document to be signed displayed on the second user terminal, a signed document is obtained. The signed document is then calculated according to a first preset algorithm to obtain a second string, and the second string and the signed document are combined into feedback information.

[0081] Specifically, in order to verify the signed file on the business platform, the signed file can be calculated according to the first preset algorithm to obtain the second string. The second string and the signed file are then sent to the business platform as feedback information. This allows the business platform to calculate the signed file according to the first preset algorithm and compare the obtained string with the second string, thereby ensuring the normal transmission of the signed file.

[0082] This embodiment uses a first preset algorithm to calculate a second string from a signed file, enabling the business platform to verify the content of the signed file based on the second string, thereby ensuring the security and accuracy of the transmission operation of the signed file.

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

[0084] Example 2

[0085] This application also provides a file processing system. It should be noted that the file processing system of this application can be used to execute the file processing method provided in this application. Figure 3 This is a schematic diagram of a document processing system according to Embodiment 2 of this application, as shown below. Figure 3 As shown, the system includes:

[0086] Multiple user terminals, and a business platform connected to the multiple user terminals, wherein the multiple user terminals can be the first user terminal or the second user terminal involved in the above file processing method, and the various user terminals are connected and file transfer operations are performed through the business platform.

[0087] Figure 4 This is a flowchart of the document processing flow provided in Embodiment 2 of this application, such as... Figure 4 As shown, when a file processing system processes a file to be signed, the file processing and interaction can be performed according to the following process:

[0088] First, the first user terminal calculates the file to be signed according to the first preset algorithm to obtain the first string (HSTR1), and encrypts the first string and the first user's bank card key using ARQC technology according to the second preset algorithm to obtain the first ARQC encrypted string (ASTR1). At this time, the first user terminal sends the file to be signed, the second user's username, HSTR1 and ASTR1 to the business platform. The first preset algorithm can be a hash encryption algorithm, and the obtained first string can be a hash value.

[0089] After receiving the file to be signed, the username of the second user, HSTR1, and ASTR1, the business platform calculates the file to be signed according to the first preset algorithm to obtain HSTR2. It then retrieves the bank card key of the first user from the platform database and calculates HSTR2 and the bank card key of the first user according to the second preset algorithm to obtain ASTR2. The platform compares HSTR1 and ASTR1 with HSTR2 and ASTR2. If HSTR1 and HSTR2 are the same and ASTR1 and ASTR2 are completely identical, the platform determines that the file to be signed is correct. At this point, the platform sends the file to be signed to the second user.

[0090] The business platform determines the second user terminal used by the second user based on the second user's username and sends HSTR1 to the second user terminal. The second user performs a card swipe operation on the second user terminal, enabling the second user terminal to obtain the second user's bank card key. The second user terminal calculates HSTR1 and the second user's bank card key according to the second preset algorithm to obtain ASTR3, and then sends ASTR3 to the business platform.

[0091] After receiving ASTR3, the business platform uses the second user's bank card key and HSTR1 stored in the business platform to calculate ASTR4, and compares ASTR3 and ASTR4. If ASTR3 and ASTR4 are the same, the second user is confirmed to be correct. At this time, the file to be signed and HSTR1 can be sent to the second user's terminal.

[0092] The second user terminal calculates the file to be signed according to the first preset algorithm to obtain HSTR3, and compares HSTR3 with HSTR1. If they are the same, the file to be signed is determined to be correct. At this time, the second user performs a signing operation on the file to be signed displayed on the second user terminal to obtain a signed file. The signed file is then calculated according to the first preset algorithm to obtain HSTR4, and HSTR4 and the signed file are fed back to the business platform.

[0093] After receiving the HSTR4 and the signed file, the business platform calculates the HSTR5 of the signed file according to the first preset algorithm, and compares the HSTR4 and HSTR5. If they are the same, the signed file is determined to be correct, and then the signed file is stored, thereby completing the file transfer and file signing operations and ensuring the accuracy of file transfer and operation.

[0094] Example 3

[0095] This application also provides a file processing apparatus. It should be noted that the file processing apparatus of this application can be used to execute the file processing method provided in this application. The file processing apparatus provided in this application will be described below.

[0096] According to embodiments of this application, an apparatus for implementing the above-described document processing method is also provided. Figure 5 This is a schematic diagram of a document processing apparatus according to Embodiment 3 of this application, as shown below. Figure 5 As shown, the device includes:

[0097] The receiving unit 51 is used to receive target file information sent by the first user through the first user terminal. The target file information includes a file to be signed, a second user, a first string, and first verification data. The first string is calculated from the file to be signed, and the first verification data is calculated from the first string.

[0098] The acquisition unit 52 is used to acquire the first user information of the first user, and verify whether the first string and the first verification data are correct based on the first user information and the file to be signed.

[0099] The generation unit 53 is used to generate second verification data based on the first string and the second user information of the second user, and send the first string to the second user terminal, provided that both the first string and the first verification data are correct.

[0100] The identification unit 54 is used to receive the verification file sent by the second user through the second user terminal, and to identify the verification file according to the second user information and the second verification data to obtain the identification result.

[0101] The sending unit 55 is used to send the file to be signed and the first string to the second user terminal when the identification result is correct, and to receive feedback information sent by the second user terminal, wherein the feedback information includes the signed file and the second string.

[0102] Judgment unit 56 is used to determine whether there is an anomaly in the signed file based on the second string, and if there is no anomaly in the signed file, to store the signed file in the database.

[0103] The file processing apparatus provided in this application embodiment receives target file information sent by a first user through a first user terminal via a receiving unit 51. The target file information includes a file to be signed, a second user, a first string, and first verification data. The first string is calculated from the file to be signed, and the first verification data is calculated from the first string. An acquiring unit 52 acquires the first user information of the first user and verifies whether the first string and the first verification data are correct based on the first user information and the file to be signed. A generating unit 53 generates second verification data based on the first string and the second user information of the second user if both the first string and the first verification data are correct, and sends the first string to the second user terminal. An identifying unit 54 receives the verification file sent by the second user through the second user terminal and identifies the verification file based on the second user information and the second verification data to obtain an identification result. A sending unit 55 sends the file to be signed and the first string to the second user terminal if the identification result is correct, and receives feedback information sent by the second user terminal, wherein the feedback information includes a signed file and the second string. A judging unit 56 judges whether the signed file has any abnormalities based on the second string, and stores the signed file in a database if the signed file has no abnormalities. By setting a first string and first verification data, the first string is used to determine whether the file content has been tampered with, and the first verification data is used to determine whether the file processor is correct. This ensures both the accuracy of the file content and the accuracy of the identity of the user processing the file, thereby achieving the technical effect of ensuring that the file will not be tampered with during transmission. This guarantees the accurate transmission and processing of the file, and solves the technical problem of low security in related technologies that use passwords to encrypt and transmit electronic contracts.

[0104] Optionally, in the file processing apparatus provided in this application embodiment, the first user information includes a first ID identifier of the first user, and the acquisition unit 52 includes: a first acquisition module, used to acquire a first preset algorithm and calculate the file to be signed according to the first preset algorithm to obtain an initial string, wherein the first preset algorithm is used to calculate the first string according to the file to be signed; a first determination module, used to compare the initial string and the first string, and determine that the first string is correct if the initial string and the first string are the same; a second acquisition module, used to acquire a second preset algorithm and calculate the first ID identifier and the initial string according to the second preset algorithm to obtain initial verification data, wherein the second preset algorithm is used to calculate the first verification data according to the first string; and a second determination module, used to compare the initial verification data and the first verification data, and determine that the first verification data is correct if the initial verification data and the first verification data are the same.

[0105] Optionally, in the document processing apparatus provided in this application embodiment, the generation unit 53 includes: a third acquisition module, used to acquire the second ID identifier of the second user from the second user information; and a calculation module, used to acquire a second preset algorithm, and calculate the second ID identifier and the first string according to the second preset algorithm to obtain second verification data, wherein the second preset algorithm is used to calculate the first verification data according to the first string.

[0106] Optionally, in the document processing apparatus provided in this application embodiment, the verification document includes third verification data and biometric information. The third verification data is calculated from the first string and the user identifier of the second user. The identification unit 54 includes: a first comparison module, used to compare the second verification data and the third verification data, and if the second verification data and the third verification data are the same, to obtain the biometric verification information of the second user from the second user information; and a third determination module, used to compare the biometric verification information with the biometric information, and if the biometric verification information and the biometric information are the same, to determine that the identification result is correct.

[0107] Optionally, in the document processing apparatus provided in this application embodiment, the judgment unit 56 includes: a fourth acquisition module, used to acquire a first preset algorithm and calculate the signed document according to the first preset algorithm to obtain a candidate string, wherein the first preset algorithm is used to calculate the first string according to the document to be signed; a second comparison module, used to compare the candidate string with the second string, and determine that the signed document is not abnormal if the candidate string and the second string are the same; and a fourth determination module, used to determine that the signed document is abnormal if the candidate string and the second string are not the same.

[0108] Optionally, in the file processing apparatus provided in this application embodiment, after receiving the file to be signed and the first string, the second user terminal calculates the file to be signed according to the first preset algorithm to obtain the target string, and displays the file content of the file to be signed on the second user terminal if the target string is the same as the first string. The first preset algorithm is used to calculate the first string based on the file to be signed.

[0109] Optionally, in the document processing apparatus provided in this application embodiment, after the second user signs the document to be signed displayed on the second user terminal, a signed document is obtained. The signed document is then calculated according to a first preset algorithm to obtain a second string, and the second string and the signed document are combined into feedback information.

[0110] It should be noted that the receiving unit 51, acquiring unit 52, generating unit 53, identifying unit 54, sending unit 55, and judging unit 56 mentioned above correspond to steps S201 to S206 in Embodiment 1. The two modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in Embodiment 1. It should be noted that the above modules or units can be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above modules can also be part of the device and run in the computer terminal 10 provided in Embodiment 1.

[0111] Example 4

[0112] Embodiments of this application may provide an electronic device. Figure 6 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 6 As shown, the electronic device may include: one or more ( Figure 6 (Only one is shown) processor 1002, memory 1004, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0113] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-described methods. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0114] The processor can invoke information and applications stored in the memory via a transmission device to perform the following steps: receiving target file information sent by a first user through a first user terminal, wherein the target file information includes a file to be signed, a second user, a first string, and first verification data, wherein the first string is calculated from the file to be signed, and the first verification data is calculated from the first string; obtaining the first user information of the first user, and verifying whether the first string and the first verification data are correct based on the first user information and the file to be signed; if both the first string and the first verification data are correct, generating second verification data based on the first string and the second user information of the second user, and sending the first string to the second user terminal; receiving a verification file sent by the second user through the second user terminal, and identifying the verification file based on the second user information and the second verification data to obtain an identification result; if the identification result is correct, sending the file to be signed and the first string to the second user terminal, and receiving feedback information sent by the second user terminal, wherein the feedback information includes a signed file and the second string; determining whether the signed file has any abnormalities based on the second string, and storing the signed file in the database if the signed file has no abnormalities.

[0115] The processor can also invoke information and applications stored in the memory via a transmission device to perform the following steps: obtaining a first preset algorithm and calculating an initial string based on the file to be signed, wherein the first preset algorithm is used to calculate the first string based on the file to be signed; comparing the initial string with the first string, and determining that the first string is correct if the initial string and the first string are the same; obtaining a second preset algorithm and calculating initial verification data based on the first ID identifier and the initial string, wherein the second preset algorithm is used to calculate the first verification data based on the first string; comparing the initial verification data with the first verification data, and determining that the first verification data is correct if the initial verification data and the first verification data are the same.

[0116] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: obtain the second ID identifier of the second user from the second user information; obtain the second preset algorithm, and calculate the second ID identifier and the first string according to the second preset algorithm to obtain the second verification data, wherein the second preset algorithm is used to calculate the first verification data according to the first string.

[0117] The processor can also invoke information and applications stored in the memory via a transmission device to perform the following steps: the verification file includes third verification data and biometric information, the third verification data is calculated from the first string and the user identifier of the second user, and the identification of the verification file based on the second user information and the second verification data includes: comparing the second verification data and the third verification data, and if the second verification data and the third verification data are the same, obtaining the biometric verification information of the second user from the second user information; comparing the biometric verification information with the biometric information, and if the biometric verification information and the biometric information are the same, determining that the identification result is correct.

[0118] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: obtain a first preset algorithm, and calculate the signed file according to the first preset algorithm to obtain a candidate string, wherein the first preset algorithm is used to calculate the first string according to the file to be signed; compare the candidate string with the second string, and determine that the signed file is normal if the candidate string is the same as the second string; determine that the signed file is abnormal if the candidate string is different from the second string.

[0119] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: After receiving the file to be signed and the first string, the second user terminal calculates the file to be signed according to the first preset algorithm to obtain the target string, and if the target string is the same as the first string, displays the file content of the file to be signed on the second user terminal, wherein the first preset algorithm is used to calculate the first string according to the file to be signed.

[0120] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: After the second user signs the file to be signed displayed on the second user terminal, the signed file is obtained, and the signed file is calculated according to the first preset algorithm to obtain the second string, and the second string and the signed file are combined into feedback information.

[0121] Those skilled in the art will understand that Figure 6 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 6 This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 6 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 6The different configurations shown.

[0122] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0123] Example 5

[0124] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the file processing method provided in Embodiment 1.

[0125] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0126] This application also provides a computer program product, which, when executed on a data processing device, is adapted to perform the steps of a file processing method.

[0127] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0128] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0129] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0130] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0131] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0132] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0133] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for processing files, characterized in that, include: Receive target file information sent by a first user through a first user terminal, wherein the target file information includes a file to be signed, a second user, a first string, and first verification data, wherein the first string is calculated from the file to be signed, and the first verification data is calculated from the first string; Obtain the first user information of the first user, and verify whether the first string and the first verification data are correct based on the first user information and the file to be signed; If both the first string and the first verification data are correct, the second verification data is generated based on the first string and the second user's second user information, and the first string is sent to the second user's terminal. Receive the verification file sent by the second user through the second user terminal, and identify the verification file according to the second user information and the second verification data to obtain the identification result; If the identification result is correct, the file to be signed and the first string are sent to the second user terminal, and feedback information sent by the second user terminal is received, wherein the feedback information includes the signed file and the second string; The system determines whether the signed file is abnormal based on the second string, and if the signed file is not abnormal, it stores the signed file in the database.

2. The method according to claim 1, characterized in that, The first user information includes the first user's first ID identifier. Verifying the correctness of the first string and the first verification data based on the first user information and the file to be signed includes: A first preset algorithm is obtained, and the file to be signed is calculated according to the first preset algorithm to obtain an initial string, wherein the first preset algorithm is used to calculate the first string according to the file to be signed; The initial string is compared with the first string, and if the initial string and the first string are the same, the first string is determined to be correct; Obtain a second preset algorithm, and calculate the first ID identifier and the initial string according to the second preset algorithm to obtain initial verification data, wherein the second preset algorithm is used to calculate the first verification data according to the first string; The initial verification data is compared with the first verification data, and if the initial verification data and the first verification data are the same, the first verification data is determined to be correct.

3. The method according to claim 1, characterized in that, Generating second verification data based on the first string and the second user's second user information includes: Obtain the second user's second ID identifier from the second user information; A second preset algorithm is obtained, and the second ID identifier and the first string are calculated according to the second preset algorithm to obtain the second verification data, wherein the second preset algorithm is used to calculate the first verification data according to the first string.

4. The method according to claim 3, characterized in that, The verification file includes third verification data and biometric information. The third verification data is calculated from the first string and the user identifier of the second user. Identifying the verification file based on the second user information and the second verification data includes: The second verification data and the third verification data are compared, and if the second verification data and the third verification data are the same, the biometric verification information of the second user is obtained from the second user information; The biometric verification information is compared with the biological information, and if the biometric verification information and the biological information are the same, the identification result is determined to be correct.

5. The method according to claim 1, characterized in that, Determining whether the signed file is abnormal based on the second string includes: A first preset algorithm is obtained, and the signed file is calculated according to the first preset algorithm to obtain a candidate string, wherein the first preset algorithm is used to calculate the first string according to the file to be signed; The candidate string is compared with the second string, and if the candidate string is the same as the second string, it is determined that the signed file is normal. If the candidate string is different from the second string, it is determined that the signed file is abnormal.

6. The method according to claim 1, characterized in that, After receiving the file to be signed and the first string, the second user terminal calculates the file to be signed according to the first preset algorithm to obtain the target string. If the target string is the same as the first string, the second user terminal displays the file content of the file to be signed. The first preset algorithm is used to calculate the first string based on the file to be signed.

7. The method according to claim 1, characterized in that, After the second user signs the file to be signed displayed on the second user terminal, the signed file is obtained. The signed file is then calculated according to the first preset algorithm to obtain the second string. The second string and the signed file are then combined to form the feedback information.

8. A document processing apparatus, characterized in that, include: The receiving unit is configured to receive target file information sent by a first user through a first user terminal, wherein the target file information includes a file to be signed, a second user, a first string, and first verification data, wherein the first string is calculated from the file to be signed, and the first verification data is calculated from the first string; The acquisition unit is used to acquire the first user information of the first user, and verify whether the first string and the first verification data are correct based on the first user information and the file to be signed; The generation unit is configured to generate second verification data based on the first string and the second user information of the second user, and send the first string to the second user terminal, provided that both the first string and the first verification data are correct. The identification unit is used to receive the verification file sent by the second user through the second user terminal, and to identify the verification file according to the second user information and the second verification data to obtain the identification result; The sending unit is configured to send the file to be signed and the first string to the second user terminal when the identification result is correct, and to receive feedback information sent by the second user terminal, wherein the feedback information includes the signed file and the second string; The judgment unit is used to determine whether the signed file is abnormal based on the second string, and if the signed file is not abnormal, to store the signed file in the database.

9. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the steps of the file processing method according to any one of claims 1 to 7.

10. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the file processing method according to any one of claims 1 to 7.