CN110378664A - Method and device, the storage medium, electronic device of contract are created on line - Google Patents

Method and device, the storage medium, electronic device of contract are created on line Download PDF

Info

Publication number
CN110378664A
CN110378664A CN201910498282.5A CN201910498282A CN110378664A CN 110378664 A CN110378664 A CN 110378664A CN 201910498282 A CN201910498282 A CN 201910498282A CN 110378664 A CN110378664 A CN 110378664A
Authority
CN
China
Prior art keywords
signing
contract
state
target contract
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910498282.5A
Other languages
Chinese (zh)
Other versions
CN110378664B (en
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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information Technology 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201910498282.5A priority Critical patent/CN110378664B/en
Publication of CN110378664A publication Critical patent/CN110378664A/en
Application granted granted Critical
Publication of CN110378664B publication Critical patent/CN110378664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services; Handling legal documents
    • G06Q50/188Electronic negotiation

Abstract

The present invention provides method and device, storage mediums, electronic device that contract is created on a kind of line, wherein this method comprises: passing through the request to create of signing channel reception target contract, wherein, the request to create includes: subscription request side's mark, product identification of contracting, channel mark of contracting;Inquire the signing state of the target contract, wherein the signing state is used to indicate the current execution state of the target contract;When the signing state is the designated state of Pending The Entry Into Force, pass through the signing channel signing target contract.Through the invention, it solves the technical issues of poor in timeliness when using timed task signing target contract in the related technology, ensure that the real-time and accuracy of contract.

Description

Method and device, the storage medium, electronic device of contract are created on line
Technical field
The present invention relates to computer fields, in particular to method and device, storage Jie for creating contract on a kind of line Matter, electronic device.
Background technique
In the related technology, in platform commercialization project, trade company needs the increasing provided using platform after moving in platform Value services relevant function, a series of electronic protocol contracts of contracting with platform is needed, to constrain the rule of conduct of both sides.
In the related technology, there are two types of channels for the approach of trade company and platform signing: one kind is that trade company independently contracts, trade company oneself It can choose corresponding product to contract, (there are business activities, and are referred to as quotient from the enterprise of profit or individual for trade company Family) and the platform cooperation process that carries out brining negotiation together be exactly to contract.Another kind is city bd small two or the service provider's allograph of platform It about, is quotient in the gondola sales workbench signing centre management page after bd small two or service provider consult successfully under line with businessman Family selection product is contracted, and signing generates a pre-effective electronic contract later, after needing that trade company is waited to be identified through, is closed It about can just come into force, be pre- contract to be come into force before coming into force, such as application No. is the relevant technologies of CN201810010212 to disclose A kind of method and device for realizing electronic signature, is initiated by trade company and is completed the signing of electronic contract.In the related technology can only It is contracted using single channel, two kinds of signing channels cannot combine.
In the scheme of the relevant technologies, processing contract enabling fashion by state come control representation contract come into force and fail it is scarce Point further include: single for the state of a control of contract, it is difficult to support that pre- contract comes into force and the failure of the confirmation time-out of pre- contract is controlled Contract active states processed, cannot be fast usually by the executive mode of the different request triggerings of timed task to contract failure state The validity of identification trade company's contract of speed, timeliness cannot be guaranteed.
For the above problem present in the relevant technologies, at present it is not yet found that the solution of effect.
Summary of the invention
The embodiment of the invention provides method and device, storage mediums, electronic device that contract is created on a kind of line.
According to one embodiment of present invention, a kind of method that contract is created on line is provided, comprising: pass through signing channel Receive the request to create of target contract, wherein the request to create includes: subscription request side's mark, product identification of contracting, signing Channel mark;Inquire the signing state of the target contract, wherein the signing state is used to indicate working as the target contract Preceding execution state;When the signing state is the designated state of Pending The Entry Into Force, closed by the signing channel signing target About.
It optionally, include: by the first signing channel reception institute by the request to create for channel reception target contract of contracting State the first request to create of target contract, wherein the first signing channel is corresponding with the subscription request side.
Optionally, when the signing state is the designated state of Pending The Entry Into Force, pass through the signing channel signing mesh Marking contract includes following one: being when active states, by the first signing channel to the label in the signing state About requesting party sends confirmation request, after the signing confirmation for receiving the subscription request side, more by the state of the target contract It is newly active states, and the entry-into-force time and out-of-service time of the target contract is set;It is unknown state in the signing state When, the contract data of the target contract is created, set active states for the state of the target contract, and the mesh is set Mark the entry-into-force time and out-of-service time of contract, wherein the contract data is corresponding with the signing product.
Optionally, after the signing state for inquiring the target contract, the method also includes: in the signing state When for status in effect, send what the target contract had been contracted to the subscription request side by the first signing channel Prompt information.
It optionally, include: by the second signing channel reception institute by the request to create for channel reception target contract of contracting State the second request to create of target contract, wherein the igning agency side pair of the second signing channel and the subscription request side It answers.
Optionally, when the signing state is the designated state of Pending The Entry Into Force, pass through the signing channel signing mesh Mark contract includes: to create the contract data of the target contract when the signing state is unknown state, pass through described second Contracting channel will be described after the signing confirmation for receiving the subscription request side to subscription request side forwarding confirmation request The state of target contract is set as active states, and the entry-into-force time and out-of-service time of the target contract is arranged.
Optionally, after the signing state for inquiring the target contract, the method also includes: in the signing state For status in effect, forward what the target contract contracted to mention to the subscription request side by the second signing channel Show information;Or, being to be turned by the second signing channel to the subscription request side when active states in the signing state Hair is used to indicate the instruction information that the subscription request side confirms the target contract.
Optionally, the signing state for inquiring the target contract include: read the contract time of the target contract, and Current system time, wherein the contract time includes entry-into-force time and out-of-service time;Compare contract time and described System time;It is less than or equal to the system time in the entry-into-force time, and the out-of-service time is greater than or equal to the system When the system time, determine that the signing state of the target contract is active states;It is greater than the system time in the entry-into-force time, Or the out-of-service time be less than the system time when, determine the target contract signing state be failure state.
Optionally, the signing state for inquiring the target contract include: read the scheduled time of the target contract, and Current system time, wherein the scheduled time includes pre-effective time and pre- out-of-service time;Compare the scheduled time and The system time;It is less than or equal to the system time in the pre-effective time, and the pre- out-of-service time is greater than or waits When the system time, determine that the signing state of the target contract is to active states;It is greater than in the pre-effective time When the system time or the pre- out-of-service time are less than the system time, determine that the signing state of the target contract is Cancellation state.
It optionally, is that entry-into-force time and the failure of the target contract are set when active states in the signing state Time comprises determining that the mechanism that comes into force of the target contract, wherein the mechanism of coming into force includes following one: synchronization mechanism, puts down Shifter mechanism;When the mechanism that comes into force is synchronization mechanism, by the pre-effective time of the target contract and the pre- out-of-service time It is respectively set to the entry-into-force time and out-of-service time of the target contract;It, will be described when the mechanism that comes into force is translation mechanism After the pre-effective time of target contract and the pre- out-of-service time add preset time, it is respectively set to the target contract Entry-into-force time and out-of-service time.
According to another embodiment of the invention, the device that contract is created on a kind of line is provided, comprising: receiving module, For the request to create by signing channel reception target contract, wherein the request to create includes: subscription request side's mark, Signing product identification, channel mark of contracting;Enquiry module, for inquiring the signing state of the target contract, wherein the label The about state current execution state that is used to indicate the target contract;Signing module, for being Pending The Entry Into Force in the signing state Designated state when, pass through the signing channel and contract the target contract.
Optionally, the receiving module includes: the first receiving unit, for passing through target described in the first signing channel reception First request to create of contract, wherein the first signing channel is corresponding with the subscription request side.
Optionally, the signing module includes following one: the first signing unit, for being to be generated in the signing state When effect state, confirmation request is sent to the subscription request side by the first signing channel, is receiving the subscription request After the signing confirmation of side, the state of the target contract is updated to active states, and when coming into force of the target contract is set Between and the out-of-service time;Second signing unit, for creating the conjunction of the target contract when the signing state is unknown state The state of the target contract is set active states by about data, and entry-into-force time and the failure of the target contract is arranged Time, wherein the contract data is corresponding with the signing product.
Optionally, the receiving module includes: the second receiving unit, for passing through target described in the second signing channel reception Second request to create of contract, wherein the second signing channel is corresponding with the igning agency side of the subscription request side.
Optionally, the signing module includes: third signing unit, is used for when the signing state is unknown state, The contract data for creating the target contract forwards confirmation request to the subscription request side by the second signing channel, After the signing confirmation for receiving the subscription request side, set active states for the state of the target contract, and institute is set State the entry-into-force time and out-of-service time of target contract.
It optionally, is when active states in the signing state, the first signing unit comprises determining that subelement, For determining the mechanism that comes into force of the target contract, wherein the mechanism of coming into force includes following one: synchronization mechanism translates machine System;Subelement is set, for when the mechanism that comes into force is synchronization mechanism, by pre-effective time of the target contract and described The pre- out-of-service time is respectively set to the entry-into-force time and out-of-service time of the target contract;It is translation mechanism in the mechanism that comes into force When, after the pre-effective time of the target contract and the pre- out-of-service time are added preset time, it is respectively set to described The entry-into-force time and out-of-service time of target contract.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, after the request to create by signing channel reception target contract, the signing of target contract is inquired State, by signing channel signing target contract, is carried when the state of signing is the designated state of Pending The Entry Into Force in request to create Signing channel mark, and the signing state of target contract is inquired, it can quickly be signed for different signing channel and signing state The about target contract of Pending The Entry Into Force.It solves and is asked in the related technology using the technology of poor in timeliness when timed task signing target contract Topic, ensure that the real-time and accuracy of contract.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the server architecture block diagram that contract is created on a kind of line of the embodiment of the present invention;
Fig. 2 is the method flow diagram that contract is created on a kind of line according to an embodiment of the present invention;
Fig. 3 is the flow chart that trade company of the embodiment of the present invention independently contracts;
Fig. 4 is the flow chart of allograph of the embodiment of the present invention about;
Fig. 5 is the flow diagram that the embodiment of the present invention judges whether contract comes into force;
Fig. 6 is the flow chart that the embodiment of the present invention updates failure contract;
Fig. 7 is the flow chart that the embodiment of the present invention cancels contract to be come into force;
Fig. 8 is the structural block diagram that the device of contract is created on a kind of line according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can mobile terminal, terminal, server or It is executed in similar arithmetic unit.By run on the server for, Fig. 1 be the embodiment of the present invention a kind of line on create contract Server architecture block diagram.As shown in Figure 1, server 10 may include one or more (only showing one in Fig. 1) processors 102 (processing units that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) and use In the memory 104 of storing data, optionally, above-mentioned server can also include for communication function transmission device 106 with And input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to upper The structure for stating server causes to limit.For example, server 10 may also include the more or less component than shown in Fig. 1, or Person has the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of method of contract is created on one of bright embodiment line, processor 102 is stored in by operation Computer program in reservoir 104 realizes above-mentioned method thereby executing various function application and data processing.Storage Device 104 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processing The remotely located memory of device 102, these remote memories can pass through network connection to server 10.The example of above-mentioned network Including but not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of server 10 provide.In an example, transmitting device 106 includes a network adapter (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments so as to It is communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF) Module is used to wirelessly be communicated with internet.
A kind of method that contract is created on line is provided in the present embodiment, and Fig. 2 is one kind according to an embodiment of the present invention The method flow diagram that contract is created on line, as shown in Fig. 2, the process includes the following steps:
Step S202 passes through the request to create for channel reception target contract of contracting, wherein the request to create includes: label About requesting party identifies, product identification of contracting, channel mark of contracting;
In the present embodiment, subscription request side is the service user of target contract, services user and service provider Reach the common recognition i.e. target contract of rights and duties to the use of a certain destination service.Signing product is pair of target bond service As being the Virtual Service or virtual product of the selection of subscription request side, the corresponding main body for initiating request to create of signing channel can wrap Include the channel that trade company independently initiates and the channel that third-party agent is initiated.
Step S204 inquires the signing state of target contract, wherein signing state is used to indicate currently holding for target contract Row state;
There are many signing states of the target contract of the present embodiment, such as wait come into force, comes into force, and fails, and cancels, unknown to wait shapes State, wherein only the signing state instruction target contract of active states is currently to execute the state to come into force, remaining state is this reality Apply the designated state of the Pending The Entry Into Force of example.Each signing state corresponds to a status indicator, can be by the state that inquires Mark, when not inquiring status indicator, is defaulted as unknown state to determine signing state.
Step S206 passes through signing channel signing target contract when the state of signing is the designated state of Pending The Entry Into Force.
The signing channel of the present embodiment is channel on a line, including specific routed path and server path, and most Information exchange is carried out with subscription request side eventually.Wherein, different signing channels is also corresponding from different designated states.
The signing target contract of the present embodiment, which refers to, sets effective signing state for target contract, in the finger inquired When determining state difference, different operations is needed to be implemented, meanwhile, the contract signing mode of difference signing channel is also different.
Through the above steps, after the request to create by signing channel reception target contract, the label of target contract are inquired About state, by signing channel signing target contract, is taken when the state of signing is the designated state of Pending The Entry Into Force in request to create Band signing channel mark, and the signing state of target contract is inquired, it can be quick for different signing channels and signing state The target contract of signing Pending The Entry Into Force.It solves in the related technology using the technology of poor in timeliness when timed task signing target contract Problem ensure that the real-time and accuracy of contract, and identify signing canal by the signing channel mark of request to create carrying Road, and target contract of being contracted using the signing channel of request, are shortened the time of contracting on line, improve success rate.
The present embodiment can be applied when trade company (or user) enters line upper mounting plate or after entering line upper mounting plate, with platform The scene for creating target contract can also be applied and be contracted on line the scene of target contract in any two virtual objects.
The target contract of the present embodiment can independently be contracted by subscription request side, can also by agent's allograph about, Corresponding, signing channel includes the first signing channel corresponding with subscription request side, and the igning agency side with subscription request side Corresponding second signing channel.
In the example that the present embodiment is independently contracted, the request to create by channel reception target contract of contracting includes: logical Cross the first request to create of the first signing channel reception target contract, wherein the first signing channel is corresponding with subscription request side, by It initiates and executes in subscription request side.
The designated state of the present embodiment can be multiple states, in a variety of signing states of target contract, can pass through Signing channel signing target contract.Optionally, the designated state includes passing through channel of contracting to active states and unknown state It is to be sent really by the first signing channel to subscription request side when active states that signing target contract, which includes: in signing state, Recognize request, after the signing confirmation for receiving subscription request side, the state of target contract is updated to active states, and target is set The entry-into-force time and out-of-service time of contract;When the state of signing is unknown state, the contract data of target contract is created, by target The state of contract is set as active states, and the entry-into-force time and out-of-service time of target contract is arranged, wherein contract data and label About product is corresponding.In the entry-into-force time and out-of-service time of setting target contract, can also be asked by the first signing channel to signing The side of asking sends successful prompt information of contracting.The present embodiment can also be by whether inquiring to active states and unknown state The contract data of target contract is created to determine and (can inquire by signing product identification), if having created contract number According to, but be not carried out contract, then for active states;If not creating contract data, for unknown state.
Optionally, after the signing state of inquiry target contract, further includes: when the state of signing is status in effect, The prompt information that target contract has been contracted is sent to subscription request side by the first signing channel.
In the example of the present embodiment allograph about, the request to create by channel reception target contract of contracting includes: to pass through Second request to create of the second signing channel reception target contract, wherein the signing generation of the second signing channel and subscription request side Reason side is corresponding, is initiated by igning agency side and is executed.
Optionally, contract state be Pending The Entry Into Force designated state when, by signing channel contract target contract include: When signing state is unknown state, the contract data of target contract is created, is forwarded by the second signing channel to subscription request side Confirmation request sets active states for the state of target contract, and mesh is arranged after the signing confirmation for receiving subscription request side Mark the entry-into-force time and out-of-service time of contract.In the entry-into-force time and out-of-service time of setting target contract, second can also be passed through Signing channel sends successful prompt information of contracting to subscription request side.
Optionally, inquiry target contract signing state after, further includes: signing state be status in effect, lead to Cross the prompt information that the second signing channel has been contracted to subscription request side's forwarding target contract;Or, being to be generated in signing state When effect state, the instruction that subscription request side confirms target contract is used to indicate to the forwarding of subscription request side by the second signing channel The state of the target contract is updated to active states, and set after the signing confirmation for receiving the subscription request side by information Set the entry-into-force time and out-of-service time of the target contract.The present embodiment is forwarded by igning agency direction subscription request side.
The signing state of the present embodiment target contract includes various states, in the implement scene that one is illustrated, inquires mesh Mark contract signing state include:
S11, the contract time of reading target contract and current system time, wherein the contract time includes when coming into force Between and the out-of-service time;
S12 compares contract time and system time;
S13, the entry-into-force time be less than or equal to system time, and the out-of-service time be greater than or equal to system time when, determine The signing state of target contract is active states;When the entry-into-force time is greater than system time or the out-of-service time is less than system time, The signing state for determining target contract is failure state.The signing process of failure state and the signing process of unknown state are identical, The contract data for creating the target contract sets active states for the state of the target contract, and the target is arranged The entry-into-force time and out-of-service time of contract, wherein the contract data is corresponding with the signing product.
In another possible implement scene, the signing state of inquiry target contract includes:
S21, the scheduled time of reading target contract and current system time, wherein the scheduled time includes pre-effective Time and pre- out-of-service time;In process to be contracted, the contract data of target contract is created, by the second signing channel to label After about requesting party forwards confirmation request, the state of target contract is to active states, only in the signing for receiving subscription request side After confirmation, active states are set by the state of target contract.To an active states corresponding scheduled time, including it is pre-effective when Between and pre- out-of-service time, pre-effective time and pre- out-of-service time and the entry-into-force time of target contract and out-of-service time can it is identical or It is different.
S22 compares scheduled time and system time;
S23, the pre-effective time be less than or equal to system time, and the pre- out-of-service time be greater than or equal to system time when, The signing state for determining target contract is to active states;It is greater than system time in the pre-effective time or the pre- out-of-service time is less than When system time, determine that the signing state of target contract is cancellation state.
The contract time of the present embodiment and scheduled time are the contract parameter for presetting and being stored in signing platform, contract It is generated after having contracted successfully before time, but target contract expired may need to contract again, it is contemplated that the time is Before in advance contract successfully (contract Pending The Entry Into Force, after active states) afterwards generate.It is also possible to read less than contract time and pre- Between timing, in this case, the also unsigned success of target contract is confirmed, signing state is unknown state.
It optionally, is that target contract is set when active states in signing state in the present embodiment allograph example about Entry-into-force time and the out-of-service time comprise determining that the mechanism that comes into force of target contract, wherein the mechanism of coming into force includes following one: same Step mechanism, translates mechanism, the principle of synchronization mechanism be pre-effective time and pre- out-of-service time are converted directly into the entry-into-force time and Out-of-service time, translation mechanism then need to obtain after equidistantly translating a period of time on the basis of pre-effective time and pre- out-of-service time Entry-into-force time and out-of-service time;When the mechanism of coming into force is synchronization mechanism, by the pre-effective time and pre- out-of-service time of target contract It is respectively set to the entry-into-force time and out-of-service time of target contract;When the mechanism of coming into force is translation mechanism, by the pre- of target contract After entry-into-force time and pre- out-of-service time add preset time, it is respectively set to the entry-into-force time and out-of-service time of target contract. In one example, preset time is time for about creating of when m- allograph of trade company's confirmation.
It is explained in detail and says using scheme of the different embodiments to the present embodiment below with reference to specific example Bright, table 1 is the code field information that data flow may carry in interactive process in the present embodiment.
Table 1
Wherein, partner_id is trade company pid, and product_code is signing product code, and status is the state of contract (01: wait come into force, 02: it comes into force, 03: failure, 04: cancelling), gmt_effect indicates the contract entry-into-force time, and gmt_end is expressed as Contract end time, gmt_effect_due contract pre-effective time, gmt_end_due contract pre- out-of-service time.
Fig. 3 is the flow chart that trade company of the embodiment of the present invention independently contracts, and independently the contract process of contract of trade company includes:
Trade company selects some product to submit signing, judges that trade company whether there is according to partner_id&product_code Contract that is Pending The Entry Into Force or coming into force;
If there is the contract to enter into force, trade company is prompted to contract;
If there is contract (01 state) to be come into force, then trade company jumps to contract confirmation process, and come into force contract after confirmation, For the status modifier of contract at 02, the entry-into-force time is trade company's acknowledging time, and the out-of-service time is the pre- out-of-service time;
If the contract without Pending The Entry Into Force also without executed contract, directly falls contract data, the status modifier of contract at 02, and the entry-into-force time and out-of-service time for contract of contracting.
Fig. 4 is the flow chart of allograph of the embodiment of the present invention about, and the process of BD allograph about contract includes:
BD judges trade company according to partner_id&product_code when submitting signing order data to trade company With the presence or absence of contract data;
If there is effective contract data, BD trade company is prompted to contract;
If there is the contract data of Pending The Entry Into Force, then BD cannot initiate to contract for trade company;
If the contract without Pending The Entry Into Force is also without executed contract, contract data of contracting, the state of contract is to be generated at this time 01 state is imitated, it is sky that contract, which came into force with the out-of-service time, and pre-effective time and pre- out-of-service time are the time that BD is submitted, when trade company is true After recognizing, then the state for updating contract is 02 state that comes into force, and the entry-into-force time is trade company's acknowledging time, when the out-of-service time is pre- failure Between;
After contractor's confirmation, contract comes into force can the control of the enabling fashion according to defined in product with the out-of-service time. For example, Product Definition is to synchronize the pre-effective and pre- out-of-service time, trade company's confirmation come into force contract when, contract comes into force and loses The effect time is just equal to the pre-effective and pre- out-of-service time;If Product Definition is to need to translate the time, contract comes into force It is respectively equal to pre-effective time and pre- out-of-service time+(time that the when m- allograph of trade company's confirmation about creates) with the out-of-service time.
Fig. 5 is the flow diagram that the embodiment of the present invention judges whether contract comes into force, including the executed contract shape of inquiry The contract state of state and Pending The Entry Into Force, wherein
The inquiry executed contract state logic of trade company includes: that inquiry trade company enters into force contract state, according to trade company Partner_id and signing product code product_code, entry-into-force time gmt__effect≤system time of inquiry are (current Time), out-of-service time gmt_end >=system time, and the state of contract is 02 contract data, if query result is not For sky, then it represents that there is the contract of status in effect in trade company.If query result is sky, then it represents that trade company is currently without executed Contract;
The contract state logic of inquiry trade company's Pending The Entry Into Force includes: inquiry trade company's Pending The Entry Into Force contract state, according to trade company Partner_id and signing product code product_code, inquiry contract state is 01 contract data, if query result is not For sky, then it represents that there is the contract of Pending The Entry Into Force state in trade company.If query result is sky, then it represents that trade company is currently without Pending The Entry Into Force Contract.
Fig. 6 is the flow chart that the embodiment of the present invention updates failure contract, and the expired crash handling process of trade company's contract includes: fixed When job enquiry contract state be 02 contract data, judge current contract out-of-service time be less than present system time, update Contract state is 03.
Fig. 7 is the flow chart that the embodiment of the present invention cancels contract to be come into force, and the pre- contract trade company that contracts confirms at overtime failure Reason process includes: the contract data that timed task inquiry contract state is 01, judges that the pre- out-of-service time of current contract is less than and works as Preceding system time, or judge whether pre- contract reaches N days (N days is preset times) and be confirmed, updating contract state is 04.
The present embodiment pass through contract state 01, it is contemplated that come into force and it is expected that failure time come record BD generation operation submit conjunction About data.By contract state 02, entry-into-force time, out-of-service time accurately to judge the validity of contract, it is ensured that be directed to The same signing product of the same trade company can only have an effective contract.By the conversion and control of contract state 01-02, in advance The conversion and control of family planning effect and pre- out-of-service time to entry-into-force time and out-of-service time, to be compatible with allograph about process.Pass through contract shape State is 03-04 state, judges that contract is failure or pre-creates contract cancellation.
The scheme of the present embodiment supports the self-service signing of trade company and agency's signing process simultaneously, and can by contract state, Come into force the out-of-service time and contract it is pre-effective, the time failed in advance controls the torsion for two kinds of same trade company signing process Turn.It supports process to be contracted, the type of contract is judged by state and pre-effective, pre- out-of-service time, contract can also be passed through Active states and entry-into-force time and out-of-service time judge coming into force for contract, it is ensured that contract comes into force the real-time of judgement Property and accuracy, without rely on timed task the contract that come into force expired processing result.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
Additionally provide the device that contract is created on a kind of line in the present embodiment, the device for realizing above-described embodiment and Preferred embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module " The combination of the software and/or hardware of energy.It is hard although device described in following embodiment is preferably realized with software The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 8 is the structural block diagram that the device of contract is created on a kind of line according to an embodiment of the present invention, as shown in figure 8, should Device includes: receiving module 80, enquiry module 82, module 84 of contracting, wherein
Receiving module 80, for the request to create by signing channel reception target contract, wherein the request to create packet It includes: subscription request side's mark, product identification of contracting, channel mark of contracting;
Enquiry module 82, for inquiring the signing state of the target contract, wherein the signing state is used to indicate institute State the current execution state of target contract;
Signing module 84, for passing through the signing channel label when the signing state is the designated state of Pending The Entry Into Force The about described target contract.
Optionally, the receiving module includes: the first receiving unit, for passing through target described in the first signing channel reception First request to create of contract, wherein the first signing channel is corresponding with the subscription request side.
Optionally, the signing module includes following one: the first signing unit, for being to be generated in the signing state When effect state, confirmation request is sent to the subscription request side by the first signing channel, is receiving the subscription request After the signing confirmation of side, the state of the target contract is updated to active states, and when coming into force of the target contract is set Between and the out-of-service time;Second signing unit, for creating the conjunction of the target contract when the signing state is unknown state The state of the target contract is set active states by about data, and entry-into-force time and the failure of the target contract is arranged Time, wherein the contract data is corresponding with the signing product.
Optionally, the receiving module includes: the second receiving unit, for passing through target described in the second signing channel reception Second request to create of contract, wherein the second signing channel is corresponding with the igning agency side of the subscription request side.
Optionally, the signing module includes: third signing unit, is used for when the signing state is unknown state, The contract data for creating the target contract forwards confirmation request to the subscription request side by the second signing channel, After the signing confirmation for receiving the subscription request side, set active states for the state of the target contract, and institute is set State the entry-into-force time and out-of-service time of target contract.
It optionally, is when active states in the signing state, the first signing unit comprises determining that subelement, For determining the mechanism that comes into force of the target contract, wherein the mechanism of coming into force includes following one: synchronization mechanism translates machine System;Subelement is set, for when the mechanism that comes into force is synchronization mechanism, by pre-effective time of the target contract and described The pre- out-of-service time is respectively set to the entry-into-force time and out-of-service time of the target contract;It is translation mechanism in the mechanism that comes into force When, after the pre-effective time of the target contract and the pre- out-of-service time are added preset time, it is respectively set to described The entry-into-force time and out-of-service time of target contract.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the one aspect of the present embodiment, above-mentioned storage medium can be set to storage for execute with The computer program of lower step:
S1 passes through the request to create for channel reception target contract of contracting, wherein the request to create includes: subscription request Side's mark, product identification of contracting, channel mark of contracting;
S2 inquires the signing state of the target contract, wherein the signing state is used to indicate the target contract Current execution state;
S3 is closed when the signing state is the designated state of Pending The Entry Into Force by the signing channel signing target About.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the one aspect of the present embodiment, above-mentioned processor can be set to hold by computer program Row following steps:
S1 passes through the request to create for channel reception target contract of contracting, wherein the request to create includes: subscription request Side's mark, product identification of contracting;
S2 inquires the signing state of the target contract, wherein the signing state is used to indicate the target contract Current execution state;
S3 is closed when the signing state is the designated state of Pending The Entry Into Force by the signing channel signing target About.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. creating the method for contract on a kind of line characterized by comprising
Passing through the request to create for channel reception target contract of contracting, wherein the request to create includes: subscription request side's mark, Signing product identification, channel mark of contracting;
Inquire the signing state of the target contract, wherein the signing state is used to indicate currently holding for the target contract Row state;
When the signing state is the designated state of Pending The Entry Into Force, pass through the signing channel signing target contract.
2. the method according to claim 1, wherein passing through the request to create packet of signing channel reception target contract It includes:
Pass through the first request to create of target contract described in the first signing channel reception, wherein the first signing channel and institute It is corresponding to state subscription request side.
3. according to the method described in claim 2, it is characterized in that, the designated state includes to active states and unknown shape State includes: by the contract target contract of the signing channel
It is to be sent and confirmed to the subscription request side by the first signing channel when active states in the signing state The state of the target contract is updated to active states, and set after the signing confirmation for receiving the subscription request side by request Set the entry-into-force time and out-of-service time of the target contract;
When the signing state is unknown state, the contract data of the target contract is created, by the shape of the target contract State is set as active states, and the entry-into-force time and out-of-service time of the target contract is arranged, wherein the contract data and institute It is corresponding to state signing product.
4. according to the method described in claim 2, it is characterized in that, after the signing state for inquiring the target contract, institute State method further include:
When the signing state is status in effect, by the first signing channel to described in subscription request side transmission The prompt information that target contract has been contracted.
5. the method according to claim 1, wherein passing through the request to create packet of signing channel reception target contract It includes:
Pass through the second request to create of target contract described in the second signing channel reception, wherein the second signing channel and institute The igning agency side for stating subscription request side is corresponding.
6. according to the method described in claim 5, passing through the label it is characterized in that, the designated state includes unknown state About the channel signing target contract includes:
When the signing state is unknown state, the contract data of the target contract is created, passes through the second signing canal Road forwards confirmation request to the subscription request side, and after the signing confirmation for receiving the subscription request side, the target is closed State about is set as active states, and the entry-into-force time and out-of-service time of the target contract is arranged, wherein the contract number According to corresponding with the signing product.
7. according to the method described in claim 5, it is characterized in that, after the signing state for inquiring the target contract, institute State method further include:
When the signing state is status in effect, by the second signing channel to described in subscription request side forwarding The prompt information that target contract has been contracted;Or,
It is to be used for by the second signing channel to the subscription request side forwarding when active states in the signing state Indicate that the subscription request side confirms the instruction information of the target contract.
8. creating the device of contract on a kind of line characterized by comprising
Receiving module, for the request to create by signing channel reception target contract, wherein the request to create includes: label About requesting party identifies, product identification of contracting, channel mark of contracting;
Enquiry module, for inquiring the signing state of the target contract, wherein the signing state is used to indicate the target The current execution state of contract;
Contract module, for the signing state be Pending The Entry Into Force designated state when, by the signing channel contract described in Target contract.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to perform claim when operation and requires method described in 1 to 7 any one.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program in method described in perform claim 1 to 7 any one of requirement.
CN201910498282.5A 2019-06-10 2019-06-10 Method and device for establishing contract on line, storage medium and electronic device Active CN110378664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910498282.5A CN110378664B (en) 2019-06-10 2019-06-10 Method and device for establishing contract on line, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910498282.5A CN110378664B (en) 2019-06-10 2019-06-10 Method and device for establishing contract on line, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110378664A true CN110378664A (en) 2019-10-25
CN110378664B CN110378664B (en) 2021-12-21

Family

ID=68250032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910498282.5A Active CN110378664B (en) 2019-06-10 2019-06-10 Method and device for establishing contract on line, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110378664B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080233A (en) * 2019-11-22 2020-04-28 贝壳技术有限公司 Method, device and storage medium for generating subscription information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN106487528A (en) * 2015-08-27 2017-03-08 中国移动通信集团公司 A kind of acquisition methods of user VoLTE signing state and equipment
CN106960165A (en) * 2017-03-13 2017-07-18 广东网金控股股份有限公司 It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
CN109711999A (en) * 2018-11-14 2019-05-03 平安科技(深圳)有限公司 Go out single method and device, computer equipment, storage medium based on halfpace

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487528A (en) * 2015-08-27 2017-03-08 中国移动通信集团公司 A kind of acquisition methods of user VoLTE signing state and equipment
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN106960165A (en) * 2017-03-13 2017-07-18 广东网金控股股份有限公司 It is a kind of that the method that electronic contract is conutersigned in many ways is realized based on the intelligent contract of block chain
CN109711999A (en) * 2018-11-14 2019-05-03 平安科技(深圳)有限公司 Go out single method and device, computer equipment, storage medium based on halfpace

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080233A (en) * 2019-11-22 2020-04-28 贝壳技术有限公司 Method, device and storage medium for generating subscription information
CN111080233B (en) * 2019-11-22 2023-11-03 贝壳技术有限公司 Method, device and storage medium for generating subscription information

Also Published As

Publication number Publication date
CN110378664B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
CN103516690B (en) A kind of business processing status information query method and device
US20200260241A1 (en) ENTITLEMENT SERVER CONNECTED eSIMS
CN111885115B (en) Device binding changing method and device
US20190090124A1 (en) Method and apparatus for realizing a plurality of terminals sharing user identity identification card, and storage medium
CN110381162A (en) A kind of method and relevant apparatus of business processing
CN105185085A (en) Data communication system, method and device
CN110493184A (en) The processing method of login page, device, electronic device in the client
CN103067295A (en) Method and device and system for service transmission
CN108737585A (en) The distribution method and device of IP address
CN106453349B (en) Account login method and device
CN113296859A (en) Page loading method and device, storage medium and electronic device
CN110378664A (en) Method and device, the storage medium, electronic device of contract are created on line
US11792015B2 (en) System and method for electronic signatures as a service
CN112995303B (en) Cross-cluster scheduling method and device
CN101180859A (en) System and method for programming communication devices
CN112165726A (en) Method and system for distributing network to intelligent equipment by WeChat small program
US11012830B2 (en) Automated activation and onboarding of connected devices
JP2022023321A (en) Authentication device and authentication method
CN105988949A (en) Terminal equipment and data interactive processing method and system
CN106506176B (en) A kind of tactful and charging regulation generation method and system
CN105704656B (en) A kind of method and apparatus obtaining location information
CN112994915A (en) SD-WAN service arranging method, system, equipment and storage medium
CN104426792B (en) Inquiry, notification method and the device of scheduler tenability
US20140357264A1 (en) Method and Arrangement For Connectivity in a Communication Network
CN105939397A (en) Message transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant