A text credit granting method, a credit granting text verification method and a system
Generating and verifying associated verification codes and QR code indication information through a third-party server solves the problem of insufficient security of electronic seals, enables correct verification and use of electronic files, and prevents counterfeiting.
Patent Information
- Application Number
- CN202011015094.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-09-24
AI Technical Summary
The security of electronic seals in the prior art is insufficient and can easily be counterfeited, resulting in incorrect verification of electronic documents and resulting in losses.
A third-party server is used for text credit and verification. By generating associated verification codes and QR code indication information, the QR code is randomly loaded onto the text, and the correct use of the electronic seal is ensured through legality verification.
It improves the security of electronic seals, ensures the integrity and correctness from credit granting to use, and prevents counterfeiting.
Smart Images

Figure CN112100666B
Abstract
Description
Technical Field
[0001] The embodiment of the invention relates to the technical field of network authorization and credit granting of electronic seals, and in particular to a text credit granting method, a credit granting text verification method and a system. Background Art
[0002] As the traditional office model gradually changes to the information-based office model, the circulation form of paper documents also changes to the circulation form of electronic documents. In order to ensure the validity of electronic documents while making them have the same credible visual effect as traditional paper documents, the concept of electronic seals was proposed. The security of electronic seals in the process of network authorization and credit granting is a technical issue that needs to be considered first.
[0003] In the prior art, some electronically scanned documents include a two-dimensional code area, in which the two-dimensional code carries reference attribute information of the electronically scanned document. The two-dimensional code is detected and scanned to obtain the reference attribute information of the electronically scanned document; the actual attribute information recorded in the electronically scanned document is read; the actual attribute information is compared with the reference attribute information to verify the correctness of the electronically scanned document. Such a method can verify the electronically scanned document, thereby determining the correctness of the electronic document, but such a method can be easily counterfeited, so that the electronic seal cannot be used and verified correctly, resulting in losses. Summary of the invention
[0004] In view of the problems in the prior art, the present invention provides a text credit method, a credit text verification method, a system and a computer-readable storage medium.
[0005] An embodiment of the present invention provides a text credit method, which includes: a text credit method, characterized in that the method includes: a first user submits a text approval request to a third-party server; the third-party server identifies the text and forwards the text approval request to a second user; in response to the text approval request, the second user generates an approval consent response; the second user sends the approval consent response carrying the second user's key information to the third-party server, the third-party server identifies the second user's key information, and determines that the second user has credit authority based on the second user's key information and the type of the text, generates an electronic seal usage code based on the credit authority, generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code, and loads the two-dimensional code onto the text based on the two-dimensional code indication information; the third-party server stores the text loaded with the two-dimensional code, and sends the text loaded with the two-dimensional code to the first user.
[0006] The third-party server generates a QR code and QR code indication information from the electronic seal usage code as follows: the third-party server uses an encryption algorithm to generate an associated verification code from the text and the electronic seal usage code, and randomly divides the associated verification code into N associated verification sub-codes, and generates N QR codes and N QR code indication information corresponding to the N associated verification sub-codes.
[0007] The N two-dimensional code indication information correspondingly indicates the loading positions of the N two-dimensional codes on the text.
[0008] Preferably, N is generated by a random number generator and is at least 3.
[0009] The N two-dimensional code indication information indicates the position points of the N two-dimensional codes on the text, and the position points are randomly specified based on pre-stored text position points.
[0010] Preferably, the pre-stored text location point includes a page number and a QR code center point coordinate.
[0011] Another embodiment of the present invention also provides a credit text verification method, the method comprising: a third user receives a text loaded with an electronic seal sent by a second user; the third user sends a text verification request to a third-party server, the text verification request including the text loaded with the electronic seal; the third-party server reads the text and extracts N two-dimensional codes and N two-dimensional code position information on the text; the third-party server converts the N two-dimensional codes into N associated verification subcodes; the third-party server synthesizes the N associated verification subcodes into an associated verification code based on the N two-dimensional code position information; the third-party server performs a legitimacy check on the associated verification code; when the legitimacy check passes, the third-party server sends a text verification response to the third user, indicating that the text is correctly associated with the electronic seal.
[0012] The third-party server combines the N associated verification subcodes into one associated verification code according to the N two-dimensional code position information:
[0013] The third-party server extracts the N QR code information and the N QR code position information, generates N associated verification subcodes according to the N QR code information, and generates N index bits according to the page numbers and coordinates of the N QR codes, wherein the N index bits represent the order of the N associated verification subcodes, and according to the N index bits, the N associated verification subcodes are sequentially merged into one associated verification code.
[0014] Furthermore, the third-party server performs a legitimacy check based on the text and the associated verification code, and the legitimacy check is used to verify whether the association between the text and the electronic seal is correct.
[0015] Preferably, N is at least 3.
[0016] Specifically, the second user is the electronic seal credit grantor; the third user is the credit text user.
[0017] Another embodiment of the present invention further provides a text credit system, the text credit system using the text credit method; the text credit system includes a first user terminal, a second user terminal and a third-party server;
[0018] Wherein, the first user terminal is used by the first user to submit an approval request containing text to the third-party server;
[0019] The third-party server is used to identify the text and forward the text approval request to the second user;
[0020] The second user terminal is used for the second user to generate an approval response in response to the text approval request; the second user terminal also sends the approval response carrying the second user key information to the third-party server;
[0021] The third-party server is further used to identify the key information of the second user, and determine whether the second user has the credit authority according to the key information of the second user and the text, and generate an electronic seal usage code according to the credit authority. The third-party server generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code and sends them to the first user terminal;
[0022] The first user terminal is also used for the first user to use the QR code according to the QR code indication information.
[0023] Another embodiment of the present invention further provides a credit text verification system, the credit text verification system uses the credit text verification method; the credit text verification system includes a first user terminal, a third user terminal and a third-party server;
[0024] The third user terminal is used for the third user to receive the text loaded with the electronic seal sent by the second user terminal; the third user sends a text verification request to the third-party server, and the text verification request includes the text loaded with the electronic seal;
[0025] The third-party server is used to read the text, extract N two-dimensional codes and N two-dimensional code indication information on the text, convert the N two-dimensional codes into N associated verification subcodes, and synthesize the N associated verification subcodes into an associated verification code according to the N two-dimensional code indication information; the third-party server is also used to perform a legitimacy check on the associated verification code; when the legitimacy check passes, a text verification response is sent to the third user, indicating that the text is correctly associated with the electronic seal.
[0026] Another embodiment of the present invention further provides a text credit system, which includes a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, it implements the text credit method as described above.
[0027] Another embodiment of the present invention further provides a credit text verification system, which includes a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, it implements the credit text verification method as described above.
[0028] Another embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that can be run on a processor, and the computer program implements the above-mentioned method when executed.
[0029] The present invention uses an associated verification code, an associated verification subcode and a two-dimensional code indication information to make the two-dimensional code and its loading position correspond to the text information, and ensures the correct use of the electronic seal through consistency verification. The third-party server also has the function of verifying the second user's credit authority based on the text, thereby ensuring the security of the electronic seal from credit authorization to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 The present invention is a flowchart of a text credit granting method in one embodiment of the present invention.
[0032] Figure 2 It is a flow chart of a credit text verification method in one embodiment of the present invention.
[0033] Figure 3It is a structural diagram of a text credit system in one embodiment of the present invention.
[0034] Figure 4 It is a structural diagram of a credit text verification system in one embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail with reference to the accompanying drawings. The embodiments of the present invention and the specific features of the embodiments are detailed descriptions of the technical solutions of the embodiments of the present invention, rather than limitations on the technical solutions of the present specification. In the absence of conflict, the embodiments of the present invention and the technical features of the embodiments can be combined with each other.
[0036] Embodiment 1
[0037] The embodiment of the present invention provides a text credit method, such as Figure 1 As shown. The method comprises: a first user submits a text approval request containing text to a third-party server; the third-party server identifies the text and forwards the text approval request to a second user; in response to the text approval request, the second user generates an approval response; the second user sends the approval response carrying the second user's key information to the third-party server, the third-party server identifies the second user's key information, and determines whether the second user has the credit authority according to the second user's key information and the type of the text, generates an electronic seal usage code according to the credit authority, generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code, and loads the two-dimensional code onto the text according to the two-dimensional code indication information; the third-party server stores the text loaded with the two-dimensional code, and sends the text loaded with the two-dimensional code to the first user.
[0038] Optionally, to simplify the process, or when the second user has higher authority, the approval response sent by the second user may not include the second user's key information, or the third-party server does not judge the second user's credit authority based on the second user's key information.
[0039] Furthermore, the third-party server generates a QR code and QR code indication information according to the electronic seal usage code as follows: the third-party server generates an associated verification code according to the text and the electronic seal usage code, and randomly divides the associated verification code into N associated verification sub-codes, and generates N QR codes and N QR code indication information corresponding to the N associated verification sub-codes.
[0040] Furthermore, the N two-dimensional code indication information corresponds to indicating the loading positions of the N two-dimensional codes on the text.
[0041] Preferably, N is a random number and is at least 3.
[0042] Furthermore, the N two-dimensional code indication information indicates the position points of the N two-dimensional codes on the text, and the position points are randomly specified based on pre-stored text position points.
[0043] Preferably, the pre-stored text location point includes a page number and a QR code center point coordinate.
[0044] Preferably, the third-party server is a cloud server.
[0045] Preferably, the first user is a credit requester, and the second user is a credit granter.
[0046] In one scenario, user 1 drafts a contract text and provides the contract text to user 2 through a cloud server. User 1 is, for example, Party B of the contract, and user 2 is, for example, Party B of the contract. If user 2 agrees to the contract text, a confirmation message is sent to the cloud server, and the cloud server generates a contract validity code. Preferably, the cloud server generates N QR codes corresponding to the contract validity code and loaded on the original contract text.
[0047] Preferably, the contract validity code is an electronic seal usage code, which is generated according to the contract text. The specific generation method can adopt any encryption algorithm in the prior art, which is not limited by the present invention. The cloud server further uses the encryption algorithm to generate an associated verification code with the electronic seal usage code and the text, and then the cloud server randomly divides the associated verification code into N associated verification sub-codes, where the number N can be any positive integer. Preferably, in order to increase security, the number N is not less than 3.
[0048] Preferably, the cloud server maintains a random number generator, and N is generated by the random number generator;
[0049] Preferably, N is the page number of the credit text. For example, if the contract text has 4 pages in total, then N=4, that is, 4 associated verification subcodes are generated, and further 4 QR codes are generated. The N QR codes can be loaded one per page; or they can be loaded randomly on a certain page or several pages, for example, 2 are loaded on the first page, 2 are loaded on the second page, and the third and fourth pages are not loaded.
[0050] The cloud server further generates N two-dimensional code patterns from the N associated check subcodes, and the N two-dimensional code patterns will be loaded onto the contract text. However, if the N two-dimensional code patterns are loaded at a fixed position, there is a risk of being deciphered. Therefore, the cloud server of the present invention also maintains a two-dimensional code coordinate table, and the two-dimensional code coordinate table corresponds to the storage of the coordinates of the center point of the two-dimensional code. The coordinates of the center point of the two-dimensional code indicate the specific position where the center point of a certain two-dimensional code pattern is loaded in a page of a certain layout. The coordinate origin can be any position of the text, and the coordinate value range is determined according to the position of the coordinate origin and the text layout. For example, when the text layout is A4 paper and the upper and lower left and right margins are all 2cm, if the coordinate origin selects the lower left corner of A4, the range of the horizontal coordinate is [2cm, 19cm], and the range of the vertical coordinate is [2cm, 27.7cm]. The coordinate accuracy can be further set, for example, the coordinate accuracy is set to 0.1cm. The higher the accuracy of the text coordinate point, the higher the security.
[0051] However, the coordinate value alone cannot determine the location where the QR code pattern is loaded, because the credit text does not necessarily have only one page. Therefore, the server also needs to generate a QR code location table based on the page number of the credit text and the QR code coordinate table. The QR code location table includes multiple groups of QR code locations, and each group of QR code locations includes the page number where the QR code is loaded on the text and the coordinates of the center point of the QR code. For example, the cloud server indicates that the second QR code pattern is loaded at the coordinates (17cm, 4cm) of the first page of the contract text. The N QR code indication information is determined by the cloud service based on the QR code location table. The cloud server generates and stores the QR code location table.
[0052] Furthermore, the cloud server loads the two-dimensional code pattern onto the contract text according to the N two-dimensional code indication information. The cloud server also stores the contract text loaded with the two-dimensional code pattern and sends it to user 1 and / or user 2.
[0053] In addition to the above-mentioned contract signing scenario, the method of the present invention can also be applied to the second scenario of corporate seal approval. In this second scenario, user 1 submits the contract text to the cloud server through the online system for approval by user 2, who can be a user with approval authority, such as the person in charge of user 1; after user 2 approves and agrees, it returns an approval and approval response message to the cloud server, and the cloud server generates an electronic seal usage code based on the approval and approval response message. The electronic seal of the present invention includes, but is not limited to, any credit form such as official seal, private seal, and name seal. Preferably, the cloud server can also verify the approval authority of user 2. For example, the cloud server stores information such as the user's approval authority. For example, if user 2 has the authority to approve domestic contracts, then after receiving the approval response message fed back by user 2, the cloud server identifies the key information or ID information of user 2 contained in the approval response message, and judges whether user 2 has the credit authority based on the key information or ID information of user 2 and the type of the text. If the type of the contract text submitted by user 1 is an international contract, the cloud server judges that user 2 does not have the approval authority, and returns an approval rejection message to user 1, carrying the approval rejection reason value in the message, such as user 2 cannot approve international contracts, and at the same time feedbacks an approval failure message to user 1, carrying the approval failure reason value in the message, such as authority mismatch. If the contract text type is a domestic contract, the cloud server judges that user 2 has the approval authority based on the key information or ID information of user 2, and judges that user 2 approves and agrees, then generates an electronic seal usage code. The generation and loading process of the electronic seal usage code can adopt the method flow described in the previous scenario.
[0054] Preferably, in a specific business environment, user 1 may have certain authority to determine certain contents in the contract, such as the payment cycle or contract price, or even have the authority to sign a certain type of contract, or user 1 has a series of contracts under a unified business framework that need to be stamped with the same electronic seal; if they are approved one by one, the process is cumbersome and inefficient. In view of this scenario, the present invention also provides a credit granting method, specifically, the text submitted by user 1 is a certain type of text template, rather than a specific, complete text; or for example: user 1 submits a framework contract, rather than a specific sales contract; or user 1 submits a type of credit request, such as a seal request. User 1 submits a credit request containing or not containing a text template to user 2 through a cloud server, and the cloud service stores the credit request, and calls user 1's authority to attach it to the credit request and forwards it to user 2; optionally, the credit request also includes additional credit information, and the additional credit information includes: at least one of credit authority information, credit scope information, and credit object information. The user 2 determines whether to approve the credit request based on the text template and / or the authority and / or additional credit information of the user 1; when the user 2 approves, the approval response is fed back to the cloud server. Preferably, the approval response message contains the key information of the user 2; the third-party server identifies the key information of the user 2, and determines whether the user 2 has the corresponding credit authority and / or whether the user 1 has the credit qualification based on the key information of the user 2 and the text template and / or the authority and / or additional credit information of the user 1. If the user 2 has the corresponding credit authority and the user 1 has the credit qualification, the cloud server generates an electronic seal usage code based on the credit authority, and the cloud server further associates the electronic seal usage code with the text template and / or the authority information and / or additional credit information of the user 1 to generate an associated verification code, and then the cloud server randomly divides the associated verification code into N associated verification sub-codes based on the number N generated by the random counter, and the number N can be any positive integer. Preferably, in order to increase security, the N is not less than 3. The cloud server further generates N two-dimensional code patterns from the N associated verification subcodes, and the N two-dimensional code patterns will be loaded onto the contract text corresponding to the contract template that user 1 is allowed to use, or onto the text specified by the additional information of the credit request, or onto the text within the scope of user 1's authority.
[0055] Similarly, if the N two-dimensional code patterns are loaded at a fixed position, there is a risk of being deciphered. Therefore, in this scenario, the cloud server also maintains a two-dimensional code coordinate table, which corresponds to the coordinate points where the two-dimensional code is loaded on the text. The coordinate point indicates the specific coordinates of the center point of a certain two-dimensional code pattern loaded in a page of a certain layout. The coordinate origin can be any position of the text, and the coordinate value range is determined according to the position of the coordinate origin and the text layout. For example, when the text layout is A4 paper and the upper, lower, left and right margins are all 2cm, if the coordinate origin selects the lower left corner of A4, the range of the horizontal coordinate is [2cm, 19cm], and the range of the vertical coordinate is [2cm, 27.7cm]. The coordinate accuracy can be further set, for example, the coordinate accuracy is set to 0.1cm. The higher the accuracy of the text coordinate point, the higher the security.
[0056] However, the coordinate value alone cannot determine the location where the QR code pattern is loaded, because the credit text does not necessarily have only one page. Therefore, the server also needs to generate a QR code location table based on the page number of the credit text and the QR code coordinate table. The QR code location table includes multiple groups of QR code locations, and each group of QR code locations includes the page number where the QR code is loaded on the text and the coordinates of the center point of the QR code. For example, the cloud server indicates that the second QR code pattern is loaded at the coordinates (17cm, 4cm) of the first page of the contract text. The N QR code indication information is determined by the cloud service based on the QR code location table. The cloud server generates and stores the QR code location table.
[0057] When the authorization request of user 1 does not contain a text template, the server cannot know the page number of the printed document of user 1. At this time, the server can specify a default page number value and generate a two-dimensional code position table or two-dimensional code indication information based on the default page number value. When the default page number value is greater than the page number of the printed document, user 1 modifies the page whose page number in the default page number exceeds the actual page number to the last page of the actual page number. For example, the default page number value given by the server is 3 pages, and it indicates that the Nth two-dimensional code pattern is loaded at the coordinate (x, y) of the third page, but the printed document of user 1 actually has only 2 pages, then user 1 automatically modifies the Nth two-dimensional code indication information in the two-dimensional code indication information to the last page of the actual page number, that is, the Nth two-dimensional code pattern is loaded at the coordinate (x, y) of the second page.
[0058] Furthermore, the cloud server sends the two-dimensional code pattern and the two-dimensional coordinate table or the two-dimensional code indication information to the user 1, allowing him to load the two-dimensional code pattern on the corresponding credit text.
[0059] Similarly, during the verification process, the server verifies the position of the QR code based on the stored default page number value. When the server finds that the page number of the actual loading position of the Mth (M<=N) QR code does not match the default page number, it automatically corrects the page number and verifies the credit text based on the corrected page number and coordinates.
[0060] Embodiment 2
[0061] Embodiment 2 of the present invention provides a credit text verification method, such as Figure 2 The method comprises: a third user receives a text loaded with an electronic seal sent by a first user; the third user sends the text to a third-party server; the third-party server reads the text and extracts N two-dimensional codes and N two-dimensional code position information on the text; the third-party server converts the N two-dimensional codes into N associated verification subcodes; the third-party server synthesizes the N associated verification subcodes into an associated verification code according to the N two-dimensional code position information; the third-party server performs a legality check on the associated verification code; when the legality check passes, it indicates to the third-party user that the text is correctly associated with the electronic seal.
[0062] Furthermore, the third-party server performs a legitimacy check based on the text and the associated code to determine whether the association between the legitimacy check text and the electronic seal is correct.
[0063] Preferably, N is at least 3.
[0064] Specifically, the first user is a provider of the credit text; and the third user is a recipient of the credit text.
[0065] Specifically, for scenario one or scenario two in embodiment one. When user 1 uses the authorized text, specifically, in the first scenario, user 1 uses the contract text loaded with a QR code returned by the cloud server, and in the second scenario, user 1 receives N QR codes and N corresponding QR code indication information returned by the cloud server, and loads the N QR code information on a certain contract text according to the N QR code indication information, and uses the contract text loaded with the QR code. The use may be to send the contract text loaded with the QR code to user 3, for example, to claim a certain right. In order to protect its own interests from being damaged, user 3 needs to confirm the consistency of the contract text loaded with the QR code. Specifically, the consistency includes authenticity and accuracy. Authenticity means that the contract text and the QR code representing the authorization are real and not forged; the accuracy specifies that the correspondence between the contract text and the QR code is legal and valid, and there is no misidentification.
[0066] According to the second embodiment of the present invention, after user 3 sees the stamped contract, he can verify whether the contract is forged through the cloud server based on the QR code on the official seal. Specifically, user 3 sends the text information loaded with the QR code to the cloud server, and the cloud server extracts the N QR code information and the N QR code position information, generates N associated verification subcodes based on the N QR code information, and generates N index bits based on the N two-dimensional page numbers and coordinates. The N index bits represent the order of the N associated verification subcodes, and according to the N index bits, the N associated verification subcodes are sequentially merged into one associated verification code. Then, the consistency of the contract text is verified based on the associated verification code and the contract text information.
[0067] Preferably, the cloud server can provide verification of the consistency between the contract text content and the official seal usage code, and the verification methods include: website, email, mini program, and app automatic verification. That is, user 3 can access the cloud server through website access, email access, mini program access, app automatic verification, etc. to obtain the consistency verification service provided by the cloud server.
[0068] Preferably, after seeing the printed contract, the user 3 can verify the authenticity of the contract and the accuracy of the original text of the contract with the server according to the contract validity code. The printed contract is the authorized text loaded with a QR code. Specifically, the cloud server uses a specific algorithm to generate a contract validity code that uniquely corresponds to the contract text according to the contract text and the credit information. User 3 can verify the authenticity of the contract by only providing the contract validity code to the cloud server; for the situation in scenario 2 where user 1 affixes an electronic seal by himself, user 1 can use the same algorithm as the cloud server to generate the contract validity code.
[0069] Embodiment 3
[0070] Another embodiment of the present invention further provides a text credit system, such as Figure 3 The text credit system includes a first user terminal, a second user terminal and a third-party server;
[0071] Wherein, the first user terminal is used by the first user to submit an approval request containing text to the third-party server;
[0072] The third-party server is used to identify the text and forward the text approval request to the second user;
[0073] The second user terminal is used for the second user to generate an approval response in response to the text approval request; the second user terminal also sends the approval response carrying the second user key information to the third-party server;
[0074] The third-party server is further used to identify the key information of the second user, and determine whether the second user has the credit authority according to the key information of the second user and the text, and generate an electronic seal usage code according to the credit authority. The third-party server generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code and sends them to the first user terminal;
[0075] The first user terminal is also used for the first user to use the QR code according to the QR code indication information.
[0076] Embodiment 4
[0077] This embodiment also provides a credit text verification system, such as Figure 4 As shown. The credit text verification system includes a first user terminal, a third user terminal and a third-party server; the first user terminal is connected to the third user terminal through the third-party server. The third-party server can be an internal server of an enterprise, or a server maintained by a third party providing verification services. Preferably, the server is a cloud service, and the first user terminal and the third user terminal are connected to the third-party server through a wireless and / or wired network such as a cellular network, the Internet, a local area network, a wide area network, etc.
[0078] The third user terminal is used for the third user to receive the text loaded with the electronic seal sent by the second user terminal; the third user terminal sends the text to the third-party server;
[0079] The third-party server is used to read the text, extract N two-dimensional codes and N two-dimensional code indication information on the text, convert the N two-dimensional codes into N associated verification subcodes, and synthesize the N associated verification subcodes into an associated verification code according to the N two-dimensional code indication information; the third-party server is also used to perform a legitimacy check on the associated verification code; when the legitimacy check passes, it indicates to the third user terminal that the text is correctly associated with the electronic seal.
[0080] Embodiment 5
[0081] Another embodiment of the present invention further provides a text credit system, which includes a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, it implements the text credit method as described above.
[0082] Another embodiment of the present invention further provides a credit text verification system, which includes a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, it implements the credit text verification method as described above.
[0083] Another embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that can be run on a processor, and the computer program implements the above-mentioned method when executed.
[0084] Any combination of one or more computer-readable media can be used. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. Computer-readable storage media can include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), a flash memory, an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by an instruction execution system, device or device or used in combination with it.
[0085] Computer program code for carrying out operations of the present invention may be written in one or more programming languages, or a combination of these.
[0086] The above description is only an example for facilitating understanding of the present invention and is not intended to limit the scope of the present invention. In specific implementation, those skilled in the art may change, increase, or reduce the components of the device according to actual conditions, and may change, increase, reduce, or change the order of the steps of the method according to actual conditions without affecting the functions implemented by the method.
[0087] Although the embodiments of the present invention have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and purpose of the present invention. The scope of the present invention is defined by the claims and their equivalents. Improvements made without creative work should be included in the scope of protection of the present invention.
Claims
1. A text credit granting method, characterized in that: The method comprises: a first user submits a text approval request to a third-party server; the third-party server identifies the text and forwards the text approval request to a second user; in response to the text approval request, the second user generates an approval approval response; the second user sends the approval approval response carrying the second user's key information to the third-party server, the third-party server identifies the second user's key information, and determines whether the second user has the credit authority according to the second user's key information and the type of the text, generates an electronic seal usage code according to the credit authority, generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code, and loads the two-dimensional code onto the text according to the two-dimensional code indication information; the third-party server stores the text loaded with the two-dimensional code, and sends the text loaded with the two-dimensional code to the first user; The third-party server generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code in the following specific steps: the third-party server generates an associated verification code from the text and the electronic seal usage code using an encryption algorithm, and randomly divides the associated verification code into N associated verification sub-codes, and generates N two-dimensional codes and N two-dimensional code indication information corresponding to the N associated verification sub-codes; The N two-dimensional code indication information correspondingly indicates the loading positions of the N two-dimensional codes on the text; The N two-dimensional code indication information indicates the position points of the N two-dimensional codes on the text, and the position points are randomly specified according to the pre-stored text position points; The pre-stored text position points include page numbers and coordinates of the center point of the two-dimensional code.
2. The text credit granting method according to claim 1, characterized in that: The N is generated by a random number generator and is at least 3.
3. A credit text verification method, characterized in that: The method comprises: a third user receives a text loaded with an electronic seal sent by a second user; the third user sends a text verification request to a third-party server, the text verification request including the text loaded with the electronic seal; the third-party server reads the text and extracts N two-dimensional codes and N two-dimensional code position information on the text; the third-party server converts the N two-dimensional codes into N associated verification subcodes; the third-party server synthesizes the N associated verification subcodes into an associated verification code according to the N two-dimensional code position information; the third-party server performs a legality check on the associated verification code; when the legality check passes, the third-party server sends a text verification response to the third user, indicating that the text is correctly associated with the electronic seal; The third-party server combines the N associated verification subcodes into one associated verification code according to the N two-dimensional code position information: The third-party server extracts the N QR code information and the N QR code position information, generates N associated verification subcodes according to the N QR code information, and generates N index bits according to the page numbers and coordinates of the N QR codes, wherein the N index bits represent the order of the N associated verification subcodes, and according to the N index bits, the N associated verification subcodes are sequentially merged into one associated verification code.
4. The credit text verification method according to claim 3, characterized in that: The third-party server performs a legitimacy check based on the text and the associated verification code, and the legitimacy check is used to check whether the association between the text and the electronic seal is correct.
5. The credit text verification method according to claim 3, characterized in that: The N is at least 3.
6. The credit text verification method according to claim 3, characterized in that: The second user is the electronic seal credit grantor; the third user is the credit text user.
7. A text credit system, characterized by: The text credit system uses the text credit method as claimed in claim 1 or 2; The text credit system includes a first user terminal, a second user terminal and a third-party server; Wherein, the first user terminal is used by the first user to submit an approval request containing text to the third-party server; The third-party server is used to identify the text and forward the text approval request to the second user; The second user terminal is used for the second user to generate an approval response in response to the text approval request; the second user terminal also sends the approval response carrying the second user key information to the third-party server; The third-party server is further used to identify the key information of the second user, and determine that the second user has the credit authority according to the key information of the second user and the text, and generate an electronic seal usage code according to the credit authority. The third-party server generates a two-dimensional code and two-dimensional code indication information from the electronic seal usage code, and loads the two-dimensional code onto the text according to the two-dimensional code indication information; the third-party server stores the text loaded with the two-dimensional code, and sends the text loaded with the two-dimensional code to the first user; The first user terminal is also used to receive and use the text loaded with the QR code.
8. A credit text verification system, characterized in that: The credit text verification system uses the credit text verification method as described in any one of claims 3 to 6; The credit text verification system includes a first user terminal, a third user terminal and a third-party server; The third user terminal is used for the third user to receive the text loaded with the electronic seal sent by the second user terminal; the third user terminal sends a text verification request to the third-party server, and the text verification request includes the text loaded with the electronic seal; The third-party server is used to read the text, extract N two-dimensional codes and N two-dimensional code indication information on the text, convert the N two-dimensional codes into N associated verification subcodes, and synthesize the N associated verification subcodes into an associated verification code according to the N two-dimensional code indication information; the third-party server is also used to perform a legitimacy check on the associated verification code; when the legitimacy check passes, a text verification response is sent to the third user, indicating that the text is correctly associated with the electronic seal.
9. A text credit system, characterized in that: The text credit system comprises a processor and a memory, wherein the memory stores a computer program executable on the processor, and the computer program implements the method according to claim 1 or 2 when executed by the processor.
10. A credit text verification system, characterized in that: The credit text verification system includes a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, it implements the method described in any one of claims 3-6.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program that can be run on a processor, and the computer program implements the method according to any one of claims 1 to 6 when executed.
