Digital signature processing method, device, equipment and storage medium

By monitoring the quantity and interaction of digital signature information, determining the target device of the fictitious digital signature information, and blocking the interaction, the problem that the digital signature mechanism in the existing technology relies on the certificate authority is solved, and the effect of simplifying the process and improving security is achieved.

CN115361142BActive Publication Date: 2024-10-01CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211008440.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-22
Publication Date
2024-10-01
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

Existing digital signature mechanisms rely heavily on digital certificate authorities, which are cumbersome processes and require a lot of time and cost for receiving communication parties to obtain signature certificates.

Method used

By receiving digital signature information, monitor the number of digital signature information received within a preset time, determine the target device of the fictitious digital signature information, and block the interaction of fictitious digital signature information without using a digital certificate authority, using network management The device performs interactive inspection and blocking.

Benefits of technology

It simplifies the processing process of digital signature information, reduces time and cost, improves the security and accuracy of digital signature information, and solves the problem of fictitiousness and attribution of digital signature information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361142B_ABST
    Figure CN115361142B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment and storage medium for processing digital signatures. The method includes: receiving digital signature information, the digital signature information includes a user identification and public key information, the source address of the digital signature information is a first device, and the destination address is a second device; if within a preset time, the number of digital signature information received is greater than or equal to two, then it is determined that there is fictitious digital signature information in the received digital signature information; if there is fictitious digital signature information, then the target device of the fictitious digital signature information is determined in the first device. The method of the present application solves the problem that the prior art heavily relies on digital certificate issuing authorities, the process is cumbersome, and at the same time, all parties receiving the communication have to spend a lot of time and cost to obtain the signature certificate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to network security technology, and in particular to a digital signature processing method, device, equipment and storage medium. Background Art

[0002] The digital signature mechanism is one of the means to ensure the security of network information, which can solve the problems of fabrication, denial, impersonation and tampering.

[0003] The basis of the digital signature mechanism is public key cryptography. In the public key cryptography system, the signer holds the private key, and the corresponding public key is public. Then the signer encrypts the data with his private key, and others can use the signer's public key to decrypt the data. In order for the recipient to confirm that the person who completes the digital signature is the real sender, a digital certificate mechanism is usually used, that is, the sender sends personal information and public key information to the digital certificate issuing agency, and the digital certificate issuing agency issues a certificate containing personal information and public key to the sender, and the sender then publishes the certificate on the Internet.

[0004] The digital certificate mechanism relies heavily on digital certificate issuing authorities, and the process is cumbersome. At the same time, all parties receiving the communication have to spend a lot of time and cost to obtain the signed certificate. Summary of the invention

[0005] The present application provides a digital signature processing method, device, equipment and storage medium to solve the problem that the existing technology is heavily dependent on digital certificate issuing authorities, the process is cumbersome, and all parties receiving the communication have to spend a lot of time and cost to obtain the signature certificate.

[0006] On the one hand, the present application provides a method for processing a digital signature, comprising:

[0007] Receive digital signature information, the digital signature information including a user identifier and public key information, the source address of the digital signature information is the first device, and the destination address is the second device;

[0008] If the number of digital signature information received within the preset time is greater than or equal to two, it is determined that there is fictitious digital signature information in the received digital signature information;

[0009] If the fictitious digital signature information exists, a target device of the fictitious digital signature information is determined in the first device.

[0010] Optionally, the first device forwards the digital signature information to the second access device through the first access device, and sends it to the second device through the second access device; if there is fictitious digital signature information, the method further includes:

[0011] A blocking message is sent to a second access device of a second device, where the blocking message is used to instruct the second access device to block interaction between the first device and the second device.

[0012] Optionally, the method is applied to a network management device, and the receiving of digital signature information includes: the network management device receiving digital signature information forwarded by a first access device of the first device;

[0013] The step of determining, in the first device, a target device for the fictitious digital signature information comprises:

[0014] The network management device sends a check message to the first access device, and the first access device is used to use a first device that does not have a historical session with the second device as the target device, and send a check result to at least the second access device;

[0015] The network management device receives a negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device, where the negotiation feedback message includes an identifier of a target device.

[0016] Optionally, after the network management device receives the negotiation feedback message fed back by the first access device, the method further includes:

[0017] The network management device sends a blocking-unblocking message to the second access device, wherein the blocking-unblocking message includes an identifier of the first device to be unblocked.

[0018] Optionally, the method is applied to the second device, and the receiving of digital signature information includes: the second device receiving the digital signature information forwarded by the second access device;

[0019] The step of determining, in the first device, a target device for the fictitious digital signature information comprises:

[0020] The second device sends a negotiation request message to the second access device, so that the second access device sends a check message to the first access device, and the first access device is used to use a first device with no historical session with the second device as the target device, and send the check result to at least the second access device;

[0021] The second device receives a negotiation feedback message fed back by the second access device, where the negotiation feedback message includes an identifier of a target device.

[0022] Optionally, the second access device is further used to restore the interaction between the first device other than the target device and the second device based on the negotiation feedback message.

[0023] Optionally, the first access device is further used to add the address of the target device to a blacklist, and the negotiation feedback message is further used to indicate that the address of the target device is included in the blacklist.

[0024] On the other hand, the present application provides a digital signature processing device, comprising:

[0025] A receiving module, configured to receive digital signature information, wherein the digital signature information includes a user identifier and public key information, wherein the source address of the digital signature information is the first device and the destination address is the second device;

[0026] A monitoring module, configured to determine that fictitious digital signature information exists in the received digital signature information if the number of digital signature information received within a preset time is greater than or equal to two;

[0027] The determination module is used to determine the target device of the fictitious digital signature information in the first device if the fictitious digital signature information exists.

[0028] Optionally, the determination module is further specifically configured to:

[0029] A blocking message is sent to a second access device of a second device, where the blocking message is used to instruct the second access device to block interaction between the first device and the second device.

[0030] Optionally, the digital signature processing device is applied to a network management device, and the receiving of digital signature information is further specifically used for: the network management device receiving digital signature information forwarded by a first access device of the first device;

[0031] The step of determining, in the first device, a target device for the fictitious digital signature information comprises:

[0032] The network management device sends a check message to the first access device, and the first access device is used to use a first device that does not have a historical session with the second device as the target device, and send a check result to at least the second access device;

[0033] The network management device receives a negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device, where the negotiation feedback message includes an identifier of a target device.

[0034] Optionally, the digital signature processing device is applied to a network management device, and is also specifically used for:

[0035] The network management device sends a blocking-unblocking message to the second access device, wherein the blocking-unblocking message includes an identifier of the first device to be unblocked.

[0036] Optionally, the digital signature processing device is applied to the second device, and the receiving of the digital signature information is further specifically used for: the second device receives the digital signature information forwarded by the second access device;

[0037] The step of determining, in the first device, a target device for the fictitious digital signature information comprises:

[0038] The second device sends a negotiation request message to the second access device, so that the second access device sends a check message to the first access device, and the first access device is used to use a first device with no historical session with the second device as the target device, and send the check result to at least the second access device;

[0039] The second device receives a negotiation feedback message fed back by the second access device, where the negotiation feedback message includes an identifier of a target device.

[0040] Optionally, the digital signature processing device is applied to the second device, specifically used for: the second access device is also used to restore the interaction between the first device other than the target device and the second device based on the negotiation feedback message.

[0041] Optionally, the digital signature processing device is applied to the network management device or the second device, and is also specifically used for: the first access device is also used to blacklist the address of the target device, and the negotiation feedback message is also used to indicate that the address of the target device is blacklisted.

[0042] According to a third aspect of the present application, an electronic device is provided, including:

[0043] Processor and memory;

[0044] Memory stores computer-executable instructions;

[0045] The processor executes the computer-executable instructions stored in the memory, so that the electronic device executes any one of the methods in the first aspect.

[0046] In a fourth aspect of the present application, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement a method for determining a driver program for a hardware peripheral as described in any one of the first aspects.

[0047] This embodiment provides a method, apparatus, device and storage medium for processing digital signatures. The method receives digital signature information, which includes a user identifier and public key information. The source address of the digital signature information is a first device and the destination address is a second device. If the number of digital signature information received within a preset time is greater than or equal to two, it is determined that there is fictitious digital signature information in the received digital signature information. If there is fictitious digital signature information, the target device of the fictitious digital signature information is determined in the first device. The method confirms the device of the fictitious digital signature information by monitoring the number of digital signature information within a preset time, thereby solving the problem of fictitious and attributive digital signature information. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0049] Figure 1 This is a specific application scenario diagram of a digital signature processing method provided by this application;

[0050] Figure 2 This is a digital signature processing method provided by the embodiment of the present application. Figure 1 ;

[0051] Figure 3a This is a digital signature processing method provided by the embodiment of the present application. Figure 2 ;

[0052] Figure 3b It is a network architecture diagram of a digital signature processing method provided in an application embodiment;

[0053] Figure 4a This is a flow chart 3 of a digital signature processing method provided in an embodiment of the present application;

[0054] Figure 4b It is a network architecture diagram of a digital signature processing method provided in an application embodiment;

[0055] Figure 5 It is a structural schematic diagram of a digital signature processing device provided in an embodiment of the present application;

[0056] Figure 6 This is a hardware structure diagram of a digital signature processing device provided in an embodiment of the present application.

[0057] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0058] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0059] Figure 1 This is a specific application scenario diagram of a digital signature processing method provided by this application. Figure 1 As shown, the application scenario includes: user A101, access device 102, access device 103 and user B104. The description of the digital signature mechanism can be compared to a person signing his or her name on a document. When he or she signs on paper, it can be verified (for example, by handwriting) that the signature is indeed from this person's hand. After a person signs a document digitally, how can we verify that the digital signature is from this person's hand? The digital signature mechanism is to solve this problem. First, assume that the communication is between user A101 and user B104, through access device 102, communication network and access device 103. User A101 generates a public key and a private key according to a symmetric encryption algorithm; performs a hash operation on the file to be transmitted to obtain a file hash value H; uses the private key to encrypt the file hash value H, that is, to obtain a digital signature S; user A101 sends the public key, file and digital signature S to user B104 through access device 102, communication network and access device 103. After receiving the above information, user B104 starts to verify whether the digital signature S is completed by user A101. The specific steps are as follows: user B104 uses the public key to decrypt S. By utilizing the characteristics of the symmetric encryption algorithm, that is, based on the public key, the decryption can be completed to obtain the file hash value G; user B104 performs a hash operation on the received file to obtain G', and compares G and G'. If G = G', the conclusion that the signature is valid is drawn, otherwise, a negative conclusion is drawn. The above are the overall steps of the digital signature. This process can ensure that the file has not been tampered with during transmission over the Internet, otherwise, G = G' will not be obtained because the hash value will change after the file is tampered with.

[0060] In the prior art, a digital certificate mechanism is usually used to solve the problem of proving the ownership of digital signatures. However, this mechanism requires an independent organization to operate, so the time and cost required by users to use this organization increases with the number of times used.

[0061] The present application provides a method for processing digital signatures, which solves the ownership and security issues of digital signature information by backing up digital signature information, monitoring the number of digital signature information within a preset time, and determining the device that issues fictitious digital signature information.

[0062] The present application provides a digital signature processing method, which aims to solve the above technical problems in the prior art.

[0063] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0064] Figure 2 This is a digital signature processing method provided by the embodiment of the present application. Figure 1 .like Figure 2 As shown, the method of this embodiment includes:

[0065] S201, receiving digital signature information, where the digital signature information includes a user identifier and public key information, where the source address of the digital signature information is the first device and the destination address is the second device;

[0066] A digital signature is some data attached to a data unit, or a cryptographic transformation of a data unit. This data or transformation allows the recipient of the data unit to confirm the source and integrity of the data unit and protect the data from being fabricated by others (such as the recipient). It is a method of signing electronic messages, and a signed message can be transmitted in a communication network. Digital signatures can be obtained based on both public key cryptography and private key cryptography, mainly digital signatures based on public key cryptography, including ordinary digital signatures and special digital signatures. Ordinary digital signature algorithms include RSA algorithm, elliptic curve digital signature algorithm and finite automaton digital signature algorithm. Special digital signatures include blind signatures, proxy signatures, and signatures with message recovery functions. Among them, the RSA algorithm was proposed by Ronald Rivest, Adi Shamir and Leonard Adleman as a public key encryption algorithm.

[0067] In this embodiment, the digital signature uses the RSA algorithm to generate the public key and private key. The generation process is as follows: first, randomly select two unequal prime numbers p and q, then calculate the Euler function φ(n) of the product of the two prime numbers n, then randomly select an integer e between 1 and φ(n) and coprime with φ(n), then calculate the modular inverse element of e with respect to φ(n), and finally encapsulate n and e into the public key (n, e), and n and d into the private key (n, d). When encrypting a file, first calculate the hash value of the file, that is, pass the file through a compression function such as a hash function, and transform a file of any length into an output of a fixed length through a hash function algorithm, which is the hash value H. Then use the private key (n, d) to encrypt the hash value H to obtain the digital signature value S. This process is as follows:

[0068] S=H d modn

[0069] In order to verify whether the digital signature is authentic, the receiver will first decrypt the digital signature value S according to the public key (n, e) to obtain a hash value G, that is, solve

[0070] G=S e modn

[0071] Then perform a hash operation on the file to get the hash value G'. At this time, by comparing G and G', you can know whether the file and the public key match.

[0072] In this embodiment, the user uses the digital signature mechanism to send a file, only sends the public key, not the private key. On the basis of the existing public key, it is also necessary to include a user identifier to mark the identity of the sender's device. The source address of the digital signature information is the first device, that is, the first device is the sender's device, and the destination address is the second device, that is, the second device is the receiver's device.

[0073] S202: If the number of digital signature information received within a preset time is greater than or equal to two, it is determined that there is fictitious digital signature information in the received digital signature information;

[0074] In this embodiment, by comparing the hash values ​​G and G', it can be confirmed whether the file and the digital signature match. However, there is a situation where the file and the public key are paired, but the file and the public key are fictitious.

[0075] In order to solve the problem of determining the ownership of digital signature information and files without using a digital certificate issuing authority, in this embodiment, a measure is taken to monitor whether the number of digital signature information received within a preset time is greater than or equal to two. The preset time is set by the network administrator based on factors such as network scale and traffic characteristics, and can be set to 5 to 10 minutes. If two or more digital signature information are detected within the preset time, and their source addresses and destination addresses are the same, there is a possibility of fictitious digital signature information. At this time, by detecting the historical data of the user identification of the same source address, it will be found that the real sender has been using the user identification, while the fictitious party has not.

[0076] S203: If fictitious digital signature information exists, determine a target device of the fictitious digital signature information in the first device.

[0077] In this example, it is assumed that the sender and the receiver have interacted on the network before sending the digital signature information, that is, there is a data record on the network with the source address being the sender, the destination address being the receiver, and the user ID being the sender. By querying the above records, the correspondence between the user ID and the source address can be confirmed. In this way, even if the fictitious party changes its own source address and user ID to make them consistent with the sender, the target device of the fictitious digital signature information can be confirmed by querying the historical correspondence between the user ID and the source address.

[0078] In this embodiment, the digital signature information includes not only the public key and the digital signature value, but also the user identification. Under the premise that the sender and the receiver of the digital signature information have always used network communication, the target device of the fictitious digital signature information can be determined by determining the source address of the digital signature information and the history of the user identification.

[0079] This embodiment provides a method for processing digital signatures. The method receives digital signature information, the digital signature information includes a user identifier and public key information, the source address of the digital signature information is a first device, and the destination address is a second device; if the number of digital signature information received within a preset time is greater than or equal to two, it is determined that there is fictitious digital signature information in the received digital signature information; if there is fictitious digital signature information, the target device of the fictitious digital signature information is determined in the first device. The method confirms the device of the fictitious digital signature information by monitoring the number of digital signature information within a preset time, and solves the problem of fictitious and attributive digital signature information.

[0080] Figure 3a This is a digital signature processing method provided by the embodiment of the present application. Figure 2 , Figure 3b This is a network architecture diagram of a digital signature processing method provided by the application embodiment. Figure 2Based on the embodiment, the implementation method of applying the digital signature processing method to the network management device is given in detail, such as Figure 3a and Figure 3b As shown, the method of this embodiment includes:

[0081] S301, the first device forwards the digital signature information to the second access device through the first access device, and sends it to the second device through the second access device;

[0082] In this embodiment, the first device is a sender's device, the first access device is a sender's gateway or router, the second device is a receiver's device, the second access device is a receiver's gateway or router, and both the first access device and the second access device are existing devices in the communication network.

[0083] The sender device generates the data to be transmitted, packages the data into the original data payload, and adds the header and tail to form a message. The message contains digital signature information, as well as the sender's source address and the receiver's destination address. On the basis of an information unit, some new information segments are added to form a new information unit. The message reaches the gateway through the network cable. After the gateway receives the message, it decapsulates it, reads the destination address, and recapsulates it. According to the destination address, it is sent to different routers. Through the transmission of the gateway and the router, the message finally leaves the local network and enters the trunk of the communication network for transmission. After the message is transmitted through the trunk of the communication network, it reaches the local network where the destination address is located. The gateway or router of the local network decapsulates and encapsulates the message, and decides to send it to the corresponding next router according to the destination address. Finally, it reaches the gateway of the network where the destination receiver device is located. The gateway decapsulates and encapsulates it, and then sends it to the corresponding receiver device according to the destination address. After receiving the message, the receiver device verifies the message. After the verification is correct, it receives the next message, and a complete network communication process is over.

[0084] S302, the network management device receives the digital signature information forwarded by the first access device of the first device;

[0085] Network management equipment is the original equipment in the communication network. Network management equipment is the equipment required for network management, and its configuration should meet all the requirements of network management. Network management system equipment includes network management units of each node and equipment and corresponding software of the network management center, which can plan, control and monitor the network in an industrial environment to ensure the normal operation of the network.

[0086] In this embodiment, the digital signature processing method is applied to the network management device. In order to achieve the purpose of backing up the digital signature, when the sending device and the receiving device interact through the access device, the sender's gateway or router needs to forward the digital signature information to the network management device.

[0087] S303: If there is fictitious digital signature information, the network management device sends a blocking message to the second access device of the second device, where the blocking message is used to instruct the second access device to block the interaction between the first device and the second device;

[0088] In this embodiment, in order to ensure the information security of the sender device and the receiver device, when it is confirmed that there is a fictitious digital signature information, it is necessary to immediately block the interaction between the sender device and the receiver device. At this time, the fictitious party disguised as the sender cannot interact with the receiver through the communication network. The blocking means is that the network management device sends a blocking message to the gateway or router of the receiver. After the gateway or router of the receiver receives the blocking message, it blocks the interaction with the specified sender according to the content of the message.

[0089] S304, the network management device sends a check message to the first access device, the first access device is used to take the first device with which there is no historical session as the target device, and send the check result to at least the second access device;

[0090] In this embodiment, in order to confirm the target device of the fictitious digital signature information, the network management device needs the sender's gateway or router to query the historical data of the user identification of the same source address, and confirm the sender device that does not have a historical session with the receiver. The sender device is the target device of the fictitious digital signature information. Therefore, the network management device sends a check message to the sender's gateway or router, that is, the first access device, so that the sender's gateway or router can perform data query according to the check message.

[0091] After confirming the target device, the result needs to be notified to the recipient device to prevent the fictitious digital signature information from being mistakenly operated by the recipient and encountering viruses, etc. Therefore, the inspection result needs to be notified to the recipient's gateway or router and then forwarded to the recipient device.

[0092] At the same time, the sender's gateway or router can also forward the inspection results to the corresponding gateways or routers of other devices, so that other devices can mark the target device with the fictitious digital signature information in this case, and provide early warning in subsequent network communications.

[0093] S305: The network management device receives a negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device, where the negotiation feedback message includes an identifier of the target device;

[0094] In this embodiment, in order to inform the network management device of the inspection results, the sender's gateway or router will send a negotiation feedback message containing the target device identifier to the network management device, so that the network management device can mark the target device with the fictitious digital signature information in this situation, and provide early warning in subsequent network communications.

[0095] Optionally, the first access device is further used to include the address of the target device in a blacklist, and the negotiation feedback message is further used to indicate that the address of the target device is included in the blacklist.

[0096] In this embodiment, for information security reasons, the purpose of many fictitious digital signature information is not only to create fictitious files, but also to attach viruses in the digital signature information, which will cause damage when the recipient opens the digital signature information. Therefore, after determining the target device of the fictitious digital signature information, the sender's access device blacklists the address of the target device to prevent the target device from interacting with the sender's device. It is necessary to take precautions in advance.

[0097] S306: The network management device sends a blocking-unblocking message to the second access device, where the blocking-unblocking message includes an identifier of the first device to be blocked.

[0098] In this embodiment, after the target device is confirmed and the result is notified to the receiver, the communication blockade between the sender device and the receiver device needs to be lifted, so the network management device sends a block release message to the receiver's gateway or router to indicate the block release. The receiver device may interact with several different devices at the same time, so the block release message needs to include the identifier of the first device.

[0099] The technical solution of the present application is described in detail below with a specific embodiment.

[0100] like Figure 3bAs shown, the figure includes two sender users A301 and user C306, one receiver user B304, a network management device 307, a first access device 302, a third access device 305 and a second access device 303. The preset time is set to 10 minutes. When user A301 and user C306 need to send files and digital signature information to user B304, they need to connect to the communication network through the first access device 302 and the third access device 305, and then send it to user B304 through the second access device 303. Among them, the first access device 302, the second access device 303 and the third access device 305 can be gateways or routers. Now the digital signature processing method is applied to the network management device 307, and the first access device 302 and the third access device 305 are required to forward the digital signature information of user A301 and user C306 to the network management device 307. If the number of digital signature information received by the network management device 307 is two within the preset time of 10 minutes, it is determined that there is fictitious digital signature information in the received digital signature information, that is, user A301 and user C306 use the same source address and user identification. The network management device 307 sends a blocking message to the second access device 303 to block the interaction between user A301 and user C306 and user B304. In order to determine the identification of the target device, the network management device 307 sends a check message to the first access device 302. The first access device 302 queries the historical data of the user identification with the same source address based on the check message, and confirms that the sender who does not have a historical session with the receiver is user C306. The first access device 302 sends the check result to the second access device 303 and other access devices in the communication network, and sends it to the network management device 307 in the form of a negotiation feedback message. The network management device 307 learns the identifier of the target device according to the negotiation feedback message, and therefore sends a blocking-unblocking message to the second access device 303, telling the second access device 303 to unblock the interaction between user A 301 and user B 304.

[0101] This embodiment provides a method for processing digital signatures, in which the first device forwards the digital signature information to the second access device through the first access device, and sends it to the second device through the second access device; the network management device receives the digital signature information forwarded by the first access device of the first device; if there is fictitious digital signature information, the network management device sends a blocking message to the second access device of the second device; the network management device sends a check message to the first access device, and the first access device is used to take the first device that does not have a historical session with the second device as the target device, and send the check result to at least the second access device; the network management device receives the negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device; the network management device sends an unblocking message to the second access device. This method uses the network management device to back up the digital signature information, confirms the fictitious digital signature information, blocks the interaction, simplifies the process, and ensures the information security of the user; through the interaction between the network management device and the first access device, the fictitious digital signature information is determined, and the fictitious source is confirmed simply and quickly.

[0102] Figure 4a This is a flow chart 3 of a digital signature processing method provided in an embodiment of the present application; Figure 4b This is a network architecture diagram of a digital signature processing method provided by the application embodiment. Figure 2 Based on the embodiment, the implementation method of applying the digital signature processing method to the second device is given in detail, such as Figure 4a and Figure 4b As shown, the method of this embodiment includes:

[0103] S401. The first device forwards the digital signature information to the second access device through the first access device, and sends the digital signature information to the second device through the second access device;

[0104] In this embodiment, the first device is a sender, the first access device is a gateway or router of the sender, the second device is a receiver, the second access device is a gateway or router of the receiver, wherein the first access device and the second access device are both existing devices in the communication network.

[0105] S402: The second device receives the digital signature information forwarded by the second access device;

[0106] S403: If there is fictitious digital signature information, the second device sends a blocking message to a second access device of the second device, where the blocking message is used to instruct the second access device to block the interaction between the first device and the second device;

[0107] In this embodiment, in order to ensure the information security of the sender device and the receiver device, when it is confirmed that there is a fictitious digital signature information, the interaction between the sender device and the receiver device needs to be blocked immediately. At this time, the fictitious party disguised as the sender cannot interact with the receiver through the communication network. The blocking means is that the receiver device sends a blocking message to the receiver's gateway or router. After the receiver's gateway or router receives the blocking message, it blocks the interaction with the specified sender according to the content of the message.

[0108] S404, the second device sends a negotiation request message to the second access device, so that the second access device sends a check message to the first access device, and the first access device is used to use the first device with which there is no historical session with the second device as the target device, and send the check result to at least the second access device;

[0109] In this embodiment, in order to confirm the target device of the fictitious digital signature information, the receiving device needs the sender's gateway or router to query the historical data of the user identification of the same source address, and confirm that the sender device that does not have a historical session with the receiving party is the target device of the fictitious digital signature information. Therefore, the receiving device sends a check message to the sender's gateway or router, so that the sender's gateway or router can perform data query according to the check message.

[0110] After confirming the target device, the result needs to be notified to the receiving device to prevent the fictitious digital signature information from being mistakenly operated by the receiving party and encountering viruses, etc. Therefore, the inspection result needs to be sent from the sender's gateway or router to the receiving party's gateway or router, and then forwarded to the receiving device.

[0111] At the same time, the sender's gateway or router can also forward the inspection results to the corresponding gateways or routers of other devices, so that other devices can mark the target device with the fictitious digital signature information in this case, and provide early warning in subsequent network communications.

[0112] S405: The second device receives a negotiation feedback message fed back by the second access device, where the negotiation feedback message includes an identifier of the target device.

[0113] In this embodiment, in order to inform the receiving device of the inspection results, the receiving device's gateway or router will send a negotiation feedback message containing the target device identifier to the receiving device, so that the receiving device can mark the target device with the fictitious digital signature information in this situation, and can provide early warning in subsequent network communications.

[0114] Optionally, the second access device is further configured to restore the interaction between the first device and the second device except the target device based on the negotiation feedback message.

[0115] In this embodiment, after the target device is confirmed and the result is notified to the receiver, the communication blockade between the sender device and the receiver device needs to be lifted, so the receiver device sends an unblocking message to the receiver's gateway or router to indicate the unblocking. The receiver device may interact with several different devices at the same time, so the unblocking message needs to include the identifier of the specified sender.

[0116] The technical solution of the present application is described in detail below with a specific embodiment.

[0117] like Figure 4b As shown, the figure includes two sender users A401 and user C406, a receiver user B404, a first access device 402, a third access device 405 and a second access device 403. The second device is user B404, and the preset time is set to 10 minutes. When user A401 and user C406 need to send files and digital signature information to user B404, they need to connect to the communication network through the first access device 402 and the third access device 405, and then send them to user B404 through the second access device 403. The first access device 402, the second access device 403 and the third access device 405 can be gateways or routers. Now the digital signature processing method is applied to the second device, user B404. Within the preset time of 10 minutes, the number of digital signature information received by user B404 is two, then it is determined that there is fictitious digital signature information in the received digital signature information, that is, user A401 and user C406 use the same source address and user identification. User B404 sends a blocking message to the second access device 403 to block the interaction between user A401 and user C406 and user B404. In order to determine the identity of the target device, user B404 sends a check message to the first access device 402. The first access device 402 queries the historical data of the user identity with the same source address based on the check message, and confirms that the sender who does not have a historical session with the receiver is user C406. The first access device 402 sends the check result to the second access device 403 and other access devices in the communication network, and sends it to user B404 in the form of a negotiation feedback message. User B404 knows the identity of the target device based on the negotiation feedback message, so it sends an unblocking message to the second access device 403, telling the second access device 403 to unblock the interaction between user A401 and user B404.

[0118] This embodiment provides a method for processing digital signatures, in which the first device forwards the digital signature information to the second access device through the first access device, and sends it to the second device through the second access device; the second device receives the digital signature information forwarded by the second access device; if there is fictitious digital signature information, the second device sends a blocking message to the second access device of the second device; the second device sends a negotiation request message to the second access device, so that the second access device sends a check message to the first access device, and the first access device is used to use the first device that does not have a historical session with the second device as the target device, and send the check result to at least the second access device; the second device receives the negotiation feedback message fed back by the second access device. This method uses the second device to back up the digital signature information, confirms the fictitious digital signature information, blocks the interaction, simplifies the process, and ensures the information security of the user; through the interaction between the second device and the first access device, the fictitious digital signature information is determined, and the fictitious source is confirmed simply and quickly.

[0119] Figure 5 1 is a schematic diagram of the structure of a digital signature processing device provided in an embodiment of the present application. The device of this embodiment may be in the form of software and / or hardware. Figure 5 As shown, a digital signature processing device 500 provided in an embodiment of the present application includes a receiving module 501, a monitoring module 502 and a determining module 503.

[0120] The receiving module 501 is used to receive digital signature information, where the digital signature information includes a user identifier and public key information, where the source address of the digital signature information is the first device and the destination address is the second device;

[0121] The monitoring module 502 is used to determine that there is fictitious digital signature information in the received digital signature information if the number of digital signature information received within a preset time is greater than or equal to two;

[0122] The determination module 503 is configured to determine, in the first device, a target device of the fictitious digital signature information if the fictitious digital signature information exists.

[0123] In a possible implementation, the determination module is further specifically configured to:

[0124] A blocking message is sent to a second access device of the second device, where the blocking message is used to instruct the second access device to block interaction between the first device and the second device.

[0125] In a possible implementation, the digital signature processing device is applied to a network management device to receive digital signature information, specifically used for: the network management device receives digital signature information forwarded by a first access device of a first device;

[0126] Determining, in the first device, a target device for the fictitious digital signature information, comprising:

[0127] The network management device sends a check message to the first access device, and the first access device is used to use the first device with which there is no historical session as a target device, and send the check result to at least the second access device;

[0128] The network management device receives the negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device, where the negotiation feedback message includes an identifier of the target device.

[0129] In a possible implementation, the digital signature processing device is applied to a network management device, and is also specifically used for:

[0130] The network management device sends a blocking-unblocking message to the second access device, where the blocking-unblocking message includes an identifier of the first device to be blocked.

[0131] In a possible implementation, the digital signature processing device is applied to the second device, receives the digital signature information, and is further specifically used for: the second device receives the digital signature information forwarded by the second access device;

[0132] Determining, in the first device, a target device for the fictitious digital signature information, comprising:

[0133] The second device sends a negotiation request message to the second access device, so that the second access device sends a check message to the first access device, and the first access device is used to use the first device with which there is no historical session as a target device, and send the check result to at least the second access device;

[0134] The second device receives a negotiation feedback message fed back by the second access device, where the negotiation feedback message includes an identifier of the target device.

[0135] In a possible implementation, the digital signature processing device is applied to the second device, specifically used for: the second access device is also used to restore the interaction between the first device and the second device except the target device based on the negotiation feedback message.

[0136] In a possible implementation, the digital signature processing device is applied to the network management device or the second device, and is also specifically used for: the first access device is also used to blacklist the address of the target device, and the negotiation feedback message is also used to indicate that the address of the target device is blacklisted.

[0137] Figure 6 : is a hardware structure diagram of a digital signature processing device provided in an embodiment of the present application. Figure 6 As shown, the digital signature processing device 600 includes:

[0138] Processor 601 and memory 602;

[0139] Memory stores computer-executable instructions;

[0140] The processor executes the computer execution instructions stored in the memory 602, so that the electronic device executes the digital signature processing method as described above.

[0141] It should be understood that the processor 601 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), ASICs, etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor. The memory 602 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk.

[0142] The embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, a digital signature processing method is implemented.

[0143] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0144] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for processing a digital signature, characterized in that: The method comprises: While the second access device of the second device receives the digital signature information sent by the first device through the first access device, the first access device of the first device also forwards the digital signature information to the network management device, the digital signature information includes a user identifier and public key information, the source address of the digital signature information is the first device, and the destination address is the second device; If the number of digital signature information received within the preset time is greater than or equal to two, it is determined that there is fictitious digital signature information in the received digital signature information; If there is fictitious digital signature information, the network management device sends a blocking message to the second access device, the blocking message is used to instruct the second access device to block the interaction between the first device and the second device; determine the target device of the fictitious digital signature information in the first device; The step of determining the target device of the fictitious digital signature information in the first device comprises: The network management device sends a check message to the first access device, and the first access device is used to use the first device that has no historical session with the second device as a target device for fictitious digital signature information, and send the check result to the second access device; The network management device receives the negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device, where the negotiation feedback message includes an identifier of the target device; The network management device sends a blocking-unblocking message to the second access device, wherein the blocking-unblocking message includes an identifier of the first device to be unblocked.

2. The method according to claim 1, characterized in that The method is applied to the second device, and the receiving of digital signature information includes: the second device receiving the digital signature information forwarded by the second access device; The step of determining, in the first device, a target device for the fictitious digital signature information comprises: The second device sends a negotiation request message to the second access device, so that the second access device sends a check message to the first access device, and the first access device is used to use a first device with no historical session with the second device as the target device, and send the check result to at least the second access device; The second device receives a negotiation feedback message fed back by the second access device, where the negotiation feedback message includes an identifier of a target device.

3. The method according to claim 2, characterized in that The second access device is further configured to restore the interaction between the first device other than the target device and the second device based on the negotiation feedback message.

4. The method according to claim 1 or 2, characterized in that: The first access device is further used to add the address of the target device to a blacklist, and the negotiation feedback message is further used to indicate that the address of the target device is included in the blacklist.

5. A digital signature processing device, characterized in that: include: A receiving module, wherein the second access device of the second device receives the digital signature information sent by the first device through the first access device, and the first access device of the first device also forwards the digital signature information to the network management device, the digital signature information including the user identifier and the public key information, the source address of the digital signature information is the first device, and the destination address is the second device; A monitoring module, configured to determine that fictitious digital signature information exists in the received digital signature information if the number of digital signature information received within a preset time is greater than or equal to two; a determination module, configured to, if there is fictitious digital signature information, cause the network management device to send a blocking message to the second access device, wherein the blocking message is used to instruct the second access device to block the interaction between the first device and the second device; and determine the target device of the fictitious digital signature information in the first device; The determination module is specifically used for the network management device to send a check message to the first access device, the first access device is used to use the first device that does not have a historical session with the second device as the target device of the fictitious digital signature information, and send the check result to the second access device; the network management device receives a negotiation feedback message fed back by the first access device, and sends the negotiation feedback message to the second device, the negotiation feedback message includes an identifier of the target device; The determining module is further configured to enable the network management device to send an unblocking message to the second access device, wherein the unblocking message includes an identifier of the first device to be unblocked.

6. An electronic device comprising: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement a digital signature processing method as described in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, a digital signature processing method as described in any one of claims 1 to 4 is implemented.