Modification mark adding method, device, computer equipment and storage medium

By obtaining credential modification instructions in the credential management system, determining the basic credentials and generating update credentials, the problem of inefficient search for modification differences among historical credentials is solved, and efficient difference search and tag addition is achieved.

CN114187088BActive Publication Date: 2025-02-18KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111394743.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2025-02-18
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

The prior art is inefficient when looking for modification differences between different historical credentials, and it is necessary to compare the contents of each historical credential one by one.

Method used

By obtaining the voucher modification instructions, determining the basic voucher and modifying it, and generating update vouchers. Then, determine the target credential copy associated with the update credential and add a modification mark at its specific location to indicate content differences.

Benefits of technology

Improve the efficiency of credential differences search, and users can directly identify the differences between different credential copies through special reminder flags without comparing them one by one.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114187088B_ABST
    Figure CN114187088B_ABST
Patent Text Reader

Abstract

The present application relates to a modification mark adding method, device, computer equipment and storage medium. The method comprises: obtaining a credential modification instruction, and determining the basic credential pointed to by the credential modification instruction; modifying the basic credential based on the credential modification instruction to obtain a modified updated credential; determining a target credential copy corresponding to the credential identifier of the updated credential; determining the content difference between the target credential copy and the updated credential; and adding a corresponding modification mark at the target location area of ​​the target credential copy according to the content difference. The present application can directly determine the difference between different credential copies associated with the basic credential based on a special reminder mark, thereby greatly improving the efficiency of finding differences in credential copies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for adding modification marks. Background Art

[0002] With the development of computer technology, importers can use computers to make multiple modifications to bank-issued vouchers and generate historical vouchers associated with the voucher each time the modification is made.

[0003] Currently, when a user needs to determine the modification differences between different historical credentials, the user can enter the credential identifier of the credential to be queried and the credential identifier of the historical credential associated with the credential to be queried in the credential management platform, and search for the credential to be queried and at least one historical credential associated with the credential to be queried through the input credential identifier. After that, the at least one historical credential found is repeatedly compared to determine the modification content between the historical credentials.

[0004] However, since the modification content differences between different historical vouchers are compared one by one, the efficiency of searching for historical voucher differences is low. Summary of the invention

[0005] Based on this, it is necessary to provide a modification mark adding method, device, computer equipment and storage medium that can improve the efficiency of credential difference searching in response to the above technical problems.

[0006] A method for adding a modification mark, the method comprising:

[0007] Obtaining a credential modification instruction and determining the basic credential to which the credential modification instruction points;

[0008] Modify the basic credential based on the credential modification instruction to obtain a modified updated credential;

[0009] determining a target credential copy corresponding to the credential identifier of the updated credential;

[0010] determining a content difference between the target credential copy and the updated credential;

[0011] According to the content difference, a corresponding modification mark is added at the target location area of ​​the target voucher copy.

[0012] In one of the embodiments, it also includes: displaying a certificate issuance processing interface, wherein the certificate issuance processing interface displays a voucher list; in response to a selection operation on the voucher list, determining a basic voucher selected by the selection operation; and in response to a trigger operation on the basic voucher, obtaining a voucher modification instruction.

[0013] In one of the embodiments, in response to the credential modification instruction, a credential modification processing interface is displayed; the credential modification processing interface displays the credential content of the basic credential; in response to the modification operation of the credential content, a modified credential to be reviewed is obtained; the credential to be reviewed is reviewed and processed, and when the review is passed, an updated credential corresponding to the basic credential is obtained.

[0014] In one of the embodiments, a credential copy corresponding to the updated credential is generated, and the credential copy of the updated credential is stored in a credential copy library; a key credential copy with a preset value keyword is screened out from the credential copy library; the keyword of the key credential copy is updated by the credential identifier of the updated credential, and the preset value is used as the keyword of the credential copy of the updated credential.

[0015] In one of the embodiments, a keyword corresponding to each credential copy in the credential copy library is determined; the keyword is matched with the credential identifier of the updated credential to obtain a target keyword that matches the credential identifier of the updated credential; and the credential copy having the target keyword is used as the target credential copy.

[0016] In one of the embodiments, first credential data of the updated credential is obtained; the updated credential includes at least one first data row, the first credential data includes a first row identifier corresponding to each of the first data rows, and a first data content of the first data row corresponding to the first row identifier; second credential data of the target credential copy is obtained; the target credential copy includes at least one second data row, the second credential data includes a second row identifier corresponding to each of the second data rows, and a second data content of the second data row corresponding to the second row identifier; for each first row identifier in the first credential data, it is determined whether there is a matching second row identifier that matches the current first row identifier in the second credential data; if so, the current first data content corresponding to the current first row identifier is determined, and the matching second data content corresponding to the matching second row identifier is determined; the content difference between the current first data content and the matching second data content is determined, and the content row difference corresponding to the current first row identifier is obtained; the content row differences corresponding to each of the first row identifiers are combined to obtain the content difference between the target credential copy and the updated credential.

[0017] In one of the embodiments, if it does not exist, the current first data content corresponding to the current first row identifier is used as the content row difference corresponding to the first row identifier.

[0018] In one of the embodiments, based on the content difference, a modification mark is determined in a location area of ​​the target credential copy; and a corresponding special reminder mark is added at the target location corresponding to the location area.

[0019] In one of the embodiments, in response to a trigger operation for the updated credential, a credential identifier of the updated credential is determined; based on the credential identifier, at least one credential copy associated with the updated credential is acquired and displayed; each of the credential copies includes a special reminder mark, and the special reminder mark in the current credential copy is used to indicate the content difference between the current credential copy and a matching credential copy that matches a keyword of the current credential copy.

[0020] A modification mark adding device, the device comprising:

[0021] The credential modification module is used to obtain a credential modification instruction and determine the basic credential pointed to by the credential modification instruction; modify the basic credential based on the credential modification instruction to obtain a modified updated credential;

[0022] a difference comparison module, configured to determine a target credential copy corresponding to the credential identifier of the updated credential; and determine a content difference between the target credential copy and the updated credential;

[0023] A difference display module is used to add a corresponding modification mark at the target location area of ​​the target credential copy according to the content difference.

[0024] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0025] Obtaining a credential modification instruction and determining the basic credential to which the credential modification instruction points;

[0026] Modify the basic credential based on the credential modification instruction to obtain a modified updated credential;

[0027] determining a target credential copy corresponding to the credential identifier of the updated credential;

[0028] determining a content difference between the target credential copy and the updated credential;

[0029] According to the content difference, a corresponding modification mark is added at the target location area of ​​the target voucher copy.

[0030] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0031] Obtaining a credential modification instruction and determining the basic credential to which the credential modification instruction points;

[0032] Modify the basic credential based on the credential modification instruction to obtain a modified updated credential;

[0033] determining a target credential copy corresponding to the credential identifier of the updated credential;

[0034] determining a content difference between the target credential copy and the updated credential;

[0035] According to the content difference, a corresponding modification mark is added at the target location area of ​​the target voucher copy.

[0036] The above modification mark adding method, device, computer equipment and storage medium can determine the basic credential pointed to by the credential modification instruction by obtaining the credential modification instruction, and modify the basic credential based on the credential modification instruction to obtain the modified updated credential; by determining the target credential copy corresponding to the credential identifier of the updated credential, the content difference between the target credential copy and the updated credential can be determined, so that the corresponding modification mark can be added at the target location area of ​​the target credential copy according to the content difference. Since the user can obtain at least one credential copy associated with the updated credential, each credential copy includes a special reminder mark, and the special reminder mark can be used to indicate the content difference between the current credential copy and the credential copy that matches the credential identifier of the current credential copy, therefore, compared with the traditional method that requires the user to compare the modified content differences between different credential copies one by one, the present application can directly determine the differences between different credential copies associated with the basic credential based on the special reminder mark, thereby greatly improving the efficiency of finding the differences in credential copies. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A diagram of an application environment for modifying a method for adding a mark in an embodiment;

[0038] Figure 2 A schematic diagram of a flow chart of a method for modifying a tag adding method in one embodiment;

[0039] Figure 3 A schematic diagram of a service selection interface in an embodiment;

[0040] Figure 4 A schematic diagram of a credential copy list interface in an embodiment;

[0041] Figure 5 A schematic diagram of a certificate issuance processing interface in one embodiment;

[0042] Figure 6 A schematic diagram of a certificate modification processing interface in an embodiment;

[0043] Figure 7 It is a structural block diagram of a modification mark adding device in one embodiment;

[0044] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] The modification mark adding method provided in this application can be applied to Figure 1 In the application environment shown, the application environment includes a terminal 102 and a server 104, wherein the terminal 102 can communicate with the server 104 through a network. The terminal 102 can display a certificate modification processing interface, and determine the modification of the certificate content of the basic certificate through the certificate modification processing interface, and send the modified certificate to be reviewed to the server 104. The server 104 is pre-installed with a certificate management system. After reviewing the certificate to be reviewed sent by the terminal 102, an updated certificate corresponding to the basic certificate and a target certificate copy corresponding to the certificate identifier of the updated certificate are generated. The server 104 can determine the content difference between the target certificate copy and the updated certificate, and send the content difference to the terminal 102, so that the terminal 102 adds a corresponding modification mark at the target location area of ​​the target certificate copy according to the received content difference. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones and tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0047] In one embodiment, Figure 2 As shown, a modification mark adding method is provided, which is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0048] Step 202, obtain a credential modification instruction, and determine the basic credential pointed to by the credential modification instruction.

[0049] The voucher is a document in which the importer relies on the bank to promise to pay the exporter. The voucher can be a letter of credit. Due to the complexity of the transaction business, the importer usually needs to submit voucher modification requests to the bank multiple times. Each time a voucher modification request is executed, a voucher copy associated with the modified voucher will be generated. The voucher content that needs to be modified usually includes basic information, voucher information, and contract information.

[0050] Specifically, a credential management client is running in the terminal, and the certificate issuance processing interface is displayed through the credential management client. The certificate issuance processing interface includes a credential list, and the credential management client can display the basic credential through the credential list. Among them, the basic credential refers to the latest version of the credential after the original credential is modified. When the basic credential is modified, the credential management client can generate a credential copy associated with the modified credential. For example, assuming that the latest version of the credential corresponding to the original credential A is credential B, that is, assuming that credential B is the basic credential, when credential B is modified to credential C, the credential management client can generate a credential copy of credential C and update the basic credential from credential B to credential C.

[0051] The terminal can respond to the basic certificate selection operation performed by the user in the certificate issuance processing interface. Usually, the user cannot modify multiple basic certificates at the same time. Therefore, the user can select the basic certificates in the certificate list one by one. The terminal obtains the certificate modification instruction corresponding to the basic certificate based on the basic certificate selected by the user.

[0052] Step 204, modify the basic credential based on the credential modification instruction to obtain a modified updated credential.

[0053] Specifically, after obtaining the certificate modification instruction for the basic certificate, the terminal can display the certificate modification processing interface so that the user can modify the basic certificate through the certificate modification processing interface to obtain the modified updated certificate. For example, in the above example, when certificate B is modified to certificate C, certificate C is the updated certificate corresponding to certificate B.

[0054] like Figure 3 As shown, Figure 3 This is a schematic diagram of a terminal's service selection interface. Before the terminal obtains a credential modification instruction for a basic credential, it is necessary to select a basic credential modification service. The service selection interface includes a service selection control. In response to a trigger operation on the service selection control, the instruction type of the credential modification instruction corresponding to the trigger operation can be determined. For example, refer to Figure 3 , the business selection control includes a "yes" control and a "no" control. When the user clicks the "yes" control, the instruction type of the voucher modification instruction can be determined to be the first type. At this time, the terminal displays the modification processing interface corresponding to the basic voucher, and reviews the modified basic voucher. When the review is passed, the modified basic voucher is used as the updated voucher. When the "no" control is clicked, the instruction type of the voucher modification instruction is determined to be the second type. At this time, the terminal displays the modification processing interface corresponding to the basic voucher, and directly uses the modified basic voucher as the updated voucher.

[0055] In one embodiment, after obtaining the credential modification instruction of the basic credential, the terminal displays the credential modification processing interface. After the user modifies the basic credential in the credential modification processing interface of the terminal, the terminal sends an update request for the modified basic credential to the server. The server responds to the update request sent by the terminal, and determines whether the modified basic credential meets the update condition based on the credential management system, generates a corresponding update credential for the basic credential that meets the update condition and sends it to the terminal.

[0056] In one embodiment, after the basic credential is modified based on the credential modification instruction to obtain the modified updated credential, it also includes: generating a credential copy corresponding to the updated credential, and storing the credential copy of the updated credential in a credential copy library; filtering out a key credential copy with a preset value keyword from the credential copy library; updating the keyword of the key credential copy by using the credential identifier of the updated credential, and using the preset value as the keyword of the credential copy of the updated credential.

[0057] Specifically, when the user modifies the credential content of the basic credential at the terminal, the terminal can generate at least one of a credential copy corresponding to the basic credential, an updated credential, and a credential copy corresponding to the updated credential, and store the credential copy of the updated credential in the credential copy library. The terminal selects the credential copy with the preset value keyword from the credential copy library, and uses the credential copy with the preset value keyword as the key credential copy.

[0058] When the key credential copy is obtained, the terminal may update the keyword of the key credential copy to the credential identifier of the updated credential, and then set the keyword of the credential copy of the updated credential to a preset value.

[0059] For example, when the original voucher A is modified for the first time, the terminal may use the original voucher A as the basic voucher, and generate an updated voucher B corresponding to the basic voucher A, as well as a voucher copy 1 corresponding to the basic voucher A and a voucher copy 2 corresponding to the updated voucher B. The terminal stores the voucher copy 1 and the voucher copy 2 in the voucher copy library, and determines that the key voucher copy with the preset value keyword in the voucher copy library is the voucher copy 1. At this time, the keyword of the voucher copy 1 is set to "ID=0", where 0 is the preset value. Further, when the voucher identifier of the basic voucher A is "ID=1" and the voucher identifier of the updated voucher B is "ID=2", the keyword of the voucher copy 1 is changed from "ID=0" to "ID=2". At the same time, the terminal sets the keyword of the voucher copy 2 to "ID=0".

[0060] When modifying the voucher B, the terminal may use the voucher B as the basic voucher, and generate an updated voucher C corresponding to the basic voucher B, and generate a voucher copy 3 corresponding to the updated voucher C. The terminal stores the voucher copy 3 in the voucher copy library, and determines that the key voucher copy with the preset value keyword in the voucher copy library is the voucher copy 2. Further, when the voucher identifier of the updated voucher C is "ID=3", the keyword of the voucher copy 2 is changed from "ID=0" to "ID=3". At the same time, the terminal sets the keyword of the voucher copy 3 to "ID=0".

[0061] In this embodiment, by screening the credential copies stored in the credential copy library to obtain the key credential copy, and updating the screened key credential copy based on the credential identifier of the updated credential, and using the preset value as the keyword of the credential copy of the updated credential, the effect of associating the updated credential with the key credential copy can be achieved.

[0062] Step 206, determining the target credential copy corresponding to the credential identifier of the updated credential.

[0063] Specifically, since a credential copy is generated each time a modification is made, multiple credential copies can be generated after multiple modifications. When the basic credential is modified based on the credential modification instruction to obtain the modified updated credential, the terminal can obtain the keywords corresponding to the multiple credential copies, and match the keywords with the credential identifier of the updated credential, and use the credential copy corresponding to the successfully matched keyword as the target credential copy of the updated credential. The match is successful when the keyword of the credential copy is the same as the credential identifier of the updated credential. For example, in the above example, after credential B is modified, an updated credential C corresponding to the basic credential B is generated. At this time, the credential identifier of the updated credential C is "ID=3", and the keyword of the credential copy 2 corresponding to the updated credential B is "ID=3", so it can be considered that the credential copy 2 and the updated credential C are successfully matched.

[0064] Step 208, determining the content difference between the target credential copy and the updated credential.

[0065] Specifically, the credential content of the update credential and the credential content of the target credential copy are determined, and the credential content of the update credential is compared with the credential content of the target credential copy to obtain the content difference between the target credential copy and the update credential.

[0066] Step 210, adding a corresponding modification mark at the target location area of ​​the target credential copy according to the content difference.

[0067] Specifically, when the content difference between the target credential copy and the updated credential is obtained, the terminal can generate a corresponding special reminder mark based on the content difference, determine the target position corresponding to the content difference, and add the special reminder mark at the target position of the target credential copy.

[0068] In one embodiment, in response to a trigger operation for updating a credential, a credential identifier of the updated credential is determined; based on the credential identifier, at least one credential copy associated with the updated credential is acquired and displayed; each credential copy includes a special reminder mark, and the special reminder mark in the current credential copy is used to indicate the content difference between the current credential copy and a matching credential copy that matches a keyword of the current credential copy.

[0069] Specifically, Figure 4 The figure is a schematic diagram of the credential copy list interface of the terminal. The user selects the updated credential through the terminal, so that the terminal responds to the trigger operation for the updated credential, and searches for the credential copy associated with the updated credential according to the credential identifier of the updated credential, and displays the found credential copy in the credential copy list interface. Among them, the credential copy associated with the updated credential includes direct association and indirect association. For example, in the above example, when the updated credential is credential C, the credential copy 2 corresponding to credential B is directly associated with credential C, and the credential copy 1 corresponding to credential A is indirectly associated with credential C.

[0070] The terminal can display the credential copies associated with the updated credential through the credential copy list interface, so that the user can determine the current credential copy from the displayed multiple credential copies. The terminal determines the matching credential copy that matches the current credential copy and determines the content difference between the current credential copy and the matching credential copy. For example, refer to Figure 5 , when the user triggers the update voucher No. 001 in the voucher processing interface, a voucher copy associated with the update voucher No. 001 is formed. If the update voucher No. 001 has been modified twice at this time, two voucher copies will be displayed in the voucher copy list interface, and the user can view the two voucher copies. Among them, voucher copy 1 displays a special reminder mark formed after the first modification, and the special reminder mark is used to indicate the content difference between voucher copy 1 and voucher copy 2. Voucher copy 2 displays a special reminder mark formed after the second modification, and the special reminder mark is used to indicate the content difference between voucher copy 2 and voucher copy 3; voucher copy 3 in a hidden state is the voucher copy corresponding to the update voucher No. 001. When the update voucher No. 001 is modified for the third time, voucher copy 3 is used as the target voucher copy of the update voucher formed by the third modification.

[0071] In this embodiment, the user can obtain multiple credential copies associated with the updated credential, and each credential copy includes a special reminder mark, thereby greatly improving the efficiency of finding differences in credential copies.

[0072] In the above modification mark adding method, by obtaining the credential modification instruction, the basic credential pointed to by the credential modification instruction can be determined, and the basic credential can be modified based on the credential modification instruction to obtain the modified updated credential; by determining the target credential copy corresponding to the credential identifier of the updated credential, the content difference between the target credential copy and the updated credential can be determined, so that the corresponding modification mark can be added at the target location area of ​​the target credential copy according to the content difference. Since the user can obtain at least one credential copy associated with the updated credential, each credential copy includes a special reminder mark, and the special reminder mark can be used to indicate the content difference between the current credential copy and the credential copy that matches the credential identifier of the current credential copy, therefore, compared with the traditional method that requires the user to compare the modified content differences between different credential copies one by one, the present application can directly determine the differences between different credential copies associated with the basic credential based on the special reminder mark, thereby greatly improving the efficiency of finding the differences in credential copies.

[0073] In one embodiment, a voucher modification instruction is obtained, and the basic voucher to which the voucher modification instruction points is determined, including: displaying a voucher processing interface, the voucher processing interface displays a voucher list; in response to a selection operation on the voucher list, determining the basic voucher selected by the selection operation; in response to a trigger operation on the basic voucher, obtaining the voucher modification instruction.

[0074] Specifically, Figure 5 As shown, Figure 5 The diagram is a schematic diagram of the certificate processing interface of the terminal. The voucher list 502 in the certificate processing interface can display multiple basic vouchers, each of which contains information such as voucher number, document status, voucher status and registration date, wherein the voucher number is the voucher number in the transaction business corresponding to each basic voucher, that is, each voucher number corresponds to a basic voucher. The certificate processing interface also includes a certificate modification control. When the user selects a basic voucher in the voucher list and triggers the certificate modification control, the terminal can respond to the triggering operation of the certificate modification control and obtain a voucher modification instruction for the basic voucher selected by the user. For example, refer to Figure 5 , assuming that the user selects basic voucher No. 001 in the voucher list and clicks the change voucher control, the terminal can display the change voucher processing interface, so that the user can modify basic voucher No. 001 through the change voucher processing interface.

[0075] In one of the embodiments, the user can query the basic voucher in the voucher issuance processing interface based on the voucher number, and use the basic voucher obtained through the query as the modification object.

[0076] In one of the embodiments, the user can filter the basic credentials displayed in the credential list according to needs. For example, the user can set the filtering condition to "Registration date: within the past three months". At this time, the credential list only displays the basic credentials that meet the filtering condition.

[0077] In one of the embodiments, "the document status is reviewed" means that the document has been entered into the credential management system of the server, and the document is now a valid document; "the credential status is registered" means that the business has successfully entered the transaction process, and the terminal can respond to the triggering operation of the change credential control only when the document status and the credential status meet the conditions at the same time. Therefore, after the user selects the basic credential, the terminal can filter the basic credential in the credential list, and only when "the document status is reviewed" and "the credential status is registered" will the credential be used as the selected basic credential. Since the credential is used as the basic credential only when "the document status is reviewed" and "the credential status is registered", the security of the determined basic credential can be improved.

[0078] In this embodiment, by responding to the selection operation on the credential list, the user can obtain the basic credential that needs to be modified, and after the user triggers the certificate modification control, the terminal can obtain the modification instruction of the basic credential so that the user can modify the selected basic credential.

[0079] In one embodiment, a basic credential is modified based on a credential modification instruction to obtain a modified updated credential, including: displaying a credential modification processing interface in response to the credential modification instruction; the credential modification processing interface displays the credential content of the basic credential; obtaining a modified credential to be reviewed in response to the modification operation on the credential content; reviewing the credential to be reviewed, and obtaining an updated credential corresponding to the basic credential when the review is passed.

[0080] Specifically, Figure 6 The diagram is a diagram of the terminal's certificate modification interface. The certificate modification interface displays the certificate content of the basic certificate corresponding to the certificate modification instruction, where the certificate content is divided into basic information and contract information. The certificate modification interface can display a basic information area and a contract information area, where the basic information area can be used to display basic information, where the basic information includes basic information and certificate information, and the contract information area can be used to display contract information. Users can modify the basic certificate through the certificate modification interface. For example, refer to Figure 6 The basic information area 602 displays basic information and voucher information such as the beneficiary and the beneficiary address, and the contract information area 604 displays contract information such as the contract amount and order quantity. The user can modify the contents of the basic information area 602 and the contract information area 604 respectively.

[0081] When the modified basic credential is obtained, the terminal may send a pending review request for the modified basic credential to the server. The server responds to the pending review request issued by the terminal and determines whether the modified basic credential meets the preset review conditions. The modified basic credential that meets the review conditions is used as an updated credential and sent to the terminal.

[0082] In one embodiment, satisfying the review conditions means that the modification of the basic document needs to comply with the modification rules of the importer's relevant transaction business application and comply with the basic principles of the bank's acceptance of document modification requests.

[0083] In one embodiment, when the user modifies the content of the basic credential in the terminal, the terminal saves the modified basic credential. At this time, the credential status in the credential list is changed from the initial "registered" to the "changing" state, and the basic credential in the "changing" state cannot be modified by other operations. For example, refer to Figure 5 Assuming that the user has completed the modification operation of basic voucher No. 002, the voucher status is changed from "registered" to "modifying". At this time, basic voucher No. 002 is in the status of pending review and cannot be modified.

[0084] In one of the embodiments, the certificate opening processing interface also includes a certificate modification confirmation control. When the user modifies and saves the basic certificate in the certificate list, the terminal can respond to the trigger operation of the certificate modification confirmation control to obtain the updated certificate corresponding to the reviewed basic certificate.

[0085] In one embodiment, when the terminal obtains the updated certificate corresponding to the approved basic certificate, the certificate status in the certificate list is changed from "under certification" to "registered", that is, the basic certificate is successfully updated, wherein the updated certificate in the "registered" state can generate a certificate copy corresponding to the updated certificate. Figure 5 , assuming that after the user completes the modification operation of basic credential No. 001, the server audits the modified basic credential No. 001, and after the terminal responds to the trigger operation of the modification confirmation control based on the basic credential that has passed the audit, the credential status of basic credential No. 001 is converted from "being modified" to "registered", thereby obtaining the updated credential corresponding to basic credential No. 001. After obtaining the updated credential corresponding to basic credential No. 001, the updated credential is stored as credential No. 001, and the updated credential stored in credential No. 001 is used as the basic credential for the next modification.

[0086] In this embodiment, by associating the modification process of the basic credential with the credential status and using the updated credential after review as the basic credential for the next modification, the user can easily modify the basic credential and can clearly check the modification status of different basic credentials.

[0087] In one embodiment, determining a target credential copy corresponding to a credential identifier of an updated credential includes: determining a keyword corresponding to each credential copy in a credential copy library; matching the keyword with the credential identifier of the updated credential to obtain a target keyword that matches the credential identifier of the updated credential; and using the credential copy having the target keyword as the target credential copy.

[0088] Specifically, the credential copy library in the terminal stores at least one credential copy of the updated credential generated by the user at least once in the terminal. When each credential copy in the credential copy library is obtained, the terminal confirms the credential copy associated with the updated credential according to the credential identifier of the updated credential, and determines the keyword corresponding to each of the credential copies associated with the updated credential. The terminal uses the keyword that matches the credential identifier of the updated credential among the keywords corresponding to the credential copies as the target keyword, and uses the credential copy with the target keyword as the target credential copy.

[0089] For example, in the above example, when the terminal obtains the credential identification of the updated credential C as "ID=3", it determines the credential copy 1, credential copy 2, and credential copy 3 associated with the updated credential C. At this time, the keyword of credential copy 1 is "ID=2", the keyword of credential copy 2 is "ID=3", and the keyword of credential copy 3 is set to "ID=0". Among them, the keyword of credential copy 2 matches the credential identification of the updated credential C, so credential copy 2 is used as the target credential copy of the updated credential C.

[0090] In this embodiment, by establishing a correspondence between the update credential and the target credential copy, the content difference between the target credential copy and the update credential can be accurately queried later through the established correspondence.

[0091] In one embodiment, determining the content difference between the target credential copy and the updated credential includes: obtaining the first credential data of the updated credential; the updated credential includes at least one first data row, the first credential data includes a first row identifier corresponding to each first data row, and the first data content of the first data row corresponding to the first row identifier; obtaining the second credential data of the target credential copy; the target credential copy includes at least one second data row, the second credential data includes a second row identifier corresponding to each second data row, and the second data content of the second data row corresponding to the second row identifier; for each first row identifier in the first credential data, determining whether there is a matching second row identifier matching the current first row identifier in the second credential data; if so, determining the current first data content corresponding to the current first row identifier, and determining the matching second data content corresponding to the matching second row identifier; determining the content difference between the current first data content and the matching second data content, and obtaining the content row difference corresponding to the current first row identifier; and obtaining the content difference between the target credential copy and the updated credential by combining the content row differences corresponding to each first row identifier.

[0092] The first data content refers to the data content in the first data row, and the second data content refers to the data content in the second data row.

[0093] Specifically, the terminal can create a first key-value pair and a second key-value pair, wherein the key in the first key-value pair stores the first row identifier of the first credential data of the updated credential, and the value of the key stores the first data content of the first data row corresponding to the first row identifier; the key in the second key-value pair stores the second row identifier of the second credential data of the target credential copy, and the value of the key stores the second data content of the second data row corresponding to the second row identifier. When it is necessary to generate the first key-value pair and the second key-value pair, the terminal can determine the updated credential selected by the user in the credential list, and obtain the target credential copy associated with the updated credential, and the terminal generates the first key-value pair based on the first row identifier of the first data row of the updated credential and the first data content of the first data row. The terminal generates the second key-value pair based on the second row identifier of the second data row of the target credential copy and the second data content of the second data row. It is easy to understand that when the updated credential includes multiple first data rows, the terminal can generate the first key-value pair corresponding to each first data row, and when the target credential copy includes multiple second data rows, the terminal can generate the second key-value pair corresponding to each second data row.

[0094] For each first row identifier stored in the keyword in the first key-value pair, the terminal can match the current first identifier row with the keyword in each second key-value pair respectively to determine whether the second row identifier stored in the second key-value pair matches the current first row identifier, and use the matched row identifier as the matching second row identifier. The terminal obtains the current first data content corresponding to the current first row identifier from the first key-value pair, and obtains the matching second data content corresponding to the matching second identifier from the second key-value pair, and determines the content difference between the current first data content and the matching second data content to obtain the content row difference corresponding to the current first row identifier. By iterating in this way, the content row difference corresponding to each first row identifier can be obtained. Furthermore, the terminal combines the content row differences of the data content corresponding to each first row identifier to obtain the content difference between the target credential copy and the updated credential.

[0095] For example, refer to Figure 6 When the user modifies the beneficiary address information in the basic information area 602 and changes "Industrial Park Building 1" to "Industrial Park Building 2", the terminal will form an update certificate with the "Industrial Park Building 2" information and a target certificate copy with the "Industrial Park Building 1" information; for the first line identifier of "beneficiary address" in the update certificate, determine that there is a matching second line identifier matching the "beneficiary address" identifier in the target certificate copy; after determining that the first data content corresponding to the "beneficiary address" identifier is "Industrial Park Building 1", the terminal compares the difference between the matching second data content "Industrial Park Building 2" corresponding to the matching second line identifier, and obtains the content line difference corresponding to the first line identifier of "beneficiary address"; similarly, the terminal can compare the difference between the first data content corresponding to the first line identifier of "notification bank address" in the update certificate and the second data content corresponding to the second line identifier of "notification bank address" in the target certificate copy, and obtain the content line difference corresponding to the first line identifier of "notification bank address"; by combining the content line differences corresponding to each first line identifier, the content difference between the target certificate copy and the update certificate is obtained.

[0096] In this embodiment, by matching the voucher data row identifier of the updated voucher with the voucher data row identifier of the target voucher copy, and then performing a difference comparison on the data content corresponding to the matched row identifier after obtaining the matched row identifier, the efficiency of comparing the voucher data content differences can be improved.

[0097] In one embodiment, determining the content difference between the target credential copy and the updated credential further includes: if it does not exist, using the current first data content corresponding to the current first row identifier as the content row difference corresponding to the current first row identifier.

[0098] Specifically, for the current first row identifier stored in the keyword in the first key-value pair, when there is no second row identifier matching the current first row identifier in the second key-value pair, the terminal uses the current first data content corresponding to the current first row identifier as the content row difference corresponding to the current first row identifier. The terminal comprehensively updates the content row difference corresponding to each unmatched row identifier in the voucher to obtain the content difference between the target voucher copy and the updated voucher.

[0099] For example, refer to Figure 6 , when the user modifies the information in the contract information area 604 and adds "Contract No.: 002" and related information to the basic voucher, the terminal will form an updated voucher with "Contract No.: 001" and "Contract No.: 002" information. The terminal can determine that the target voucher copy corresponding to the updated voucher is the voucher copy with "Contract No.: 001" information; when the current first line identifier in the updated voucher is the line identifier of "Contract No.: 001", since "Contract No.: 001" exists in both the updated voucher and the target voucher copy, the terminal can determine that there is a matching second line identifier in the target voucher copy that matches the current first line identifier.

[0100] When the row identifier of the current first row in the voucher is "Contract Number: 002", since "Contract Number: 002" does not exist in the target voucher copy, the terminal can determine that there is no matching second row identifier in the target voucher copy that matches the current first row identifier. Therefore, "Contract Number: 002" is used as the content row difference corresponding to the current first row identifier.

[0101] In this embodiment, by matching the first row identifier of the update voucher with the second row identifier of the target voucher copy, after obtaining the unmatched row identifier, the data content corresponding to the unmatched row identifier is directly used as the content row difference between the update voucher and the target voucher copy, which can improve the comparison efficiency of the voucher data content difference.

[0102] In one embodiment, according to the content difference, a corresponding modification mark is added at the target location area of ​​the target credential copy, including: determining the modification mark at the location area of ​​the target credential copy according to the content difference; and adding a corresponding special reminder mark at the target location corresponding to the location area.

[0103] The location area can be the upper or lower part of the voucher data in the voucher content, where the mark can be displayed visually. The special reminder mark can be a highlight display of the content difference, red font, bold font, flashing font, etc. For example, in the above example, refer to Figure 6When the user changes "Industrial Park Building 1" in the basic information area 602 to "Industrial Park Building 2", the terminal will generate an update voucher with the information of "Industrial Park Building 2" and a target voucher copy with the information of "Industrial Park Building 1", and compare the content differences between the update voucher and the target voucher copy. According to the content difference, the terminal adds a "field modified" mark at the bottom of the data of "Industrial Park Building 1" in the target voucher copy. Similarly, after the user modifies the information in the contract information area 604, the terminal marks the area of ​​the data of "Contract No.: 002" in the target voucher copy with a shaded mark.

[0104] In this embodiment, by formulating different types of reminder signs, the user experience can be greatly improved.

[0105] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0106] In one embodiment, Figure 7 As shown, a modification mark adding device 700 is provided, comprising: a credential modification module 702, a difference comparison module 704 and a difference display module 706, wherein:

[0107] The credential modification module 702 is used to obtain a credential modification instruction and determine the basic credential pointed to by the credential modification instruction; modify the basic credential based on the credential modification instruction to obtain a modified updated credential;

[0108] The difference comparison module 704 is used to determine the target voucher copy corresponding to the voucher identifier of the updated voucher; determine the content difference between the target voucher copy and the updated voucher;

[0109] The difference display module 706 is used to add a corresponding modification mark at the target location area of ​​the target credential copy according to the content difference.

[0110] In one embodiment, the voucher modification module 702 is also used to display a voucher processing interface, which displays a voucher list; in response to a selection operation on the voucher list, determine the basic voucher selected by the selection operation; in response to a trigger operation on the basic voucher, obtain a voucher modification instruction

[0111] In one embodiment, the credential modification module 702 also includes an audit module 7021, which is used to display a credential modification processing interface in response to a credential modification instruction; the credential modification processing interface displays the credential content of the basic credential; in response to the modification operation of the credential content, a modified credential to be audited is obtained; the credential to be audited is audited, and when the audit is passed, an updated credential corresponding to the basic credential is obtained.

[0112] In one embodiment, the credential modification module 702 also includes an update module 7022, which is used to generate a credential copy corresponding to the updated credential, and store the credential copy of the updated credential in a credential copy library; filter out a key credential copy with a preset value keyword from the credential copy library; update the keyword of the key credential copy through the credential identifier of the updated credential, and use the preset value as the keyword of the credential copy of the updated credential.

[0113] In one embodiment, the difference comparison module 704 is also used to determine the keywords corresponding to each credential copy in the credential copy library; match the keywords with the credential identifier of the updated credential to obtain a target keyword that matches the credential identifier of the updated credential; and use the credential copy with the target keyword as the target credential copy.

[0114] In one embodiment, the difference comparison module 704 also includes a first comparison module 7041, which is used to obtain the first credential data of the updated credential; the updated credential includes at least one first data row, the first credential data includes a first row identifier corresponding to each first data row, and a first data content of the first data row corresponding to the first row identifier; obtain the second credential data of the target credential copy; the target credential copy includes at least one second data row, the second credential data includes a second row identifier corresponding to each second data row, and a second data content of the second data row corresponding to the second row identifier; for each first row identifier in the first credential data, determine whether there is a matching second row identifier matching the current first row identifier in the second credential data; if so, determine the current first data content corresponding to the current first row identifier, and determine the matching second data content corresponding to the matching second row identifier; determine the content difference between the current first data content and the matching second data content, and obtain the content row difference corresponding to the current first row identifier; and obtain the content difference between the target credential copy and the updated credential by combining the content row differences corresponding to each first row identifier.

[0115] In one embodiment, the difference comparison module 704 further includes a second comparison module 7042, which is used to determine, for each first row identifier in the first credential data, whether there is a matching second row identifier in the second credential data that matches the current first row identifier; if not, the current first data content corresponding to the current first row identifier is used as the content row difference corresponding to the first row identifier.

[0116] In one embodiment, the difference display module 706 is used to determine the location area of ​​the modification mark in the target credential copy according to the content difference; and add a corresponding special reminder mark at the target position corresponding to the location area.

[0117] In one embodiment, the difference display module 706 is also used to determine the credential identifier of the updated credential in response to a trigger operation for updating the credential; based on the credential identifier, obtain and display at least one credential copy associated with the updated credential; each credential copy includes a special reminder mark, and the special reminder mark in the current credential copy is used to indicate the content difference between the current credential copy and the matching credential copy that matches the keyword of the current credential copy.

[0118] For the specific definition of the modification mark adding device, please refer to the definition of the modification mark adding method above, which will not be repeated here. Each module in the above-mentioned modification mark adding device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0119] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store modification mark data of the credential. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a modification mark adding method is implemented.

[0120] Those skilled in the art will understand that Figure 8The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0121] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0122] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0123] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0124] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0125] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0126] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for adding a modification mark, characterized in that: The method comprises: Obtaining a credential modification instruction and determining the basic credential to which the credential modification instruction points; Modifying the basic voucher based on the voucher modification instruction to obtain a modified updated voucher includes: displaying a voucher modification processing interface in response to the voucher modification instruction; displaying the voucher content of the basic voucher on the voucher modification processing interface; obtaining a modified voucher to be reviewed in response to the modification operation on the voucher content; reviewing the voucher to be reviewed, and obtaining an updated voucher corresponding to the basic voucher when the review is passed; determining a target credential copy corresponding to the credential identifier of the updated credential; Determining the content difference between the target credential copy and the updated credential includes: obtaining first credential data of the updated credential; the updated credential includes at least one first data row, the first credential data includes a first row identifier corresponding to each first data row, and a first data content of the first data row corresponding to the first row identifier; obtaining second credential data of the target credential copy; the target credential copy includes at least one second data row, the second credential data includes a second row identifier corresponding to each second data row, and a second data content of the second data row corresponding to the second row identifier; for each first row identifier in the first credential data, determining whether there is a matching second row identifier matching the current first row identifier in the second credential data; if so, determining the current first data content corresponding to the current first row identifier, and determining the matching second data content corresponding to the matching second row identifier; determining the content difference between the current first data content and the matching second data content, and obtaining the content row difference corresponding to the current first row identifier; combining the content row differences corresponding to each of the first row identifiers, obtaining the content difference between the target credential copy and the updated credential; According to the content difference, a corresponding modification mark is added at the target location area of ​​the target voucher copy.

2. The method according to claim 1, characterized in that The obtaining of the credential modification instruction and determining the basic credential pointed to by the credential modification instruction includes: Displaying a certificate issuance processing interface, wherein the certificate issuance processing interface displays a voucher list; In response to a selection operation on the credential list, determining a basic credential selected by the selection operation; In response to a trigger operation on the basic credential, a credential modification instruction is obtained.

3. The method according to claim 1, characterized in that After the basic credential is modified based on the credential modification instruction to obtain the modified updated credential, the method further includes: Generating a credential copy corresponding to the updated credential, and storing the credential copy of the updated credential in a credential copy library; Filtering out key voucher copies having preset value keywords from the voucher copy library; The keyword of the key credential copy is updated by the credential identifier of the updated credential, and the preset value is used as the keyword of the credential copy of the updated credential.

4. The method according to claim 3, characterized in that The determining of a target credential copy corresponding to the credential identifier of the updated credential includes: Determine the keyword corresponding to each credential copy in the credential copy library; Matching the keyword with the credential identifier of the update credential to obtain a target keyword that matches the credential identifier of the update credential; The credential copy having the target keyword is used as the target credential copy.

5. The method according to claim 1, characterized in that The method further comprises: If it does not exist, the current first data content corresponding to the current first row identifier is used as the content row difference corresponding to the current first row identifier.

6. The method according to claim 1, characterized in that The adding a corresponding modification mark at the target location area of ​​the target credential copy according to the content difference includes: Determine, based on the content difference, a location area where a modification mark is placed on the target voucher copy; At the target location corresponding to the location area, a corresponding special reminder mark is added.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a triggering operation for the update credential, determining a credential identifier of the update credential; According to the credential identifier, at least one credential copy associated with the updated credential is obtained and displayed; each of the credential copies includes a special reminder mark, and the special reminder mark in the current credential copy is used to indicate the content difference between the current credential copy and the matching credential copy that matches the keyword of the current credential copy.

8. A modification mark adding device, characterized in that: The device comprises: The credential modification module is used to obtain a credential modification instruction and determine the basic credential pointed to by the credential modification instruction; in response to the credential modification instruction, display a credential modification processing interface; the credential modification processing interface displays the credential content of the basic credential; in response to the modification operation of the credential content, obtain a modified credential to be reviewed; review the credential to be reviewed, and when the review is passed, obtain an updated credential corresponding to the basic credential; a difference comparison module, used to determine a target credential copy corresponding to the credential identifier of the updated credential; obtain first credential data of the updated credential; the updated credential includes at least one first data row, the first credential data includes a first row identifier corresponding to each first data row, and a first data content of the first data row corresponding to the first row identifier; obtain second credential data of the target credential copy; the target credential copy includes at least one second data row, the second credential data includes a second row identifier corresponding to each second data row, and a second data content of the second data row corresponding to the second row identifier; for each first row identifier in the first credential data, determine whether there is a matching second row identifier matching the current first row identifier in the second credential data; if so, determine the current first data content corresponding to the current first row identifier, and determine the matching second data content corresponding to the matching second row identifier; determine the content difference between the current first data content and the matching second data content, and obtain the content row difference corresponding to the current first row identifier; and obtain the content difference between the target credential copy and the updated credential by combining the content row differences corresponding to each of the first row identifiers; A difference display module is used to add a corresponding modification mark at the target location area of ​​the target credential copy according to the content difference.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Virtual certificate updating method and device, computer equipment and readable storage medium

    CN111626768A

  • Data updating method and device, computer equipment and storage medium

    CN111984659A