CN107133777A - A kind of establishment of electronic contract, signature method and system - Google Patents

A kind of establishment of electronic contract, signature method and system Download PDF

Info

Publication number
CN107133777A
CN107133777A CN201710276720.4A CN201710276720A CN107133777A CN 107133777 A CN107133777 A CN 107133777A CN 201710276720 A CN201710276720 A CN 201710276720A CN 107133777 A CN107133777 A CN 107133777A
Authority
CN
China
Prior art keywords
contract
request
submodule
platform
signer
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.)
Pending
Application number
CN201710276720.4A
Other languages
Chinese (zh)
Inventor
陆舟
于华章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Feitian Technologies Co Ltd
Original Assignee
Feitian Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Feitian Technologies Co Ltd filed Critical Feitian Technologies Co Ltd
Priority to CN201710276720.4A priority Critical patent/CN107133777A/en
Publication of CN107133777A publication Critical patent/CN107133777A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of establishment of electronic contract, signature method and system, belong to e-commerce field.Methods described includes:When the second platform calls the 6th function interface to sign a contract request to the first platform transmission first, the signature picture that the first platform is selected according to signer treats execution signature operation of signing a contract;When the second platform calls the 7th function interface to sign a contract request to the first platform transmission second, the first platform treats execution signature operation of signing a contract;When the second platform calls the 3rd function interface to send the first establishment contract request to the first platform, the first platform performs establishment contract according to replacement data and corresponding contract template and operated;When the second platform calls the 4th function interface to send the second establishment contract request to the first platform, based on contract document performs the operation of establishment contract to the first platform.In the present invention, a variety of patterns for signing a contract and creating contract are provided the user, user can be selected according to demand, improve Consumer's Experience.

Description

A kind of establishment of electronic contract, signature method and system
Technical field
The present invention relates to e-commerce field, more particularly to a kind of establishment of electronic contract, signature method and system.
Background technology
With the development of electronic technology, traditional contracts are just gradually replaced by electronic contract, electronic contract be both sides or Set up, change, terminate property civil right by what electronic information network was reached as electrons between multi-party party The agreement of voluntary relation.Electronic contract has easy to use, efficiency of transmission height, the advantages of not limited by time place.
In the prior art, the signature of electronic contract is typically that contract conclusion platform provides the user fixed mode establishment conjunction With and the function such as sign a contract, the use habit and signature mode of user etc. limited by contract conclusion platform, thus can not The demand of all users is met, the experience of user is reduced.
The content of the invention
To solve the deficiencies in the prior art, the present invention provides a kind of establishment of electronic contract, signature method and system.
On the one hand, the invention provides a kind of signature method of electronic contract, including:
When the second platform calls the 6th function interface to sign a contract request to the first platform transmission first, following grasp is performed Make:
Step C1:6th function interface judges whether the described first request of signing a contract is legal, is then by described the One request of signing a contract is sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step C2:First platform receives described first and signed a contract request, is signed a contract request according to described first In the Contract NO that contains waiting of searching that correspondence preserves sign a contract;
Step C3:First platform obtains contract to be presented, the label contained in asking of being signed a contract according to described first Affix one's name to the signature picture of the corresponding signer of people's information searching, page of the generation containing the contract to be presented and the signature picture Face, opens the page by second platform and is shown to the signer, when receiving the signer in the page When signature in face triggers information, step C4 is performed;
Step C4:The signature picture that first platform is selected according to the signer to it is described wait to sign a contract perform label Administration's operation, return responds to second platform, terminates;
When the second platform calls the 7th function interface to sign a contract request to the first platform transmission second, following grasp is performed Make:
Step D1:7th function interface judges whether the described second request of signing a contract is legal, is then by described the Two requests of signing a contract are sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step D2:First platform receives described second and signed a contract request, signs a contract and contains in asking according to described second What some Contract NO searched that correspondence preserves waits to sign a contract, and waits execution signature operation of signing a contract to described, return is responded to Second platform, terminates
Present invention also offers a kind of creation method of electronic contract, including:
When the second platform calls the 3rd function interface to send the first establishment contract request to the first platform, following grasp is performed Make:
Step A1:Whether 3rd function interface to create contract request legal if judging described first, is then by described the One establishment contract request is sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step A2:First platform receives described first and creates contract request, and contract request is created according to described first In the template identification that contains search corresponding contract template, contract to be created is generated according to the contract template;
Step A3:First platform obtains Contract NO, and contract is created according to the contract to be created and described first The replacement data contained in request, which is generated, to be waited to sign a contract, and waiting to sign a contract described in storage obtains the first storage address, will be described First storage address is corresponding with the Contract NO to be preserved, and return responds to second platform, terminates;
When the second platform calls the 4th function interface to send the second establishment contract request to the first platform, following grasp is performed Make:
Step B1:Whether 4th function interface to create contract request legal if judging described second, is then by described the Two establishment contract requests are sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step B2:First platform receives described second and creates contract request, and described second is created in contract request The treaty documents contained are as waiting to sign a contract;
Step B3:First platform obtains Contract NO, and storage is described to be waited to sign a contract and obtain the first storage address, general First storage address is corresponding with the Contract NO to be preserved, and return responds to second platform, terminates.
On the other hand, the invention provides a kind of signature system of electronic contract, including:Second console module, function connect Mouth mold block and the first console module;
The function interface module includes the 6th function interface submodule and the 7th function interface submodule;
Second console module, for calling the 6th function interface submodule to be sent to first console module First signs a contract request;
The 6th function interface submodule, including:
First judging unit, for judge described first sign a contract request it is whether legal;
First transmitting element, for when first judging unit judge described first sign a contract request it is legal when, Described first request of signing a contract is sent to first console module;
First reports an error unit, for judging that the described first request of signing a contract is illegal when first judging unit When, error code is returned to second console module;
First console module, including:
First receiving submodule, for receive the 6th function interface submodule is sent first sign a contract please Ask;
First search submodule, first for being received according to first receiving submodule sign a contract request in contain What some Contract NO lookup correspondences were preserved waits to sign a contract;
First acquisition submodule, for obtaining contract to be presented;
Second search submodule, first for being received according to first receiving submodule sign a contract request in contain The signature picture of the corresponding signer of some signer's information searchings;
First generation submodule, for generating the page containing the contract to be presented and the signature picture;
First display sub-module, for opening the page that the first generation submodule is generated by second console module Face is simultaneously shown to the signer;
First receiving submodule, is additionally operable to receive the page that the signer shows in first display sub-module In signature triggering information;
First signature submodule, for receiving the signer in the described first display when first receiving submodule When signature in the page that submodule is shown triggers information, searched according to the signature picture that the signer selects described first What submodule was found waits execution signature operation of signing a contract;
First sending submodule, after performing signature operation in the described first signature submodule, return responds to institute State the second console module;
Second console module, is additionally operable to call the 7th function interface submodule to send out to first console module Second is sent to sign a contract request;
The 7th function interface submodule, including:
Second judging unit, for judge described second sign a contract request it is whether legal;
Second transmitting element, for when second judging unit judge described second sign a contract request it is legal when, Described second request of signing a contract is sent to first console module;
Second reports an error unit, for judging that the described second request of signing a contract is illegal when second judging unit When, error code is returned to second console module;
First console module, in addition to:
Second receiving submodule, for receive the 7th function interface submodule is sent second sign a contract please Ask;
3rd search submodule, second for being received according to second receiving submodule sign a contract request in contain What some Contract NO lookup correspondences were preserved waits to sign a contract;
Second signature submodule, the execution signature behaviour that signs a contract is waited for what is found to the described 3rd lookup submodule Make;
Second sending submodule, for returned after performing signature operation in the described second signature submodule respond to it is described Second console module.
Present invention also offers a kind of establishment system of electronic contract, including:Second console module, function interface module and First console module;
The function interface module, including:3rd function interface submodule and the 4th function interface submodule;
Second console module, for calling the 3rd function interface submodule to the first console module transmission first Create contract request;
The 3rd function interface submodule, including:
4th judging unit, for judging whether the first establishment contract request is legal;
4th transmitting element, for when the 4th judging unit judge it is described first create contract request it is legal when, Described first establishment contract request is sent to first console module;
4th reports an error unit, for when the 4th judging unit judges described first, to create contract request illegal When, error code is returned to second console module;
First console module, including:
4th receiving submodule, contract request is created for receiving described first;
5th searches submodule, and first for being received according to the 4th receiving submodule creates to be contained in contract request Some template identifications search corresponding contract template;
Second generation submodule, for the contract template generation conjunction to be created found according to the described 5th lookup submodule Together;
Second acquisition submodule, for obtaining Contract NO;
3rd generation submodule, the contract to be created and the described 4th for being generated according to the described second generation submodule connects The replacement data contained in the first establishment contract request that receipts submodule is received, which is generated, to be waited to sign a contract;
Second preserves submodule, for storing waiting to sign a contract and obtaining the first storage for the 3rd generation submodule generation Address;
3rd preserves submodule, and the first storage address for the described second preservation submodule to be obtained is obtained with described second The Contract NO correspondence for taking submodule to get is preserved;
4th sending submodule, second console module is responded to for returning;
Second console module, is additionally operable to call the 4th function interface submodule to send the second wound to the first console module Build contract request;
The 4th function interface submodule, including:
5th judging unit, for judging whether the second establishment contract request is legal;
5th transmitting element, for when the 5th judging unit judge it is described second create contract request it is legal when, Described second establishment contract request is sent to first console module;
5th reports an error unit, for when the 5th judging unit judges described second, to create contract request illegal When, error code is returned to second console module;
First console module, in addition to:
5th receiving submodule, please for receiving the second establishment contract that the 4th function interface submodule is sent Ask;
The conjunction contained in contract request is created as submodule, second for the 5th receiving submodule to be received With document as waiting to sign a contract;
3rd acquisition submodule, for obtaining Contract NO;
4th preserves submodule, waits to sign a contract and obtains the first storage for storing described as what submodule was obtained Location;
5th preserves submodule, and the first storage address for the described 4th preservation submodule to be obtained is obtained with the described 3rd The Contract NO correspondence for taking submodule to get is preserved;
5th sending submodule, second console module is responded to for returning.
The present invention compared with prior art, with advantages below:
In the present invention, a variety of establishment contracts and the pattern signed a contract are provided the user, user can enter according to demand Row selection, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of creation method flow chart for electronic contract that the embodiment of the present invention two is provided;
Fig. 2 and Fig. 3 is a kind of signature method flow diagram for electronic contract that inventive embodiments three are provided;
Fig. 4 is a kind of module composition frame chart of the signature system for electronic contract that the embodiment of the present invention four is provided;
Fig. 5 is a kind of module composition frame chart of the establishment system for electronic contract that the embodiment of the present invention five is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Whole description;Obviously, described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other reality that those skilled in the art are obtained on the premise of creative work is not paid Example is applied, the scope of protection of the invention is belonged to.
In the present invention, user is (hereinafter referred to as:Second platform) integrated contract conclusion platform is (hereinafter referred to as:First platform) carry The SDK of confession, when signer initiates to create or sign a contract operation to the second platform, the second platform is by calling in SDK Interface sends corresponding request to the first platform, and the first platform performs corresponding operation according to the request received;Wherein, During the SDK that two the first platforms of platform intergration are provided, the first platform creates account corresponding with the second platform;And the second platform exists When being communicated for the first time with the first platform, the first platform is that the second platform distributes unique access token, and the second platform uses the visit Ask that token and the first platform carry out follow-up data communication.
Embodiment one
The embodiment of the present invention one provides a kind of establishment of electronic contract, signature method, wherein, the signatory of electronic contract Method, including:
When the second platform calls the 6th function interface to sign a contract request to the first platform transmission first, following grasp is performed Make:
Step C1:6th function interface judge first sign a contract request it is whether legal, be, by first sign a contract please Ask and be sent to the first platform;Otherwise error code is returned to the second platform, is terminated;
Step C2:First platform receives first and signed a contract request, the contract contained in asking of being signed a contract according to first What numbering lookup correspondence was preserved waits to sign a contract;
Step C3:First platform obtains contract to be presented, the signer's information contained in asking of being signed a contract according to first The signature picture of corresponding signer is searched, the page of the generation containing contract to be presented and signature picture is beaten by the second platform Open the page of generation and be shown to signer, when receiving signature triggering information of the signer in the page, perform step C4;
Step C4:The signature picture that first platform is selected according to signer treats execution signature operation of signing a contract, and returns The second platform is responded to, is terminated;
When the second platform calls the 7th function interface to sign a contract request to the first platform transmission second, following grasp is performed Make:
Step D1:7th function interface judge second sign a contract request it is whether legal, be, by second sign a contract please Ask and be sent to the first platform;Otherwise error code is returned to the second platform, is terminated;
Step D2:First platform receives second and signed a contract request, the contract contained in asking of being signed a contract according to second What numbering lookup correspondence was preserved waits to sign a contract, and treats execution signature of signing a contract and operates, return responds to the second platform, ties Beam.
Wherein, the creation method of electronic contract, including:
When the second platform calls the 3rd function interface to send the first establishment contract request to the first platform, following grasp is performed Make:
Step A1:3rd function interface judges whether the first establishment contract request is legal, and being then please by the first establishment contract Ask and be sent to the first platform;Otherwise error code is returned to the second platform, is terminated;
Step A2:First platform receives first and creates contract request, according to the template contained in the first establishment contract request The corresponding contract template of identifier lookup, based on contract template generation contract to be created;
Step A3:First platform obtains Contract NO, according to what is contained in contract to be created and the first establishment contract request Replacement data, which is generated, to be waited to sign a contract, and is stored to wait to sign a contract and is obtained the first storage address, and the first storage address and contract are compiled Number correspondence preserve, return respond to the second platform, terminate;
When the second platform calls the 4th function interface to send the second establishment contract request to the first platform, following grasp is performed Make:
Step B1:4th function interface judges whether the second establishment contract request is legal, and being then please by the second establishment contract Ask and be sent to the first platform;Otherwise error code is returned to the second platform, is terminated;
Step B2:First platform receives second and creates contract request, second is created the contract text contained in contract request Shelves are used as and wait to sign a contract;
Step B3:First platform obtains Contract NO, stores to wait to sign a contract and obtains the first storage address, by the first storage Address is corresponding with Contract NO to be preserved, and return responds to the second platform, terminates.
In the present embodiment step C3, the corresponding signature of signer's information searching contained in asking of being signed a contract according to first The signature picture of people, be specially:First platform is corresponding according to first signer's information searching for containing in request of signing a contract The signature picture and stamped signature picture of signer;
Accordingly, in step C3, the page of the generation containing contract to be presented and signature picture is specially:Generation, which contains, to be needed The page of displaying contract, sign picture, stamped signature picture and date picture;
In step C4, the signature picture that the first platform is selected according to signer treats sign a contract execution signature operation, tool Body is:
First platform will be waited to sign a contract as currently waiting to sign a contract, the signature picture that respectively selects signer and/or The corresponding information of signature picture of signer's selection be added to it is current wait behind corresponding position in signing a contract as currently waiting to sign Administration's contract, digest value is calculated according to preset algorithm to currently waiting to sign a contract;Sign a contract what is contained in asking according to first Signer's information searching obtains A.L.S. using private key to private key corresponding with the digital certificate of signer to digest value signature Breath, the digital certificate of signing messages and signer is written to and currently waited in signing a contract.
In the present embodiment step A3 and step B3, the first platform obtains Contract NO, is specially:
Step F:First platform judges whether contain Contract NO in the request received, is to read the request received In the Contract NO that contains;Otherwise Contract NO is generated.
Embodiment two
The embodiment of the present invention two provides a kind of creation method of electronic contract, as shown in figure 1, including:
When the second platform calls first function interface to send addition contract template request to the first platform, including:
Step 201:First function interface judges whether addition contract template request is legal, and being then please by addition contract template Ask and be sent to the first platform, perform step 202;Otherwise error code is returned to second platform, is terminated;
In the present embodiment, first function interface judges whether addition contract template request is legal, specifically includes:
Whether judge to add the template name contained in contract template request not for sky and no more than the first preset length;
Whether judge to add the template contained in contract template request not for sky and no more than the second preset length;
If judged result is to be, then judge that addition contract template request is legal;Otherwise addition contract template request is judged It is illegal.
Preferably, in the present embodiment, the first preset length is 32bit, and the second preset length is 65536.
Further, in the present embodiment, first function interface will add contract template request and be sent to the first platform, Specially:Contract template request will be added and be packaged into the data of Json forms, and the data encryption of Json forms is added Contract template asks ciphertext, to addition contract template request cryptogram computation check value, by addition contract template request ciphertext, calculates Obtained check value and function interface mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 202:The addition contract template request that the parsing of first platform is received, obtains contract template and corresponding template Mark;
In the present embodiment, first function interface is specially String addHtmlTemplate (String templateName,String html);
For example, in the present embodiment, obtained corresponding template identification is template0001, obtained contract template For:
Petroleum coke purchase order
Supplier:Supplier Contract NO:contractNum
Demander:Buyer signs the time:time
According to《The People's Republic of China (PRC) and contract law》, both sides of supply and demand are in line with principle of equality and mutual benifit, through friendly negotiation, just Demander reaches following agreement to supplier's purchase petroleum coke matters:
First, name of product, quantity, the amount of money
Title:tenderTile
Quantity (ton):successQuantity
Monovalent (yuan/ton):buyPrice
Total value (member):sumPrice
2nd, means of transportation and correlative charges undertake:Automotive, demander picks up by oneself.
3rd, calculation:Entire cargo reaches demander and specified behind place, and after both sides of supply and demand confirmation is errorless, supplier issues 17% VAT invoice.
4th, liability for breach of contract:Both sides are according to the regulation of this agreement, and either party breaks a contract, is liable for breach of contract by delinquent party.
5th, the execution of contract:Effectively, both sides of supply and demand come into force this contract fax after signing and sealing.
Supplier:Supplier demanders:buyer
Supplier affixes one's seal:Demander affixes one's seal:
Step 203:Whether the contract template that the examination & verification of the first platform is obtained is legal, is then to perform step 204, otherwise returns wrong Error code gives the second platform, terminates;
Specifically, whether the content in the contract template that the examination & verification of the first platform is obtained, which meets, is converted to the first preset format The requirement of document, is to judge that obtained contract template is legal, otherwise judges that obtained contract template is illegal;
Preferably, in the present embodiment, the first preset format is PDF format;
For example, content in the first platform examination & verification contract template whether the character of document nonrecognition containing PDF format etc..
Step 204:First platform creates template record corresponding with obtained contract template, and obtained template identification is protected Deposit into the template record of establishment, and preserve template record;
In the present embodiment, the first platform preserves the template record of establishment to having in the database of template record.
Step 205:The contract template that first platform storage is obtained, and storage address is preserved to the template record of establishment In, return to the second platform of response;
Specifically, the first platform stores obtained contract template into database, and storage address is added into establishment Template record in.
When the second platform calls second function interface to send addition watermark picture request to the first platform, including:
Step 301:Second function interface judges whether addition watermark picture request is legal, and being then please by addition watermark picture Ask and be sent to the first platform, perform step 302;Otherwise error code is returned to the second platform, is terminated;
In the present embodiment, second function interface judges whether addition watermark picture request is legal, is specially:
Judge size, size and the transparency of adding the watermark picture contained in the request of watermark picture whether corresponding Preparatory condition, is then to judge that addition watermark picture request is legal;Otherwise judge that addition watermark picture request is illegal.
For example, in the present embodiment, the preparatory condition of the size of watermark picture is no more than 1M;The size of watermark picture Preparatory condition is width and height is numeral, and unit is px;The preparatory condition of the transparency of watermark picture is in 0%- In 100%.
Further, in the present embodiment, second function interface will add the request of watermark picture and be sent to the first platform, Specially:The request of watermark picture will be added and be packaged into the data of Json forms, and the data encryption of Json forms is added Watermark picture asks ciphertext, to addition watermark picture request cryptogram computation check value, by addition watermark picture request ciphertext, calculates Obtained check value and function interface mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 302:The watermark picture that first platform contains during the addition watermark picture received is asked is preserved to second Under the account of platform, return responds to the second platform;
In the present embodiment, second function interface is specific:String setWatermark(byte[]img,String watermarkset);
Further, in the present embodiment, also contain and water when in the addition watermark picture request that the first platform is received During the corresponding watermark picture identification of impression piece, in step 303, will add the watermark picture that contains in the request of watermark picture preserve to Under the account of second platform, it is specially:The watermark picture contained in addition watermark picture request is corresponding with watermark picture identification Preserve to the account of the second platform.
When the second platform calls the 3rd function interface to send the first establishment contract request to the first platform, including:
Step 401:3rd function interface judges whether the first establishment contract request is legal, and being then please by the first establishment contract Ask and be sent to the first platform, perform step 402;Otherwise error code is returned to the second platform, is terminated;
In the present embodiment, the 3rd function interface is specially:String createContractByTemplate (String templateName,String replaceVal,String contractNum,boolean isWatermark);
First, which creates contract request, is specially:Based on contract template establishment waits request of signing a contract;
Further, in the present embodiment, the 3rd function interface judges whether the first establishment contract request is legal, specific bag Include:
Judge the template name contained in the first establishment contract request whether not for sky and no more than the first preset length;
Judge whether the replacement data contained in the first establishment contract request meets preset format;
If judged result is to be, then judging first, to create contract request legal;Otherwise judge that first creates contract request It is illegal.
Preferably, in the present embodiment, the first preset length is 32bit;Preset format is specially Json forms;And replace The each single item changed in data meets corresponding preparatory condition, for example, the phone number of signer must be numeral.
Further, in the present embodiment, the first establishment contract request is sent to the first platform by the 3rd function interface, Specially:First establishment contract request is packaged into the data of Json forms, and first is obtained to the data encryption of Json forms Contract request ciphertext is created, contract request cryptogram computation check value is created to first, contract request ciphertext is created by first, calculates Obtained check value and function interface mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 402:The first establishment contract request that the parsing of first platform is received obtains template identification and replacement data;
For example, in the present embodiment, the template identification that the first establishment contract request that the parsing of the first platform is received is obtained For template0001, replacement data is { " supplier ":" Zhang San ", " buyer ":" Li Si ", " contractNum ": " contract0001 ", " tenderTitle ":" petroleum coke ", " successQuantity ":" 500 ", " buyPrice ": " 150 ", " sunPrice ":“75000”}.
Step 403:First platform judges whether obtained template identification is effective, is, correspondence is found according to template identification Contract template, and it is separately deposited as contract to be created, performs step 404, otherwise return to error code to the second platform, knot Beam;
Specifically, whether the first platform is judged containing obtained template identification in the template record preserved, is to judge The template identification arrived is effective;Otherwise judge that obtained template identification is invalid;
More specifically, the template record having in the first platform searching data storehouse, is successively read the template note found Template identification in record, judges whether the template identification identical template identification that can be read and obtain, is, judgement is obtained Template identification effectively, otherwise judge that obtained template identification is invalid;
For example, in the present embodiment, the first platform is read and template identification identical obtained above in database Template identification, judges that obtained template identification is effective.
Further, in the present embodiment, corresponding contract template is found according to template identification, is specially:First is flat Platform reads the storage address for the contract template having in the template record containing the template identification, according to the storage read Location finds corresponding contract template.
Step 404:First platform judges whether contain Contract NO in the first establishment contract request, is to perform step 406, otherwise perform step 405;
Specifically, the first platform judges receive first creates in contract request whether contain contractNum fields, It is to judge to contain Contract NO in the establishment contract request received, otherwise judges to be free of in the establishment contract request received There is Contract NO;
For example, in the present embodiment, first received, which creates, contains contractNum fields in contract request, judge Contain Contract NO in the first establishment contract request received, and Contract NO is contract0001.
Step 405:First platform generates Contract NO, performs step 407;
Step 406:First platform judges whether the Contract NO contained in the first establishment contract request is effective, is to perform Step 407, error code is otherwise returned to the second platform, is terminated;
Specifically, the first platform judges whether the Contract NO contained in the first establishment contract request is accounted for by other contracts With being to judge first to create the Contract NO that contains in contract request invalid, otherwise judge that first creates and contain in contract request Some Contract NO are effective;
More specifically, the contract record having in the first platform searching data storehouse, is successively read the contract note found The Contract NO having in record, judges whether the Contract NO that reads creates the Contract NO contained in contract request with first It is identical, it is to judge that the Contract NO contained in the first establishment contract request is invalid;Otherwise judge that second creates in contract request The Contract NO contained is effective;
Step 407:First platform creates contract record corresponding with contract to be created, and Contract NO is added into establishment Contract record in, preserve contract record, perform step 408;
Step 408:First platform generates treaty documents according to obtained replacement data and contract to be created;
Specifically, the identifier that the first platform is replaced in contract to be created on relevant position using replacement data obtains contract Document;
For example, in the present embodiment, the first platform replaces replacement data ' Zhang San ' identifier in contract to be created ' supplier ', the identifier buyer ' in contract to be created is replaced by replacement data ' Li Si ', and obtained treaty documents are:
Petroleum coke purchase order
Supplier:Zhang San's Contract NO:contract0001
Demander:Li Si signs the time:time
According to《The People's Republic of China (PRC) and contract law》, both sides of supply and demand are in line with principle of equality and mutual benifit, through friendly negotiation, just Demander reaches following agreement to supplier's purchase petroleum coke matters:
6th, name of product, quantity, the amount of money
Title:Petroleum coke
Quantity (ton):500
Monovalent (yuan/ton):150
Total value (member):75000
7th, means of transportation and correlative charges undertake:Automotive, demander picks up by oneself.
8th, calculation:Entire cargo reaches demander and specified behind place, and after both sides of supply and demand confirmation is errorless, supplier issues 17% VAT invoice.
9th, liability for breach of contract:Both sides are according to the regulation of this agreement, and either party breaks a contract, is liable for breach of contract by delinquent party.
Tenth, the execution of contract:Effectively, both sides of supply and demand come into force this contract fax after signing and sealing.
Supplier:Zhang San demander:Li Si
Supplier affixes one's seal:Demander affixes one's seal:
Step 409:First platform is converted to the treaty documents of generation the document of preset format, by the document of preset format As waiting to sign a contract;
Preferably, in the present embodiment, preset format is PDF format.
Step 410:First platform judges to wait to sign a contract whether need to add watermark, is then to perform step 411;Otherwise hold Row step 412;
Specifically, the first platform reads the data created in contract request in preset field, judges that the data read are No is preset value, is to judge to wait to sign a contract to need to add watermark, otherwise judges to wait to sign a contract that watermark need not be added;
In the present embodiment, preset field is specially isWatermark fields, and preset value is specially TRUE;
For example, in the present embodiment, the data read in said contract request in isWatermark fields are TRUE, are sentenced Surely waiting to sign a contract needs to add watermark.
Step 411:First platform judges whether watermark picture corresponding with the second platform, and being then will be with the second platform Corresponding watermark picture, which is added to, to be waited to sign a contract, and performs step 412, is otherwise returned to error code to the second platform, is terminated;
Specifically, the access token that the first platform contains according to creating in contract request finds the account of the second platform, Judge whether contain watermark picture in the account found, be that the watermark picture in the account found is added to and waits to sign In contract;Otherwise error code is returned to the second platform, is terminated;
Further, in the present embodiment, when creating mark also containing watermark picture in contract request;
Accordingly, step 411 is specially:First platform is found pair according to creating the access token that contains in contract request The account answered, judges whether contain watermark picture in the account found, is then to contain watermark figure according in establishment contract request The mark of piece finds corresponding watermark picture in the account found, and the watermark picture found is added to and treats that signature is closed With in;Otherwise error code is returned to the second platform, is terminated.
For example, creating the watermark0001 that is designated containing watermark picture in contract request, the first platform is being found Account in find corresponding watermark picture, and the watermark picture found be added to wait to sign a contract.
Step 412:First platform will be waited to sign a contract to be converted to picture, as contract to be presented;
Step 413:First platform, which will be waited to sign a contract to store respectively with contract to be presented, obtains the first storage address and Two storage address, and the first storage address and the second storage address are added in corresponding contract record;
For example, in the present embodiment, the first storage address that storage of waiting to sign a contract is obtained is http://xxxxxx/ Pdf/accountnumxxxxx/contract0001, the second storage address that contract storage to be presented is obtained is http:// Xxxxxx/img/accountnumxxxxx/contract0001, it is contract0001 correspondences to be added separately to Contract NO Contract record in.
Step 414:Contract NO is returned to the second platform by the first platform, is terminated.
For example, in the present embodiment, Contract NO contract0001 is returned into the second platform.
In the present embodiment, in step 413 " the first platform will wait preservation of signing a contract, and by storage to be signed a contract Address is added in corresponding contract record ", it may be located between step 411 and step 412;
Accordingly, step 413, it is specially:First platform preserves contract to be presented, and by the storage of contract to be presented Location is added in corresponding contract record.
Further, in the present embodiment, step 410 can also be to step 412:
Step 410-1:First platform will be waited to sign a contract to be converted to picture, as contract to be presented;
Step 411-1:First platform judges to wait to sign a contract whether need to add watermark, is then to perform step 412-1;It is no Then perform step 413
Step 412-1:First platform judges whether watermark picture corresponding with the second platform, be then will with it is second flat The corresponding watermark picture of platform is respectively added to wait to sign a contract with contract to be presented, performs step 413;Otherwise error code is returned To host computer, terminate.
Further, in the present embodiment, step 412 to step 413 can also be:
Step 412-2:First platform, which stores to wait to sign a contract, obtains the first storage address, and the first storage address is added Into corresponding contract record.
When the second platform calls the 4th function interface to send the second establishment contract request to the first platform, including:
Step 501:4th function interface judges whether the second establishment contract request is legal, and being then please by the second establishment contract Ask and be sent to the first platform, perform step 502;Otherwise error code is returned to the second platform, is terminated;
In the present embodiment, the 4th function interface be specially String uploadContract (String data, String type,String contractNum,boolean isWatermark);
Second creates contract request, is specially:Based on contract document creation request to be signed a contract.
Further, in the present embodiment, the 4th function interface judges whether the second establishment contract request is legal, specific bag Include:
Whether the type for judging the treaty documents that the second establishment contract request contains is the file type supported;
Judge the second treaty documents for containing of establishment contract request whether not to be empty and no more than presetting size;
If judged result is to be, then judging second, to create contract request legal;Otherwise judge that second creates contract request It is illegal.
In the present embodiment, the form of the treaty documents of support includes doc, docx, xls, xlsx, ppt, pptx, pdf Deng;It is default big by lower specially 5,000,000.
Further, in the present embodiment, the second establishment contract request is sent to the first platform by the 4th function interface, Specially:Second establishment contract request is packaged into the data of Json forms, and second is obtained to the data encryption of Json forms Contract request ciphertext is created, contract request cryptogram computation check value is created to second, contract request ciphertext is created by second, calculates Obtained check value and function interface mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 502:The second establishment contract request that the parsing of first platform is received obtains treaty documents, judges treaty documents Whether it is preset format, is, as waiting to sign a contract, then performs step 503;Otherwise the treaty documents received are turned It is changed to after preset format as waiting to sign a contract, performs step 503;
In the present embodiment, the form for the treaty documents that the first platform is received can for doc, docx, xls, xlsx, Any one in ppt, pptx, pdf form;
Preferably, in the present embodiment, preset format is pdf forms;
In the present embodiment, the treaty documents received are converted to pdf forms by the first platform, are specially:First platform Call OFFICE documents conversion platform that OFFICE documents are converted into pdf forms;
For example, in the present embodiment, the treaty documents received are doc forms, the first platform calls OFFICE documents to turn Change platform and be converted into pdf forms.
Step 503:First platform judges whether contain Contract NO in the receive second establishment contract request, is to hold Row step 505;Otherwise step 504 is performed;
Specifically, the first platform judges whether contain contractNum fields in the establishment contract request received, is then Judge to contain Contract NO in the receive second establishment contract request, otherwise judge that receive second creates in contract request Contract NO is not contained;
For example, in the present embodiment, second received, which creates, contains contractNum fields in contract request, judge Contain Contract NO in the second establishment contract request received, and Contract NO is contract0002.
Step 504:First platform generates Contract NO, performs step 506;
Step 505:First platform judges whether the Contract NO contained in the second establishment contract request is effective, is to perform Step 506, error code is otherwise returned to the second platform, is terminated;
Specifically, the first platform judges whether the Contract NO contained in the second establishment contract request is accounted for by other contracts With being to judge second to create the Contract NO that contains in contract request invalid, otherwise judge that second creates and contain in contract request Some Contract NO are effective;
More specifically, the contract record having in the first platform searching data storehouse, is successively read the contract note found The Contract NO having in record, judges whether the Contract NO that reads creates the Contract NO contained in contract request with second It is identical, it is to judge that the Contract NO contained in the second establishment contract request is invalid;Otherwise judge that second creates in contract request The Contract NO contained is effective.
Step 506:First platform is created with waiting corresponding contract record of signing a contract, and Contract NO being added to create Contract record in, preserve contract record, perform step 507;
Step 507:First platform judges to wait to sign a contract whether need to add watermark, is then to perform step 508;Otherwise hold Row step 509;
Specifically, the first platform reads the data in preset field in the second establishment contract request, judges the number read According to whether being preset value, it is to judge to wait to sign a contract to need to add watermark, otherwise judges to wait to sign a contract that water need not be added Print;
In the present embodiment, preset field is specially isWatermark fields, and preset value is specially TRUE;
For example, in the present embodiment, the data read in said contract request in isWatermark fields are TRUE, are sentenced Surely waiting to sign a contract needs to add watermark.
Step 508:First platform judges whether watermark picture corresponding with the second platform, and being then will be with the second platform Corresponding watermark picture, which is added to, to be waited to sign a contract, and performs step 509;Otherwise error code is returned to host computer, is terminated;
In the present embodiment, the implementation method of step 508, it is identical with the implementation method of step 411, it will not be repeated here.
Step 509:First platform will be waited to sign a contract to be converted to picture, as contract to be presented;
Step 510:First platform, which will be waited to sign a contract to store respectively with contract to be presented, obtains the first storage address and Two storage address, and the first storage address and the second storage address are added in corresponding contract record;
For example, in the present embodiment, the first storage address that storage of waiting to sign a contract is obtained is http://xxxxxx/ Pdf/accountnumxxxxx/contract0002, the second storage address that contract storage to be presented is obtained is http:// Xxxxxx/img/accountnumxxxxx/contract0002, it is contract0002 correspondences to be added to Contract NO Contract record in.
Step 511:Contract NO is returned to the second platform by the first platform, is terminated.
For example, in the present embodiment, Contract NO contract0002 is returned to the second platform by the first platform.
In the present embodiment, in step 510 " the first platform will wait preservation of signing a contract, and by storage to be signed a contract Address is added in corresponding contract record ", it may be located between step 508 and step 509;
Accordingly, step 510, it is specially:First platform preserves contract to be presented, and by the storage of contract to be presented Location is added in corresponding contract record.
Further, in the present embodiment, step 507 can also be to step 509:
Step 507-1:First platform will be waited to sign a contract to be converted to picture, as contract to be presented;
Step 508-1:First platform judges to wait to sign a contract whether need to add watermark, is then to perform step 509-1;It is no Then perform step 510
Step 509-1:First platform judges whether watermark picture corresponding with the second platform, be then will with it is second flat The corresponding watermark picture of platform is respectively added to wait to sign a contract with contract to be presented, performs step 510;Otherwise error code is returned To host computer, terminate.
Further, in the present embodiment, step 509 and step 510 can also be:
Step 509-2:First platform, which stores to wait to sign a contract, obtains the first storage address, and the first storage address is added Into corresponding contract record.
In the present embodiment, the first platform provides a variety of establishment model of contract for the second platform, and the second platform both can be with The selection of the 3rd function interface is called according to template establishment contract, can also calling the selection of the 4th function interface, based on contract document is created Build contract.
Embodiment three
The embodiment of the present invention three provides a kind of signature method of electronic contract, including certification signer flow and electronic contract Flow is signed, specifically as shown in Figures 2 and 3, including:
Include when the second platform calls the 5th function interface to send authenticating identity request to the first platform:
Step 601:5th function interface judges whether authenticating identity request is legal, is, authenticating identity request is sent to First platform, performs step 602;Otherwise error code is returned to the second platform, is terminated;
In the present embodiment, the 5th function interface is specially String sendApplyVerifyInfo (String signer,String contractnum,String type);
Further, in the present embodiment, the 5th function interface judges whether authenticating identity request is legal, is specially:
Judge whether the Contract NO contained in authenticating identity request is no more than the 3rd preset length;
Judge whether the signer's information contained in authenticating identity request meets preset format;
If judged result is to be, then judge that authenticating identity request is legal;Otherwise judge that authenticating identity request is illegal.
Preferably, in the present embodiment, the 3rd preset length is 64;Preset format is Json forms, and signer Each single item in information meets corresponding preparatory condition, for example, the cell-phone number of signer is necessary for numeral.
Further, in the present embodiment, authenticating identity request is sent to the first platform by the 5th function interface, specifically For:Authenticating identity is asked to be packaged into the data of Json forms, and authenticating identity request is obtained to the data encryption of Json forms Ciphertext, cryptogram computation check value is asked to authenticating identity, and the check value and function that authenticating identity request ciphertext, calculating are obtained connect Mouth mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 602:The authenticating identity request that the parsing of first platform is received obtains Contract NO and signer's identity information;
In the present embodiment, signer's identity information includes but is not limited to:Signer's name, signer's cell-phone number, signature People's type of credential and certificate number etc.;
Further, in the present embodiment, when signature is artificial personal, signer's type of credential and certificate number are preferably body Part card and identification card number;When signing artificial enterprise, signer's type of credential and certificate number are preferably that business license and business are held According to numbering;
Preferably, in the present embodiment, sign artificial personal;
For example, in the present embodiment, the Contract NO that the authenticating identity request that the parsing of the first platform is received is obtained is Contract0001, obtained signer's identity information is { " type ":"0","cardtype":"0","idcardnum":" 0000111122223333","name":" Zhang San ", " phonesn ":" 18812345678 " }, wherein, " type ":" 0 " is represented Signature is artificial personal, " cardtype ":" 0 " represents that signer's type of credential is identity card, " idcardnum ":" 0000111122223333 " it is 0000111122223333 to represent signer's certificate number;"name":" Zhang San " identifies signer's surname Entitled Zhang San, phonesn ":" 18812345678 " represent that signer's cell-phone number is 18812345678.
Step 603:First platform judges whether contract record corresponding with obtained Contract NO, is then to perform step Rapid 604, error code is otherwise returned to the second platform, is terminated;
Specifically, the contract record having in the first platform searching data storehouse, is successively read in the contract record found Whether the Contract NO having, the Contract NO that judgement is read is identical with the Contract NO that parsing is obtained, and is then to judge exist Contract record corresponding with obtained Contract NO;Otherwise judge contract record corresponding with obtained Contract NO is not present;
For example, in the present embodiment, the Contract NO identical contract that the first platform finds and obtained in database Numbering contract0001, judges there is contract record corresponding with obtained Contract NO, performs step 604.
Step 604:First platform sends authentication code according to obtained signer's information to signer, and by signer's information It is corresponding with the authentication code of transmission added in the obtained corresponding contract record of Contract NO;
In the present embodiment, the first platform sends authentication code according to obtained signer's information to signer, is specially:The Authentication code is sent in signer's phone number that one platform contains into obtained signer's information;
For example, in the present embodiment, the first platform sends authentication code into signer's phone number 18812345678 123456, and by signer's information { " type ":"0","cardtype":"0","idcardnum":" 0000111122223333","name":" Zhang San ", " phonesn ":" 18812345678 " } and authentication code 123456 be added to In the obtained corresponding contract records of Contract NO contract0001.
Further, in the present embodiment, when signer receives authentication code, input frame of the signer in the second platform Middle to input the authentication code received, the second platform can call the 6th function to connect according to the authentication code and signer's information that receive The manual pattern of signing a contract of mouth selection, or the automatic pattern of signing a contract of the 7th function interface selection is called, to the first platform hair Send request of signing a contract;
When the second platform calls the 6th function interface to sign a contract request to the first platform transmission first, including:
Step 701:6th function interface judge described first sign a contract request it is whether legal, be to be signed described first Administration's contract request is sent to first platform, performs step 702;Otherwise error code is returned to second platform, is terminated;
In the present embodiment, the 6th function interface be specially String manuallySign (String signerInfo, String contractnum,String callUrl);
First signs a contract request, is specially:Manual request of signing a contract.
Further, in the present embodiment, the 6th function interface judge first sign a contract request it is whether legal, specifically For:
Judge whether the first Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether first signer's information for containing in request of signing a contract meets preset format;
If judged result is to be, then judge that the first request of signing a contract is legal;Otherwise judge that first signs a contract request It is illegal.
Preferably, in the present embodiment, the 3rd preset length is 64, and preset format is Json forms, and signer Each single item in information meets corresponding preparatory condition, for example, the cell-phone number of signer is necessary for numeral.
Further, in the present embodiment, the first request of signing a contract is sent to the first platform by the 6th function interface, Specially:First is signed a contract and asks the data for being packaged into Json forms, and first is obtained to the data encryption of Json forms Sign a contract request ciphertext, request cryptogram computation check value of being signed a contract to first, by first sign a contract request ciphertext, calculate Obtained check value and function interface mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 702:The first request of signing a contract that the parsing of first platform is received obtains authentication code, Contract NO and signature People's information;
For example, in the present embodiment, the first authentication code that request obtains of signing a contract that the parsing of the first platform is received is 123456th, Contract NO be contract0001, signer's information be { " type ":"0","cardtype":"0"," idcardnum":"0000111122223333","name":" Zhang San ", " phonesn ":"18812345678"}.
Step 703:First platform judges whether contract record corresponding with obtained Contract NO, is then to perform step Rapid 704, error code is otherwise returned to the second platform, is terminated;
Specifically, the contract record having in the first platform searching data storehouse, is successively read in the contract record found Whether the Contract NO having, the Contract NO that judgement is read is identical with the Contract NO that parsing is obtained, and is then to judge exist Contract record corresponding with obtained Contract NO, otherwise judges contract record corresponding with obtained Contract NO is not present;
For example, in the present embodiment, the Contract NO identical contract that the first platform finds and obtained in database Numbering contract0001, judges there is contract record corresponding with obtained Contract NO.
Step 704:Whether the first platform is judged in the obtained corresponding contract record of Contract NO containing obtained signature People's information, is to read the obtained corresponding authentication code of signer's information, performs step 705, otherwise returns to error code to second Platform, terminates;
Step 705:First platform judges whether authentication code of the authentication code read with obtaining matches, and is to perform step 706;Otherwise error code is returned to the second platform, is terminated;
Specifically, the first platform judges whether the authentication code read is identical with obtained authentication code, is to perform step 706, error code is otherwise returned to the second platform;
For example, in the present embodiment, the authentication code that the first platform is read is 123456, with obtained authentication code whether phase Together, then step 706 is performed.
Step 706:First platform reads the second storage address in the obtained corresponding contract record of Contract NO, according to The second storage address read finds contract to be presented;
For example, in the present embodiment, the second storage address read is http://xxxxxx/img/ accountnumxxxxx/contract0001。
Step 707:First platform judges whether to search according to the signature picture of obtained signer information searching signer Success, is the signature map of then execution step 708, otherwise signer's name generation signer in obtained signer's information Piece is simultaneously preserved, and performs step 708;
In the present embodiment, signer can upload the signature picture of itself to first by the second platform at any time Platform, when the first platform receives signature picture, judges whether there is signature picture in the contract record having in database Corresponding signer's information, be, by the signature picture preservation corresponding with signer's certificate number in signer's information received extremely In signature picture database;
Accordingly, in the present embodiment, the first platform is according to the signature picture of obtained signer information searching signer, Judge whether to search successfully, be specially:First platform is successively read the signer's certificate number having in signature picture database, sentences The signer's certificate number identical signer's certificate number contained in the disconnected signer's information that whether can be read and obtain, is then Judgement is searched successfully, otherwise judges to search failure;
Further, in the present embodiment, signer name generation of first platform in obtained signer's information After the signature picture of signer, by the preservation corresponding with the signer's certificate number contained in signer's information of the signature picture of generation extremely In signature picture database.
Step 708:First platform judges whether to search according to the stamped signature picture of obtained signer information searching signer Success, is then to perform step 716, otherwise performs step 709;
In the present embodiment, signer can upload the stamped signature picture of itself to first by the second platform at any time Platform, when the first platform receives stamped signature picture, judges whether there is stamped signature picture in the contract record having in database Corresponding signer's information, be, by the stamped signature picture received preservation corresponding with signer's certificate number in signer's information extremely In stamped signature picture database;
Accordingly, in the present embodiment, the first platform is according to the stamped signature picture of obtained signer information searching signer, Judge whether to search successfully, be specially:First platform is successively read the signer's certificate number having in stamped signature picture database, sentences The signer's certificate number identical signer's certificate number contained in the disconnected signer's information that whether can be read and obtain, is then Judgement is searched successfully, otherwise judges to search failure.
Step 709:Signature picture and the page of date picture of the generation of first platform containing contract to be presented, signer, The page of generation is opened by the second platform and signer is shown to, when receiving signature triggering information, step 710 is performed;
Specifically, contract to be presented, the signature picture of signer and date picture are added to predetermined registration operation by the first platform In the page, and the address of the predetermined registration operation page is returned into the second platform, it is corresponding pre- that the second platform opens the address received If operation pages, contract to be presented, the signature picture of signer and date picture are shown to signer, touched when receiving signature During photos and sending messages, step 710 is performed;
Further, in the present embodiment, when the second platform schemes contract to be presented, the signature picture of signer and date Piece is shown to after signer, signer according to self-demand will sign picture and/or date picture drag to it is right in contract to be presented Behind the position answered, signature icon is clicked on, the picture that the first platform is selected according to signer treats execution signature operation of signing a contract.
Preferably, in the present embodiment, signer will sign picture and date picture drag to it is right in contract to be presented The position answered.
Step 710:First platform judges that the digital certificate of signer whether there is, and is then to perform step 711, otherwise applies Digital certificate simultaneously distributes to the obtained corresponding signer of signer's information, performs step 711;
Specifically, whether the first platform judges to have in obtained signer's information in the database for having digital certificate and contains Some signer's certificate numbers, are that the digital certificate for then judging signer is present, otherwise judge that the digital certificate of signer is not present;
Further, in the present embodiment, apply for digital certificate and distribute to the corresponding signature of obtained signer's information People, specifically includes:First platform is to digital certificate issuing organization application digital certificate, by the digital certificate applied and signer Certificate number correspondence preserve to having in the database of digital certificate, and the digital certificate applied is set up with corresponding private key Association, private key is preserved;
Further, in the present embodiment, process from the first platform to digital certificate issuing organization application digital certificate No longer describe in detail herein;
For example, in the present embodiment, the digital certificate of signer is present, and the digital certificate of signer is specially MIIDRzCCAi+gAwIBAgIEEgAAATANBgkqhkiG9w0BAQUFADBCMQswCQYDVQQGEwJDTjELMAkGA1UEC gwCRlQxEjAQBgNVBAsMCUNsb3VkU2lnbjESMBAGA1······8MIGKm8xSJFyDsCnwYDHWg8L Ljfb60xBpcoaKZOWVWhzsHlmdg628a3DGFUO。
Step 711:First platform reads the first storage address in the obtained corresponding contract record of Contract NO, according to First storage address, which is found, to be waited to sign a contract, and is opened and is waited to sign a contract;
Step 712:First platform the signature picture of signer is added to wait behind corresponding position in signing a contract as Currently wait to sign a contract, current progress to be signed a contract is calculated and obtains the first digest value;
In the present embodiment, current progress to be signed a contract is calculated and obtains the first digest value, be specially:First platform root Hash operation is carried out to currently waiting to sign a contract obtain the first digest value according to preset algorithm;
Preferably, preset algorithm is sha256;Wherein preset algorithm is not limited to sha256, can also be SM3 etc.;
For example, in the present embodiment, the signature picture of signer is added to by the first platform waits middle supplier's label of signing a contract The position of name, be to obtaining the first digest value to current progress Hash operation of waiting to sign a contract according to sha256 algorithms bdgf34gf3erbg3534h56。
Step 713:First platform finds private key corresponding with the digital certificate of signer, is made a summary using private key to first Value signature obtains the first signing messages, and the digital certificate of the first signing messages and signer is written to and currently waited in signing a contract;
For example, in the present embodiment, the first platform finds private key corresponding with the digital certificate of signer and is 8667290c1388daa7fb184016fc42f3fbeb5326663e09e594a184a80aa810db018662df953c9a9 39b5cbe23b8b8ce29ddaf8578ec53638cfa0e81dda472735bddfe5877f5d336436019990ecd18 77c0d531cd495······ b2bee8fc96f1c23ac29c2895fe1a3d45518626776fe7911650062b15af42bff443523b7818311 1c0931280059a3e86516da46bbe7f7bf5ef845da9250a2fd7c75740b 9c1, to above-mentioned first digest value Obtained the first signing messages of bdgf34gf3erbg3534h56 signatures is jf9w32r38ofjoidsvfjlk2enfh84y832nfjncvnu3rh8348534jgufdh8gv73948534g834g8hru3 Hfg84bfgu43hg8uyiequoweu18394unf, by the first signing messages and the digital certificate MIIDRzCCAi+ of signer gAwIBAgIEEgAAATANBgkqhkiG9w0BAQUFADBCMQswCQYDVQQGEwJDTjELMAkGA1UECgwCRlQxEjAQ BgNVBAsMCUNsb3VkU2lnbjESMBAGA1······ 8MIGKm8xSJFyDsCnwYDHWg8LLjfb60xBpcoaKZOWVWhzsHlmdg628a3D GFUO, which are written to, currently treats that signature is closed The corresponding position with.
Step 714:First platform gets Date, and current date is added to currently waits corresponding in signing a contract As currently waiting to sign a contract behind position, current progress to be signed a contract is calculated and obtains the second digest value;
In the present embodiment, carry out calculating the method for obtaining the second digest value with step 712 to currently waiting to sign a contract Carry out calculating to currently waiting to sign a contract obtain the first digest value method it is identical, will not be repeated here;
For example, in the present embodiment, the first platform gets current date on January 8th, 2017, it is added to current Wait to sign a contract and signed a contract as current generation after middle sign date, progress calculates obtain second to currently waiting to sign a contract Digest value is bdf242t43fhbthyjy8i6.
Step 715:First platform finds private key corresponding with the digital certificate of signer, is made a summary using private key to second Value signature obtains the second signing messages, and the digital certificate of the second signing messages and signer is written to and currently waited in signing a contract;
For example, in the present embodiment, the first platform uses private key 8667290c1388daa7fb184016fc42f3fbeb5326663e09e594a184a80aa810db018662df953c9a9 39b5cbe23b8b8ce29ddaf8578ec53638cfa0e81dda472735bddfe5877f5d336436019990ecd18 77c0d531cd495······ b2bee8fc96f1c23ac29c2895fe1a3d45518626776fe7911650062b15af42bff443523b7818311 1c0931280059a3e86516da46bbe7f7bf5ef845da9250a2fd7c75740b 9c1 are to above-mentioned second digest value Bdf242t43fhbthyjy8i6 signatures obtain the second signing messages * dsfwet344tfgfbtgrh4h54tyrhbfhn4th45t5ytjk67i6op874tyh4b。
Further, in the present embodiment, the execution sequence of step 712 and step 713 and step 714 and step 715 can To exchange.
Step 716:Signature picture and the page of date picture of the generation of first platform containing contract to be presented, signer, The page of generation is opened by the second platform and signer is shown to, when receiving signature triggering information, step 717 is performed;
Specifically, the first platform schemes signature picture, the stamped signature picture of signer and the date of contract to be presented, signer Piece is added in the predetermined registration operation page, and the address of the predetermined registration operation page is returned into the second platform, and the second platform, which is opened, to be received The corresponding predetermined registration operation page in address arrived, by contract to be presented, signature picture, the stamped signature picture of signer and the day of signer Phase picture is shown to signer, when receiving signature triggering information, performs step 717;
Further, in the present embodiment, when the second platform is by contract to be presented, the signature picture of signer, signer Stamped signature picture and date picture be shown to after signer, signer according to self-demand will sign picture and/or stamped signature picture and Or date picture is dragged in contract to be presented behind corresponding position, signature icon is clicked on, the first platform is selected according to signer Picture treat sign a contract execution signature operation.
Preferably, in the present embodiment, signer will sign picture, stamped signature picture and date picture drag to it is to be presented Corresponding position in contract.
Step 717:First platform judges that the digital certificate of signer whether there is, and is then to perform step 718, otherwise applies Digital certificate simultaneously distributes to the obtained corresponding signer of signer's information, performs step 718;
In the present embodiment, the implementation method of step 717 is identical with the implementation method of step 710, will not be repeated here.
For example, in the present embodiment, the digital certificate of signer is present, and the digital certificate of signer is specially MIIDRzCCAi+gAwIBAgIEEgAAATANBgkqhkiG9w0BAQUFADBCMQswCQYDVQQGEwJDTjELMAkGA1UEC gwCRlQxEjAQBgNVBAsMCUNsb3VkU2lnbjESMBAGA1······8MIGKm8xSJFyDsCnwYDHWg8L Ljfb60xBpcoaKZOWVWhzsHlmdg628a3DGFUO。
Step 718:First platform reads the first storage address in the obtained corresponding contract record of Contract NO, according to First storage address, which is found, to be waited to sign a contract, and is opened and is waited to sign a contract;
Step 719:First platform the signature picture of signer is added to wait behind corresponding position in signing a contract as Currently wait to sign a contract, current progress to be signed a contract is calculated and obtains the first digest value;
In the present embodiment, current progress to be signed a contract is calculated and obtains the first digest value, be specially:First platform root Hash operation is carried out to currently waiting to sign a contract obtain the first digest value according to preset algorithm;
Preferably, preset algorithm is sha256;Wherein preset algorithm is not limited to sha256, can also be SM3 etc.;
For example, in the present embodiment, the first platform is according to sha256 algorithms to waiting progress Hash fortune of signing a contract to current Calculation obtains the first digest value for bdgf34gf3erbg3534h56.
Step 720:First platform finds private key corresponding with the digital certificate of signer, is made a summary using private key to first Value signature obtains the first signing messages, and the digital certificate of the first signing messages and signer is written to and currently waited in signing a contract;
For example, in the present embodiment, the first platform finds private key corresponding with the digital certificate of signer and is 8667290c1388daa7fb184016fc42f3fbeb5326663e09e594a184a80aa810db018662df953c9a9 39b5cbe23b8b8ce29ddaf8578ec53638cfa0e81dda472735bddfe5877f5d336436019990ecd18 77c0d531cd495······ b2bee8fc96f1c23ac29c2895fe1a3d45518626776fe7911650062b15af42bff443523b7818311 1c0931280059a3e86516da46bbe7f7bf5ef845da9250a2fd7c75740b 9c1, to above-mentioned first digest value Obtained the first signing messages of bdgf34gf3erbg3534h56 signatures is jf9w32r38ofjoidsvfjlk2enfh84y832nfjncvnu3rh8348534jgufdh8gv73948534g834g8hru3 hfg84bfgu43hg8uyiequoweu18394unf。
Step 721:First platform gets Date, and current date is added to currently waits corresponding in signing a contract As currently waiting to sign a contract behind position, current progress to be signed a contract is calculated and obtains the second digest value;
In the present embodiment, carry out calculating the method for obtaining the second digest value with step 712 to currently waiting to sign a contract Carry out calculating to currently waiting to sign a contract obtain the first digest value method it is identical, will not be repeated here;
For example, in the present embodiment, it is bdf242t43fhbthyjy8i6 to calculate the second obtained digest value.
Step 722:First platform finds private key corresponding with the digital certificate of signer, is made a summary using private key to second Value signature obtains the second signing messages, and the digital certificate of the second signing messages and signer is written to and currently waited in signing a contract;
For example, in the present embodiment, the first platform uses private key 8667290c1388daa7fb184016fc42f3fbeb5326663e09e594a184a80aa810db018662df953c9a9 39b5cbe23b8b8ce29ddaf8578ec53638cfa0e81dda472735bddfe5877f5d336436019990ecd18 77c0d531cd495······ b2bee8fc96f1c23ac29c2895fe1a3d45518626776fe7911650062b15af42bff443523b7818311 1c0931280059a3e86516da46bbe7f7bf5ef845da9250a2fd7c75740b 9c1 are to the second digest value Bdf242t43fhbthyjy8i6 signatures obtain the second signing messages dsfwet344tfgfbtgrh4h54tyrhbfhn4th45t5ytjk67i6op874tyh4b。
Step 723:The stamped signature picture of signer is added to current wait behind corresponding position in signing a contract by the first platform As currently waiting to sign a contract, current progress to be signed a contract is calculated and obtains the 3rd digest value;
Step 724:First platform finds private key corresponding with the digital certificate of signer, is made a summary using private key to the 3rd Value signature obtains the 3rd signing messages, and the digital certificate of the 3rd signing messages and signer is written to and currently waited in signing a contract;
For example, in the present embodiment, the first platform uses private key 8667290c1388daa7fb184016fc42f3fbeb5326663e09e594a184a80aa810db018662df953c9a9 39b5cbe23b8b8ce29ddaf8578ec53638cfa0e81dda472735bddfe5877f5d336436019990ecd18 77c0d531cd495······ b2bee8fc96f1c23ac29c2895fe1a3d45518626776fe7911650062b15af42bff443523b7818311 1c0931280059a3e86516da46bbe7f7bf5ef845da9250a2fd7c75740b 9c1 are to the 3rd digest value Bqwwegr343gh5yhyjolp5 signatures obtain the 3rd signing messages t5y54hfjyhh4y4hgtrh4565jghmbvnrth4545gsxrthy45y。
Further, in the present embodiment, step 719 and step 720, step 721 and step 722, step 723 and step 724 execution sequence can be with interchangeable with one another.
Step 725:First platform currently will be waited to sign a contract as signed contract, and signed contract is preserved, and returns Return signature and complete information to the second platform.
Preferably, in the present embodiment, in step 702, the first platform receive first sign a contract request in contain Signature completes information return address;
Accordingly, in step 725, the first platform returns to signature and completes information to the second platform, is specially:First platform root Signed a contract according to first containing sealed contract completion information return address in asking, signature completion information is returned into the second platform;
Further, in the present embodiment, when first signs a contract and do not specify signature to complete information return address in request When, accordingly, in step 715, the first platform returns to signature and completes information to the second platform, is specially:First platform is according to silent Recognize address and signature completion information is returned into the second platform.
Further, in the present embodiment, when step 412 and step 413 are specially step 412-2, or when step During rapid 509 and step 510 specially step 509-2, accordingly:
Step 706 is specially:First platform according to obtained Contract NO find it is corresponding wait to sign a contract, will search To wait to sign a contract and be converted to picture as contract to be presented;
Step 711 is specially:What the first platform opening was found waits to sign a contract.
When the second platform calls the 7th function interface to sign a contract request to the first platform transmission second, including:
Step 801:7th function interface judge second sign a contract request it is whether legal, be, by second sign a contract please Ask and be sent to the first platform, perform step 802;Otherwise error code is returned to the second platform, is terminated;
In the present embodiment, the 7th function interface is specially:String autoSign(String signerInfo, String contractnum,String callUrl);
Second signs a contract request, is specially:Automatic request of signing a contract;
Further, in the present embodiment, the 7th function interface judge second sign a contract request it is whether legal, specifically For:
Judge whether the second Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether second signer's information for containing in request of signing a contract meets preset format;
If judged result is to be, then judge that the second request of signing a contract is legal;Otherwise judge that second signs a contract request It is illegal.
Preferably, in the present embodiment, the 3rd preset length is 64, and preset format is Json forms, and signer Each single item in information meets corresponding preparatory condition, for example, the cell-phone number of signer is necessary for numeral.
Further, in the present embodiment, the second request of signing a contract is sent to the first platform by the 7th function interface, Specially:Second is signed a contract and asks the data for being packaged into Json forms, and second is obtained to the data encryption of Json forms Sign a contract request ciphertext, request cryptogram computation check value of being signed a contract to second, by second sign a contract request ciphertext, calculate Obtained check value and function interface mark etc. is sent to the first platform.
Need explanatorily, the difference that the first platform is identified according to function interface, correspondence performs different operations.
Step 802:The second request of signing a contract that the parsing of first platform is received obtains authentication code, Contract NO and signature People's information;
In the present embodiment, signer's information includes but is not limited to:Signer's name, signer's phone number, signer Type of credential and certificate number, signature type (enterprise or individual) etc.;
Further, in the present embodiment, when signature is artificial personal, signer's type of credential and certificate number are preferably body Part card and identification card number;When signing artificial enterprise, signer's type of credential and certificate number are preferably that business license and business are held According to numbering;
Preferably, in the present embodiment, sign artificial personal;
For example, in the present embodiment, the second authentication code that request obtains of signing a contract that the parsing of the first platform is received is 123456th, Contract NO be contract0001, signer's information be { " type ":"0","cardtype":"0"," idcardnum":"0000111122223333","name":" Zhang San ", " phonesn ":"18812345678"}.
Step 803:First platform judges whether contract record corresponding with obtained Contract NO, is then to perform step Rapid 804, error code is otherwise returned to the second platform, is terminated;
Specifically, the first platform searches contract record in the database for have contract record, is successively read what is found Whether the Contract NO contained in contract record, the Contract NO that judgement is read is identical with the Contract NO that parsing is obtained, and is Then judge there is contract record corresponding with obtained Contract NO, otherwise judge in the absence of corresponding with obtained Contract NO Contract record;
For example, in the present embodiment, the contract that the first platform finds and obtained in the database for have contract record Numbering identical Contract NO contract0001, judges there is contract record corresponding with obtained Contract NO.
Step 804:Whether the first platform is judged in contract record corresponding with obtained Contract NO containing obtained label People's information is affixed one's name to, is to read the obtained corresponding authentication code of signer's information, step 805 is performed, error code is otherwise returned to the Two platforms, terminate;
Step 805:First platform judges whether authentication code of the authentication code read with obtaining matches, and is to perform step 806, error code is otherwise returned to the second platform, is terminated;
Specifically, the first platform judges whether the authentication code read is identical with obtained authentication code, is then to judge to read To authentication code matched with obtained authentication code, perform step 806;Otherwise the authentication code read and obtained authentication code are judged Mismatch, return to error code to the second platform, terminate;
For example, in the present embodiment, the authentication code that the first platform is read is 123456, with obtained authentication code whether phase Together, then step 806 is performed.
Step 806:First platform judges that the digital certificate of the obtained corresponding signer of signer's information whether there is, and is Step 807 is then performed, otherwise applies for digital certificate and distributes to the obtained corresponding signer of signer's information, perform step 807;
In the present embodiment, the implementation method of step 806 is identical with the implementation method of step 710, will not be repeated here;
For example, in the present embodiment, the digital certificate of signer is present, and the digital certificate of signer is specially MIIDRzCCAi+gAwIBAgIEEgAAATANBgkqhkiG9w0BAQUFADBCMQswCQYDVQQGEwJDTjELMAkGA1UEC gwCRlQxEjAQBgNVBAsMCUNsb3VkU2lnbjESMBAGA1······8MIGKm8xSJFyDsCnwYDHWg8L Ljfb60xBpcoaKZOWVWhzsHlmdg628a3DGFUO。
Step 807:First platform reads the first storage address in the obtained corresponding contract record of Contract NO, according to First storage address, which is found, to be waited to sign a contract, and is opened and is waited to sign a contract;
Step 808:First platform calculates the progress to be signed a contract found and obtains the 4th digest value;
Specifically, the first platform treats progress Hash operation of signing a contract according to preset algorithm and obtains the 4th digest value;
Preferably, preset algorithm is sha256;Wherein preset algorithm is not limited to sha256, can also be SM3 etc.;
For example, in the present embodiment, the first platform is obtained according to sha256 algorithms to treating progress Hash operation of signing a contract It is bgew23gghfh4rty45y2 to the 4th digest value.
Step 809:First platform finds private key corresponding with the digital certificate of signer, is made a summary using private key to the 4th Value signature obtains the 4th signing messages, and the digital certificate of the 4th signing messages and signer is written to after signing a contract as Sign a contract;
For example, in the present embodiment, the first platform finds private key corresponding with the digital certificate of signer and is 8667290c1388daa7fb184016fc42f3fbeb5326663e09e594a184a80aa810db018662df953c9a9 39b5cbe23b8b8ce29ddaf8578ec53638cfa0e81dda472735bddfe5877f5d336436019990ecd18 77c0d531cd495······ b2bee8fc96f1c23ac29c2895fe1a3d45518626776fe7911650062b15af42bff443523b7818311 1c0931280059a3e86516da46bbe7f7bf5ef845da9250a2fd7c75740b 9c1, to above-mentioned 4th digest value Obtained the 4th signing messages of bgew23gghfh4rty45y2 signatures is 45htgfhr4th46hfsbghhjurykuyrmbnmotipo807f12wzse24efcgeb53y4y53hth566u78。
Step 810:First platform preserves signed contract, and returns to signature completion information to the second platform, terminates.
Further, in the present embodiment, when the label containing setting in the contract template that first platform is obtained in step 202 When affixing one's name to position, the signature position is specially signature position and/or stamped signature position and/or sign date position;
Accordingly, step 808 and step 809 are specially:First platform is according to the signer contained in request of signing a contract The signature picture and/or stamped signature picture of information searching signer, and according to the signature picture and/or stamped signature picture found and/or work as The preceding date treats execution signature operation of signing a contract;
Further, when the signature position of the setting contained in the contract template that first platform is obtained in step 202 is wrapped When including stamped signature position, such as the first platform does not find the stamped signature of signer according to the signer's information contained in request of signing a contract Picture, then point out signer to upload stamped signature picture by the second platform.
In the present embodiment, the method that the first platform provides a variety of signature electronic contracts for the second platform, the second platform Signature manually can be selected, automatic signature can also be selected.
Example IV
The embodiment of the present invention four provides a kind of signature system of electronic contract, as shown in figure 4, including:Second console module 1000th, the console module 3000 of function interface module 2000 and first;
Wherein, function interface module 2000 includes the 6th function interface submodule 2001 and the 7th function interface submodule 2002;
Second console module 1000, for calling the 6th function interface submodule 2001 to the first console module 3000 First is sent to sign a contract request;
6th function interface submodule 2001, including:
First judging unit 2001-1, for judge first sign a contract request it is whether legal;
In the present embodiment, the first judging unit 2001-1, specifically for:
Judge whether the first Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether first signer's information for containing in request of signing a contract meets the second preset format;
If judged result is to be, then judge that the first request of signing a contract is legal;Otherwise judge that first signs a contract request It is illegal.
First transmitting element 2001-2, for when the first judging unit 2001-1 judge first sign a contract request it is legal When, the first request of signing a contract is sent to the first console module 3000;
First reports an error unit 2001-3, for judging that the first request of signing a contract does not conform to as the first judging unit 2001-1 During method, error code is returned to the second console module 1000;
First console module 3000, including:
First receiving submodule 3001, signs a contract for receiving the 6th function interface submodule 2001 is sent first Request;
First searches submodule 3002, and first for being received according to the first receiving submodule 3001 signs a contract request In the Contract NO that contains waiting of searching that correspondence preserves sign a contract;
In the present embodiment, first submodule 3002 is searched, specifically for:Sign a contract what is contained in asking according to first Contract NO finds corresponding contract record, and the first storage address for having, which is found, in based on contract recording corresponding waits to sign Administration's contract.
First acquisition submodule 3003, for obtaining contract to be presented;
In the present embodiment, the first acquisition submodule 3003, specifically for:
Contract to be presented will be used as after signing a contract and being converted to picture;
Or,
Contract NO according to containing in request of signing a contract finds corresponding contract record, according in institute's contract record The second storage address having finds corresponding contract to be presented.
Second searches submodule 3004, and first for being received according to the first receiving submodule 3001 signs a contract request In the signature picture of the corresponding signer of signer's information searching that contains;
First generation submodule 3005, for generating the page containing contract to be presented and signature picture;
First display sub-module 3006, is generated for opening the first generation submodule 3005 by the second console module 1000 The page and be shown to signer;
First receiving submodule 3001, is additionally operable to receive signer in the page that the first display sub-module 3006 is shown Signature triggering information;
First signature submodule 3007, for receiving signer in the first display submodule when the first receiving submodule 3001 When signature in the page that block 3006 is shown triggers information, the signature picture selected according to signer searches submodule to first 3002 find wait sign a contract execution signature operation;
In the present embodiment, the first signature submodule 3007, specifically for:
It will wait to sign a contract as currently waiting to sign a contract, the signature picture for respectively selecting signer and/or signature person The corresponding information of signature picture selected be added to it is current wait behind corresponding position in signing a contract as currently waiting to sign a contract, root According to preset algorithm digest value is calculated to currently waiting to sign a contract;Signed a contract signer's information for containing in request according to first Private key corresponding with the digital certificate of signer is found, signing messages is obtained to digest value signature using private key, by A.L.S. Breath and the digital certificate of signer are written to and currently waited in signing a contract.
Accordingly, the first console module 3000, in addition to:Second judging submodule, the first application submodule;
Wherein, the second judging submodule, for judging that first signer's information for containing in request of signing a contract is corresponding The digital certificate of signer whether there is;
First signature submodule 3007, specifically for:When the second judging submodule judges that first signs a contract in request In the presence of the digital certificate for the corresponding signer of signer's information contained, the signature picture selected according to signer is looked into first Look for what submodule found to wait execution signature operation of signing a contract;
First application submodule, for judging that first signs a contract the signature that contains in request when the second judging submodule When the digital certificate of the corresponding signer of people's information is not present, applies for digital certificate and distribute to the signer;
First signature submodule 3007, be additionally operable to the first application submodule application digital certificate and distribute to signer it Afterwards, what the signature picture selected according to signer was found to the first lookup submodule waits execution signature operation of signing a contract.
First sending submodule 3008, after performing signature operation in the first signature submodule 3007, returns to response To the second console module 1000;
In the present embodiment, the second console module 1000, is additionally operable to call the 7th function interface submodule 2002 to first Console module 3000 sends second and signed a contract request;
7th function interface submodule 2002, including:
Second judging unit 2002-1, for judge second sign a contract request it is whether legal;
In the present embodiment, the second judging unit 2002-1, specifically for:
Judge whether the described second Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether described second signer's information for containing in request of signing a contract meets the second preset format;
If judged result is to be, then judge that the described second request of signing a contract is legal;Otherwise second signature is judged Contract request is illegal.
Second transmitting element 2002-2, for when the second judging unit 2002-1 judge second sign a contract request it is legal When, the second request of signing a contract is sent to the first console module 3000;
Second reports an error unit 2002-3, for judging that the second request of signing a contract does not conform to as the second judging unit 2002-1 During method, error code is returned to the second console module 1000;
Accordingly, the first console module, in addition to:
Second receiving submodule 3009, signs a contract for receiving the 7th function interface submodule 2002 is sent second Request;
3rd searches submodule 3010, and second for being received according to the second receiving submodule 3009 signs a contract request In the Contract NO that contains waiting of searching that correspondence preserves sign a contract;
In the present embodiment, the 3rd submodule 3010 is searched, specifically for:Sign a contract what is contained in asking according to second Contract NO finds corresponding contract record, and the first storage address for having, which is found, in based on contract recording corresponding waits to sign Administration's contract.
Second signature submodule 3011, waits to sign a contract and performs signature for what is found to the 3rd lookup submodule 3010 Operation;
In the present embodiment, the second signature submodule 3011, specifically for:
Treated to sign a contract according to preset algorithm and calculate digest value;Signed a contract the signature that contains in request according to second People's information searching obtains signing messages using private key to private key corresponding with the digital certificate of signer to digest value signature, will Signing messages and the digital certificate of signer, which be written to, to be waited to sign a contract.
Accordingly, the first console module 3000, in addition to:3rd judging submodule and the second application submodule;
Wherein, the 3rd judging submodule, for judging that second signer's information for containing in request of signing a contract is corresponding The digital certificate of signer whether there is;
Second signature submodule 3011, specifically for:When the 3rd judging submodule judges that second signs a contract in request In the presence of the digital certificate for the corresponding signer of signer's information contained, the 3rd waiting of finding of lookup submodule 3010 is signed Affix one's name to contract execution signature operation;
Second application submodule, for judging that second signs a contract the signature that contains in request when the 3rd judging submodule When the digital certificate of the corresponding signer of people's information is not present, applies for digital certificate and distribute to signer;
Second signature submodule 3011, be additionally operable to the second application submodule application digital certificate and distribute to signer it Afterwards, what is the 3rd lookup submodule 3010 found waits execution signature operation of signing a contract.
Further, in the present embodiment, when the 3rd lookup submodule 3010 according to second sign a contract request in contain Contract NO find correspondence preserve wait in signing a contract containing setting signature position when;The signature position includes Signature position and/or stamped signature position and/or sign date position;
Accordingly, the first console module, in addition to:4th searches submodule;
4th searches submodule, for treating for being found in 3011 pair of the 3rd lookup submodule 3010 of the second signature submodule Before execution signature of signing a contract is operated, the corresponding signature of signer's information searching contained in asking of being signed a contract according to second The signature picture and/or stamped signature picture of people;
Second signature submodule 3011, specifically for:The signature picture and/or label found according to the 4th lookup submodule Chapter picture and/or current date treat execution signature operation of signing a contract.
Further, when the signature position includes stamped signature position, the first console module 3000, in addition to:4th Judging submodule and prompting submodule;
Wherein, the 4th judging submodule, for judging whether the 4th lookup submodule finds stamped signature picture;
Second signature submodule 3011, specifically for:When the 4th judging submodule judges that the 4th lookup submodule is searched During to stamped signature picture, execution signature operation of signing a contract is treated;
Prompting submodule, for judging that the 4th lookup submodule does not find stamped signature picture when the 4th judging submodule When, point out signer to upload stamped signature picture by the second console module 1000.
Second sending submodule 3012, is responded to for being returned after performing signature operation in the second signature submodule 3011 Second console module 1000.
In the present embodiment, second submodule 3004 is searched, specifically for:Sign a contract what is contained in asking according to first The signature picture and stamped signature picture of the corresponding signer of signer's information searching;
Accordingly, the first generation submodule 3005, specifically for:Generation contains contract to be presented, signature picture, stamped signature figure The page of piece and date picture.
Alternatively, the first console module 3000, in addition to:First judging submodule;
First judging submodule, for judging whether the second lookup submodule 3004 finds the stamped signature picture of signer;
Accordingly, the first generation submodule 3005, specifically for:When the first judging submodule judges the second lookup submodule When block 3004 finds the stamped signature picture of signer, generation contains contract to be presented, signature picture, stamped signature picture and date picture The page;It is raw when the first judging submodule judges that the second lookup submodule 3004 does not find the stamped signature picture of signer Into the page containing contract to be presented, signature picture and date picture.
In the present embodiment, the first generation submodule 3005, specifically for:Contract to be presented and signature picture are added to In the predetermined registration operation page, and the address of the predetermined registration operation page is returned into the second console module 1000;
Accordingly, the first display sub-module 3006, specifically for:Its address received is opened by the second console module The corresponding predetermined registration operation page, and contract to be presented and signature picture are shown to signer.
In the present embodiment, second the lookup submodule of submodule 3004 and the 4th is searched, specifically for:Believed according to signer Breath searches the signature picture of corresponding signer, judges whether to search successfully, is, continues;Otherwise generated according to signer's information The signature picture of corresponding signer, continues.
In the present embodiment, function interface module 2000, in addition to:5th function interface submodule;Accordingly, first is flat Platform module 3000, in addition to:3rd receiving submodule, the 3rd sending submodule, first preserve submodule, the 5th judging submodule With the 6th judging submodule;
Second console module 1000, is additionally operable to call the 5th function interface submodule please to the first platform transmission authenticating identity Ask;
5th function interface submodule, including:
3rd judging unit, for judging whether authenticating identity request is legal;
In the present embodiment, the 3rd judging unit, specifically for:
Judge whether the Contract NO contained in authenticating identity request is no more than the 3rd preset length;
Judge whether the signer's information contained in authenticating identity request meets the second preset format;
If judged result is to be, then judge that authenticating identity request is legal;Otherwise judge that authenticating identity request is illegal.
3rd transmitting element, for when the 3rd judging unit judges that authenticating identity request is legal, authenticating identity to be asked Ask and be sent to the first console module;
3rd reports an error unit, for when the 3rd judging unit judges that authenticating identity request is illegal, returning to error code To the second console module 1000;
3rd receiving submodule, for receiving authenticating identity request;
3rd sending submodule, the signature that the authenticating identity for being received according to the 3rd receiving submodule contains in asking People's identity information sends authentication code to signer;
First preserves submodule, for preserve into authenticating identity request corresponding with authentication code of signer's identity information to be contained In the corresponding contract record of some Contract NO;
5th judging submodule, first for judging that the first receiving submodule 3001 receives, which signs a contract, contains in request Whether some authentication codes are correct;
First searches submodule, specifically for:When the 5th judging submodule judges that the first receiving submodule 3001 is received To first sign a contract the authentication code that contains in request it is correct when, the Contract NO contained in request of being signed a contract according to first Lookup is corresponding to be waited to sign a contract;
First sending submodule 3008, is additionally operable to when the 5th judging submodule judges that the first receiving submodule 3001 is received To first sign a contract the authentication code that contains in request it is incorrect when, return to error code to the second console module 1000;
6th judging submodule, second for judging that second receiving submodule receives signs a contract request In the authentication code that contains it is whether correct;
Described 3rd searches submodule, specifically for:When the 6th judging submodule judges that described second receives son Module receive second sign a contract the authentication code that contains in request it is correct when, sign a contract and contain in request according to described second Some Contract NO lookups are corresponding to be waited to sign a contract;
Second sending submodule, is additionally operable to when the 6th judging submodule judges second receiving submodule Second received sign a contract the authentication code that contains in request it is incorrect when, return to error code to second console module.
Wherein, the 5th judging submodule and the 6th judging submodule, specifically for:According to what is contained in the request received Contract NO finds corresponding contract record, the signer's information contained in the request read and received in contract record The authentication code that correspondence is preserved, judges whether the authentication code read matches with the authentication code contained in the request received, is then Judge that the authentication code contained in the request received is correct;Otherwise judge that the authentication code contained in the request received is incorrect.
In the present embodiment, the first sending submodule 3008 and the second sending submodule 3012, specifically for:According to reception To request in the return response address that contains return and respond to the second console module.
Embodiment five
The embodiment of the present invention five provides a kind of establishment system of electronic contract, as shown in figure 5, including:Including the second platform Module 4000, the console module 6000 of function interface module 5000 and first;
Wherein, function interface module 5000, including:3rd function interface submodule 5001 and the 4th function interface submodule 5002;
Second console module 4000, is created for calling the 3rd function interface submodule 5001 to send first to the first platform Contract request;
3rd function interface submodule 5001, including:
4th judging unit 5001-1, for judging whether the first establishment contract request is legal;
In the present embodiment, the 4th judging unit, specifically for:
Judge the template name contained in the first establishment contract request whether not for sky and no more than the first preset length;
Judge whether the replacement data contained in the first establishment contract request meets the second preset format;
If judged result is to be, then judging first, to create contract request legal;Otherwise judge that first creates contract request It is illegal.
4th transmitting element 5001-2, for judging that the first establishment contract request is legal as the 4th judging unit 5001-1 When, the first establishment contract request is sent to the first console module 6000;
4th reports an error unit 5001-3, for judging that the first establishment contract request does not conform to as the 4th judging unit 5001-1 During method, error code is returned to the second console module 4000;
First console module 6000, including:
4th receiving submodule 6001, contract request is created for receiving first;
5th searches submodule 6002, and first for being received according to the 4th receiving submodule 6001 creates contract request In the template identification that contains search corresponding contract template;
Second generation submodule 6003, the contract template for being found according to the 5th lookup submodule 6002, which is generated, to be waited to create Build contract;
Second acquisition submodule 6004, for obtaining Contract NO;
3rd generation submodule 6005, the contract to be created and the 4th for being generated according to the second generation submodule 6003 connects The replacement data contained in the first establishment contract request that receipts submodule 6001 is received, which is generated, to be waited to sign a contract;
In the present embodiment, the 3rd generation submodule 6005, specifically for:Use what is contained in the first establishment contract request The identifier that replacement data replaces in contract to be created on relevant position obtains treaty documents, and it is pre- that treaty documents are converted into first Wait to sign a contract if being used as after form.
Second preserves submodule 6006, for store the 3rd generate that submodule 6005 generates wait to sign a contract and obtain first Storage address;
3rd preserves submodule 6007, and the first storage address for the second preservation submodule 6006 to be obtained is obtained with second The Contract NO correspondence for taking submodule 6004 to get is preserved;
4th sending submodule 6008, the second console module 4000 is responded to for returning;
In the present embodiment, the second console module 4000, is additionally operable to call the 4th function interface submodule 5002 to first Console module 6000 sends second and creates contract request;
4th function interface submodule 5002, including:
5th judging unit 5002-1, for judging whether the second establishment contract request is legal;
In the present embodiment, the 5th judging unit 5002-1, specifically for:
Whether the type for judging the treaty documents that the second establishment contract request contains is the file type supported;
Judge the second treaty documents for containing of establishment contract request whether not to be empty and no more than presetting size;
If judged result is to be, then judging second, to create contract request legal;Otherwise judge that second creates contract request It is illegal.
5th transmitting element 5002-2, for judging that the second establishment contract request is legal as the 5th judging unit 5002-1 When, the second establishment contract request is sent to the first console module 6000;
5th reports an error unit 5002-3, for judging that the second establishment contract request does not conform to as the 5th judging unit 5002-1 During method, error code is returned to the second console module 4000;
Accordingly, the first console module 6000, in addition to:
5th receiving submodule 6009, is created for receiving the 4th function interface submodule 5002 is sent second Contract request;
As submodule 6010, for containing in the second establishment contract request for receiving the 5th receiving submodule 6009 Treaty documents as waiting to sign a contract;
In the present embodiment, as submodule 6010, including:
9th judging unit, whether the treaty documents for judging to contain in the second establishment contract request are the first default lattice Formula;
As subelement, for judging that the treaty documents contained in the second establishment contract request are when the 9th judging unit During the first preset format, using treaty documents as waiting to sign a contract;
Conversion subunit, for judging the treaty documents contained in the second establishment contract request not when the 9th judging unit When being the first preset format, treaty documents are converted to after the first preset format as waiting to sign a contract.
3rd acquisition submodule 6011, for obtaining Contract NO;
4th preserves submodule 6012, waits to sign a contract and obtains the first storage as what submodule 6010 was obtained for storing Address;
5th preserves submodule 6013, and the first storage address for the 4th preservation submodule 6012 to be obtained is obtained with the 3rd The Contract NO correspondence for taking submodule 6011 to get is preserved;
5th sending submodule 6014, the second console module 4000 is responded to for returning.
In the present embodiment, function interface module 5000 also includes:First function interface sub-module;
Second console module 4000, is additionally operable to call first function interface sub-module to the transmission of the first console module 6000 to add Plus contract template request;
First function interface sub-module, including:
6th judging unit, for judging whether addition contract template request is legal;
In the present embodiment, the 6th judging unit, specifically for:
Whether judge to add the template name contained in contract template request not for sky and no more than the first preset length;
Whether judge to add the template contained in contract template request not for sky and no more than the second preset length;
If judged result is to be, then judge that addition contract template request is legal;Otherwise addition contract template request is judged It is illegal.
6th transmitting element, for when the 6th judging unit judges that addition contract template request is legal, addition to be closed The first console module 6000 is sent to template request;
6th reports an error unit, for when the 6th judging unit judges that addition contract template request is illegal, returning wrong Error code gives the second console module 4000;
Accordingly, the first console module 6000, in addition to:
6th receiving submodule, please for receiving the addition contract template that the first function interface sub-module is sent Ask;
First creates submodule, the template record for creating the contract template contained in addition contract template request;
6th preserves submodule, and the 3rd storage address is obtained for storing contract template;
7th preserves submodule, and the 3rd storage address and addition contract template for the 6th preservation submodule to be obtained please Ask to preserve to first containing template identification correspondence and create in the template record that submodule is created;
6th sending submodule, the second console module 4000 is responded to for returning;
Accordingly, the 5th submodule 6002 is searched, specifically for:According to the template mark contained in the first establishment contract request Knowledge finds corresponding template record, and corresponding contract template is found according to the 3rd storage address having in template record.
Alternatively, the first console module 6000, in addition to:7th judging submodule;
7th judging submodule, whether the contract template for judging to contain in addition contract template request, which meets, is converted to The requirement of the document of first preset format;
Accordingly, first submodule is created, specifically for:When the 7th judging submodule judges addition contract template request In the contract template that contains when meeting the requirement for the document for being converted to the first preset format, create and contain in addition contract template request The template record of some contract templates;
6th sending submodule, is additionally operable to when the 7th judging submodule judges to add the conjunction contained in contract template request When the requirement for the document for being converted to the first preset format is not met with template, error code is returned to the second console module 4000.
In the present embodiment, the second acquisition submodule 6004 and the 3rd acquisition submodule 6011, are specifically included:
Whether the 7th judging unit, contain Contract NO in the request received for judgement;
Subelement is read, for when the 7th judging unit is judged to contain Contract NO in the request received, reading The Contract NO contained in the request received;
Generation unit, for when the 7th judging unit is judged not containing Contract NO in the request received, generating Contract NO.
In the present embodiment, the second acquisition submodule 6004 and the 3rd acquisition submodule 6011, in addition to:
Whether the 8th judging unit, the Contract NO contained in the request received for judgement is taken by other contracts;
Reading unit, specifically for:When the 8th judging unit judges the Contract NO contained in the request received not When being taken by other contracts, the Contract NO contained in the request received is read;
7th reports an error unit, for judging the Contract NO contained in the request received by it when the 8th judging unit When his contract takes, error code is returned to the second console module 4000.
In the present embodiment, the first console module 6000, in addition to:Second creates submodule;
Second creates submodule, the contract record for creating contract to be created;
Accordingly, the 3rd the preservation submodule 6013 of submodule 6007 and the 5th is preserved, specifically for:By the first storage address Preserve to second corresponding with Contract NO is created in the contract record that submodule is created.
Alternatively, in the present embodiment, the first console module 6000, in addition to:First transform subblock and the 8th is preserved Submodule;
First transform subblock, is responded to for being returned in the 4th sending submodule 6008 and the 5th sending submodule 6014 Before second console module 4000, will wait to sign a contract is converted to picture as contract to be presented;
8th preserves submodule, and the second storage address is obtained for storing contract to be presented, by the second storage address with closing Preserved with numbering correspondence.
Accordingly, function interface module 500, in addition to:Second function interface sub-module;
Second console module 400, is additionally operable to call second function interface sub-module to the transmission of the first console module 6000 to add Watermarking picture is asked;
Second function interface sub-module, including:
Tenth judging unit, for judging whether addition watermark picture request is legal;
7th transmitting element, for when the tenth judging unit judges that addition watermark picture request is legal, sending addition Watermark picture is asked to the first console module 6000;
8th reports an error unit, for when the tenth judging unit judges that addition watermark picture request is illegal, returning wrong Error code gives the second console module 6000;
First console module 6000, in addition to:
7th receiving submodule, for receiving addition watermark picture request;
9th preserves submodule, is preserved for will add the watermark picture contained in the request of watermark picture to the second platform mould In the account of block 4000;
8th judging submodule, picture is converted to as conjunction to be presented for that will wait to sign a contract in the first transform subblock With after, judge to wait to sign a contract whether need to add watermark;
First addition submodule, for when the 8th judging submodule judges to need addition watermark wait signing a contract, inciting somebody to action The watermark picture having in the account of second console module 4000 be respectively added to wait to sign a contract with contract to be presented.
Alternatively, the 9th submodule is preserved, specifically for:The watermark picture and water contained in the request of watermark picture will be added Picture identification correspondence is printed to preserve into the account of the second platform;
First addition submodule, specifically for:According to the watermark picture identification contained in the establishment contract request received Corresponding watermark picture is found in the account of the second console module 4000, the watermark picture found is respectively added to treat Sign a contract with contract to be presented.
Alternatively, in the present embodiment, function interface module 5000, in addition to:Second function interface sub-module;
Second console module 4000, is additionally operable to call second function interface sub-module to the transmission of the first console module 6000 to add Watermarking picture is asked;
Second function interface sub-module, including:
Tenth judging unit, for judging whether addition watermark picture request is legal;
7th transmitting element, for when the tenth judging unit judges that addition watermark picture request is legal, sending addition Watermark picture is asked to the first console module 6000;
8th reports an error unit, for when the tenth judging unit judges that addition watermark picture request is illegal, returning wrong Error code gives the second console module 4000;
First console module 6000, in addition to:
8th receiving submodule, for receiving addition watermark picture request;
Tenth preserves submodule, is preserved for will add the watermark picture contained in the request of watermark picture to the second platform mould In the account of block 4000;
9th judging submodule, for second preservation submodule and the 4th preservation submodule obtain the first storage address it Before, judge to wait to sign a contract whether need to add watermark;
Second addition submodule, for when the 9th judging submodule judges to need addition watermark wait signing a contract, inciting somebody to action The watermark picture having in the account of second console module 4000, which is added to, to be waited to sign a contract.
Wherein, the tenth submodule is preserved, specifically for:The watermark picture contained in the request of watermark picture and watermark will be added Picture identification correspondence is preserved into the account of the second console module 4000;
Accordingly, the second addition submodule, specifically for:According to the watermark figure contained in the establishment contract request received Piece mark finds corresponding watermark picture in the account of the second console module 4000, and the watermark picture found is added to Wait in signing a contract.
In the present embodiment, the 9th judging unit and the tenth judging unit, specifically for:Judge the addition Whether size, size and the transparency of the watermark picture contained in the request of watermark picture are then in corresponding preparatory condition Judge that addition watermark picture request is legal;Otherwise judge that addition watermark picture request is illegal.
In the present embodiment, above-mentioned 4th sending submodule 6008 and the 5th sending submodule 6014, specifically for:According to The return response address contained in the request received returns and responds to the second console module 4000.
In the present invention, contract conclusion platform (the first platform) is that user's (the second platform) provides a variety of establishment contracts and label The pattern of administration's contract, user can be selected according to demand, improve Consumer's Experience.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, all It should be included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (70)

1. a kind of signature method of electronic contract, it is characterised in that including:
When the second platform calls the 6th function interface to sign a contract request to the first platform transmission first, following operate is performed:
Step C1:6th function interface judge described first sign a contract request it is whether legal, be to be signed described first Administration's contract request is sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step C2:First platform receives described first and signed a contract request, signs a contract and contains in asking according to described first What some Contract NO lookup correspondences were preserved waits to sign a contract;
Step C3:First platform obtains contract to be presented, and sign a contract the signer contained in asking according to described first The signature picture of the corresponding signer of information searching, the page of the generation containing the contract to be presented and the signature picture, leads to Cross second platform to open the page and be shown to the signer, when receiving the signer in the page During signature triggering information, step C4 is performed;
Step C4:The signature picture that first platform is selected according to the signer waits the execution signature behaviour that signs a contract to described Make, return responds to second platform, terminate;
When the second platform calls the 7th function interface to sign a contract request to the first platform transmission second, following operate is performed:
Step D1:7th function interface judge described second sign a contract request it is whether legal, be to be signed described second Administration's contract request is sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step D2:First platform receives described second and signed a contract request, signs a contract what is contained in asking according to described second What Contract NO searched that correspondence preserves waits to sign a contract, and to the execution signature operation of waiting to sign a contract, return responds to described Second platform, terminates.
2. according to the method described in claim 1, it is characterised in that in the step C1, the 6th function interface judges institute State first sign a contract request it is whether legal, be specially:
Judge whether the described first Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether described first signer's information for containing in request of signing a contract meets the second preset format;
If judged result is to be, then judge that the described first request of signing a contract is legal;Otherwise judge that described first signs a contract Request is illegal.
3. according to the method described in claim 1, it is characterised in that
It is described to search according to the described first Contract NO for containing in request of signing a contract and corresponding wait to sign in the step C2 Contract, be specially:First platform according to described first sign a contract the Contract NO that contains in request find it is corresponding Contract record, finds according to the first storage address having in the contract record and corresponding waits to sign a contract;
In the step D2, it is described according to described second sign a contract that the Contract NO that contains in request searches that correspondence preserves treat Sign a contract, be specially:First platform is found pair according to the described second Contract NO for containing in request of signing a contract The contract record answered, finds according to the first storage address having in the contract record and corresponding waits to sign a contract.
4. according to the method described in claim 1, it is characterised in that in the step C3, first platform obtains to be presented Contract, be specially:
First platform is used as contract to be presented using described after signing a contract and being converted to picture;
Or,
First platform Contract NO that contains in request of being signed a contract according to finds corresponding contract record, according to The second storage address having in the contract record finds corresponding contract to be presented.
5. according to the method described in claim 1, it is characterised in that
It is described to be signed a contract the corresponding signature of signer's information searching that contains in request according to described first in the step C3 The signature picture of people, be specially:First platform is looked into according to described first signer's information for containing in request of signing a contract Look for the signature picture and stamped signature picture of corresponding signer;
In the step C3, the page of the generation containing the contract to be presented and the signature picture is specially:Generation contains There is the page of the contract to be presented, the signature picture, the stamped signature picture and date picture.
6. method according to claim 5, it is characterised in that the generation contains the contract to be presented, the signature Before the page of picture, the stamped signature picture and date picture, in addition to:
First platform judges whether to find the stamped signature picture of signer, is that then generation contains the contract to be presented, institute State the page of signature picture, the stamped signature picture and date picture;Otherwise generation contains the contract to be presented, the signature map The page of piece and date picture.
7. according to the method described in claim 1, it is characterised in that in the step C3, the generation is containing described to be presented The page of contract and the signature picture, opens the page by second platform and is shown to the signer, specifically For:
The contract to be presented and the signature picture are added in the predetermined registration operation page by first platform, and will be described pre- If the address of operation pages returns to second platform, it is corresponding described default that second platform opens the address received Operation pages, and the contract to be presented and the signature picture are shown to the signer.
8. according to the method described in claim 1, it is characterised in that in the step C4, first platform is according to the label The signature picture of people from administration's selection waits execution signature operation of signing a contract to described, is specially:
First platform is waited described to sign a contract as currently waiting to sign a contract, the signature for respectively selecting the signer Picture and/or the corresponding information of signature picture of signer selection, which are added to, described currently waits corresponding position in signing a contract Postpone as currently waiting to sign a contract, according to preset algorithm to it is described it is current wait to sign a contract calculate digest value;According to described First signer's information searching for containing in request of signing a contract, to private key corresponding with the digital certificate of the signer, is used The private key obtains signing messages to digest value signature, and the digital certificate of the signing messages and the signer is written to It is described currently to wait in signing a contract.
9. according to the method described in claim 1, it is characterised in that in the step D1, the 7th function interface judges institute State second sign a contract request it is whether legal, be specially:
Judge whether the described second Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether described second signer's information for containing in request of signing a contract meets the second preset format;
If judged result is to be, then judge that the described second request of signing a contract is legal;Otherwise judge that described second signs a contract Request is illegal.
10. according to the method described in claim 1, it is characterised in that in the step D2, it is described to it is described wait to sign a contract hold Row signature operation, be specially:First platform according to preset algorithm to it is described wait to sign a contract calculate digest value;According to institute State second signer's information searching for containing in request of signing a contract and, to private key corresponding with the digital certificate of signer, use institute State private key and signing messages is obtained to digest value signature, the digital certificate of the signing messages and the signer is written to institute State described wait in signing a contract.
11. the method according to claim 8 or 10, it is characterised in that
Before the step C4, in addition to:First platform judges that described first signs a contract the signer contained in request The digital certificate of the corresponding signer of information whether there is, and be to continue;Otherwise apply for digital certificate and distribute to the signature People, continues;
It is described to be waited to sign a contract before performing signature operation to described in the step D2, in addition to:First platform judges Described second digital certificate of the corresponding signer of signer's information contained in request of signing a contract whether there is, be then after It is continuous;Otherwise apply for digital certificate and distribute to the signer, continue.
12. according to the method described in claim 1, it is characterised in that
In the step D2, what the correspondence that the Contract NO contained in asking of being signed a contract according to described second is found was preserved treats Signature position containing setting in signing a contract;The signature position includes signature position and/or stamped signature position and/or sign date Position;
It is described to be waited to sign a contract before performing signature operation to described in the step D2, in addition to:First platform according to Described second signs a contract the signature picture and/or stamped signature picture of the corresponding signer of signer's information searching contained in request;
It is described to wait execution signature operation of signing a contract to described in the step D2, be specially:First platform is according to described Signature picture and/or the stamped signature picture and/or current date wait execution signature operation of signing a contract to described.
13. method according to claim 12, it is characterised in that the signature position includes stamped signature position;
First platform is signed a contract signer's information searching signer's stamped signature picture for containing in request according to, specifically Including:First platform is signed a contract the stamped signature picture of signer information searching signer contained in request according to, is judged Whether lookup is successful, is to continue;Otherwise the signer is pointed out to upload stamped signature picture by second platform.
14. the method according to claim 5 or 12, it is characterised in that according to the corresponding signer of signer's information searching Signature picture, specifically include:
First platform judges whether to search successfully, is according to the signature picture of the corresponding signer of signer's information searching Then continue;Otherwise the signature picture of corresponding signer is generated according to signer's information, is continued.
15. according to the method described in claim 1, it is characterised in that
Methods described also includes:When the second platform calls the 5th function interface to send authenticating identity request to the first platform, hold Row step 3-1:
Step 3-1:5th function interface judges whether the authenticating identity request is legal, and being then please by the authenticating identity Ask and be sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step 3-2:First platform receives the authenticating identity request, the signature contained in being asked according to the authenticating identity People's identity information sends authentication code to signer, and by signer's identity information preservation corresponding with the authentication code to described In the corresponding contract record of Contract NO contained in authenticating identity request;
In the step C2 and the step D2, based on contract numbering search it is corresponding wait to sign a contract before, in addition to:
Step E:First platform judges whether the authentication code contained in the request received is correct, is to continue;Otherwise, return Error code is returned to second platform, is terminated.
16. method according to claim 15, it is characterised in that in the step E, first platform judges to receive Request in the authentication code that contains it is whether correct, be specially:
First platform finds corresponding contract record according to the Contract NO contained in the request received, is closed described With the authentication code that preservation corresponding with the signer's information contained in the request received is read in record, the certification read is judged Whether code matches with the authentication code contained in the request received, is to judge the authentication code contained in the request received just Really;Otherwise judge that the authentication code contained in the request received is incorrect.
17. method according to claim 15, it is characterised in that in the step 3-1, the 5th function interface judges Whether the authenticating identity request is legal, is specially:
Judge whether the Contract NO contained in the authenticating identity request is no more than the 3rd preset length;
Judge whether the signer's information contained in the authenticating identity request meets the second preset format;
If judged result is to be, then judge that the authenticating identity request is legal;Otherwise judge that the authenticating identity request does not conform to Method.
18. according to the method described in claim 1, it is characterised in that
The return responds to second platform, is specially:Return response address according to containing in the request received is returned Return and respond to the second platform.
19. a kind of creation method of electronic contract, it is characterised in that including:
When the second platform calls the 3rd function interface to send the first establishment contract request to the first platform, following operate is performed:
Step A1:3rd function interface judges whether the first establishment contract request is legal, is created described first Build contract request and be sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step A2:First platform receives described first and creates contract request, contains according in the described first establishment contract request Some template identifications search corresponding contract template, and contract to be created is generated according to the contract template;
Step A3:First platform obtains Contract NO, and contract request is created according to the contract to be created and described first In the replacement data that contains generate and wait to sign a contract, waiting to sign a contract described in storage obtains the first storage address, by described first Storage address is corresponding with the Contract NO to be preserved, and return responds to second platform, terminates;
When the second platform calls the 4th function interface to send the second establishment contract request to the first platform, following operate is performed:
Step B1:4th function interface judges whether the second establishment contract request is legal, is created described second Build contract request and be sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step B2:First platform receives described second and creates contract request, and described second is created and is contained in contract request Treaty documents as waiting to sign a contract;
Step B3:First platform obtains Contract NO, and storage is described to be waited to sign a contract and obtain the first storage address, will described in First storage address is corresponding with the Contract NO to be preserved, and return responds to second platform, terminates.
20. method according to claim 19, it is characterised in that in the step A1, the 3rd function interface judges Whether the first establishment contract request is legal, specifically includes:
Judge the template name contained in the first establishment contract request whether not for sky and no more than the first preset length;
Judge whether the replacement data contained in the first establishment contract request meets the second preset format;
If judged result is to be, then judging described first, to create contract request legal;Otherwise the first establishment contract is judged Request is illegal.
21. the method according to right wants 19, it is characterised in that methods described also includes:When the second platform calls the first letter Number interface performs step 1-1 to during the transmission addition contract template request of the first platform:
Step 1-1:The first function interface judges whether the addition contract template request is legal, is then to close the addition First platform is sent to template request, step 1-2 is performed;Otherwise error code is returned to second platform, is terminated;
Step 1-2:First platform receives the addition contract template request, creates and contains in the addition contract template request The template record of some contract templates, stores the contract template and obtains the 3rd storage address, will the 3rd storage address with Preserved in the addition contract template request containing template identification correspondence into the template record, return responds to described second Platform;
It is described that corresponding contract is found according to the template identification contained in the described first establishment contract request in the step A2 Template, be specially:First platform finds corresponding according to the template identification contained in the described first establishment contract request Template record, corresponding contract template is found according to the 3rd storage address having in the template record.
22. method according to claim 21, it is characterised in that in the step 1-1, the first function interface judges Whether the addition contract template request is legal, is specially:
Judge the template name contained in the addition contract template request whether not for sky and no more than the first preset length;
Judge the template contained in the addition contract template request whether not for sky and no more than the second preset length;
If judged result is to be, then judge that the addition contract template request is legal;Otherwise the addition contract template is judged Request is illegal.
23. method according to claim 21, it is characterised in that in the step 1-2, described to create the addition contract Before the template record of the contract template contained in template request, in addition to:
First platform judges in the addition contract template request whether the contract template that contains meets that to be converted to first pre- If the requirement of the document of form, is, continue;Otherwise error code is returned to second platform, is terminated.
24. method according to claim 19, it is characterised in that in the step A3 and the step B3, described first Platform obtains Contract NO, is specially:
Step F:First platform judges whether contain Contract NO in the request received, is to read the request received In the Contract NO that contains;Otherwise Contract NO is generated.
25. method according to claim 24, it is characterised in that in the step F, described to read in the request received Before the Contract NO contained, in addition to:First platform judge the Contract NO that contains in the request received whether by Other contracts take, and are then to return to error code to second platform, terminate;Otherwise continue.
26. method according to claim 19, it is characterised in that
In the step A3, first platform creates what is contained in contract request according to the contract to be created and described first Replacement data, which is generated, to be waited to sign a contract, and is specially:First platform uses replacing for containing in the described first establishment contract request Change the identifier in the data replacement contract to be created on relevant position and obtain treaty documents, the treaty documents are converted to It is used as after first preset format and waits to sign a contract;
In the step B2, the treaty documents contained in contract request that described second is created have as waiting to sign a contract Body includes:First platform judges whether the treaty documents contained in the second establishment contract request are described first default Form, be, using the treaty documents as waiting to sign a contract;Otherwise the treaty documents are converted into the described first default lattice It is used as after formula and waits to sign a contract.
27. method according to claim 19, it is characterised in that
It is described to preserve it by first storage address is corresponding with the Contract NO in the step A3 and the step B3 Before, in addition to:First platform creates the contract record of the contract to be created;
It is described by first storage address preservation corresponding with the Contract NO, tool in the step A3 and the step B3 Body is:First platform is by first storage address preservation corresponding with the Contract NO into the contract record.
28. method according to claim 19, it is characterised in that in the step A3 and the step B3, described to return Before responding to second platform, in addition to:
Step L:First platform using it is described wait to sign a contract be converted to picture as contract to be presented, store described to be presented Contract obtains the second storage address, by second storage address preservation corresponding with the Contract NO.
29. method according to claim 28, it is characterised in that
Methods described also includes:When second platform calls second function interface to send addition watermark figure to first platform When piece is asked, step 2-1 is performed:
Step 2-1:The second function interface judges whether the addition watermark picture request is legal, is then by the addition water The request of impression piece is sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step 2-2:First platform receives the addition watermark picture request, will contain in the addition watermark picture request Watermark picture preserve into the account of second platform;
In the step L, first platform using it is described wait to sign a contract be converted to picture as after contract to be presented, also wrap Include:
Step P:First platform waits to sign a contract whether need addition watermark described in judging, is then by second platform The watermark picture having in account is waited to sign a contract with the contract to be presented described in being respectively added to, and continues;Otherwise continue.
30. method according to claim 29, it is characterised in that
The step 2-2, be specially:Watermark picture and water that first platform will contain in the addition watermark picture request Picture identification correspondence is printed to preserve into the account of second platform;
It is described to be respectively added to the watermark picture having in the account of second platform described to wait to sign in the step P In contract and the contract to be presented, it is specially:Watermark picture identification according to containing in the establishment contract request received exists Corresponding watermark picture is found in the account of second platform, the watermark picture found is respectively added to described to wait to sign In administration's contract and the contract to be presented.
31. method according to claim 19, it is characterised in that
Methods described also includes:Asked when the second platform calls second function interface to send addition watermark picture to the first platform When, perform step 2-1:
Step 2-1:The second function interface judges whether the addition watermark picture request is legal, is then by the addition water The request of impression piece is sent to first platform;Otherwise error code is returned to second platform, is terminated;
Step 2-2:First platform receives the addition watermark picture request, will contain in the addition watermark picture request Watermark picture preserve into the account of second platform;
Wait to sign a contract in the step A3 and the step B3, described in the storage before obtaining the first storage address, also wrap Include:
Step P`:First platform waits to sign a contract whether need addition watermark described in judging, is then by second platform Account in the watermark picture that has be added to it is described wait in signing a contract, continue;Otherwise continue.
32. method according to claim 31, it is characterised in that
The step 2-2, be specially:Watermark picture and water that first platform will contain in the addition watermark picture request Picture identification correspondence is printed to preserve into the account of second platform;
In the step P`, described be added to the watermark picture having in the account of second platform described waits to sign a contract In, it is specially:According to the watermark picture identification contained in the establishment contract request received in the account of second platform Corresponding watermark picture is found, the watermark picture found is added to described wait in signing a contract.
33. the method according to claim 29 or 31, it is characterised in that the second function interface judges the addition water Whether the request of impression piece is legal, is specially:
Judge size, size and the transparency of the watermark picture contained in the addition watermark picture request whether corresponding In preparatory condition, it is to judge that the addition watermark picture request is legal;Otherwise judge that the addition watermark picture request does not conform to Method.
34. method according to claim 19, it is characterised in that in the step B1, the 4th function interface judges Whether the second establishment contract request is legal, is specially:
Whether the type for judging the treaty documents that the second establishment contract request contains is the file type supported;
Judge the treaty documents that contain of the second establishment contract request whether not to be empty and no more than presetting size;
If judged result is to be, then judging described second, to create contract request legal;Otherwise the second establishment contract is judged Request is illegal.
35. method according to claim 19, it is characterised in that
The return responds to second platform, is specially:Return response address according to containing in the request received is returned Return and respond to the second platform.
36. a kind of signature system of electronic contract, including:Second console module, function interface module and the first console module;
The function interface module includes the 6th function interface submodule and the 7th function interface submodule;
Second console module, for calling the 6th function interface submodule to first console module transmission first Sign a contract request;
The 6th function interface submodule, including:
First judging unit, for judge described first sign a contract request it is whether legal;
First transmitting element, for when first judging unit judge described first sign a contract request it is legal when, by institute State the first request of signing a contract and be sent to first console module;
First reports an error unit, for when first judging unit judge described first sign a contract request it is illegal when, return Error code is returned to second console module;
First console module, including:
First receiving submodule, signs a contract request for receiving the 6th function interface submodule is sent first;
First searches submodule, and first for being received according to first receiving submodule, which signs a contract, contains in request What Contract NO lookup correspondence was preserved waits to sign a contract;
First acquisition submodule, for obtaining contract to be presented;
Second searches submodule, and first for being received according to first receiving submodule, which signs a contract, contains in request The signature picture of the corresponding signer of signer's information searching;
First generation submodule, for generating the page containing the contract to be presented and the signature picture;
First display sub-module, for opening the page of the first generation submodule generation by second console module simultaneously It is shown to the signer;
First receiving submodule, is additionally operable to receive the signer in the page that first display sub-module is shown Signature triggering information;
First signature submodule, for receiving the signer in the described first display submodule when first receiving submodule When signature in the page that block is shown triggers information, the signature picture selected according to the signer searches submodule to described first What block was found waits execution signature operation of signing a contract;
First sending submodule, after performing signature operation in the described first signature submodule, return responds to described the Two console modules;
Second console module, is additionally operable to call the 7th function interface submodule to send the to first console module Two sign a contract request;
The 7th function interface submodule, including:
Second judging unit, for judge described second sign a contract request it is whether legal;
Second transmitting element, for when second judging unit judge described second sign a contract request it is legal when, by institute State the second request of signing a contract and be sent to first console module;
Second reports an error unit, for when second judging unit judge described second sign a contract request it is illegal when, return Error code is returned to second console module;
First console module, in addition to:
Second receiving submodule, signs a contract request for receiving the 7th function interface submodule is sent second;
3rd searches submodule, and second for being received according to second receiving submodule, which signs a contract, contains in request What Contract NO lookup correspondence was preserved waits to sign a contract;
Second signature submodule, execution signature operation of signing a contract is waited for what is found to the described 3rd lookup submodule;
Second sending submodule, described second is responded to for being returned after performing signature operation in the described second signature submodule Console module.
37. system according to claim 36, it is characterised in that first judging unit, specifically for:
Judge whether the described first Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether described first signer's information for containing in request of signing a contract meets the second preset format;
If judged result is to be, then judge that the described first request of signing a contract is legal;Otherwise judge that described first signs a contract Request is illegal.
38. system according to claim 36, it is characterised in that
Described first searches submodule, specifically for:The Contract NO contained in asking of being signed a contract according to described first is searched To corresponding contract record, found according to the first storage address having in the contract record and corresponding wait to sign a contract;
Described 3rd searches submodule, specifically for:The Contract NO contained in asking of being signed a contract according to described second is searched To corresponding contract record, found according to the first storage address having in the contract record and corresponding wait to sign a contract.
39. system according to claim 36, it is characterised in that first acquisition submodule, specifically for:
Contract to be presented is used as after signing a contract and being converted to picture using described;
Or,
Contract NO according to containing in the request of signing a contract finds corresponding contract record, according to the contract record In the second storage address for having find corresponding contract to be presented.
40. system according to claim 36, it is characterised in that
Described second searches submodule, specifically for:The signer's information contained in asking of being signed a contract according to described first is looked into Look for the signature picture and stamped signature picture of corresponding signer;
The first generation submodule, specifically for:Generation contains the contract to be presented, the signature picture, the stamped signature The page of picture and date picture.
41. system according to claim 40, it is characterised in that first console module, in addition to:First judges son Module;
First judging submodule, for judging whether the second lookup submodule finds the stamped signature picture of signer;
The first generation submodule, specifically for:When first judging submodule judges that described second searches submodule When finding the stamped signature picture of signer, generation contains the contract to be presented, the signature picture, the stamped signature picture and day The page of phase picture;When first judging submodule judges that the second lookup submodule does not find the stamped signature of signer During picture, the page of the generation containing the contract to be presented, the signature picture and date picture.
42. system according to claim 36, it is characterised in that
The first generation submodule, specifically for:The contract to be presented and the signature picture are added to predetermined registration operation In the page, and the address of the predetermined registration operation page is returned into second console module;
First display sub-module, specifically for:The address that it receives is opened by second console module corresponding The predetermined registration operation page, and the contract to be presented and the signature picture are shown to the signer.
43. system according to claim 36, it is characterised in that the first signature submodule, specifically for:
Wait to sign a contract as currently waiting to sign a contract using described, the signature picture that respectively selects the signer and/or described The corresponding information of signature picture of signer's selection is added to described current current wait being used as behind corresponding position in signing a contract Wait to sign a contract, according to preset algorithm to it is described it is current wait to sign a contract calculate digest value;Signed a contract according to described first The signer's information searching contained in request is to private key corresponding with the digital certificate of the signer, using the private key to institute State digest value signature and obtain signing messages, the digital certificate of the signing messages and the signer is written to and described currently waits to sign In administration's contract.
44. system according to claim 36, it is characterised in that second judging unit, specifically for:
Judge whether the described second Contract NO for containing in request of signing a contract is no more than the 3rd preset length;
Judge whether described second signer's information for containing in request of signing a contract meets the second preset format;
If judged result is to be, then judge that the described second request of signing a contract is legal;Otherwise judge that described second signs a contract Request is illegal.
45. system according to claim 36, it is characterised in that the second signature submodule, specifically for:
According to preset algorithm to it is described wait to sign a contract calculate digest value;Sign a contract what is contained in asking according to described second Signer's information searching is obtained to private key corresponding with the digital certificate of signer using the private key to digest value signature Signing messages, described wait in signing a contract is written to by the digital certificate of the signing messages and the signer.
46. the system according to claim 43 or 45, it is characterised in that first console module, in addition to:Second sentences Disconnected submodule, the first application submodule, the 3rd judging submodule and the second application submodule;
Second judging submodule, for judging that described first signs a contract the corresponding label of signer's information that contain in request The digital certificate of people from administration whether there is;
The first signature submodule, specifically for:When second judging submodule judge described first sign a contract please Ask containing the corresponding signer of signer's information digital certificate in the presence of, according to the signer select signature picture What the described first lookup submodule was found waits execution signature operation of signing a contract;
First application submodule, for when second judging submodule judge described first sign a contract request in contain When the digital certificate of the corresponding signer of some signer's information is not present, application digital certificate simultaneously distributes to the signer;
The first signature submodule, is additionally operable in the first application submodule application digital certificate and distributes to the signature After people, the signature picture selected according to the signer waits execution of signing a contract to what the described first lookup submodule was found Signature operation;
3rd judging submodule, for judging that described second signs a contract the corresponding label of signer's information that contain in request The digital certificate of people from administration whether there is;
The second signature submodule, specifically for:When the 3rd judging submodule judge described second sign a contract please Ask containing signer's information corresponding signer digital certificate in the presence of, the described 3rd lookup submodule is found Wait execution signature operation of signing a contract;
Second application submodule, for when the 3rd judging submodule judge described second sign a contract request in contain When the digital certificate of the corresponding signer of some signer's information is not present, application digital certificate simultaneously distributes to the signer;
The second signature submodule, is additionally operable in the second application submodule application digital certificate and distributes to the signature After people, what the described 3rd lookup submodule was found waits execution signature operation of signing a contract.
47. system according to claim 36, it is characterised in that
The 3rd lookup submodule is protected according to the described second correspondence that the Contract NO that contains in request finds of signing a contract The signature position waited containing setting in signing a contract deposited;The signature position includes signature position and/or stamped signature position and/or label Affix one's name to date position;
First console module, in addition to:4th searches submodule;
Described 4th searches submodule, for signing submodule to treating that the described 3rd lookup submodule is found described second Sign a contract before execution signature operation, the signer's information searching contained in asking of being signed a contract according to described second is corresponding The signature picture and/or stamped signature picture of signer;
The second signature submodule, specifically for:The signature picture found according to the described 4th lookup submodule and/or institute State stamped signature picture and/or current date and wait execution signature operation of signing a contract to described.
48. system according to claim 47, it is characterised in that the signature position includes stamped signature position;Described first Console module, in addition to:4th judging submodule and prompting submodule;
4th judging submodule, for judging whether the 4th lookup submodule finds stamped signature picture;
The second signature submodule, specifically for:When the 4th judging submodule judges that the described 4th searches submodule When finding stamped signature picture, execution signature operation of signing a contract is waited to described;
The prompting submodule, for judging that the 4th lookup submodule does not find label when the 4th judging submodule During chapter picture, the signer is pointed out to upload stamped signature picture by second console module.
49. the system according to claim 40 or 47, it is characterised in that the second lookup submodule and the described 4th is looked into Submodule is looked for, specifically for:According to the signature picture of the corresponding signer of signer's information searching, judge whether to search successfully, It is to continue;Otherwise the signature picture of corresponding signer is generated according to signer's information, is continued.
50. system according to claim 36, it is characterised in that the function interface module, in addition to:5th function connects Openning module;First console module, in addition to:3rd receiving submodule, the 3rd sending submodule, first preserve submodule Block, the 5th judging submodule and the 6th judging submodule;
Second console module, is additionally operable to call the 5th function interface submodule please to the first platform transmission authenticating identity Ask;
The 5th function interface submodule, including:
3rd judging unit, for judging whether the authenticating identity request is legal;
3rd transmitting element, for when the 3rd judging unit judges that the authenticating identity request is legal, recognizing described Card identity request is sent to first console module;
3rd reports an error unit, for when the 3rd judging unit judges that the authenticating identity request is illegal, returning wrong Error code gives second console module;
3rd receiving submodule, for receiving the authenticating identity request;
3rd sending submodule, what the authenticating identity for being received according to the 3rd receiving submodule contained in asking Signer's identity information sends authentication code to signer;
Described first preserves submodule, for by signer's identity information preservation corresponding with the authentication code to the certification In the corresponding contract record of Contract NO contained in identity request;
5th judging submodule, first for judging that first receiving submodule receives, which signs a contract, contains in request Whether some authentication codes are correct;
Described first searches submodule, specifically for:When the 5th judging submodule judges first receiving submodule First received sign a contract the authentication code that contains in request it is correct when, sign a contract what is contained in request according to described first Contract NO lookup is corresponding to be waited to sign a contract;
First sending submodule, is additionally operable to when the 5th judging submodule judges that first receiving submodule is received To first sign a contract the authentication code that contains in request it is incorrect when, return to error code to second console module;
6th judging submodule, second for judging that second receiving submodule receives, which signs a contract, contains in request Whether some authentication codes are correct;
Described 3rd searches submodule, specifically for:When the 6th judging submodule judges second receiving submodule Second received sign a contract the authentication code that contains in request it is correct when, sign a contract what is contained in request according to described second Contract NO lookup is corresponding to be waited to sign a contract;
Second sending submodule, is additionally operable to when the 6th judging submodule judges that second receiving submodule is received To second sign a contract the authentication code that contains in request it is incorrect when, return to error code to second console module.
51. device according to claim 50, it is characterised in that the 5th judging submodule and the described 6th judges son Module, specifically for:Contract NO according to containing in the request received finds corresponding contract record, in the contract The authentication code of preservation corresponding with the signer's information contained in the request received is read in record, the authentication code read is judged Whether matched with the authentication code contained in the request received, be to judge that the authentication code contained in the request received is correct; Otherwise judge that the authentication code contained in the request received is incorrect.
52. system according to claim 50, it is characterised in that the 3rd judging unit, specifically for:
Judge whether the Contract NO contained in the authenticating identity request is no more than the 3rd preset length;
Judge whether the signer's information contained in the authenticating identity request meets the second preset format;
If judged result is to be, then judge that the authenticating identity request is legal;Otherwise judge that the authenticating identity request does not conform to Method.
53. system according to claim 36, it is characterised in that:First sending submodule and described second sends son Module, specifically for:Returned according to the return response address contained in the request received and respond to the second console module.
54. the establishment system of a kind of electronic contract, it is characterised in that including the second console module, function interface module and first Console module;
The function interface module, including:3rd function interface submodule and the 4th function interface submodule;
Second console module, is created for calling the 3rd function interface submodule to send first to the first console module Contract request;
The 3rd function interface submodule, including:
4th judging unit, for judging whether the first establishment contract request is legal;
4th transmitting element, for when the 4th judging unit judges that the first establishment contract request is legal, by institute State the first establishment contract request and be sent to first console module;
4th reports an error unit, for when the 4th judging unit judge described first create contract request it is illegal when, return Error code is returned to second console module;
First console module, including:
4th receiving submodule, contract request is created for receiving described first;
5th searches submodule, and first for being received according to the 4th receiving submodule creates what is contained in contract request Template identification searches corresponding contract template;
Second generation submodule, the contract template for being found according to the described 5th lookup submodule generates contract to be created;
Second acquisition submodule, for obtaining Contract NO;
3rd generation submodule, the contract to be created and the described 4th for being generated according to the described second generation submodule receives son The replacement data contained in the first establishment contract request that module is received, which is generated, to be waited to sign a contract;
Second preserves submodule, for storing waiting to sign a contract and obtaining the first storage for the 3rd generation submodule generation Location;
3rd preserves submodule, for the first storage address and the described second acquisition for obtaining the described second preservation submodule The Contract NO correspondence that module is got is preserved;
4th sending submodule, second console module is responded to for returning;
Second console module, is additionally operable to call the 4th function interface submodule to send the second establishment conjunction to the first console module With request;
The 4th function interface submodule, including:
5th judging unit, for judging whether the second establishment contract request is legal;
5th transmitting element, for when the 5th judging unit judges that the second establishment contract request is legal, by institute State the second establishment contract request and be sent to first console module;
5th reports an error unit, for when the 5th judging unit judge described second create contract request it is illegal when, return Error code is returned to second console module;
First console module, in addition to:
5th receiving submodule, contract request is created for receiving the 4th function interface submodule is sent second;
The contract contained in contract request text is created as submodule, second for the 5th receiving submodule to be received Shelves are used as and wait to sign a contract;
3rd acquisition submodule, for obtaining Contract NO;
4th preserves submodule, waits to sign a contract and obtains the first storage address for storing described as what submodule was obtained;
5th preserves submodule, for the first storage address and the described 3rd acquisition for obtaining the described 4th preservation submodule The Contract NO correspondence that module is got is preserved;
5th sending submodule, second console module is responded to for returning.
55. system according to claim 54, it is characterised in that the 4th judging unit, specifically for:
Judge the template name contained in the first establishment contract request whether not for sky and no more than the first preset length;
Judge whether the replacement data contained in the first establishment contract request meets the second preset format;
If judged result is to be, then judging described first, to create contract request legal;Otherwise the first establishment contract is judged Request is illegal.
56. system according to claim 54, it is characterised in that the function interface module also includes:First function connects Openning module;
Second console module, is additionally operable to call the first function interface sub-module to send addition conjunction to the first console module With template request;
The first function interface sub-module, including:
6th judging unit, for judging whether the addition contract template request is legal;
6th transmitting element, for when the 6th judging unit judges that the addition contract template request is legal, by institute State addition contract template request and be sent to first console module;
6th reports an error unit, for when the 6th judging unit judges that the addition contract template request is illegal, returning Error code is returned to second console module;
First console module, in addition to:
6th receiving submodule, for receiving the addition contract template request that the first function interface sub-module is sent;
First creates submodule, the template record for creating the contract template contained in the addition contract template request;
6th preserves submodule, and the 3rd storage address is obtained for storing the contract template;
7th preserves submodule, for the 3rd storage address for obtaining the described 6th preservation submodule and the addition contract mould Preserve to described first and create in the template record that submodule is created containing template identification correspondence in plate request;
6th sending submodule, second console module is responded to for returning;
Described 5th searches submodule, specifically for:Template identification according to containing in the described first establishment contract request is searched To corresponding template record, corresponding contract template is found according to the 3rd storage address having in the template record.
57. system according to claim 56, it is characterised in that the 6th judging unit, specifically for:
Judge the template name contained in the addition contract template request whether not for sky and no more than the first preset length;
Judge the template contained in the addition contract template request whether not for sky and no more than the second preset length;
If judged result is to be, then judge that the addition contract template request is legal;Otherwise the addition contract template is judged Request is illegal.
58. system according to claim 56, it is characterised in that first console module, in addition to:7th judges son Module;
7th judging submodule, whether the contract template for judging to contain in the addition contract template request, which meets, turns It is changed to the requirement of the document of the first preset format;
Described first creates submodule, specifically for:When the 7th judging submodule judges that the addition contract template please When the contract template contained in asking meets the requirement for the document for being converted to the first preset format, creating the addition contract template please The template record of the contract template contained in asking;
6th sending submodule, is additionally operable to when the 7th judging submodule is judged in the addition contract template request When the contract template contained does not meet the requirement for the document for being converted to the first preset format, error code is returned to second platform Module.
59. system according to claim 54, it is characterised in that second acquisition submodule and the described 3rd obtains son Module, is specifically included:
Whether the 7th judging unit, contain Contract NO in the request received for judgement;
Subelement is read, for when the 7th judging unit is judged to contain Contract NO in the request received, reading The Contract NO contained in the request received;
Generation unit, for when the 7th judging unit is judged not containing Contract NO in the request received, generating Contract NO.
60. system according to claim 59, it is characterised in that second acquisition submodule and the described 3rd obtains son Module, in addition to:
Whether the 8th judging unit, the Contract NO contained in the request received for judgement is taken by other contracts;
The reading unit, specifically for:When the 8th judging unit judges that the contract contained in the request received is compiled When number not taken by other contracts, the Contract NO contained in the request received is read;
7th reports an error unit, for judging the Contract NO contained in the request received by it when the 8th judging unit When his contract takes, error code is returned to second console module.
61. system according to claim 54, it is characterised in that
The 3rd generation submodule, specifically for:Replaced using the replacement data contained in the described first establishment contract request Identifier in the contract to be created on relevant position obtains treaty documents, and the treaty documents are converted into the first default lattice It is used as after formula and waits to sign a contract;
It is described as submodule, including:
9th judging unit, whether the treaty documents for judging to contain in the second establishment contract request are described first pre- If form;
As subelement, for judging that the contract contained in the second establishment contract request is literary when the 9th judging unit Shelves are when being first preset format, using the treaty documents as waiting to sign a contract;
Conversion subunit, for judging that the contract contained in the second establishment contract request is literary when the 9th judging unit Shelves are when being not first preset format, the treaty documents are converted to after first preset format as treating signature conjunction Together.
62. system according to claim 54, it is characterised in that first console module, in addition to:Second creates son Module;
Described second creates submodule, the contract record for creating the contract to be created;
Described 3rd, which preserves submodule and the described 5th, preserves submodule, specifically for:By first storage address with it is described Contract NO correspondence is preserved to described second and created in the contract record that submodule is created.
63. system according to claim 54, it is characterised in that first console module, in addition to:First conversion Module and the 8th preserves submodule;
First transform subblock, is responded to for being returned in the 4th sending submodule and the 5th sending submodule Before second console module, using it is described wait to sign a contract be converted to picture as contract to be presented;
Described 8th preserves submodule, obtains the second storage address for storing the contract to be presented, described second is stored Address is corresponding with the Contract NO to be preserved.
64. system according to claim 63, it is characterised in that the function interface module, in addition to:Second function connects Openning module;
Second console module, is additionally operable to call the second function interface sub-module to first console module transmission to add Watermarking picture is asked;
The second function interface sub-module, including:
Tenth judging unit, for judging whether the addition watermark picture request is legal;
7th transmitting element, for when the tenth judging unit judges that the addition watermark picture request is legal, sending The addition watermark picture is asked to first console module;
8th reports an error unit, for when the tenth judging unit judges that the addition watermark picture request is illegal, returning Error code is returned to second console module;
First console module, in addition to:
7th receiving submodule, for receiving the addition watermark picture request;
9th preserves submodule, for the watermark picture contained in the addition watermark picture request to be preserved to described second flat In the account of platform module;
8th judging submodule, for first transform subblock using it is described wait to sign a contract be converted to picture as waiting to open up Show after contract, whether wait to sign a contract described in judgement needs to add watermark;
First addition submodule, for when the 8th judging submodule judge it is described wait to sign a contract need to add watermark When, by the watermark picture having in the account of second console module be respectively added to it is described wait to sign a contract wait to open up with described Show in contract.
65. system according to claim 64, it is characterised in that
Described 9th preserves submodule, specifically for:By the watermark picture contained in the addition watermark picture request and watermark Picture identification correspondence is preserved into the account of second platform;
The first addition submodule, specifically for:According to the watermark picture identification contained in the establishment contract request received Corresponding watermark picture is found in the account of second console module, the watermark picture found is respectively added to institute State wait to sign a contract with the contract to be presented.
66. system according to claim 54, it is characterised in that the function interface module, in addition to:Second function connects Openning module;
Second console module, is additionally operable to call the second function interface sub-module to first console module transmission to add Watermarking picture is asked;
The second function interface sub-module, including:
Tenth judging unit, for judging whether the addition watermark picture request is legal;
7th transmitting element, for when the tenth judging unit judges that the addition watermark picture request is legal, sending The addition watermark picture is asked to first console module;
8th reports an error unit, for when the tenth judging unit judges that the addition watermark picture request is illegal, returning Error code is returned to second console module;
First console module, in addition to:
8th receiving submodule, for receiving the addition watermark picture request;
Tenth preserves submodule, for the watermark picture contained in the addition watermark picture request to be preserved to described second flat In the account of platform module;
9th judging submodule, for obtaining the first storage in the described second preservation submodule and the 4th preservation submodule Whether before location, waiting to sign a contract described in judgement needs to add watermark;
Second addition submodule, for when the 9th judging submodule judge it is described wait to sign a contract need to add watermark When, the watermark picture having in the account of second console module is added to described wait in signing a contract.
67. system according to claim 66, it is characterised in that
Described tenth preserves submodule, specifically for:By the watermark picture contained in the addition watermark picture request and watermark Picture identification correspondence is preserved into the account of second console module;
The second addition submodule, specifically for:According to the watermark picture identification contained in the establishment contract request received Corresponding watermark picture is found in the account of second console module, the watermark picture found is added to described treat In signing a contract.
68. the system according to claim 64 or 66, it is characterised in that the 9th judging unit and the described tenth judges Unit, specifically for:Judge whether are size, size and the transparency of the watermark picture that contain in the addition watermark picture request In corresponding preparatory condition, it is to judge that the addition watermark picture request is legal;Otherwise the addition watermark figure is judged Piece request is illegal.
69. system according to claim 54, it is characterised in that the 5th judging unit, specifically for:
Whether the type for judging the treaty documents that the second establishment contract request contains is the file type supported;
Judge the treaty documents that contain of the second establishment contract request whether not to be empty and no more than presetting size;
If judged result is to be, then judging described second, to create contract request legal;Otherwise the second establishment contract is judged Request is illegal.
70. system according to claim 54, it is characterised in that the 4th sending submodule and the described 5th sends son Module, specifically for:Returned according to the return response address contained in the request received and respond to the second console module.
CN201710276720.4A 2017-04-25 2017-04-25 A kind of establishment of electronic contract, signature method and system Pending CN107133777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710276720.4A CN107133777A (en) 2017-04-25 2017-04-25 A kind of establishment of electronic contract, signature method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710276720.4A CN107133777A (en) 2017-04-25 2017-04-25 A kind of establishment of electronic contract, signature method and system

Publications (1)

Publication Number Publication Date
CN107133777A true CN107133777A (en) 2017-09-05

Family

ID=59715614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710276720.4A Pending CN107133777A (en) 2017-04-25 2017-04-25 A kind of establishment of electronic contract, signature method and system

Country Status (1)

Country Link
CN (1) CN107133777A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818504A (en) * 2017-09-27 2018-03-20 上海维信荟智金融科技有限公司 The automation signature method and system of contract
CN107844710A (en) * 2017-09-26 2018-03-27 浙江大学 A kind of contract generation system and generation method
CN109003210A (en) * 2018-07-18 2018-12-14 杭州鑫合汇互联网金融服务有限公司 A kind of Electronic Seal System and method
CN109492367A (en) * 2018-10-17 2019-03-19 平安国际融资租赁有限公司 Electronic contract signature processing method, device, computer equipment and storage medium
CN109711806A (en) * 2018-12-26 2019-05-03 上海连尚网络科技有限公司 A kind of contracting method, equipment and computer-readable medium
CN109710903A (en) * 2018-08-20 2019-05-03 平安普惠企业管理有限公司 Management method, device, equipment and the storage medium of document
CN109784873A (en) * 2019-02-28 2019-05-21 飞天诚信科技股份有限公司 A kind of working method and equipment of electronic contract signature platform
WO2019100613A1 (en) * 2017-11-23 2019-05-31 平安科技(深圳)有限公司 Electronic insurance policy signing method and apparatus, computer device and storage medium
CN110084072A (en) * 2019-04-30 2019-08-02 北京智签科技有限公司 A kind of electronic contract online verification method based on block chain network
CN110113157A (en) * 2019-05-05 2019-08-09 江苏全链通信息科技有限公司 Contract processing method, equipment, network and storage medium based on block chain
CN110175807A (en) * 2019-04-17 2019-08-27 平安普惠企业管理有限公司 Document data processing method, device and computer equipment in loan transaction
CN110245912A (en) * 2019-04-28 2019-09-17 深圳法大大网络科技有限公司 A kind of electronic contract signature method, apparatus, storage medium and terminal device
CN110264383A (en) * 2019-05-06 2019-09-20 深圳法大大网络科技有限公司 A kind of electronic contract is put on record method, apparatus, readable storage medium storing program for executing and server
CN110427602A (en) * 2019-07-26 2019-11-08 杭州尚尚签网络科技有限公司 A method of quick, safe creation and transmission electronic contract based on template
CN113743049A (en) * 2021-09-06 2021-12-03 四川新网银行股份有限公司 Method for previewing electronic contract

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858793A (en) * 2006-05-24 2006-11-08 孟繁波 Electronic contract managing system operation platform
CN105488432A (en) * 2015-11-30 2016-04-13 山东中创软件工程股份有限公司 Document anti-fake method and device
CN105787741A (en) * 2016-02-17 2016-07-20 林慕新 Electronic contract signing system based on mobile phone client, and application method thereof
CN105913219A (en) * 2016-04-05 2016-08-31 周宇航 Method and system used for monitoring and managing whole actuating process of electronic contract
CN106067849A (en) * 2016-05-24 2016-11-02 飞天诚信科技股份有限公司 A kind of digital signature method being applicable to PDF document and device
CN106295405A (en) * 2016-07-25 2017-01-04 飞天诚信科技股份有限公司 A kind of method concluding electronic contract and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858793A (en) * 2006-05-24 2006-11-08 孟繁波 Electronic contract managing system operation platform
CN105488432A (en) * 2015-11-30 2016-04-13 山东中创软件工程股份有限公司 Document anti-fake method and device
CN105787741A (en) * 2016-02-17 2016-07-20 林慕新 Electronic contract signing system based on mobile phone client, and application method thereof
CN105913219A (en) * 2016-04-05 2016-08-31 周宇航 Method and system used for monitoring and managing whole actuating process of electronic contract
CN106067849A (en) * 2016-05-24 2016-11-02 飞天诚信科技股份有限公司 A kind of digital signature method being applicable to PDF document and device
CN106295405A (en) * 2016-07-25 2017-01-04 飞天诚信科技股份有限公司 A kind of method concluding electronic contract and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁文婷: "利用字符特征和标点符号的WORD文档水印算法研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844710B (en) * 2017-09-26 2020-07-17 浙江大学 Contract generating system and generating method
CN107844710A (en) * 2017-09-26 2018-03-27 浙江大学 A kind of contract generation system and generation method
CN107818504A (en) * 2017-09-27 2018-03-20 上海维信荟智金融科技有限公司 The automation signature method and system of contract
WO2019100613A1 (en) * 2017-11-23 2019-05-31 平安科技(深圳)有限公司 Electronic insurance policy signing method and apparatus, computer device and storage medium
CN109003210A (en) * 2018-07-18 2018-12-14 杭州鑫合汇互联网金融服务有限公司 A kind of Electronic Seal System and method
CN109710903A (en) * 2018-08-20 2019-05-03 平安普惠企业管理有限公司 Management method, device, equipment and the storage medium of document
CN109492367A (en) * 2018-10-17 2019-03-19 平安国际融资租赁有限公司 Electronic contract signature processing method, device, computer equipment and storage medium
CN109711806A (en) * 2018-12-26 2019-05-03 上海连尚网络科技有限公司 A kind of contracting method, equipment and computer-readable medium
CN109784873A (en) * 2019-02-28 2019-05-21 飞天诚信科技股份有限公司 A kind of working method and equipment of electronic contract signature platform
CN109784873B (en) * 2019-02-28 2021-07-02 飞天诚信科技股份有限公司 Working method and device of electronic contract signing platform
CN110175807A (en) * 2019-04-17 2019-08-27 平安普惠企业管理有限公司 Document data processing method, device and computer equipment in loan transaction
CN110245912A (en) * 2019-04-28 2019-09-17 深圳法大大网络科技有限公司 A kind of electronic contract signature method, apparatus, storage medium and terminal device
CN110084072A (en) * 2019-04-30 2019-08-02 北京智签科技有限公司 A kind of electronic contract online verification method based on block chain network
CN110113157A (en) * 2019-05-05 2019-08-09 江苏全链通信息科技有限公司 Contract processing method, equipment, network and storage medium based on block chain
CN110264383A (en) * 2019-05-06 2019-09-20 深圳法大大网络科技有限公司 A kind of electronic contract is put on record method, apparatus, readable storage medium storing program for executing and server
CN110264383B (en) * 2019-05-06 2022-03-11 深圳法大大网络科技有限公司 Electronic contract filing method and device, readable storage medium and server
CN110427602A (en) * 2019-07-26 2019-11-08 杭州尚尚签网络科技有限公司 A method of quick, safe creation and transmission electronic contract based on template
CN113743049A (en) * 2021-09-06 2021-12-03 四川新网银行股份有限公司 Method for previewing electronic contract

Similar Documents

Publication Publication Date Title
CN107133777A (en) A kind of establishment of electronic contract, signature method and system
US8078880B2 (en) Portable personal identity information
CN109740317A (en) A kind of digital finger-print based on block chain deposits card method and device
CN109727134A (en) A kind of copyright trading method and device of picture
US20010034835A1 (en) Applied digital and physical signatures over telecommunications media
CN109460966A (en) Contract signing method, apparatus and terminal device based on requesting party's classification
CN106600717B (en) A kind of method, system and smart machine based on the networking ticket checking of user terminal interface
CN109784922A (en) Electronic contract signs method, apparatus, computer equipment and storage medium
CN110991157A (en) Engineering quality evaluation system design method based on electronic file credible technology
CN207504911U (en) A kind of data deposit system based on block chain technology
CN108509777A (en) A kind of electric endorsement method, electronic device and computer readable storage medium
CN108052553A (en) Method, apparatus, computer equipment and the storage medium of electronic documentation generation
CN109086592A (en) Method, server and the system of user information and account information binding
CN103218723A (en) Product anti-fake system and method by means of machine vision and on basis of two-dimensional figure
JP6807734B2 (en) Relay server and relay program
CN114491462A (en) Method, system, equipment and storage medium for signing multiple electronic documents once
CN109934588A (en) A kind of business handling method and device
CN110472431A (en) Express delivery location privacy method, addressee end, sends part end, express system at server
CN106022776B (en) A kind of the key bulking system and its packaging process of MPOS equipment
CN104268606B (en) A kind of electronic tag and its authentication method, device and system
JP5788278B2 (en) Drawing management server and drawing management program
CN109508951A (en) Barcode scanning contracting method, device, storage medium and server
CN115361376A (en) Government affair file uploading method and device, electronic equipment and storage medium
CN115378623A (en) Identity authentication method, device, equipment and storage medium
CN105025000B (en) Method and information safety device are examined in a kind of data access of Virtual desktop

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170905