Summary of the invention
Embodiments herein provides a kind of electronic protocol management platform and electronic protocol management method, existing for solving
Electronic protocol manage that cost existing for platform is big, audit is slow, signing is slow and express delivery is slow and to electronic protocol lack effectively, collection
In, specification, close rule safety management means problem.
In order to achieve the above objectives, embodiments herein adopts the following technical scheme that
In a first aspect, embodiments herein provides a kind of electronic protocol management platform, the electronic protocol management
Platform includes electronic protocol Template Manager component, electronic protocol signature serviced component and storage assembly,
The electronic protocol Template Manager component, for being authenticated to user right and user's real name, if certification passes through,
Generate the electronic protocol unsigned;
The electronic protocol signs serviced component, and for signing to the electronic protocol unsigned, generation has been signed
The electronic protocol of name, and the electronic protocol unsigned is subjected to time-stamping service and obtains timestamp signature value, by described in not
The electronic protocol of signature is encrypted to obtain digital signature value;The timestamp signature value is for proving described unsign
Electronic protocol generation time and content be not tampered with the electronic certificate with legal effect of forgery;
Storage assembly, for electronic protocol, the electronic protocol signed, institute unsigned described in the storage of block chain
State timestamp signature value and the digital signature value.
Second aspect, embodiments herein provides a kind of electronic protocol management method, applied to electricity described in aspect
Sub-protocol manages platform, and the electronic protocol management method includes:
The electronic protocol Template Manager component authenticates user right and user's real name, if certification passes through, generates
The electronic protocol unsigned;
The electronic protocol signature serviced component signs to the electronic protocol unsigned, and generates the electricity signed
Sub-protocol, and the electronic protocol unsigned is carried out time-stamping service and obtains timestamp signature value is unsigned described
Electronic protocol is encrypted to obtain digital signature value;The timestamp signature value is for proving the electronics unsigned
The generation time and content of agreement are not tampered with the electronic certificate with legal effect of forgery;
The storage assembly stored in block chain described in electronic protocol, the electronic protocol signed, institute unsigned
State timestamp signature value and the digital signature value.
The third aspect, provides a kind of computer readable storage medium for storing one or more programs, it is one or
Multiple programs include instruction, and described instruction makes the computer execute the electronics as described in second aspect when executed by a computer
Protocol managerial approach.
Fourth aspect provides a kind of computer program product comprising instruction, when described instruction is run on computers
When, so that computer executes the electronic protocol management method as described in second aspect.
5th aspect provides a kind of electronic protocol management platform, comprising: processor and memory, memory is for storing
Program, processor calls the program of memory storage, to execute electronic protocol management method described in above-mentioned second aspect.
What embodiments herein provided, electronic protocol manages platform and electronic protocol management method, existing for solving
Electronic protocol manage that cost existing for platform is big, audit is slow, signing is slow and express delivery is slow and to electronic protocol lack effectively, collection
In, specification, close rule safety management means problem.
Specific embodiment
A kind of electronic protocol management platform, as shown in Figure 1, electronic protocol management platform 10 includes electronic protocol Template Manager
Component 11, electronic protocol signature serviced component 12 and storage assembly 13.
Electronic protocol Template Manager group 11, for authenticating to user right and user's real name, authenticate by generating not
The electronic protocol of signature may be implemented to carry out standardized management, such as the Template Manager of electronic protocol to electronic protocol, be managed with print
Reason etc..
Electronic protocol signature serviced component 12 is used to sign to the electronic protocol unsigned, and generates the electronics association signed
View, and the electronic protocol unsigned progress time-stamping service is obtained into timestamp signature value, the electronic protocol unsigned is encrypted
Processing obtains digital signature value, can real-name authentication to electronic protocol, examination & approval, signature process carry out standardized management.
Electronic protocol that storage assembly 13 is used to unsign in block chain storage, the electronic protocol signed, timestamp label
Name value and digital signature value, the whole life cycle of the storing process overlay protocol file of storage assembly are based on block chain technology,
It can prevent to deposit card data tampering, risk of upgrading professional title and rank by applying rules for other sectors.
As shown in Fig. 2, electronic protocol management platform 10 further includes intellectual analysis component 14, intelligent executive module 15.
Intellectual analysis component 14 may be implemented to assist electronics for the electronic protocol being verified to be counted and filed
View carries out Classification Management.
Intelligent executive module 15 is used to track the implementation procedure for the electronic protocol being verified according to the first rule,
It may be implemented to track the progress of electronic protocol, the functions such as Risk-warning, intelligent reminding.
Electronic protocol management platform 10 is developed based on the associated specifications of Java EE, is had portability, is set up in a wide range
The characteristics such as putting property, strong security and the quick exploitation of support.
Electronic protocol manage platform 10 software systems be based on Model View Controller (model view controller,
MVC development frame) is divided into data Layer, Business Logic and business surface tier, is concentrated mainly on business surface tier and patrols with business
Collect layer.Business surface tier is related to the User format server end for being based on " Thin clients " technology and corresponding Interactive control is patrolled
Volume.Business surface tier is subdivided into view format layer and indicates control logic layer, view format layer only remains building client
The necessary display format of User and event triggering;And it is patrolled indicating that control logic layer then realizes to control needed for human-computer interaction
It collects and partial service session logic is then constituted along with the Business Entity for running through all system logic layers using MVC pattern as core
Display format, display control logic, model data three parts are effectively separated, are greatly reinforced by the expression layer architecture of the heart
The scalability of system architecture and the pluggable property of application subsystem.
Electronic protocol manages the number that platform 10 is based on object representation (javascript object notation, JSON)
It is developed according to transmission structure, the interface of electronic protocol Template Manager component and storage assembly offer is all made of JSON format and is counted
According to transmission.JSON is a kind of data interchange format of lightweight, is stored using the text formatting for being totally independent of programming language
With expression data.
The Database Mapping that electronic protocol manages platform uses Hibernate Object Relation Mapping frame, Hiberna te
It is the Object Relation Mapping frame an of open source code, it connects (java dat a base to java database
Connectivity, JDBC) object encapsulation of very lightweight has been carried out, it is by simple Ja va object (plain
Ordinary java object, POJO) with database table establish mapping relations, be a full automatic Object Relation Mapping
(object/relation mapping, ORM) frame, Hiber nate can automatically generate structured query sentence
(structured query language, SQL), it is automatic to execute, the behaviour to Java object will be converted to the operation of database
Make, to simplify exploitation.
Embodiment 1,
Specifically, in conjunction with Fig. 1, as shown in figure 3, electronic protocol management platform 10 is for executing following electronic protocol managers
Method:
S301, electronic protocol Template Manager component 11 authenticate user right and user's real name, raw if certification passes through
At the electronic protocol unsigned.
Electronic protocol Template Manager component 11 authenticates user right and user's real name.
Illustratively, authenticated including the identity to user, operating right, if the identity of user be company personnel and
It is the line manager etc. with operating right, then certification is carried out to user right and user's real name and passed through.
After user right and user's real-name authentication pass through, electronic protocol administrative template component 11 obtains electronics from operation system
Model agreement generates the electronic protocol unsigned to electronic protocol template completion protocol contents.
Illustratively, it includes supply chain financial system, personal finance system, bill finance that operation system, which includes operation system,
System, enterprise's electricity charge financial system, energy circle system.
With application programming interfaces (application between electronic protocol Template Manager component 11 and operation system
Programming interface, API) mode carry out data interaction, API uses hypertext transfer protocol (hypertext
Transfer protocol, HTTP), data are carried out in the mode that power on self test (power on self test, POST) is requested
Request, returned packet use JSON format.
It to electronic protocol template completion protocol contents, illustratively include that electronic protocol template is document format, in document
In fill in particular content, the amount of money, quantity of agreement etc., generate the electronic protocol unsigned, electronic protocol is Portable document lattice
Formula Portable Document (portable document format, PDF) format.
S302, electronic protocol signature serviced component 12 sign to the electronic protocol unsigned, and generate the electricity signed
Sub-protocol, and the electronic protocol unsigned progress time-stamping service is obtained into timestamp signature value, the electronic protocol that will be unsigned
It is encrypted to obtain digital signature value.
Electronic protocol signature serviced component 12 signs to the electronic protocol unsigned.
It illustratively include, to the electronic protocol unsigned plus name, Business Name etc., generating the electronics association signed
View, the electronic protocol signed are PDF format.
Electronic protocol signs serviced component 12 and the electronic protocol unsigned progress time-stamping service is obtained timestamp signature
Value, is encrypted the electronic protocol unsigned to obtain digital signature value, specifically include:
Electronic protocol signs serviced component 12 and obtains the first cryptographic Hash to the electronic protocol progress HASH operation unsigned.
Electronic protocol signs serviced component 12 and sends the first cryptographic Hash to third party's time-stamping service center;When from third party
Jian Chuo service centre receives timestamp signature value corresponding with first cryptographic Hash;Timestamp signature value is for proving not sign
The generation time and content of the electronic protocol of name are not tampered with the electronic certificate with legal effect of forgery;When passing through third party
Between stab service function, it is ensured that the file time of signature and encryption solidification.
Electronic protocol signs serviced component 12 and sends the first cryptographic Hash to digital certificate mechanism CA;It receives from CA and is breathed out with first
It is uncommon to be worth corresponding private key information;The first cryptographic Hash is encrypted to obtain digital signature value according to private key information.
Electronic protocol manages platform 10 and is able to achieve Electronic Signature function by electronic protocol signature serviced component, to realize
The functions such as electronic protocol file on-line signing, online examination & approval, archive;The papery that the current tradition of replacement falls behind signs mode.
S303, the electronic protocol that storage assembly 13 is unsigned in block chain storage, the electronic protocol signed, timestamp label
Name value and digital signature value.
Storage assembly 13 is by the electronic protocol unsigned, the electronic protocol signed, timestamp signature value and digital signature
Value, is synchronized to judicial expertise center, so that electronics deposits the relevant legal services of card and becomes more credible, efficient, safe.
The electronic protocol management method that embodiments herein provides weighs user by electronic protocol Template Manager component
Limit and user's real name authenticate, and certification is by generating the electronic protocol unsigned;Electronic protocol signs serviced component to not signing
The electronic protocol signature of name generates the electronic protocol signed, and the electronic protocol unsigned progress time-stamping service is obtained
The electronic protocol encryption unsigned is obtained digital signature value by timestamp signature value;Storage assembly stores not in block chain
The electronic protocol of signature, the electronic protocol signed, timestamp signature value and digital signature value realize electronic protocol signing,
Solve that cost existing for existing electronic protocol management platform is big, audit is slow, signing is slow and express delivery is slow and lacks to electronic protocol
Weary effective, concentration, closes the safe management means problem of rule at specification.
Specifically, as shown in figure 4, electronic protocol management method further include:
S304, electronic protocol sign serviced component 12 and receive public key information corresponding with the first cryptographic Hash from CA.
S305, electronic protocol signature serviced component 12 carry out HASH operation to the electronic protocol unsigned and generate the second Hash
Value.
S306, electronic protocol signature serviced component 12 are decrypted after obtaining decryption digital signature value according to public key information
Digital signature value.
S307, electronic protocol signature serviced component 12 compare digital signature value and the second cryptographic Hash after decryption, if equal,
Then it is verified;If unequal, verify and do not pass through.
The electronic protocol management method that embodiments herein provides signs serviced component 12 to electronics by electronic protocol
Agreement is verified, and the validity of electronic signature can be improved.
Specifically, in conjunction with Fig. 2, as shown in figure 5, electronic protocol management method further include:
S308, intellectual analysis component 14 are counted and are filed to the electronic protocol being verified.
Illustratively, intellectual analysis component 14 is to the electronic protocol being verified type, contract status, client as agreed
Industry, treaty content carry out data statistics and file.
The electronic protocol management method that embodiments herein provides, by intellectual analysis component 14 to the electricity being verified
Sub-protocol is counted and is filed, and can effectively be managed electronic protocol.
Specifically, in conjunction with Fig. 2, as shown in fig. 6, electronic protocol management method further include:
S309, intelligent executive module 15 according to the first rule to the implementation procedure for the electronic protocol being verified carry out with
Track.
Illustratively, the first rule is law works rule, when there is risk in the electronic protocol implementation procedure being verified,
Intelligent executive module 15 generates warning information.
The electronic protocol management method that embodiments herein provides, holds electronic protocol by intelligent executive module 15
Row process is tracked, and may be implemented to track the progress of electronic protocol, the functions such as Risk-warning, intelligent reminding.
Embodiments herein provides a kind of computer readable storage medium for storing one or more programs, one
Or multiple programs include instruction, described instruction makes computer execute the electronics as described in Fig. 3-Fig. 6 when executed by a computer
Protocol managerial approach.
Embodiments herein provides a kind of computer program product comprising instruction, when instruction is run on computers
When, so that computer executes the electronic protocol management method as described in Fig. 3-Fig. 6.
Embodiments herein provides a kind of electronic protocol management platform, comprising: processor and memory, memory are used for
Program is stored, processor calls the program of memory storage, to execute the electronic protocol management method as described in Fig. 3-Fig. 6.
Platform, computer readable storage medium, computer program are managed by electronic protocol in the case of this application
Product can be applied to above-mentioned electronic protocol management method, therefore, can be obtained technical effect see also the above method
Embodiment, details are not described herein for embodiments herein.
It should be noted that above-mentioned each unit can be the processor individually set up, also can integrate controller certain
It is realized in one processor, in addition it is also possible to be stored in the form of program code in the memory of controller, by controller
Some processor calls and executes the function of the above each unit.Processor described here can be a central processing unit
(Central Processing Unit, CPU) or specific integrated circuit (Application Specific
Integrated Circuit, ASIC), or be arranged to implement one or more integrated circuits of the embodiment of the present application.
It should be understood that magnitude of the sequence numbers of the above procedures are not meant to execute suitable in the various embodiments of the application
Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present application
Process constitutes any restriction.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with
It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.