Signing mode between point-to-point service provider and supplier

Through SM9 algorithm encryption and matrix computing technology, the problems of complex and low efficiency of electronic signature operations are solved, and the secure transmission and storage of electronic contracts are realized, the validity and security of the contract are ensured, and the service providers and suppliers are met. efficient contract management requirements.

CN119026147APending Publication Date: 2024-11-26JIANGSU WAFA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410467998.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing technology has complicated operation of electronic seals in paperless offices, and it is impossible to stamp multiple seals at once, and it is impossible to manually operate non-standard templates, resulting in low stamping efficiency and inability to meet the efficiency and safety requirements of contract management. .

Method used

The SM9 algorithm is used to encrypt the electronic contract, and the matrix calculation and random response mechanism are used to realize the secure transmission and storage of the electronic contract, ensuring that only the receiver can decrypt it, and the confidential storage is combined with UKEY and signature verification server to provide a portable storage medium. .

Benefits of technology

It ensures the effectiveness of electronic contracts and the security of transmission and storage, improves the efficiency and security of electronic signatures, and meets the efficient contract management needs between point-to-point service providers and suppliers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026147A_ABST
    Figure CN119026147A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of end-to-end training, and relates to a signing mode between a point-to-point service provider and a supplier. Comprising the following steps: S1, signing an electronic contract, S2, encrypting the electronic contract, encrypting the whole file of the electronic contract by using an SM9 algorithm, and ensuring unified management of encrypted distribution keys and security during point-to-point transmission by using SM9 characteristics; s3, structured data for transmitting XML and JSON are signed and encrypted, other structured data need to be transmitted along with electronic contract transmission, identity validity and data non-tampering are ensured through a signature means, and encryption ensures that only a receiver can decrypt and see specific content; and S4, secure storage: the two parties receive the information and then store the information in a system in a secret state, and the information can be opened only through a UKEY, an encryption machine and a signature verification server. The beneficial effect is that the effectiveness of the electronic contract and the security of transmission and storage of the contract are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of end-to-end training, and in particular relates to a signing method between a point-to-point service provider and a supplier. Background Art

[0002] As a tool for identification or signing on behalf of individuals and units, seals still play an important role in today's society. In work, the signatures of various documents cannot be separated from seals, and because seals are accompanied by legal effects, the use of seals is of great significance to the interests of individuals or groups.

[0003] In today's society, paperless office is a necessary means to improve efficiency and reduce costs. Due to habit, even in a paperless office system, people are still accustomed to using electronic signatures as a means to define the legal effect of documents. Therefore, operators are required to electronically stamp on computer web pages.

[0004] The stamping method in the national secret electronic signature is complicated to operate, and it is impossible to stamp multiple seals in an electronic document at one time, which greatly reduces the stamping efficiency. In particular, it is impossible to add a designated seal to all the locations where stamps are required, so it cannot meet people's needs.

[0005] The existing methods of stamping electronic signatures on electronic documents mostly preset multiple signature templates, specify the signature position of each template, and then the stamping program obtains the signature position by identifying which signature template the document to be signed corresponds to. This method has great limitations and requires staff to do a lot of setup work in advance. In addition, manual operation cannot be implemented for non-standard templates.

[0006] On the other hand, contract management between telecom service providers and a large number of service providers is a complicated task. Whether it is possible to efficiently manage and ensure the validity and security of contracts is a technical challenge in this field. Summary of the invention

[0007] The purpose of the present invention is to overcome the shortcomings of the prior art in order to ensure the validity of electronic contracts and the security of transmission and storage of contracts.

[0008] To achieve the above object, the technical solution adopted by the present invention is:

[0009] A signing method between a peer-to-peer service provider and a supplier, comprising the following steps:

[0010] S1. Electronic contract signature

[0011] S2. Encryption of electronic contracts

[0012] Use the SM9 algorithm to encrypt the entire electronic contract file. The SM9 feature ensures both the unified management of encryption distribution keys and the security of point-to-point transmission.

[0013] S3, signing and encrypting structured data transmitted in XML and JSON

[0014] Along with the transmission of electronic contracts, other structured data also needs to be transmitted together. The validity of the identity and the immutability of the data are guaranteed by means of signatures, and encryption ensures that only the recipient can decrypt and see the specific content.

[0015] S4, secure storage

[0016] After receiving the information, both parties store it in a secret state in the system, which can only be opened through UKEY, encryption machine and signature verification server. At the same time, portable storage media is provided for customers to store and obtain data conveniently.

[0017] Preferably, the step S1 is implemented according to the following steps:

[0018] S11. Document multi-terminal display

[0019] S111, generate corresponding equipment factors E1.E2.E3...En, where n is a natural number;

[0020] S112, generating a corresponding IM(S) of the PDF through an encrypted channel;

[0021] S113, wait for the IM to be generated and transmit the corresponding IM to the transfer service IMService (En)

[0022] S114, WEB and device terminals obtain IMService interface GetService.getIM(En) through monitoring Lis;

[0023] S115, each terminal item synchronously displays the corresponding IM (S, En)

[0024] S12. Utilize the matrix to optimize the transmission efficiency and synchronously record its distribution.

[0025] S121. It is necessary to calculate the conversion factor H through the time factor TI, the seal type factor LY, the PDF storage factor IM(S,En), the component factor ABXY, and the matrix factor Z;

[0026] S122. The initiating device STer converts the target type into a multi-point matrix.

[0027] S123, adding a variable Xn to the matrix, wherein Xn is selected from the time factor TI, the data, location, and person to be recorded;

[0028] ZT=(Z(1,Y),TI...Xn

[0029] Z(2,Y),TI...Xn)

[0030] S124, PDF storage factor IM(S,En), page size PG, rotation TO, width WT, height HI;

[0031] IM=IM(S,En),

[0032] (PG TO

[0033] WT H

[0034] ).

[0035] S125, coordinate factors corresponding to the lower left and upper right points of Z;

[0036] G(0,1)

[0037] =(

[0038] AB

[0039] XY )

[0041] S126, calculate the conversion factor H = (ZT IM G (0,1))

[0042] S13. Perform two-dimensional transmission.

[0043] S14, combined with matrix storage, two-dimensional transmission and random response mechanism. To calculate the same screen display waiting time, consumption time, minimum queuing time, preparation time, transmission time. To ensure high performance and optimal generation of PDF and IM(S) display process between each terminal device and WEB

[0044] Furthermore, as described in step S112, S is divided into multiple categories, including at least one of data PDF, doc, and pictures.

[0045] Furthermore, the step S122 includes the following steps:

[0046] S1221, need to record the seal image to generate gradient points

[0047] Z(1,LY)=( 0 1

[0049] 1N)

[0050] 1×N,

[0051] S1221, Handwriting track type

[0052] First, the corresponding handwriting trajectory is obtained through the Bezier curve. Generate according to B(t)=P0+(P1-P0)t

[0053] Z(2,LY)= (0 1

[0055] 1B(t)

[0056] )1*B(t).

[0057] Furthermore, the step S13 includes the following steps:

[0058] S131. Calculate the transmission factor

[0059] Through the function (H TB AX BY) H—conversion factor; TB transmission variable factor, such as waiting time; AY length; BX width; H>TB, (AY, BX) must be the smallest difference after multiplication.

[0060] S132, the server receives the data and asynchronously transmits the corresponding data to the electronic signature service for signature SIGN. After generating, the server transmits the corresponding (H TB AY BX) to the transfer service IMService.

[0061] S133. Generate the corresponding random number En*RA according to (H TB AB). Obtain the IMService interface GetService.get (H TB AY BX) by broadcasting each device listening to Lis.

[0062] S134. The device randomly searches for RA according to device En and generates a response.

[0063] Furthermore, the step S14 includes the following steps:

[0064] S141, adaptive calculation. From the model (H TB AY BX), the lower request span qmin and the highest request span qmax are selected. The lowest qmin possibility is guaranteed to be the highest. Then the reduction model (H TB AY BX) affects the possibility of selection. The necessary condition is: qmin>0

[0065] S142, setting basic adaptation value: Fn receiving device RTer analysis

[0066] S1421, common probability (E1E2E3...) = *En / Fn = Cn

[0067] Make the lower fitness value have higher selectivity, then (0,1) random variable generates B(0,1). If it is lower than CnMIN1, then E1E3E2.., if it is lower than CnM1N2, then E2E1E3.. and so on.

[0068] S1422, matrix cross calculation. In the same parent matrix, such as ZT, it generates binary length M values ​​downward

[0069] Sub-item 1: Z(1,LY) Sub-item 2: Z(2,LY)

[0070] Parent 1H1, ZT(1, Y) Parent 2H2, ZT(2, Y)

[0071] For the child item Z1, all the binary values ​​of H1 are recorded as 1. Other parent items are recorded as 0. And so on.

[0072] If parent item 1 is saved as another parent item 2 due to the XN factor, it is inserted at the position of child item 2. And so on.

[0073] S1423, select one of the parent items, and randomly generate a new order in the parent item by using two conversion factors.

[0074] S143, copy selection. By copying the probabilities of Z(1,LY) and Z(2,LY), the corresponding model is selected to calculate the fitness value of the same type of request span

[0075] Q. Then we can get Q(TB)->G(0,1)->IM(S) in sequence.

[0076] S144. The receiving device RTer analyzes the data and performs synchronous restoration and refresh on IM(S).

[0077] Compared with the prior art, the present invention has the following beneficial effects:

[0078] The validity of electronic contracts and the security of transmission and storage of contracts are guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 Logic diagram of the present invention. DETAILED DESCRIPTION

[0080] The specific implementation modes of the present invention are further described below in conjunction with examples. The following examples are only used to more clearly illustrate the technical embodiments of the present invention and are not intended to limit the protection scope of the present invention.

[0081] The materials used in the embodiments of the present invention are as follows:

[0082] Example 1

[0083] A signing method between a peer-to-peer service provider and a supplier, comprising the following steps:

[0084] S1. Raw text analysis and extraction

[0085] The text input is segmented by words, and each character is judged through a bidirectional recurrent neural network to extract the specific location information text and administrative division description text;

[0086] S2. Infer and predict the use of external data for zoning

[0087] The external administrative division description information extracted by the analysis in step S1 is vectorized as the memory module of Memory-net, and the administrative division description extracted from the text is comprehensively inferred and converted into administrative division classification to obtain the complete administrative division result corresponding to the original text;

[0088] S3. Merge the administrative division results with the specific address information

[0089] The complete administrative division result obtained in step S2 and the specific location information analyzed and divided from the original text in step S1 are combined to obtain the result output of the entire model, which is the final complete address hierarchical structured information.

[0090] In this embodiment, the signing method between the point-to-point service provider and the supplier also includes S4, an offline training step, and the S4 step includes

[0091] S41. Obtaining the original text model structured results

[0092] Enter the address description text, and follow the same steps as above to complete the text structure to get the final result, and get a complete prediction result of the current model;

[0093] S41. Calculate the loss

[0094] Calculate the loss for the results obtained in the previous step and the pre-labeled data: calculate the classification loss for the administrative division results, calculate the text similarity loss for the specific location information text, and weight the two losses to obtain the comprehensive loss of the entire model.

[0095] S41, iterative optimization and update

[0096] Use the loss to calculate the optimization gradient of the parameters in the model, iterate the gradient descent to update the entire parsing model to achieve end-to-end training, and optimize the error of each step. A signing method between a point-to-point service provider and a supplier includes the following steps:

[0097] S1. Electronic contract signature

[0098] S2. Encryption of electronic contracts

[0099] Use the SM9 algorithm to encrypt the entire electronic contract file. The SM9 feature ensures both the unified management of encryption distribution keys and the security of point-to-point transmission.

[0100] S3, signing and encrypting structured data transmitted in XML and JSON

[0101] Along with the transmission of electronic contracts, other structured data also needs to be transmitted together. The validity of the identity and the immutability of the data are guaranteed by means of signatures, and encryption ensures that only the recipient can decrypt and see the specific content.

[0102] S4, secure storage

[0103] After receiving the information, both parties store it in a secret state in the system, which can only be opened through UKEY, encryption machine and signature verification server. At the same time, portable storage media is provided for customers to store and obtain data conveniently.

[0104] Preferably, the step S1 is implemented according to the following steps:

[0105] S11. Document multi-terminal display

[0106] S111, generate corresponding equipment factors E1.E2.E3...En, where n is a natural number;

[0107] S112, generating a corresponding IM(S) of the PDF through an encrypted channel;

[0108] S113, wait for the IM to be generated and transmit the corresponding IM to the transfer service IMService (En)

[0109] S114, WEB and device terminals obtain IMService interface GetService.getIM(En) through monitoring Lis;

[0110] S115, each terminal item synchronously displays the corresponding IM (S, En)

[0111] S12. Utilize the matrix to optimize the transmission efficiency and synchronously record its distribution.

[0112] S121. It is necessary to calculate the conversion factor H through the time factor TI, the seal type factor LY, the PDF storage factor IM(S,En), the component factor ABXY, and the matrix factor Z;

[0113] S122. The initiating device STer converts the target type into a multi-point matrix.

[0114] S123, adding a variable Xn to the matrix, wherein Xn is selected from the time factor TI, the data, location, and person to be recorded;

[0115] ZT=(Z(1,Y),TI...Xn

[0116] Z(2,Y),TI...Xn)

[0117] S124, PDF storage factor IM(S,En), page size PG, rotation TO, width WT, height HI;

[0118] IM=IM(S,En),

[0119] (PG TO

[0120] WT H

[0121] ).

[0122] S125, coordinate factors corresponding to the lower left and upper right points of Z;

[0123] G(0,1)

[0124] =(

[0125] AB

[0126] XY )

[0128] S126, calculate the conversion factor H = (ZT IM G (0,1))

[0129] S13. Perform two-dimensional transmission.

[0130] S14, combined with matrix storage, two-dimensional transmission and random response mechanism. To calculate the same screen display waiting time, consumption time, minimum queuing time, preparation time, transmission time. To ensure high performance and optimal generation of PDF and IM(S) display process between each terminal device and WEB

[0131] Furthermore, as described in step S112, S is divided into multiple categories, including at least one of data PDF, doc, and pictures.

[0132] Furthermore, the step S122 includes the following steps:

[0133] S1221, need to record the seal image to generate gradient points

[0134] Z(1,LY)=( 0 1

[0136] 1N)

[0137] 1×N,

[0138] S1221, Handwriting track type

[0139] First, the corresponding handwriting trajectory is obtained through the Bezier curve. Generate according to B(t)=P0+(P1-P0)t

[0140] Z(2,LY)= (0 1

[0142] 1B(t)

[0143] )1*B(t).

[0144] Furthermore, the step S13 includes the following steps:

[0145] S131. Calculate the transmission factor

[0146] Through the function (H TB AX BY) H—conversion factor; TB transmission variable factor, such as waiting time; AY length; BX width; H>TB, (AY, BX) must be the smallest difference after multiplication.

[0147] S132, the server receives the data and asynchronously transmits the corresponding data to the electronic signature service for signature SIGN. After generating, the server transmits the corresponding (H TB AY BX) to the transfer service IMService.

[0148] S133. Generate the corresponding random number En*RA according to (H TB AB). Obtain the IMService interface GetService.get (H TB AY BX) by broadcasting each device listening to Lis.

[0149] S134. The device randomly searches for RA according to device En and generates a response.

[0150] Furthermore, the step S14 includes the following steps:

[0151] S141, adaptive calculation. From the model (H TB AY BX), the lower request span qmin and the highest request span qmax are selected. The lowest qmin possibility is guaranteed to be the highest. Then the reduction model (H TB AY BX) affects the possibility of selection. The necessary condition is: qmin>0

[0152] S142, setting basic adaptation value: Fn receiving device RTer analysis

[0153] S1421, common probability (E1E2E3...) = *En / Fn = Cn

[0154] Make the lower fitness value have higher selectivity, then (0,1) random variable generates B(0,1). If it is lower than CnMIN1, then E1E3E2.., if it is lower than CnM1N2, then E2E1E3.. and so on.

[0155] S1422, matrix cross calculation. In the same parent matrix, such as ZT, it generates binary length M values ​​downward

[0156] Sub-item 1: Z(1,LY) Sub-item 2: Z(2,LY)

[0157] Parent 1H1, ZT(1, Y) Parent 2H2, ZT(2, Y)

[0158] For the child item Z1, all the binary values ​​of H1 are recorded as 1. Other parent items are recorded as 0. And so on.

[0159] If parent item 1 is saved as another parent item 2 due to the XN factor, it is inserted at the position of child item 2. And so on.

[0160] S1423, select one of the parent items, and randomly generate a new order in the parent item by using two conversion factors.

[0161] S143, copy selection. By copying the probabilities of Z(1,LY) and Z(2,LY), the corresponding model is selected to calculate the fitness value of the same type of request span

[0162] Q. Then we can get Q(TB)->G(0,1)->IM(S) in sequence.

[0163] S144. The receiving device RTer analyzes the data and performs synchronous restoration and refresh on IM(S).

[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A signing method between a point-to-point service provider and a supplier, characterized in that: The steps include: S1. Electronic contract signature S2. Encryption of electronic contracts Use the SM9 algorithm to encrypt the entire electronic contract file. The SM9 feature ensures both the unified management of encryption distribution keys and the security of point-to-point transmission. S3, signing and encrypting structured data transmitted in XML and JSON Along with the transmission of electronic contracts, other structured data also needs to be transmitted together. The validity of the identity and the immutability of the data are guaranteed by means of signatures, and encryption ensures that only the recipient can decrypt and see the specific content. S4, secure storage After receiving the information, both parties store it in a secret state in the system, which can only be opened through UKEY, encryption machine and signature verification server. At the same time, portable storage media is provided for customers to store and obtain data conveniently.

2. The signing method between the peer-to-peer service provider and the supplier according to claim 1, characterized in that: The S1 step is implemented according to the following steps: S11. Document multi-terminal display S111, generate corresponding equipment factors E1.E2.E3...En, where n is a natural number; S112, generating a corresponding IM(S) of the PDF through an encrypted channel; S113, wait for the IM to be generated and transmit the corresponding IM to the transfer service IMService (En) S114, WEB and device terminals obtain IMService interface GetService.getIM(En) through monitoring Lis; S115, each terminal item synchronously displays the corresponding IM (S, En) S12. Utilize the matrix to optimize the transmission efficiency and synchronously record its distribution. S121. It is necessary to calculate the conversion factor H through the time factor TI, the seal type factor LY, the PDF storage factor IM(S,En), the component factor ABXY, and the matrix factor Z; S122. The initiating device STer converts the target type into a multi-point matrix. S123, adding a variable Xn to the matrix, wherein Xn is selected from the time factor TI, the data, location, and person to be recorded; ZT=(Z(1,Y),TI...Xn Z(2,Y),TI...Xn) S124, PDF storage factor IM(S,En), page size PG, rotation TO, width WT, height HI; IM=IM(S,En), (PG TO WT H )。 S125, coordinate factors corresponding to the lower left and upper right points of Z; G(0,1) =( AB XY ) S126, calculate the conversion factor H = (ZT IM G (0,1)) S13, perform two-dimensional transmission S14. Combine matrix storage, two-dimensional transmission and random response mechanism to calculate the same-screen display waiting time, consumption time, minimum queuing time, preparation time, and transmission time to ensure high performance and optimal generation of PDF and IM(S) display processes between various terminal devices and WEB.

3. The signing method between the peer-to-peer service provider and the supplier according to claim 2, characterized in that: As described in step S112, S is divided into multiple categories, including at least one of data PDF, doc, and picture.

4. The signing method between the peer-to-peer service provider and the supplier according to claim 2, characterized in that: The step S122 includes the following steps: S1221, need to record the seal image to generate gradient points Z(1,LY)=( 0 1 1N) 1×N, S1221, Handwriting track type First, the corresponding handwriting trajectory is obtained through the Bezier curve. Generate according to B(t)=P0+(P1-P0)t Z(2,LY)= (0 1 1B(t) )1*B(t).

5. The signing method between the peer-to-peer service provider and the supplier according to claim 2, characterized in that: The step S13 comprises the following steps: S131. Calculate the transmission factor By the function (H TB AX BY) H—conversion factor; TB transmission variable factors, such as waiting time; AY length; BX width; H>TB, (AY, BX) must be the smallest difference after multiplication. S132, the server receives the data and asynchronously transmits the corresponding data to the electronic signature service for signature SIGN. After generating, the server transmits the corresponding (H TB AY BX) to the transfer service IMService. S133. Generate the corresponding random number En*RA according to (H TB AB). Obtain the IMService interface GetService.get (H TB AY BX) by broadcasting each device listening to Lis. S134. The device randomly searches for RA according to device En and generates a response.

6. The signing method between the peer-to-peer service provider and the supplier according to claim 2, characterized in that: The step S14 comprises the following steps: S141, adaptive calculation. From the model (H TB AY BX), the lower request span qmin and the highest request span qmax are selected. The lowest qmin possibility is guaranteed to be the highest. Then the reduction model (H TB AY BX) affects the possibility of selection. The necessary condition is: qmin>0 S142, setting basic adaptation value: Fn receiving device RTer analysis S1421, common probability (E1E2E3...) = *En / Fn = Cn Make the lower fitness value have higher selectivity, then (0,1) random variable generates B(0,1). If it is lower than CnMIN1, then E1E3E2.., if it is lower than CnM1N2, then E2E1E3.. and so on. S1422, matrix cross calculation. In the same parent matrix, such as ZT, it generates binary length M values ​​downward Sub-item 1: Z(1,LY) Sub-item 2: Z(2,LY) Parent 1H1, ZT(1, Y) Parent 2H2, ZT(2, Y) For the child item Z1, all the binary values ​​of H1 are recorded as 1. Other parent items are recorded as 0. And so on. If parent item 1 is saved as another parent item 2 due to the XN factor, it is inserted at the position of child item 2. And so on. S1423, select one of the parent items, and randomly generate a new order in the parent item by using two conversion factors. S143, copy selection. By copying the probabilities of Z(1,LY) and Z(2,LY), the corresponding model is selected to calculate the fitness value of the same type of request span Q. Then we can get Q(TB)->G(0,1)->IM(S) in sequence. S144. The receiving device RTer analyzes the data and performs synchronous restoration and refresh on IM(S).