CN109617697A - A kind of asynchronous endorsement method of network node - Google Patents
A kind of asynchronous endorsement method of network node Download PDFInfo
- Publication number
- CN109617697A CN109617697A CN201910008636.3A CN201910008636A CN109617697A CN 109617697 A CN109617697 A CN 109617697A CN 201910008636 A CN201910008636 A CN 201910008636A CN 109617697 A CN109617697 A CN 109617697A
- Authority
- CN
- China
- Prior art keywords
- signature
- network node
- data
- signed
- machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
Abstract
The asynchronous endorsement method of a kind of network node disclosed by the invention, network node needs the data signed to be sent to signature machine first, signature machine generates a Universally Unique Identifier and returns to network node, when the machine of signature completes signature, pass through signature notification queue notification network node, network node obtains the data for completing signature according to Universally Unique Identifier, simultaneously, inside network node by the way of readjustment, callback queues are signed by one to handle all subservices of the signed data, if not receiving the notice of message queue at the appointed time, so network node sends inquiry request to signature machine, if signing machine processing failure, the data for needing to sign can sign again.Whether present invention informing network node by the way of signature notification is completed to sign, network node can be efficiently reduced to the access operation of signature machine, the data of processing failure are not abandoned simultaneously, but the data of signature failure are re-started into signature, ensure that the integrality of data.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of asynchronous endorsement methods of network node.
Background technique
Referring to Fig. 1, what is provided in figure is the method for existing network node signature, and network node first will by adapter
Data are committed to signature machine and sign, and signature machine returns to a Universally Unique Identifier (UUID), network section to network node
Point obtains signature according to the Universally Unique Identifier received, at this time if the signature got is dummy status, is retried,
It will cause the data for abandoning and being this time sent to signature machine after retrying several times, network node will continue to after getting signature
Signature to all subdata sections is all identified, if all signatures are ready, data, which can be sent to, at this time sends team
Column, transmit queue again send data.But there are following some problems for this network node endorsement method: if 1,
Without completing signature in certain number, the data that adapter is sent to signature machine can be dropped, and data is caused to cannot be introduced into transmission
Queue, to cause loss of data;2, retry mechanism will lead to that vast resources in network node is occupied, reduce what data were sent
Efficiency.
Summary of the invention
Technical problem solved by the invention is: provide in view of the deficiencies of the prior art one kind avoid loss of data,
It guarantees data integrity, avoid the asynchronous endorsement method of the occupied network node of vast resources.
The technical problems to be solved by the invention can adopt the following technical scheme that realize:
A kind of asynchronous endorsement method of network node, comprising the following steps:
Step S1, the data that the network node needs are signed are sent to signature machine and sign;
Step S2, the data that the signature machine signs to the needs that the network node is sent are signed, and are generated
One Universally Unique Identifier returns to the network node;
The Universally Unique Identifier that the signature machine returns is locally stored in step S2, the network node, while also inciting somebody to action this
It is secondary that business corresponding to the data signed and its subservice is needed to save together;
Step S3, after the signature machine is completed to sign, the signature machine generates a signature completion notice and is sent to label
Name notification queue;
On the one hand the signature completion notice is sent to the network node by step S4, the signature notification queue, accuse
Know that this signature operation is completed in the network node, the signature completion notice is on the other hand sent to signature readjustment team
Column;
Step S5, the network node inquire this data for needing to sign according to the Universally Unique Identifier being locally stored
Corresponding business and its subservice;
Step S6 judges that the data that this needs inquired are signed whether there is subservice;If being judged as YES, enter
Step S7 enters step S10 if being judged as NO;
Step S7, the signature for signing subservice corresponding to the data that callback queues sign to this needs carry out core
Crucial point reason;
Step S8, judges whether the signature callback queues handle time-out, if overtime, S9 is entered step, if not surpassing
When, then enter step S10;
Step S9, the network node send to the signature machine according to the Universally Unique Identifier and obtain subservice label
Name request of data, and judge whether successfully receiving the subservice signed data that the signature machine returns;If receive successfully, into
Enter step S10, if reception failure, return step S1;
Step S10, this needs subservice corresponding to the data signed to sign completely, subsequently into step S11;
Step S11, the data that the network node completes signature are sent to transmit queue and are sent.
Due to using technical solution as above, the beneficial effects of the present invention are: the present invention is by the way of signature notification
Whether informing network node, which is completed, is signed, and can be efficiently reduced network node to the access operation of signature machine, be avoided network section
The occupied problem of vast resources in point, while the data of processing failure are not abandoned, but again by the data of signature failure
It signs, avoids loss of data, ensure that the integrality of data.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of existing network node endorsement method.
Fig. 2 is the flow chart of the asynchronous endorsement method of network node of the invention.
Specific embodiment
In order to be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, tie below
Conjunction is specifically illustrating, and the present invention is further explained.
Referring to fig. 2, what is provided in figure is a kind of asynchronous endorsement method of network node, comprising the following steps:
Step S1, network node will need the data signed to be sent to signature machine to sign by adapter;
Step S2, the data that signature machine signs to the needs that network node is sent are signed, and generation one is general
Unique identifier returns to network node;
The Universally Unique Identifier of signature machine return is locally stored in step S2, network node, while also needing to sign by this
Business corresponding to the data of name and its subservice save together;
Step S3, after the machine of signature completes signature, signature machine generates a signature completion notice and is sent to signature notification team
Column;
On the one hand signature completion notice is sent to network node by step S4, signature notification queue, informing network node is
This signature operation is completed, signature completion notice is on the other hand sent to signature callback queues;
Step S5, network node according to the Universally Unique Identifier being locally stored inquire this needs sign data institute it is right
The business and its subservice answered;
Step S6 judges that the data that this needs inquired are signed whether there is subservice;If being judged as YES, enter
Step S7 enters step S10 if being judged as NO;
Step S7, signature callback queues need the signature of subservice corresponding to the data signed to carry out at verification this
Reason;
Step S8, judges whether signature callback queues handle time-out, if overtime, enters step S9, if being not timed-out,
Enter step S10;
Step S9, network node send to signature machine according to Universally Unique Identifier and obtain the request of subservice signed data,
And judge whether successfully receiving the subservice signed data of signature machine return;If receiving successfully, S10 is entered step, if connecing
Failure is received, then return step S1;
Step S10, this needs subservice corresponding to the data signed to sign completely, subsequently into step S11;
Step S11, the data that network node completes signature are sent to transmit queue and are sent.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this
The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.
Claims (1)
1. a kind of asynchronous endorsement method of network node, which comprises the following steps:
Step S1, the data that the network node needs are signed are sent to signature machine and sign;
Step S2, the data that the signature machine signs to the needs that the network node is sent are signed, and generate one
Universally Unique Identifier returns to the network node;
The Universally Unique Identifier that the signature machine returns is locally stored in step S2, the network node, while also needing this
Business corresponding to the data to be signed and its subservice save together;
Step S3, after the signature machine is completed to sign, the signature machine, which generates a signature completion notice and is sent to sign, to be led to
Know queue;
On the one hand the signature completion notice is sent to the network node by step S4, the signature notification queue, inform institute
It states network node and this signature operation is completed, the signature completion notice is on the other hand sent to signature callback queues;
Step S5, the network node according to the Universally Unique Identifier being locally stored inquire this needs sign data institute it is right
The business and its subservice answered;
Step S6 judges that the data that this needs inquired are signed whether there is subservice;If being judged as YES, enter step
S7 enters step S10 if being judged as NO;
Step S7, the signature callback queues need the signature of subservice corresponding to the data signed to carry out at verification this
Reason;
Step S8, judges whether the signature callback queues handle time-out, if overtime, enters step S9, if being not timed-out,
Enter step S10;
Step S9, the network node send to the signature machine according to the Universally Unique Identifier and obtain subservice number of signature
According to request, and judge whether successfully receiving the subservice signed data that the signature machine returns;If receiving successfully, enter step
Rapid S10, if reception failure, return step S1;
Step S10, this needs subservice corresponding to the data signed to sign completely, subsequently into step S11;
Step S11, the data that the network node completes signature are sent to transmit queue and are sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910008636.3A CN109617697B (en) | 2019-01-04 | 2019-01-04 | Asynchronous signature method for network node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910008636.3A CN109617697B (en) | 2019-01-04 | 2019-01-04 | Asynchronous signature method for network node |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109617697A true CN109617697A (en) | 2019-04-12 |
CN109617697B CN109617697B (en) | 2021-05-14 |
Family
ID=66015716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910008636.3A Active CN109617697B (en) | 2019-01-04 | 2019-01-04 | Asynchronous signature method for network node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109617697B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805339A (en) * | 2005-12-31 | 2006-07-19 | 北京握奇数据系统有限公司 | Digital signature supporting personal trusted device and its method for implementing signature |
US20080120506A1 (en) * | 2006-11-20 | 2008-05-22 | Canon Kabushiki Kaisha | Communication apparatus, control method thereof and computer readable medium |
CN101296136A (en) * | 2007-04-29 | 2008-10-29 | 华为技术有限公司 | Method and system for information distribution of server information, and management device |
CN101483522A (en) * | 2008-01-09 | 2009-07-15 | 华为技术有限公司 | Method, system and device for controlling trustable network access |
US20160080157A1 (en) * | 2014-09-16 | 2016-03-17 | Keypasco Ab | Network authentication method for secure electronic transactions |
CN106506170A (en) * | 2016-12-15 | 2017-03-15 | 北京三未信安科技发展有限公司 | A kind of distributed signature method and system based on RSA |
-
2019
- 2019-01-04 CN CN201910008636.3A patent/CN109617697B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805339A (en) * | 2005-12-31 | 2006-07-19 | 北京握奇数据系统有限公司 | Digital signature supporting personal trusted device and its method for implementing signature |
US20080120506A1 (en) * | 2006-11-20 | 2008-05-22 | Canon Kabushiki Kaisha | Communication apparatus, control method thereof and computer readable medium |
CN101296136A (en) * | 2007-04-29 | 2008-10-29 | 华为技术有限公司 | Method and system for information distribution of server information, and management device |
CN101483522A (en) * | 2008-01-09 | 2009-07-15 | 华为技术有限公司 | Method, system and device for controlling trustable network access |
US20160080157A1 (en) * | 2014-09-16 | 2016-03-17 | Keypasco Ab | Network authentication method for secure electronic transactions |
CN106506170A (en) * | 2016-12-15 | 2017-03-15 | 北京三未信安科技发展有限公司 | A kind of distributed signature method and system based on RSA |
Also Published As
Publication number | Publication date |
---|---|
CN109617697B (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109756508B (en) | Message proxy method based on multi-protocol access block chain network and related equipment | |
US20110173495A1 (en) | Method and System for Reliable Intersystem Message Notification | |
CN104980450A (en) | Message transmission method and system and message-oriented middleware | |
CN104660489A (en) | Method and system for controlling message delivery in messaging system | |
US20130159427A1 (en) | Integrated incident management for hybrid landscapes | |
EP3918466A1 (en) | Handling an input/output store instruction | |
CN100450105C (en) | Synchronous information interface realizing method based on JAVA information service | |
WO2013155935A1 (en) | Method for performing data communication between welding power source and computer | |
CN101388039B (en) | Response message executing method and device | |
CN108446132A (en) | A method of remotely updating electric power acquisition terminal software based on TFTP | |
CN101459694A (en) | Highly available message transmission frame and method oriented to distributed file system | |
CN104348874A (en) | Method and device for message transmission between cloud platform components | |
CN109617697A (en) | A kind of asynchronous endorsement method of network node | |
CN102684895A (en) | Standby server and system and method for restoring registration of client side in master server | |
CN103731424B (en) | A kind of transmission method of network data, apparatus and system | |
JP4516594B2 (en) | Message transmission control method, message transmission control device, and message transmission control program | |
CN112187655B (en) | Controller cluster of storage system, message transmission method of controller cluster and readable storage medium | |
US7664841B2 (en) | Selective activation of TCP/IP link and traffic | |
CN111225423B (en) | Method and device for forwarding data | |
CN113051044A (en) | Distributed transaction processing method and device based on non-service architecture | |
CN117061072B (en) | Message transmission method, device, equipment and storage medium | |
CN108429741A (en) | A kind of method and system for realizing NCSI agreements | |
CN116760510B (en) | Message sending method, message receiving method, device and equipment | |
US20090319593A1 (en) | Optimized Message Format for Synchronization Flows Between Transaction Processing Systems | |
CN109347760A (en) | A kind of data transmission method for uplink and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |