CN109559252A - A kind of departure time confirmation method and relevant apparatus - Google Patents

A kind of departure time confirmation method and relevant apparatus Download PDF

Info

Publication number
CN109559252A
CN109559252A CN201811212630.XA CN201811212630A CN109559252A CN 109559252 A CN109559252 A CN 109559252A CN 201811212630 A CN201811212630 A CN 201811212630A CN 109559252 A CN109559252 A CN 109559252A
Authority
CN
China
Prior art keywords
server
signature
block chain
service
inn
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
CN201811212630.XA
Other languages
Chinese (zh)
Other versions
CN109559252B (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.)
Shenzhen Huitong Business Co Ltd
Original Assignee
Shenzhen Huitong Business 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 Shenzhen Huitong Business Co Ltd filed Critical Shenzhen Huitong Business Co Ltd
Priority to CN201811212630.XA priority Critical patent/CN109559252B/en
Publication of CN109559252A publication Critical patent/CN109559252A/en
Application granted granted Critical
Publication of CN109559252B publication Critical patent/CN109559252B/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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Abstract

The embodiment of the present application provides a kind of hotel's departure time confirmation method and relevant apparatus, this method comprises: first server receives order number, departure time and the first signature that terminal is sent;First server is the server of business-travel management company's T MC maintenance service;First server will be in order number, departure time and the first signature storage to the first block chain apparatus, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, order number, departure time and the first signature on second block chain apparatus for second server for reading and verifying, order number, departure time and the first signature on third block chain apparatus for third server for reading and verifying, second server is the server of hotel's maintenance service, and third server is the server of enterprise's maintenance service.Using the embodiment of the present invention, the settlement efficiency of stay at an inn service of the enterprise to employee can be improved.

Description

A kind of departure time confirmation method and relevant apparatus
Technical field
The present invention relates to Internet technical field more particularly to a kind of departure time confirmation methods and relevant apparatus.
Background technique
Business-travel management (i.e. travelling merchants manage) refers to enterprise in business-travel management company (the travel management of profession Corporation, TMC) assistance under integrated planning and execution are carried out to travel activity, carry out and body not influencing travel business Under the premise of testing, reduces business travel cost and improve out line efficiency.Enterprise by travel activity trustship to TMC after, enterprise staff Travel activity will be arranged comprehensively by TMC in trust, for example, TMC can push the mobile phone (or computer) of employee The information of staying at an inn in hotel can submit demand to order if the service of staying at an inn that employee provides some hotel has demand on mobile phone Single, TMC knows that contacting corresponding hotel after the demand order of employee orders the service of staying at an inn, subsequent to be lived by TMC to hotel's offer Shop service is settled accounts, correspondingly, enterprise entrusts expense to the TMC payment TMC fund paid for first and accordingly.This process It is related to the clearing between TMC and hotel and the clearing between TMC and enterprise, specific settlement process is as follows:
Fig. 1 is to illustrate the settlement process of TMC and hotel:
1, label write the departure date on the signature list that employee's departure hotel Shi provides.
2, hotel settlement clerk arranges the recent hotel's order of TMC and forms a bill, and the label of employee are added on order Word list.
3, hotel settlement clerk, which provides, attached the single bill of signature to TMC.
4, the settlement clerk of TMC checks whether each order is correct, and the order after review passes through is aggregated into and deals with list.
5, the settlement clerk of TMC notifies Finance Department to pay the bill by bank.
6, bank's notice hotel has arrived money, calculates to this and completes lump-sum settlement process.
Fig. 2 illustrates the settlement process of TMC and enterprise:
1, the recent hotel's order of the employee of TMC settlement clerk collection enterprise forms a bill, and affix employee signs It is single.
2, TMC settlement clerk, which provides, attached the single bill of employee's signature to enterprise.
3, enterprise settlement clerk checks whether each order and employee's signature are single correct, and the order after, which is aggregated into, to be dealt with It is single.
4, enterprise settlement clerk notifies Finance Department to pay the bill by bank.
5, bank's notice TMC has arrived money, calculates to this and completes lump-sum settlement process.
However above-mentioned settlement process efficiency is lower, is in particular in following aspects: in a first aspect, the side of signature confirmation Formula is not very convenient for employee, some employees may check out without signing, is checked out if employee does not sign, TMC is also needed to contact employee's confirmation by modes such as phone, mails at this time, this can labor intensive workload.Second aspect, signature Single and bill needs are manually checked one by one, can generate larger workload.The third aspect, enterprise, TMC, hotel three in practical application Square mutual mistrust, and settlement amounts need that enterprise staff, hotel reaches an agreement to departure time point just can determine that.Therefore it faxes Signature confirmation form needs first to issue TMC by fax, and TMC issues enterprise again when clearing, and such process leads to tripartite not It can reach an agreement in time to the departure time.To influence the time of rent clearing, and then influences the income in hotel or occupy intermediate The fund of mechanism influences the development of hotel and intermediary agency.It stays at an inn in conclusion how to be improved in the case where there is TMC participation The settlement efficiency of service is the technical issues of those skilled in the art is studying.
Summary of the invention
The embodiment of the invention discloses a kind of departure time confirmation method and relevant apparatus, can be improved enterprise to employee's It stays at an inn the settlement efficiency of service.
In a first aspect, the embodiment of the present application provides a kind of hotel's departure time confirmation method, this method comprises:
First server receives order number, departure time and the first signature that terminal is sent, wherein the order number is used for The service of staying at an inn of employee's consumption of enterprise is identified, the departure time is used to indicate to have consumed the time of the service of staying at an inn, institute Stating the first signature is the signature that the terminal is generated according to the order number and the departure time;The first server is The server of business-travel management company's T MC maintenance service;
The first server stores the order number, the departure time and first signature to the first block chain On device, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein institute The order number, the departure time and first signature on the second block chain apparatus are stated for reading for second server And verifying, the order number, the departure time and first signature on the third block chain apparatus are for for third Server is read and verifying, and the second server is the server of hotel's maintenance service, and the third server is institute State the server of enterprise's maintenance service.
In the above-mentioned methods, enterprise staff confirm to the departure time and sign by terminal after verification To the first signature, then this first is signed and departure time that employee is acknowledged by block catenary system is sent to the of hotel The third server of two servers and enterprise, correspondingly, hotel are judging whether employee's acknowledged departure time is correct, if It is correct then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through Block catenary system sends second signature to the third server of enterprise, and enterprise is then sentenced according to first signature and the second signature Whether disconnected employee and hotel reach an agreement to the departure time, trigger if judging to reach an agreement and carry out to the service of staying at an inn of employee Clearing.In the whole process, employee and hotel are all total to the confirmation message of departure time by block catenary system in time It enjoys, therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, and nothing Papery document need to be checked one by one as the prior art, improve the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the first server receive order number, departure time that terminal sends and After first signature, the first server stores the order number, the departure time and first signature to first Before on block chain apparatus, further includes: the first server determines that first signature is that the terminal of target employee executes Signature, wherein employee of the target employee by consuming the service of staying at an inn that the order number identifies in the enterprise.
In one possible implementation, first that the target employee is stored in the terminal of the target employee is private Key is stored with the first public key of the target employee in the first server;First private key is used for the target employee Terminal generate signature, first public key for the first server determine it is described first signature whether be the target person The signature that the terminal of work executes.
In one possible implementation, the first server is by the order number, departure time and described After in first signature storage to the first block chain apparatus, further includes:
The first server receives the coordination request message that second server is sent, and the coordination request message is described Second server, which confirms, to be sent in the case that the departure time is wrong;
The first server is according to the coordination request message, the time that the service of staying at an inn terminates described in ruling, or association It adjusts the second server and generates the terminal that described first signs and reaffirm the time that the service of staying at an inn terminates.
In one possible implementation, the first server receives the coordination request message that second server is sent Later, further includes:
The first server judges whether the departure time is correct;
If the first server determines that the departure time is incorrect, the first server generates credit information, The employee that the credit information is used to indicate to consume the service of staying at an inn that the order number is identified is dishonest;
The credit information is sent to credit platform by the first server, and the credit information on the credit platform is used It is checked in for other hotels and/or other TMC.It is understood that relevant each side (such as enterprise) can be believed based on the credit Breath gives corresponding encouragement policy to the employee, to improve the enthusiasm that employee actively signs, to promote the confirmation departure time Efficiency.
In one possible implementation, the first server receive order number, departure time that terminal sends and After first signature, further includes:
The first server generates excitation information, and the excitation information is used to indicate what the consumption order number was identified The habit that the employee of service that stays at an inn signs in departure with active;
The excitation information is sent to credit platform by the first server, and the excitation information on the credit platform is used It is checked in for other hotels and/or other TMC.It is understood that relevant each side (such as enterprise) can be believed based on the excitation Breath gives corresponding encouragement policy to the employee, to improve the enthusiasm that employee actively signs, to promote the confirmation departure time Efficiency.
In one possible implementation, the first block chain apparatus, the second block chain apparatus and third block chain Device is the different server independently of the first server, second server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Second block chain apparatus is deployed on the second server, and the third block chain apparatus is deployed in the third server On.
Second aspect, the embodiment of the present application provide a kind of hotel's departure time confirmation method, this method comprises:
Second server reads block from the second block chain apparatus, wherein the block includes departure time, the first label Name and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time disappears for indicating The time of the service of staying at an inn is taken, first signature is according to the label of the order number and the departure time generation Name, the second server are the server of hotel's maintenance service;
The second server determines first signature as the employee for consuming the service of staying at an inn that the order number is identified Terminal signature;
Whether the second server verifies the departure time correct;
If correct, the second server generates the second signature according to the departure time;
The second server stores second signature onto the second block chain apparatus, by the second block chain Device is persisted on third block chain apparatus, wherein second signature on the third block chain apparatus is for for the Three servers are read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
In the above-mentioned methods, enterprise staff confirm to the departure time and sign by terminal after verification To the first signature, then this first is signed and departure time that employee is acknowledged by block catenary system is sent to the of hotel The third server of two servers and enterprise, correspondingly, hotel are judging whether employee's acknowledged departure time is correct, if It is correct then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through Block catenary system sends second signature to the third server of enterprise, and enterprise is then sentenced according to first signature and the second signature Whether disconnected employee and hotel reach an agreement to the departure time, trigger if judging to reach an agreement and carry out to the service of staying at an inn of employee Clearing.In the whole process, employee and hotel are all total to the confirmation message of departure time by block catenary system in time It enjoys, therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, and nothing Papery document need to be checked one by one as the prior art, improve the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, be stored with that the consumption order number identified on the second server lives The first public key of the employee of shop service;First public key determines whether first signature is to disappear for the second server Take the signature of the terminal of the employee for the service of staying at an inn that the order number is identified.
In one possible implementation, whether correct the second server verifies the departure time, comprising:
The service ending time of staying at an inn that the second server is identified according to the order number of record, verifying it is described from Whether the shop time is correct, wherein the institute if the difference between the end time and the departure time is no more than preset threshold State that the departure time is correct, if the difference between the end time and the departure time is more than preset threshold when the departure Between it is incorrect.
In one possible implementation, whether correct the second server verifies the departure time, comprising:
The second server reminds the staff in the hotel to determine whether the departure time is correct;
The second server receives the confirmation message of staff's input, wherein the confirmation message is for referring to Show that the departure time is correct, or to be used to indicate the departure time incorrect.
In one possible implementation, further includes:
If incorrect, the second server is sent to first server coordinates request message, the coordination request message For request the first server coordinate the second server and generate first signature terminal reaffirm it is described The time or the coordinations request message that the service of staying at an inn terminates are used to that the first server to be requested to be stayed at an inn described in ruling again Service the time terminated, wherein the first server is the server of business-travel management company's T MC maintenance service.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
The third aspect, the embodiment of the present application provide a kind of hotel's departure time confirmation method, this method comprises:
Third server receives clearing notification message, wherein the clearing notification message is for reminding to service knot of staying at an inn Calculate, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
The third server reads the first label of the departure time for the service of staying at an inn from third block device Name and the second signature, and first signature and second signature are verified, first signature and second signature are by institute Other block chain apparatus other than third block chain apparatus are stated to be persisted on the third block chain apparatus;
If the signature of the terminal of employee of first signature for service of staying at an inn described in consumption, and second signature is to mention For the signature of the second server of hotel's maintenance service of the service of staying at an inn, then the third server triggers are stayed at an inn to described Service clearing.
In the above-mentioned methods, enterprise staff confirm to the departure time and sign by terminal after verification To the first signature, then this first is signed and departure time that employee is acknowledged by block catenary system is sent to the of hotel The third server of two servers and enterprise, correspondingly, hotel are judging whether employee's acknowledged departure time is correct, if It is correct then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through Block catenary system sends second signature to the third server of enterprise, and enterprise is then sentenced according to first signature and the second signature Whether disconnected employee and hotel reach an agreement to the departure time, trigger if judging to reach an agreement and carry out to the service of staying at an inn of employee Clearing.In the whole process, employee and hotel are all total to the confirmation message of departure time by block catenary system in time It enjoys, therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, and nothing Papery document need to be checked one by one as the prior art, improve the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, be stored with that the consumption order number identified on the third server lives The first public key of the employee of shop service, and it is stored with second public key in the hotel;First public key is used for the third Server determine first signature whether be stay at an inn described in consumption service employee terminal signature, second public key uses In the third server determine it is described second signature whether be the hotel signature.
In one possible implementation, the third block chain apparatus is the service independently of the third server Device.
In one possible implementation, the third block chain apparatus is deployed on the third server.
Fourth aspect, the embodiment of the present application provide a kind of hotel's departure time confirmation method, this method comprises:
Biological information, hotel information and the temporal information that first server receiving device is sent, wherein the hotel Information is used to identify the hotel where when the equipment acquires the biological information, and the temporal information is described for identifying Equipment acquires the time when biological information;The first server is the clothes of business-travel management company's T MC maintenance service Business device;
The first server identifies the employee of enterprise according to the biological information, and according to the employee, described Hotel information and the temporal information determine the service of staying at an inn of employee's consumption;
The first server generates third signature according to the order number of characteristic parameter, object time, the service of staying at an inn, The characteristic parameter is that perhaps the feature vector of the biological information or the biology are special for the biological information The Hash HASH value of reference breath;The object time is current time in the first server or is the temporal information The time of mark;
The first server stores the order number, the object time and the third signature to the first block chain On device, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein institute The order number, the object time and the third stated on the second block chain apparatus are signed for reading for second server And verifying, the order number, the object time and the third on the third block chain apparatus are signed for for third Server is read and verifying, and the second server is the server of hotel's maintenance service, and the third server is institute State the server of enterprise's maintenance service.
In the above-mentioned methods, the first server of TMC is believed according to the biological characteristic acquired when enterprise staff leaves hotel Breath determines that the enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then The third is signed and the object time is sent to the second server in hotel and the third service of enterprise by block catenary system Device, correspondingly, hotel are judging whether the TMC acknowledged object time is correct, are carried out if correct by second server Signature obtains the 4th signature, to show to accept the object time.Second server is sent out the 4th signature by block catenary system It is sent to the third server of enterprise, enterprise then judges TMC and hotel whether to enterprise person according to third signature and the 4th signature The departure time of work reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In entire mistake The confirmation message of departure time is all shared in Cheng Zhong, MTC and hotel by block catenary system in time, therefore enterprise can be with It is directly based upon block catenary system and inquires whether TMC and hotel reach an agreement to the departure time, without as the prior art Papery document is checked one by one, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the biological information of the first server receiving device transmission, hotel After information and temporal information, further includes:
The first server stores the characteristic parameter onto the first block chain apparatus, by the first block chain Device is persisted on the second block chain apparatus and third block chain apparatus, wherein described on the second block chain apparatus Characteristic parameter is used to read and verify for the second server, and the characteristic parameter on the third block chain apparatus is used for It reads and verifies for the third server.
In one possible implementation, the first block chain apparatus, the second block chain apparatus and third block chain Device is the different server independently of the first server, second server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Second block chain apparatus is deployed on the second server, and the third block chain apparatus is deployed in the third server On.
5th aspect, the embodiment of the present application provide a kind of hotel's departure time confirmation method, this method comprises:
Second server reads block from the second block chain apparatus, wherein the block includes object time, third label Name and order number, the order number are the service of staying at an inn consumed for identifying the employee of enterprise, and the object time is for indicating It has consumed the time of the service of staying at an inn, the third signature is according to the label of the order number and the departure time generation Name, the second server are the server of hotel's maintenance service;
The second server determines that first signature is the signature of first server, wherein the first server For the server for servicing business-travel management company's T MC in trust for maintenance service of staying at an inn of order number mark;
Whether the second server verifies the object time correct;
If correct, the second server generates the 4th signature according to the object time;
The second server stores the 4th signature onto the second block chain apparatus, by the second block chain Device is persisted on third block chain apparatus, wherein the 4th signature on the third block chain apparatus is for for the Three servers are read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
In the above-mentioned methods, the first server of TMC is believed according to the biological characteristic acquired when enterprise staff leaves hotel Breath determines that the enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then The third is signed and the object time is sent to the second server in hotel and the third service of enterprise by block catenary system Device, correspondingly, hotel are judging whether the TMC acknowledged object time is correct, are carried out if correct by second server Signature obtains the 4th signature, to show to accept the object time.Second server is sent out the 4th signature by block catenary system It is sent to the third server of enterprise, enterprise then judges TMC and hotel whether to enterprise person according to third signature and the 4th signature The departure time of work reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In entire mistake The confirmation message of departure time is all shared in Cheng Zhong, MTC and hotel by block catenary system in time, therefore enterprise can be with It is directly based upon block catenary system and inquires whether TMC and hotel reach an agreement to the departure time, without as the prior art Papery document is checked one by one, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the service of staying at an inn of the order number mark is stored on the second server The third public key of TMC in trust;The third public key determines whether the third signature is institute for the second server State the signature of third server.
In one possible implementation, whether correct the second server verifies the object time, comprising:
The service ending time of staying at an inn that the second server is identified according to the order number of record, verifies the mesh Whether correct mark the time, wherein the institute if the difference between the end time and the object time is no more than preset threshold State that the departure time is correct, if the difference between the end time and the object time is more than preset threshold when the departure Between it is incorrect.
In one possible implementation, whether correct the second server verifies the object time, comprising:
The second server reminds the staff in the hotel to determine whether the object time is correct;
The second server receives the confirmation message of staff's input, wherein the confirmation message is for referring to Show that the object time is correct, or to be used to indicate the object time incorrect.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
6th aspect, the embodiment of the present application provide a kind of hotel's object time confirmation method, this method comprises:
Third server receives clearing notification message, wherein the clearing notification message is for reminding to service knot of staying at an inn Calculate, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
The third server reads the third label of the object time for the service of staying at an inn from third block device Name and the 4th signature, and the third signature and the 4th signature are verified, the third signature and the 4th signature are by institute Other block chain apparatus other than third block chain apparatus are stated to be persisted on the third block chain apparatus;
If meeting preset condition, the third server triggers are to the service clearing of staying at an inn, wherein the default item Part includes at least: third signature services business-travel management company's T MC in trust for described stay at an inn for the of maintenance service The signature of one server, and the 4th signature is to provide the label of the second server of hotel's maintenance service of the service of staying at an inn Name.
In the above-mentioned methods, the first server of TMC is believed according to the biological characteristic acquired when enterprise staff leaves hotel Breath determines that the enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then The third is signed and the object time is sent to the second server in hotel and the third service of enterprise by block catenary system Device, correspondingly, hotel are judging whether the TMC acknowledged object time is correct, are carried out if correct by second server Signature obtains the 4th signature, to show to accept the object time.Second server is sent out the 4th signature by block catenary system It is sent to the third server of enterprise, enterprise then judges TMC and hotel whether to enterprise person according to third signature and the 4th signature The departure time of work reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In entire mistake The confirmation message of departure time is all shared in Cheng Zhong, MTC and hotel by block catenary system in time, therefore enterprise can be with It is directly based upon block catenary system and inquires whether TMC and hotel reach an agreement to the departure time, without as the prior art Papery document is checked one by one, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the preset condition further include:
The biological parameter associated with the order number of the service of staying at an inn read from the third block device is retouched The employee stated is the employee of service of staying at an inn described in consumption, wherein the biological parameter includes the biological information, Huo Zhesuo State the feature vector of biological information or the Hash HASH value of the biological information;The biological parameter is by described Other block chain apparatus other than third block chain apparatus are persisted on the third block chain apparatus.
In one possible implementation, which is characterized in that the third of the TMC is stored on the third server Public key, and it is stored with the 4th public key in the hotel;The third public key determines the third for the third server Whether signature is signature of the TMC for the first server of maintenance service, and the 4th public key is used for the third service Device determine it is described 4th signature whether be the hotel signature.
In one possible implementation, the third block chain apparatus is the service independently of the third server Device.
In one possible implementation, the third block chain apparatus is deployed on the third server.
7th aspect, the embodiment of the present application provide a kind of hotel's departure time confirmation method, this method comprises:
Second server generates the second signature according to order number and departure time, wherein the order number is for identifying enterprise The service of staying at an inn of employee's consumption of industry, the departure time are used to indicate to have consumed the time of the service of staying at an inn;Described second Server is to provide the server of hotel's maintenance service of the service of staying at an inn;
The second server stores the order number, the departure time and second signature to the second block chain On device, to be persisted on the first block chain apparatus and third block chain apparatus by the second block chain apparatus, wherein institute The order number, the departure time and second signature on the first block chain apparatus are stated for reading for first server And verifying, the order number, the departure time and second signature on the third block chain apparatus are for for third Server is read and verifying, and the first server is that described stay at an inn services business-travel management company's T MC maintenance service in trust Server, the third server be enterprise's maintenance service server.
In the above-mentioned methods, hotel signs to the departure time by second server after determining enterprise staff departure To obtain the second signature, then send the departure time and second signature to by block catenary system the first service of TMC The third server of device and enterprise, correspondingly, first server receive the departure time and second signature after by the departure when Between be sent to the terminal of employee, so that employee confirms whether the departure time correct, signed if correct by the terminal to obtain To the first signature, then by first signature by block catenary system be sent to the third server enterprise of enterprise then according to this One signature and the second signature judge whether employee and hotel reach an agreement to the departure time, the triggering pair if judging to reach an agreement The service of staying at an inn of employee is settled accounts.In the whole process, employee and hotel all pass through the confirmation message of departure time in time Block catenary system is shared, therefore enterprise can be directly based upon block catenary system and inquire employee and hotel to the departure time Whether reach an agreement, without checking papery document one by one as the prior art, improves stay at an inn service of the enterprise to employee Settlement efficiency.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
Eighth aspect, the embodiment of the present application provide a kind of hotel's departure time confirmation method, this method comprises:
First server reads block from the first block chain apparatus, wherein the block includes departure time, the second label Name and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time disappears for indicating The time of the service of staying at an inn is taken, second signature is according to the label of the order number and the departure time generation Name, the first server are that described stay at an inn services the server of TMC maintenance service in trust;
The first server determines that second signature is the signature of second server, wherein the second server To provide the server that the hotel of the service of staying at an inn is used to maintenance service;
The departure time and the order number are sent to the employee for service of staying at an inn described in consumption by the first server Terminal, so that the employee confirms whether the departure time of the service of staying at an inn of order number mark correct;
If the departure time for service of staying at an inn described in employee's confirmation is correct, the first server receives the terminal hair The first signature sent, wherein first signature is the label that the terminal is generated according to the departure time and the order number Name;
The first server stores first signature onto the first block chain apparatus, by the first block chain Device is persisted on third block chain apparatus, wherein first signature on the third block chain apparatus is for for the Three servers are read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
In the above-mentioned methods, hotel signs to the departure time by second server after determining enterprise staff departure To obtain the second signature, then send the departure time and second signature to by block catenary system the first service of TMC The third server of device and enterprise, correspondingly, first server receive the departure time and second signature after by the departure when Between be sent to the terminal of employee, so that employee confirms whether the departure time correct, signed if correct by the terminal to obtain To the first signature, then by first signature by block catenary system be sent to the third server enterprise of enterprise then according to this One signature and the second signature judge whether employee and hotel reach an agreement to the departure time, the triggering pair if judging to reach an agreement The service of staying at an inn of employee is settled accounts.In the whole process, employee and hotel all pass through the confirmation message of departure time in time Block catenary system is shared, therefore enterprise can be directly based upon block catenary system and inquire employee and hotel to the departure time Whether reach an agreement, without checking papery document one by one as the prior art, improves stay at an inn service of the enterprise to employee Settlement efficiency.
In one possible implementation, the hotel for being provided with the service of staying at an inn is stored in the first server 5th public key;5th public key determines whether second signature is to provide the service of staying at an inn for the first server Server signature.
In one possible implementation, further includes:
If the departure time for service of staying at an inn described in employee's confirmation is incorrect, the first server receives the terminal The coordination request message of transmission, the coordination request message are to send in the case that the departure time described in the terminal check is wrong 's;
The first server is according to the coordination request message, the time that the service of staying at an inn terminates described in ruling, or association The time for adjusting the second server and the terminal to reaffirm that the service of staying at an inn terminates.
In one possible implementation, the first server receive coordination request message that the terminal is sent it Afterwards, further includes:
The first server judges whether the departure time is correct;
If the first server determines that the departure time is incorrect, the first server generates credit information, The hotel that the credit information is used to indicate to stay at an inn service described in offer is dishonest;
The credit information is sent to credit platform by the first server, and the credit information on the credit platform is used It is checked in for other TMC.It is understood that relevant each side (such as enterprise) can give the employee based on the credit information Corresponding encouragement policy, to improve the enthusiasm that employee actively signs, to promote the efficiency of confirmation departure time.
In one possible implementation, the first block chain apparatus and third block chain apparatus are independently of institute State the different server of first server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Third block chain apparatus is deployed on the third server.
9th aspect, the embodiment of the present application provide a kind of server, and the server is first server, first clothes Business device includes processor, memory and communication interface, wherein the memory is used for storing program instruction, the processor It is instructed in calling described program to perform the following operations:
Order number, departure time and the first signature that terminal is sent are received by the communication interface, wherein the order Number for identifying the staying at an inn service of employee's consumption of enterprise, the departure time be used to indicate to have consumed described in stay at an inn service when Between, first signature is the signature that the terminal is generated according to the order number and the departure time;First clothes Business device is the server of business-travel management company's T MC maintenance service;
The order number, the departure time and first signature are stored to the first block by the communication interface On chain apparatus, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein The order number, the departure time and first signature on the second block chain apparatus for second server for reading It takes and verifies, the order number, the departure time on the third block chain apparatus and first signature are for for the Three servers are read and verifying, and the second server is the server of hotel's maintenance service, and the third server is The server of enterprise's maintenance service.
As can be seen that enterprise staff carries out confirmation to the departure time and is signed to obtain the by terminal after verification Then one signature first signs this and departure time that employee is acknowledged second takes by the way that block catenary system is sent to hotel The third server of business device and enterprise, correspondingly, hotel is judging whether employee's acknowledged departure time is correct, if correctly It is then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through block Catenary system sends second signature to the third server of enterprise, and enterprise is then according to first signature and the second signature judgement person Whether the hotel Gong He reaches an agreement to the departure time, triggers if judging to reach an agreement and ties to the service of staying at an inn of employee It calculates.In the whole process, the confirmation message of departure time is all shared in employee and hotel by block catenary system in time, Therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, without picture The prior art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the processor receives the order that terminal is sent by the communication interface Number, after departure time and the first signature, the processor is by the communication interface by the order number, the departure time Before in the first signature storage to the first block chain apparatus, the processor is also used to:
Determine that first signature is the signature that the terminal of target employee executes, wherein the target employee is the enterprise The employee for the service of staying at an inn that the order number is identified is consumed in industry.
In one possible implementation, first that the target employee is stored in the terminal of the target employee is private Key is stored with the first public key of the target employee in the first server;First private key is used for the target employee Terminal generate signature, first public key for the first server determine it is described first signature whether be the target person The signature that the terminal of work executes.
In one possible implementation, the processor by the communication interface by the order number, it is described from After on shop time and the first signature storage to the first block chain apparatus, it is also used to:
The coordination request message that second server is sent is received by the communication interface, the coordination request message is institute It states second server and confirms and send in the case that the departure time is wrong;
According to the coordination request message, the time that the service of staying at an inn described in ruling terminates, or coordinate the second service Device and the terminal for generating first signature reaffirm the time that the service of staying at an inn terminates.
In one possible implementation, the processor receives what second server was sent by the communication interface After coordinating request message, the processor is also used to:
Judge whether the departure time is correct;
Determine that the departure time is incorrect, then the first server generates credit information, and the credit information is used for Indicate that the employee for consuming the service of staying at an inn that the order number is identified is dishonest;
The credit information is sent to credit platform by the communication interface, the credit information on the credit platform For being checked for other hotels and/or other TMC.It is understood that relevant each side (such as enterprise) can be based on the credit Information gives corresponding encouragement policy to the employee, to improve the enthusiasm that employee actively signs, thus when promoting confirmation departure Between efficiency.
In one possible implementation, the processor receives the order that terminal is sent by the communication interface Number, the departure time and first signature after, the processor is also used to:
Excitation information is generated, the excitation information is used for the employee for indicating to consume the service of staying at an inn that the order number is identified The habit with active signature in departure;
The excitation information is sent to credit platform by the communication interface, the excitation information on the credit platform For being checked for other hotels and/or other TMC.It is understood that relevant each side (such as enterprise) can be based on the excitation Information gives corresponding encouragement policy to the employee, to improve the enthusiasm that employee actively signs, thus when promoting confirmation departure Between efficiency.
In one possible implementation, the first block chain apparatus, the second block chain apparatus and third block chain Device is the different server independently of the first server, second server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Second block chain apparatus is deployed on the second server, and the third block chain apparatus is deployed in the third server On.
Tenth aspect, the embodiment of the present application provide a kind of server, and the server is second server, second clothes Business device includes processor, memory and communication interface, wherein the memory is used for storing program instruction, the processor It is instructed in calling described program to perform the following operations:
Read block from the second block chain apparatus by the communication interface, wherein the block include the departure time, First signature and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time is used for Expression has been consumed the time of the service of staying at an inn, and first signature is according to the order number and the departure time generation Signature, the second server be hotel's maintenance service server;
Determine that described first signs to consume the signature of the terminal of the employee for the service of staying at an inn that the order number is identified;
Whether correct verify the departure time;
It is described that second signature is generated according to the departure time if correct;
Second signature is stored onto the second block chain apparatus by the communication interface, by second block Chain apparatus is persisted on third block chain apparatus, wherein second signature on the third block chain apparatus is for supplying Third server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
As can be seen that enterprise staff carries out confirmation to the departure time and is signed to obtain the by terminal after verification Then one signature first signs this and departure time that employee is acknowledged second takes by the way that block catenary system is sent to hotel The third server of business device and enterprise, correspondingly, hotel is judging whether employee's acknowledged departure time is correct, if correctly It is then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through block Catenary system sends second signature to the third server of enterprise, and enterprise is then according to first signature and the second signature judgement person Whether the hotel Gong He reaches an agreement to the departure time, triggers if judging to reach an agreement and ties to the service of staying at an inn of employee It calculates.In the whole process, the confirmation message of departure time is all shared in employee and hotel by block catenary system in time, Therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, without picture The prior art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, be stored with that the consumption order number identified on the second server lives The first public key of the employee of shop service;First public key determines whether first signature is to disappear for the second server Take the signature of the terminal of the employee for the service of staying at an inn that the order number is identified.
In one possible implementation, whether the processor verifying departure time is correct, specifically:
According to the service ending time of staying at an inn that the order number of record is identified, whether just the departure time is verified Really, wherein just no more than the departure time if preset threshold if the difference between the end time and the departure time Really, the departure time is incorrect if the difference between the end time and the departure time is more than preset threshold.
In one possible implementation, whether the processor verifying departure time is correct, specifically:
The staff in the hotel is reminded to determine whether the departure time is correct;
The confirmation message of staff's input is received by the communication interface, wherein the confirmation message is used for Indicate that the departure time is correct, or to be used to indicate the departure time incorrect.
In one possible implementation, the processor is also used to:
If incorrect, sent by the communication interface to first server and coordinate request message, the coordination request disappears It ceases and reaffirms institute for requesting the first server to coordinate the second server and generate the terminal that described first signs State time that the service of staying at an inn terminates or the coordinations request message for request the first server again described in ruling firmly The time that shop service terminates, wherein the first server is the server of business-travel management company's T MC maintenance service.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
Tenth on the one hand, and the embodiment of the present application provides a kind of server, and the server is third server, the third Server includes processor, memory and communication interface, wherein the memory is for storing program instruction, the processor It is performed the following operations for calling described program instruction:
Pass through the communication interface and receive clearing notification message, wherein the clearing notification message is for prompting to staying at an inn Service clearing, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
First of the departure time for the service of staying at an inn is read from third block device by the communication interface Signature and second signature, and verify it is described first signature and it is described second signature, it is described first signature and it is described second signature by Other block chain apparatus other than the third block chain apparatus are persisted on the third block chain apparatus;
If the signature of the terminal of employee of first signature for service of staying at an inn described in consumption, and second signature is to mention For the signature of the second server of hotel's maintenance service of the service of staying at an inn, then triggering is to the service clearing of staying at an inn.
As can be seen that enterprise staff carries out confirmation to the departure time and is signed to obtain the by terminal after verification Then one signature first signs this and departure time that employee is acknowledged second takes by the way that block catenary system is sent to hotel The third server of business device and enterprise, correspondingly, hotel is judging whether employee's acknowledged departure time is correct, if correctly It is then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through block Catenary system sends second signature to the third server of enterprise, and enterprise is then according to first signature and the second signature judgement person Whether the hotel Gong He reaches an agreement to the departure time, triggers if judging to reach an agreement and ties to the service of staying at an inn of employee It calculates.In the whole process, the confirmation message of departure time is all shared in employee and hotel by block catenary system in time, Therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, without picture The prior art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, be stored with that the consumption order number identified on the third server lives The first public key of the employee of shop service, and it is stored with second public key in the hotel;First public key is used for the third Server determine first signature whether be stay at an inn described in consumption service employee terminal signature, second public key uses In the third server determine it is described second signature whether be the hotel signature.
In one possible implementation, the third block chain apparatus is the service independently of the third server Device.
In one possible implementation, the third block chain apparatus is deployed on the third server.
12nd aspect, the embodiment of the present application provide a kind of server, and the server is first server, and described first Server includes processor, memory and communication interface, wherein the memory is for storing program instruction, the processor It is performed the following operations for calling described program instruction:
Biological information, hotel information and the temporal information sent by the communication interface receiving device, wherein institute Hotel information is stated for the hotel where identifying when the equipment acquires the biological information, the temporal information is for marking Know the time when equipment acquires the biological information;The first server is that business-travel management company's T MC safeguards industry The server of business;
The employee of enterprise is identified according to the biological information, and according to the employee, the hotel information and described Temporal information determines the service of staying at an inn of employee's consumption;
Third signature is generated according to the order number of characteristic parameter, object time, the service of staying at an inn, the characteristic parameter is The biological information perhaps Hash of the feature vector of the biological information or the biological information HASH value;The object time be current time in the first server or be the temporal information mark time;
The order number, the object time and the third signature are stored to the first block by the communication interface On chain apparatus, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein The order number, the object time and the third on the second block chain apparatus are signed for reading for second server It takes and verifies, the order number, the object time on the third block chain apparatus and third signature are for for the Three servers are read and verifying, and the second server is the server of hotel's maintenance service, and the third server is The server of enterprise's maintenance service.
As can be seen that the first server of TMC is according to the biological information acquired when enterprise staff leaves hotel, really The fixed enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then by this Three signatures and the object time are sent to the second server in hotel and the third server of enterprise by block catenary system, accordingly Ground, hotel are judging whether the TMC acknowledged object time is correct, are signed to obtain by second server if correct 4th signature, to show to accept the object time.Second server sends enterprise for the 4th signature by block catenary system Third server, enterprise then according to third signature and the 4th signature judge TMC and hotel whether the departure to enterprise staff Time reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In the whole process, MTC It is all shared in time by block catenary system with confirmation message of the hotel to the departure time, therefore enterprise can be directly based upon Block catenary system inquires whether TMC and hotel reach an agreement to the departure time, without checking one by one as the prior art Papery document improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the biology that the processor is sent by the communication interface receiving device is special After reference breath, hotel information and temporal information, the processor is also used to:
The characteristic parameter is stored onto the first block chain apparatus by the communication interface, by first block Chain apparatus is persisted on the second block chain apparatus and third block chain apparatus, wherein the institute on the second block chain apparatus Characteristic parameter is stated for reading and verifying for the second server, the characteristic parameter use on the third block chain apparatus In for third server reading and verifying.
In one possible implementation, the first block chain apparatus, the second block chain apparatus and third block chain Device is the different server independently of the first server, second server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Second block chain apparatus is deployed on the second server, and the third block chain apparatus is deployed in the third server On.
13rd aspect, the embodiment of the present application provide a kind of server, and the server is second server, and described second Server includes processor, memory and communication interface, wherein the memory is for storing program instruction, the processor It is performed the following operations for calling described program instruction:
Read block from the second block chain apparatus by the communication interface, wherein the block include the object time, Third signature and order number, the order number are the service of staying at an inn consumed for identifying the employee of enterprise, and the object time is used It has been consumed the time of the service of staying at an inn in expression, the third signature is raw according to the order number and the departure time At signature, the second server be hotel's maintenance service server;
Determine that first signature is the signature of first server, wherein the first server is the order number mark Staying at an inn for knowing services the server that business-travel management company's T MC in trust is used to maintenance service;
Whether correct verify the object time;
If correct, the 4th signature is generated according to the object time;
The 4th signature is stored onto the second block chain apparatus by the communication interface, by second block Chain apparatus is persisted on third block chain apparatus, wherein the 4th signature on the third block chain apparatus is for supplying Third server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
As can be seen that the first server of TMC is according to the biological information acquired when enterprise staff leaves hotel, really The fixed enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then by this Three signatures and the object time are sent to the second server in hotel and the third server of enterprise by block catenary system, accordingly Ground, hotel are judging whether the TMC acknowledged object time is correct, are signed to obtain by second server if correct 4th signature, to show to accept the object time.Second server sends enterprise for the 4th signature by block catenary system Third server, enterprise then according to third signature and the 4th signature judge TMC and hotel whether the departure to enterprise staff Time reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In the whole process, MTC It is all shared in time by block catenary system with confirmation message of the hotel to the departure time, therefore enterprise can be directly based upon Block catenary system inquires whether TMC and hotel reach an agreement to the departure time, without checking one by one as the prior art Papery document improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the service of staying at an inn of the order number mark is stored on the second server The third public key of TMC in trust;The third public key determines whether the third signature is institute for the second server State the signature of third server.
In one possible implementation, whether the processor verifying object time is correct, specifically:
According to the service ending time of staying at an inn that the order number of record is identified, whether just the object time is verified Really, wherein just no more than the departure time if preset threshold if the difference between the end time and the object time Really, the departure time is incorrect if the difference between the end time and the object time is more than preset threshold.
In one possible implementation, whether the processor verifying object time is correct, specifically:
The staff in the hotel is reminded to determine whether the object time is correct;
The confirmation message of staff's input is received by the communication interface, wherein the confirmation message is used for Indicate that the object time is correct, or to be used to indicate the object time incorrect.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
Fourteenth aspect, the embodiment of the present application provide a kind of server, and the server is third server, the third Server includes processor, memory and communication interface, wherein the memory is for storing program instruction, the processor It is performed the following operations for calling described program instruction:
Pass through the communication interface and receive clearing notification message, wherein the clearing notification message is for prompting to staying at an inn Service clearing, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
The third of the object time for the service of staying at an inn is read from third block device by the communication interface Signature and the 4th signature, and verify third signature and the 4th signature, the third signature and the 4th signature by Other block chain apparatus other than the third block chain apparatus are persisted on the third block chain apparatus;
If meeting preset condition, triggering is to the service clearing of staying at an inn, wherein the preset condition includes at least: institute It states third signature and services the label of the first server of business-travel management company's T MC in trust for maintenance service for described stay at an inn Name, and the 4th signature is to provide the signature of the second server of hotel's maintenance service of the service of staying at an inn.
As can be seen that the first server of TMC is according to the biological information acquired when enterprise staff leaves hotel, really The fixed enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then by this Three signatures and the object time are sent to the second server in hotel and the third server of enterprise by block catenary system, accordingly Ground, hotel are judging whether the TMC acknowledged object time is correct, are signed to obtain by second server if correct 4th signature, to show to accept the object time.Second server sends enterprise for the 4th signature by block catenary system Third server, enterprise then according to third signature and the 4th signature judge TMC and hotel whether the departure to enterprise staff Time reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In the whole process, MTC It is all shared in time by block catenary system with confirmation message of the hotel to the departure time, therefore enterprise can be directly based upon Block catenary system inquires whether TMC and hotel reach an agreement to the departure time, without checking one by one as the prior art Papery document improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the preset condition further include:
The biological parameter associated with the order number of the service of staying at an inn read from the third block device is retouched The employee stated is the employee of service of staying at an inn described in consumption, wherein the biological parameter includes the biological information, Huo Zhesuo State the feature vector of biological information or the Hash HASH value of the biological information;The biological parameter is by described Other block chain apparatus other than third block chain apparatus are persisted on the third block chain apparatus.
In one possible implementation, the third public key of the TMC, Yi Jicun are stored on the third server Contain the 4th public key in the hotel;The third public key determines whether the third signature is institute for the third server TMC is stated for the signature of the first server of maintenance service, the 4th public key determines described for the third server Four signature whether be the hotel signature.
In one possible implementation, the third block chain apparatus is the service independently of the third server Device.
In one possible implementation, the third block chain apparatus is deployed on the third server.
15th aspect, the embodiment of the present application provide a kind of server, and the server is second server, and described second Server includes processor, memory and communication interface, wherein the memory is for storing program instruction, the processor It is performed the following operations for calling described program instruction:
The second signature is generated according to order number and departure time, wherein the employee that the order number is used to identify enterprise disappears The service of staying at an inn of expense, the departure time are used to indicate to have consumed the time of the service of staying at an inn;The second server is to mention For the server of hotel's maintenance service of the service of staying at an inn;
The order number, the departure time and second signature are stored to the second block by the communication interface On chain apparatus, to be persisted on the first block chain apparatus and third block chain apparatus by the second block chain apparatus, wherein The order number, the departure time and second signature on the first block chain apparatus for first server for reading It takes and verifies, the order number, the departure time on the third block chain apparatus and second signature are for for the Three servers are read and verifying, and the first server is that described stay at an inn services business-travel management company's T MC maintenance industry in trust The server of business, the third server are the server of enterprise's maintenance service.
As can be seen that hotel signs to obtain to the departure time by second server after determining enterprise staff departure To the second signature, then by the departure time and second signature by block catenary system be sent to the first server of TMC with The third server of enterprise, correspondingly, first server send out the departure time after receiving the departure time and the second signature The terminal of employee is given, so that employee confirms whether the departure time is correct, is signed by the terminal if correct to obtain the Then first signature is sent to the third server enterprise of enterprise then according to first label by block catenary system by one signature Name and the second signature judge whether employee and hotel reach an agreement to the departure time, and triggering is to employee if judging to reach an agreement The service of staying at an inn settled accounts.In the whole process, employee and hotel all pass through block to the confirmation message of departure time in time Catenary system is shared, thus enterprise can be directly based upon block catenary system inquire employee and hotel to the departure time whether Reach an agreement, without checking papery document one by one as the prior art, improves the knot of stay at an inn service of the enterprise to employee Calculate efficiency.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
16th aspect, the embodiment of the present application provide a kind of server, and the server is first server, and described first Server includes processor, memory and communication interface, wherein the memory is for storing program instruction, the processor It is performed the following operations for calling described program instruction:
Read block from the first block chain apparatus by the communication interface, wherein the block include the departure time, Second signature and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time is used for Expression has been consumed the time of the service of staying at an inn, and second signature is according to the order number and the departure time generation Signature, the first server is that described stay at an inn services the server of TMC maintenance service in trust;
Determine that second signature is the signature of second server, wherein the second server is to provide described stay at an inn The hotel of service is used to the server of maintenance service;
The departure time and the order number are sent to the member for service of staying at an inn described in consumption by the communication interface The terminal of work, so that the employee confirms whether the departure time of the service of staying at an inn of the order number mark is correct;
If the departure time for service of staying at an inn described in employee's confirmation is correct, the terminal is received by the communication interface The first signature sent, wherein first signature is that the terminal is generated according to the departure time and the order number Signature;
First signature is stored onto the first block chain apparatus by the communication interface, by first block Chain apparatus is persisted on third block chain apparatus, wherein first signature on the third block chain apparatus is for supplying Third server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
As can be seen that hotel signs to obtain to the departure time by second server after determining enterprise staff departure To the second signature, then by the departure time and second signature by block catenary system be sent to the first server of TMC with The third server of enterprise, correspondingly, first server send out the departure time after receiving the departure time and the second signature The terminal of employee is given, so that employee confirms whether the departure time is correct, is signed by the terminal if correct to obtain the Then first signature is sent to the third server enterprise of enterprise then according to first label by block catenary system by one signature Name and the second signature judge whether employee and hotel reach an agreement to the departure time, and triggering is to employee if judging to reach an agreement The service of staying at an inn settled accounts.In the whole process, employee and hotel all pass through block to the confirmation message of departure time in time Catenary system is shared, thus enterprise can be directly based upon block catenary system inquire employee and hotel to the departure time whether Reach an agreement, without checking papery document one by one as the prior art, improves the knot of stay at an inn service of the enterprise to employee Calculate efficiency.
In one possible implementation, the hotel for being provided with the service of staying at an inn is stored in the first server 5th public key;5th public key determines whether second signature is to provide the service of staying at an inn for the first server Server signature.
In one possible implementation, the processor is also used to:
If the departure time for service of staying at an inn described in employee's confirmation is incorrect, the end is received by the communication interface The coordination request message sent is held, the request message of coordinating issues for the wrong situation of departure time described in the terminal check It send;
According to the coordination request message, the time that the service of staying at an inn described in ruling terminates, or coordinate the second service Device and the terminal reaffirm the time that the service of staying at an inn terminates.
In one possible implementation, the processor receives the association that the terminal is sent by the communication interface After adjusting request message, the processor is also used to:
Judge whether the departure time is correct;
If the first server determines that the departure time is incorrect, credit information is generated, the credit information is used In indicate provide described in stay at an inn service hotel it is dishonest;
The credit information is sent to credit platform by the communication interface, the credit information on the credit platform For being checked for other TMC.It is understood that relevant each side (such as enterprise) can give the employee based on the credit information Corresponding encouragement policy is given, to improve the enthusiasm that employee actively signs, to promote the efficiency of confirmation departure time.
In one possible implementation, the first block chain apparatus and third block chain apparatus are independently of institute State the different server of first server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Third block chain apparatus is deployed on the third server.
17th aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage It is stored with instruction in medium, when it runs on a processor, realizes that first aspect is described in a certain respect into eighth aspect Method or any possible implementation in a certain respect described in method.
18th aspect, the embodiment of the present application provides a kind of computer program product, when the computer program product exists When running on processor, first aspect described method or any in a certain respect in a certain respect into eighth aspect are realized Method described in possible implementation.
Detailed description of the invention
The attached drawing that the embodiment of the present invention is used is introduced below.
Fig. 1 is the settlement process schematic diagram between a kind of TMC provided in an embodiment of the present invention and hotel;
Fig. 2 is the settlement process schematic diagram between a kind of TMC provided in an embodiment of the present invention and enterprise;
Fig. 3 A is a kind of configuration diagram of hotel's departure time confirmation system provided in an embodiment of the present invention;
Fig. 3 B is a kind of message structure schematic diagram of departure time affairs provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of hotel's departure time confirmation method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of hotel's departure time confirmation method provided in an embodiment of the present invention;
Fig. 6 is a kind of flow diagram of hotel's departure time confirmation method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 13 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described with reference to the attached drawing in the embodiment of the present invention.
The invention relates to hotel, TMC and enterprise tripartite, this tripartite belongs to the tripartite of cooperation, specifically, enterprise The hotel employee You Zhu demand, hotel is capable of providing the service of staying at an inn, and TMC is entrusted by hotel and the hotel is stayed at an inn information on services It is supplied to the employee of the enterprise, and is issued in the employee of the enterprise and orders (or forward purchasing) service of staying at an inn at the hotel demand Hou Cong.
Fig. 3 A is referred to, Fig. 3 A is that a kind of framework of hotel's departure time confirmation system 30 provided in an embodiment of the present invention shows It is intended to, which includes relevant device, the relevant device in hotel and the relevant device of enterprise of TMC, wherein the correlation of TMC Equipment includes first server 301, TMC block chain client 302 and the first block chain apparatus 303;The relevant device packet in hotel Include second server 304, hotel's block chain client 305 and the second block chain apparatus 306;The relevant device of enterprise includes third Server 307, enterprise's block chain client 308 and third block chain apparatus 309.Optionally, which can also include letter With platform 310 and settlement platform 311.Wherein, the first block chain apparatus 303, the second block chain apparatus 306 and described Third block chain apparatus 309 is respectively the different nodes in same block catenary system, therefore the first block chain apparatus 303, described Second block chain apparatus 306 and the third block chain apparatus 309 can know together to some information of agreement, reach in common recognition At generating block after consistent, each node of generation being stored in the block catenary system block distributedly on.It can manage Solution, block chain technological incorporation digital-scrambling techniques, end-to-end (Peer-to-peer, P2P) communication, distributed common recognition skill Art and distributed account book technology realize decentralization, go to trust and can not distort, and become believable digital asset storage, turn The foundation stone for moving and trading.The information such as the signature of content, each side that hotel's contract is signed and timestamp are stored in block, are utilized The characteristics of block chain, can guarantee that these information can not distort.
The first server 301 is the server of business-travel management company's T MC maintenance service, for example, TMC staff can be with The information that each enterprise of cooperation is inquired from the first server 301 inquires the information, etc. in each hotel of cooperation.On Stating the first block chain apparatus 303 can be a functional module in the first server 301, or independently of this first Another server of server 301.In addition, TMC block chain client 302 is configured in the first server 301, it should TMC block chain client 302 is one section of program code matched with the first block chain apparatus 303, is used for the first server 301 It is communicated with the first block chain apparatus 303, including by relevant information storage on the first block chain apparatus 303, and from the Relevant information is read on one block chain apparatus 303.
The second server 304 is the server of hotel's maintenance service, for example, hotel staff can be from second clothes It is engaged in inquiring the service condition etc. of hotel room in device 304.Above-mentioned second block chain apparatus 306 can be the second server 304 On a functional module, or independently of another server of the second server 304.In addition, second clothes It is configured with hotel's block chain client 305 on business device 304, which is and the second block chain apparatus 306 One section of program code of coupling, is communicated for the second server 304 with the second block chain apparatus 306, including will be related Information stores onto the second block chain apparatus 306, and reads relevant information from the second block chain apparatus 306.
The third server 307 is the server of enterprise's maintenance service, for example, enterprise work personnel can take from the third It is engaged in inquiring the information of staying at an inn etc. of enterprise staff in device 307.Above-mentioned third block chain apparatus 309 can be the third server 307 On a functional module, or independently of another server of the third server 307.In addition, the third takes It is configured with enterprise's block chain client 308 on business device 307, which is and third block chain apparatus 309 One section of program code of coupling, is communicated for the third server 307 with third block chain apparatus 309, including will be related Information stores onto third block chain apparatus 309, and reads relevant information from third block chain apparatus 309.
Credit platform 310 is used to store operation information of the enterprise staff in departure, (such as so as to relevant each side Hotel, TMC, enterprise) it can be by the operating habit of the understanding employee of credit platform 310, so that the management for each side provides reference Foundation.
Settlement platform 311 is used to determine that the every terms of information for the order stayed at an inn is accurate by third server 309 in enterprise Settlement operations are executed after errorless, pay it because agency orders general expenses caused by hotel to TMC.
In the embodiment of the present application, when enterprise staff, TMC, hotel tripartite need departure of at least two parties to enterprise staff Between reach an agreement.A side has been first had to during this and has generated departure time creation affairs, to show that the departure time has created; Then affairs are had confirmed that the generation departure time by an other side, to show that an other side accepts the departure time;If this is another An outer side does not accept the departure time of side proposition, then departure time invalidation transactions can be generated in an other side, with table The departure time that a bright side and an other side do not propose a side reaches an agreement.The departure time creation affairs of generation, Departure time has confirmed that affairs, departure time invalidation transactions can be stored on block catenary system, so that relevant each side makes With.It is simply introduced below with reference to table 1 to these three affairs.
Table 1
The data format of three kinds of affairs described above can be as shown in Figure 3B, wherein " version " indicates data format Version, usually version may be updated according to demand as time goes by;" transaction types " are somebody's turn to do to describe for indicating Which kind of above-mentioned transaction types;" order number " is for identifying the service of staying at an inn that employee is consumed;" departure time " is for indicating employee The time for leaving hotel after having consumed the service of staying at an inn;" signing messages " is generate affairs represented by " transaction types " one The signature of side;" signer list " has recorded the information of each side that is acknowledged to the departure time and signing;" voucher " is The associated documents that can show that departure time correct or incorrect (or saying in vain), for example, when TMC replaces employee to confirm departure When the time, the biological information of the employee of acquisition can be provided.
For convenience of understanding, several hotel's departure time confirmation methods are provided respectively below with reference to Fig. 4, Fig. 5, Fig. 6, specifically such as Under:
Fig. 4 is referred to, Fig. 4 is a kind of process signal of hotel's departure time confirmation method provided in an embodiment of the present invention Figure, this method can realize that this method includes but is not limited to following steps based on framework shown in Fig. 3 A:
Step S401: terminal obtains the enterprise staff acknowledged departure time.
Specifically, which can show the information of the Service Order of staying at an inn of employee consumption to the employee, which can To show that some times are therefrom selected for the employee for the departure time T of the service of staying at an inn or the terminal to terminal input Select a time as departure time T or the terminal show a departure time T allow the employee confirmation to or not, etc..It should Employee is logged on the terminal, thus the terminal can obtain the employee information (for example, the private key of the employee, Name, contact method etc.), so that it is that the employee operates the terminal that unique identification, which goes out,.Optionally, which can Think mobile phone, the apparatus such as computer of the employee.
Step S402: terminal is according to the acknowledged departure time signature of the order number for the service of staying at an inn and employee to obtain the One signature.
Specifically, which during generating the first signature S1 is also possible to that the private key of the employee can be used, and can be described as the One private key, so that other equipment can go out the first signature S1 from the employee's after getting the first signature S1 with unique identification Terminal, the first private key can be pre-configured on the terminal, can also with trustship in other equipment (such as first server) for end It calls at end.
Step S403: the order number, the departure time and first signature are sent to first server by terminal.
Step S404: first server receives the order number, the departure time and first signature that the terminal is sent.
Specifically, the application for communicating with first server in other words of one section of program code is configured in the terminal (Application, APP), for example, it has been respectively mounted the APP provided by the TMC in the terminal and the first server, the two The function of APP may be not exactly the same, but can be for communicating between the first server and the terminal.
In a kind of optinal plan, the first server to determine it is described first signature S1 whether be target employee end Hold the signature executed, employee of the target employee by consuming the service of staying at an inn that the order number O is identified in the enterprise, tool For body, the first public key of the terminal of the target employee is stored in the first server, first public key is used for institute State first server determine it is described first signature S1 whether be the target employee terminal execute signature.If first label Name S1 by the consumption order number O service of staying at an inn identified employee terminal signature, and label of the terminal of the employee Name does not repeat to submit, then executes S405, otherwise do not execute S405.
In another optional scheme, which is not verified the first signature S1, directly execution step S405。
Step S405: first server stores the order number, the departure time and first signature to the first block chain On device.
Specifically, TMC block chain client is mounted in the first server in advance, which is one The program code that section is coupled with the first block chain apparatus is communicated for the first server with the first block chain apparatus.Therefore, The first server can create departure time creation affairs especially by TMC block chain client, which creates thing Business includes the order number O, the departure time T and the first signature S1, and then the first server is by the departure time Creation affairs are sent to the first block chain apparatus, correspondingly, the first block chain apparatus receives departure time creation affairs. In a kind of scheme, the first block chain apparatus is a functional module in the first server, in this case by the departure Time creation affairs are sent to the process that the first block chain apparatus is first server internal information transmitting.In another kind In scheme, the first block chain apparatus is another server independently of the first server, when will check out in this case Between creation affairs be sent to the communication that the first block chain apparatus is related between the first server and another server.
Departure time creation affairs are sent to other block chains in block chain by step the S406: the first block chain apparatus Device.
Specifically, the first block chain apparatus will create affairs the departure time by algorithm of knowing together and be bundled to block and persistence Each node into block chain, wherein the second block chain apparatus and third block chain apparatus belong to the node in the block chain.Cause This, the second block chain apparatus and the third block chain apparatus can obtain departure time creation affairs.
Step S407: second server reads the departure time, first signature and the order from the second block chain apparatus Number.
Specifically, it can be the second block chain apparatus and actively send departure time T, first signature to second server S1 and order number O is also possible to the second server and first sends request, the second block chain dress to the second block chain apparatus It sets and departure time T, first signature S1 and order number O is sent to the second server again after receiving request.
Step S408: second server judge it is described first signature whether be above-mentioned employee terminal signature.
Specifically, the employee for the service of staying at an inn that the consumption order number O is identified has been stored in advance on the second server Terminal public key, therefore the second server by the public key of the terminal judge this first signature S1 whether be the employee end The signature at end.
Step S409: if the signature of the terminal of the employee, the second server is verified from the second block chain apparatus Whether the departure time of upper reading is correct.
In a kind of scheme, the departure time T that second server verifying is read from the second block chain apparatus is It is no correct, it can be with specifically: at the end of the service of staying at an inn that the second server is identified according to the order number O of record Between, verify whether the departure time T is correct, if the difference between the end time and the departure time T is no more than in advance If then the departure time T is correct for threshold value, if the difference between the end time and the departure time T is more than preset threshold Then the departure time T is incorrect.
In another scheme, second server verifies the departure time T read from the second block chain apparatus It is whether correct, it can be with specifically: the second server reminds whether the staff in the hotel determines the departure time T Correctly;The second server receives the confirmation message of staff's input, wherein the confirmation message is used to indicate institute It is correct to state departure time T, or to be used to indicate the departure time T incorrect.
Step S410: if correct, the second server generates the second signature.
Specifically, the second server generate the second signature S2 should be from show that the hotel accepts that above-mentioned employee proposes Shop time T, this second signature S2 can with this first signature S1 together with constitute one it is double signature to get to double signature on First signature S1 of existing above-mentioned terminal also has the second signature S2 of the second server;Certainly, second signature S2 can also be with Exist independently of the first signature S1, does not need to constitute a double signature together.Wherein, second signature S2 is to pass through The signature that the private key of second server carries out, which can be described as the second private key, therefore other equipment are getting second label The signature that it is the second server can be identified after name S2.
Step S411: second server stores the order number, the departure time and second signature to the second block chain On device.
Specifically, hotel's block chain client is mounted on the second server in advance, which is One section of program code coupled with the second block chain apparatus is communicated for the second server with the second block chain apparatus.Cause This, which can have confirmed that affairs especially by hotel's block chain client creation departure time, the departure time Have confirmed that affairs include the order number O, the departure time T and the second signature S2, then the second server should Departure time has confirmed that affairs are sent to the second block chain apparatus, correspondingly, when the second block chain apparatus receives the departure Between have confirmed that affairs.In a kind of scheme, the second block chain apparatus is a functional module on the second server, this feelings Under condition by the departure time have confirmed that affairs be sent to the second block chain apparatus be the second server internal information transmitting one A process.In another scheme, the second block chain apparatus is another server independently of the second server, this In the case of will have confirmed that affairs are sent to the second block chain apparatus and are related to the second server and this another clothes the departure time Communication between business device.
The departure time is had confirmed that affairs are sent to other blocks in block chain by step the S412: the second block chain apparatus Chain apparatus.
Specifically, the second block chain apparatus will have confirmed that affairs are bundled to block and lasting the departure time by algorithm of knowing together Change into block chain each node, wherein the first block chain apparatus and third block chain apparatus belong to the node in the block chain. Therefore, the first block chain apparatus and the third block chain apparatus can obtain the departure time and have confirmed that affairs.
Step S413: the third server receives clearing notification message.
Specifically, the clearing notification message is for reminding to service clearing of staying at an inn described in the above order O mark.It can To be that (optional, settlement platform can be connected to the preconfigured settlement platform of above-mentioned enterprise by block chain client A node in above-mentioned block chain, therefore the first signature is uploaded in first server, second server uploads the second signature Afterwards, so that it may know that employee and hotel all confirm the departure time by a node, therefore settlement platform is to Three servers send a notification message to trigger clearing) clearing notification message is sent to third server, it is also possible to above-mentioned third Block chain apparatus receives the departure time and has confirmed that the clearing notice sent after affairs to the third server, is also possible to above-mentioned The clearing notice that first server is sent to the third server, is also possible to above-mentioned second server and sends out to the third server The clearing notice sent can also be the clearing notice that other related directions third server is sent.It is of course also possible to the third Server does not have to receive the clearing notification message that other equipment are sent, oneself is actively settled accounts.
Step S414: third server reads the first signature S1 and second label from the third block device Name S2, and verify the first signature S1 and the second signature S2.
Specifically, enterprise's block chain client is mounted on the third server in advance, which is One section of program code coupled with third block chain apparatus is communicated for the third server with the third block chain apparatus.Cause This, when which can be especially by the departure of the service of staying at an inn of the above-mentioned employee's consumption of enterprise's block chain client request Between T, in order to which the third server staying at an inn of determining that the employee consumed services generated expense.Correspondingly, the third area It is (substantive by the first block chain apparatus and/or the secondth area that block chain apparatus sends the departure time T itself stored to the third server Block chain apparatus is synchronized on third block chain apparatus), it is above-mentioned first signature S1 and second signature S2.In a kind of scheme, the Three block chain apparatus be the third server on a functional module, send in this case itself storage departure time T, Above-mentioned first signature S1 and the second signature S2 is a process of third server internal information transmitting.In another scheme In, third block chain apparatus is another server independently of the third server, sends itself storage in this case Departure time T, it is above-mentioned first signature S1 and second signature S2 be related between the second server and another server Communication.
The first public key of the terminal of above-mentioned employee and second clothes in above-mentioned hotel have been stored in advance on the third server Be engaged in device the second public key, therefore third server can by the first public key verifications first of the terminal of the employee sign S1 whether For the signature of the terminal of above-mentioned employee, and by the second public key verifications second of the second server in the hotel sign S2 whether For the signature of the second server in above-mentioned hotel.
Step S415: if first signature is the signature of the terminal of the employee, and second signature is described to provide Stay at an inn service hotel second server signature, then the third server triggers to it is described stay at an inn service clearing.
Specifically, show the employee to departure time T if the signature for the terminal that the first signature S1 is above-mentioned employee It is acknowledged, show the hotel to departure time T if second signature S2 is the signature of the second server in above-mentioned hotel Also acknowledged.Therefore, in the case where the hotel and the employee are errorless to departure time T confirmation, the enterprise is it is also believed that member Work is to terminate the service of staying at an inn the time represented by departure time T, therefore the enterprise passes through the third server triggers pair The service clearing of staying at an inn.
In a kind of optional scheme of the embodiment of the present application, the first server is by the order number O, the departure After time T and the first signature S1 is stored onto the first block chain apparatus, if second server (or the second clothes of operation The hotel staff of business device) determine that the departure time T obtained from the second block chain apparatus is wrong, then the second service Device can be sent to the first server coordinates request, and correspondingly, the first server receives the association that second server is sent Request message is adjusted, then the first server is according to the coordination request message, the time that the service of staying at an inn terminates described in ruling, Or coordinate the second server and generate that the terminal of the first signature S1 reaffirms that the service of staying at an inn terminates when Between, departure time invalidation transactions are created to show that the departure time is invalid if coordination is unsuccessful, and the departure time is invalid Affairs share to block catenary system and check for relevant each side.Optionally, the first server can be combined with Given information (information on such as block chain) voluntarily judges whether the departure time T is correct;If the first server determines the departure Time, T was incorrect, then the first server generates credit information, and the credit information consumes the order number O for indicating The employee of the service of staying at an inn identified is dishonest;The credit information is sent to credit platform by the first server, described Credit information on credit platform is used to that other hotels and/or other TMC to be supplied to check, can feed back the departure time to employee's honesty Mention supervision role.
In a kind of optional scheme of the embodiment of the present application, the order number O of the first server reception terminal transmission, It can also include: that the first server generates excitation information, the excitation information after the signature of departure time T and first S1 The habit signed in departure with active for indicating the employee for consuming the service of staying at an inn that the order number O is identified;It is described The excitation information is sent to credit platform by first server, and the excitation information on the credit platform is used to supply other hotels And/or other TMC are checked.It is understood that relevant each side (such as enterprise) can give the employee based on the excitation information Corresponding encouragement policy is given, to improve the enthusiasm that employee actively signs, to promote the efficiency of confirmation departure time.
In the method described in Fig. 4, enterprise staff the departure time confirm and after verification by terminal into Row signature obtains the first signature, and then this first is signed and departure time that employee is acknowledged is sent to by block catenary system Whether the second server in hotel and the third server of enterprise, correspondingly, hotel are judging employee's acknowledged departure time Correctly, it is signed to obtain the second signature by second server if correct, to show to accept the departure time.Second clothes Business device sends the third server of enterprise for second signature by block catenary system, and enterprise is then according to first signature and the Two signatures judge whether employee and hotel reach an agreement to the departure time, trigger if judging to reach an agreement and stay at an inn to employee Service is settled accounts.In the whole process, employee and hotel all pass through block catenary system to the confirmation message of departure time in time It is shared, therefore enterprise can be directly based upon block catenary system and inquire employee and hotel whether reach one to the departure time It causes, without checking papery document one by one as the prior art, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
Fig. 5 is referred to, Fig. 5 is a kind of process signal of hotel's departure time confirmation method provided in an embodiment of the present invention Figure, this method can realize that this method includes but is not limited to following steps based on framework shown in Fig. 3 A:
Step S501: second server generates the second signature according to order number and departure time.
Specifically, the order number O is used to identify the service of staying at an inn of employee's consumption of enterprise;The departure time, T can be It has been consumed by other equipment in the employee and has been acquired when this is stayed at an inn and services in hotel described in the second server, or should Hotel Staff is added manually to the second server, therefore departure time T energy after discovery employee has consumed the service of staying at an inn The enough time to indicate to have consumed the service of staying at an inn.The second server is generated according to order number O and departure time T Second signature S2, to show the end time of service of staying at an inn that hotel thinks that order number O is identified for departure time T institute's table The time shown.
Wherein, second signature S2 is the signature carried out by the private key of second server, which can be described as the second private Key, therefore other equipment can identify the signature that it is the second server after getting second signature S2.
Step S502: second server stores the order number, the departure time and second signature to the second block chain On device.
Specifically, hotel's block chain client is mounted on the second server in advance, which is One section of program code coupled with the second block chain apparatus is communicated for the second server with the second block chain apparatus.Cause This, which can create departure time creation affairs, departure time wound especially by hotel's block chain client Building affairs includes the order number O, the departure time T and the second signature S2, and then the second server is by the departure Time creation affairs are sent to the second block chain apparatus, correspondingly, the second block chain apparatus receives departure time creation Affairs.In a kind of scheme, the second block chain apparatus is a functional module on the second server, in this case should Departure time creation affairs are sent to the process that the second block chain apparatus is second server internal information transmitting.Another In a kind of scheme, the second block chain apparatus is another server independently of the second server, in this case will be from Shop time creation affairs are sent to the second block chain apparatus and are related to leading between the second server and another server Letter.
Departure time creation affairs are sent to other block chains in block chain by step the S503: the second block chain apparatus Device.
Specifically, the second block chain apparatus will create affairs the departure time by algorithm of knowing together and be bundled to block and persistence Each node into block chain, wherein the first block chain apparatus and third block chain apparatus belong to the node in the block chain.Cause This, the first block chain apparatus and the third block chain apparatus can obtain departure time creation affairs.
Step S504: first server reads the departure time, second signature and the order from the first block chain apparatus Number.
Specifically, it can be the first block chain apparatus and actively send departure time T, second signature to first server S2 and order number O is also possible to the first server and first sends request, the first block chain dress to the first block chain apparatus It sets and departure time T, second signature S2 and order number O is sent to the first server again after receiving request.
Step S505: first server judge it is described second signature whether be above-mentioned second server signature.
Specifically, the hotel for the service of staying at an inn that the offer order number O is identified has been stored in advance in the first server For the public key of the second server of maintenance service, it is properly termed as the second public key, therefore the first server passes through second public affairs Key judge this second signature S2 whether be the second server signature.
Step S506: if the signature of the second server, the first server is by the departure time and described orders Odd numbers is sent to the terminal of the employee for service of staying at an inn described in consumption.
Specifically, the application for communicating with first server in other words of one section of program code is configured in the terminal APP, for example, being respectively mounted the APP provided by the TMC in the terminal and the first server, the function of the two APP may not It is identical, but can be for being communicated between the first server and the terminal.
Step S507: the terminal receives the order number and the departure time.
Specifically, which receives and exports prompt information to employee after order number O and departure time T, described to allow Employee confirms whether the end time of the service of staying at an inn of order number O mark is time that departure time T is indicated, Yuan Gong After getting the prompt information, which can be operated to indicate whether to accept departure time T.For example, the terminal A prompt window can be popped up, which shows one " correct " and " incorrect " two icons, when employee clicks " correct " Icon then shows that employee accepts departure time T, when employee, which clicks " incorrect " icon, then shows that employee does not accept the departure Between T.
Step S508: if confirm the end time of the service of staying at an inn of order number mark be indicate the departure time when Between, then terminal is signed to obtain the first signature.
Specifically, which generates the first signature S1 to show that the employee accepts the departure time that above-mentioned hotel proposes T, the terminal during generating the first signature S1 are also possible to that the private key of the employee can be used, and can be described as the first private key, so as to it He can go out the first terminal of the signature S1 from the employee, the first private key at equipment after getting the first signature S1 with unique identification It can be pre-configured on the terminal, can also be called in other equipment (such as first server) for terminal with trustship.Optionally, The first server returns the terminal and has sent above-mentioned second signature S2, and first signature S1 can be with second signature S2 at this time Together constitute one it is double signature to get to double signature on existing above-mentioned terminal first signature S1, also have this second clothes Second signature S2 of business device.
Step S509: the order number, the departure time and first signature are sent to first server by terminal.
Step S510: first server receives the order number, the departure time and first signature that the terminal is sent.
In a kind of optinal plan, the first server to determine it is described first signature S1 whether be target employee end Hold the signature executed, employee of the target employee by consuming the service of staying at an inn that the order number O is identified in the enterprise, tool For body, the first public key of the terminal of the target employee is stored in the first server, first public key is used for institute State first server determine it is described first signature S1 whether be the target employee terminal execute signature.If first label Name S1 by the consumption order number O service of staying at an inn identified employee terminal signature, then execute S511, otherwise do not execute S511。
In another optional scheme, which is not verified the first signature S1, directly execution step S511。
Step S511: first server stores the order number, the departure time and first signature to the first block chain On device.
Specifically, TMC block chain client is mounted in the first server in advance, which is one The program code that section is coupled with the first block chain apparatus is communicated for the first server with the first block chain apparatus.Therefore, The first server can have confirmed that affairs especially by the TMC block chain client creation departure time, and the departure time is true Recognizing affairs includes the order number O, the departure time T and the first signature S1, and then the first server is by the departure Time has confirmed that affairs are sent to the first block chain apparatus, correspondingly, the first block chain apparatus has received the departure time Confirm affairs.In a kind of scheme, the first block chain apparatus is a functional module in the first server, in this case The departure time is had confirmed that affairs are sent to the mistake that the first block chain apparatus is first server internal information transmitting Journey.In another scheme, the first block chain apparatus is another server independently of the first server, such case Under will have confirmed that affairs are sent to the first block chain apparatus and are related to the first server and another server the departure time Between communication.
Departure time creation affairs are sent to other block chains in block chain by step the S512: the first block chain apparatus Device.
Specifically, the first block chain apparatus will create affairs the departure time by algorithm of knowing together and be bundled to block and persistence Each node into block chain, wherein the second block chain apparatus and third block chain apparatus belong to the node in the block chain.Cause This, the second block chain apparatus and the third block chain apparatus can obtain the departure time and have confirmed that affairs.
Step S513: the third server receives clearing notification message.
Specifically, the clearing notification message is for reminding to service clearing of staying at an inn described in the above order O mark.It can To be that (optional, settlement platform can be connected to the preconfigured settlement platform of above-mentioned enterprise by block chain client A node in above-mentioned block chain, therefore the first signature is uploaded in first server, second server uploads the second signature Afterwards, so that it may know that employee and hotel all confirm the departure time by a node, therefore settlement platform is to Three servers send a notification message to trigger clearing) clearing notification message is sent to third server, it is also possible to above-mentioned third Block chain apparatus receives the departure time and has confirmed that the clearing notice sent after affairs to the third server, is also possible to above-mentioned The clearing notice that first server is sent to the third server, is also possible to above-mentioned second server and sends out to the third server The clearing notice sent can also be the clearing notice that other related directions third server is sent.It is of course also possible to the third Server does not have to receive the clearing notification message that other equipment are sent, oneself is actively settled accounts.
Step S514: third server reads first signature and second label from the third block device Name, and verify first signature and second signature.
Specifically, enterprise's block chain client is mounted on the third server in advance, which is One section of program code coupled with third block chain apparatus is communicated for the third server with the third block chain apparatus.Cause This, when which can be especially by the departure of the service of staying at an inn of the above-mentioned employee's consumption of enterprise's block chain client request Between T, in order to which the third server staying at an inn of determining that the employee consumed services generated expense.Correspondingly, the third area It is (substantive by the first block chain apparatus and/or the secondth area that block chain apparatus sends the departure time T itself stored to the third server Block chain apparatus is synchronized on third block chain apparatus), it is above-mentioned first signature S1 and second signature S2.In a kind of scheme, the Three block chain apparatus be the third server on a functional module, send in this case itself storage departure time T, Above-mentioned first signature S1 and the second signature S2 is a process of third server internal information transmitting.In another scheme In, third block chain apparatus is another server independently of the third server, sends itself storage in this case Departure time T, it is above-mentioned first signature S1 and second signature S2 be related between the second server and another server Communication.
The first public key of the terminal of above-mentioned employee and second clothes in above-mentioned hotel have been stored in advance on the third server Be engaged in device the second public key, therefore third server can by the first public key verifications first of the terminal of the employee sign S1 whether For the signature of the terminal of above-mentioned employee, and by the second public key verifications second of the second server in the hotel sign S2 whether For the signature of the second server in above-mentioned hotel.
Step S515: if first signature is the signature of the terminal of the employee, and second signature is described to provide Stay at an inn service hotel second server signature, then the third server triggers to it is described stay at an inn service clearing.
Specifically, show the employee to departure time T if the signature for the terminal that the first signature S1 is above-mentioned employee It is acknowledged, show the hotel to departure time T if second signature S2 is the signature of the second server in above-mentioned hotel Also acknowledged.Therefore, in the case where the hotel and the employee are errorless to departure time T confirmation, the enterprise is it is also believed that member Work is to terminate the service of staying at an inn the time represented by departure time T, therefore the enterprise passes through the third server triggers pair The service clearing of staying at an inn.
In a kind of optional scheme of the embodiment of the present application, the second server is by the order number O, the departure After time T and the second signature S2 is stored onto the second block chain apparatus, if the terminal determine that being obtained by first server The departure time T taken is wrong, then the terminal can be sent to the first server coordinates request, correspondingly, described the The coordination request message that one server receiving terminal is sent, then the first server is cut out according to the coordination request message The time that the certainly described service of staying at an inn terminates, or coordinate the second server and generate the terminal of the first signature S1 again The time that the service of staying at an inn described in confirmation terminates creates departure time invalidation transactions if coordination is unsuccessful to show the departure time In vain, and the departure time invalidation transactions block catenary system is shared to check for relevant each side.Optionally, first clothes Business device can be combined with Given information (information on such as block chain) voluntarily judges whether the departure time T is correct;If described First server determines that the departure time T is incorrect, then the first server generates credit information, and the credit information is used It is dishonest in the hotel that expression provides the service of staying at an inn that the order number O is identified;The first server believes the credit Breath is sent to credit platform, and the credit information on the credit platform is used to check for other TMC or other enterprises, can be right Hotel's honesty feedback departure time mentions supervision role.
In a kind of optional scheme of the embodiment of the present application, the order number O of the first server reception terminal transmission, It can also include: that the first server generates excitation information, the excitation information after the signature of departure time T and first S1 The habit signed in departure with active for indicating the employee for consuming the service of staying at an inn that the order number O is identified;It is described The excitation information is sent to credit platform by first server, and the excitation information on the credit platform is used to supply other hotels And/or other TMC are checked.It is understood that relevant each side (such as enterprise) can give the employee based on the excitation information Corresponding encouragement policy is given, to improve the enthusiasm that employee actively signs, to promote the efficiency of confirmation departure time.
In the method described in Fig. 5, hotel is after determining enterprise staff departure by second server to the departure time It signs to obtain the second signature, then sends TMC's by block catenary system for the departure time and second signature The third server of first server and enterprise, correspondingly, first server will after receiving the departure time and the second signature The departure time is sent to the terminal of employee, so that employee confirms whether the departure time is correct, passes through the terminal if correct Then first signature is sent to the third server enterprise of enterprise then by block catenary system to obtain the first signature by signature Judge whether employee and hotel reach an agreement to the departure time according to first signature and the second signature, if judging to reach an agreement Then the service of staying at an inn of employee is settled accounts in triggering.In the whole process, employee and hotel to the confirmation message of departure time all It is shared in time by block catenary system, therefore enterprise can be directly based upon block catenary system and inquire employee and hotel pair Whether the departure time reaches an agreement, and without checking papery document one by one as the prior art, improves enterprise to employee's It stays at an inn the settlement efficiency of service.
Fig. 6 is referred to, Fig. 6 is a kind of process signal of hotel's departure time confirmation method provided in an embodiment of the present invention Figure, this method can realize that this method includes but is not limited to following steps based on framework shown in Fig. 3 A:
Step S601: the biological information of equipment acquisition enterprise staff.
Specifically, which can be to be placed in the station information acquisition equipment in hotel, when enterprise staff has consumed the wine Staying at an inn for shop offer needs to leave hotel when servicing, the employee can arrive the life for allowing the equipment to acquire the employee at the equipment at this time Object characteristic information, the biological information can be face information (such as human face photo), finger print information (such as fingerprint image), palmmprint Information, iris information etc. acquired from the person can unique identification go out the information of a people.
Step S602: the biological information, hotel information and temporal information are sent to first server by the equipment.
Specifically, the hotel information is used to identify the hotel where when the equipment acquires the biological information, For example, it may be the title in the hotel where when the equipment acquires the biological information, position or other can be to the wine The information that shop is marked.The temporal information is used to identify the time when equipment acquires the biological information.
Step S603: the first server receives the biological information, hotel information and temporal information.
Specifically, the application for communicating with first server in other words of one section of program code is configured in the equipment APP, for example, being respectively mounted the APP provided by the TMC in the equipment and the first server, the function of the two APP may not It is identical, but can be for the first server and the communication between devices.
Step S604: first server according to the biological information identify enterprise employee, and according to the employee, The hotel information and the temporal information determine the service of staying at an inn of employee's consumption.
Specifically, it is acquired from the employee due to the biological information for above equipment, the first service Device can go out the employee of the enterprise according to the biological information unique identification, and (first server oneself may identify It may also be identified by the identity authentication platform of formulation).Further, what which stored from database lives Determine that consumer is the employee in the order information list of shop, consumption place is the hotel of hotel information mark, and consume Time is consistent the order (clothes of staying at an inn in other words of (for example, time phase difference be not especially big) with the time that the temporal information identifies Business), the order determined has being capable of order number O to its unique identification.
Step S605: first server generates third according to the order number of characteristic parameter, object time, the service of staying at an inn Signature.
Specifically, the characteristic parameter is the feature vector of the biological information or the biological information, Or the Hash HASH value of the biological information.The object time T be the first server on current time or Person is the time of temporal information mark, it is to be understood that current time either in first server or described The time of temporal information mark, the time for all leaving hotel with the employee is very close, therefore goal time T is really The first server is used to indicate the time of the departure time of the employee.In addition, the first server generates third signature It is also possible to use during S3 and be pre-configured with to the private key of the first server, can be described as third private key, so that other set It is standby to go out third signature S3 with unique identification after getting third signature S3 from the first server.
Step S606: first server stores the order number, the object time and the third signature to the first block chain On device.
Specifically, TMC block chain client is mounted in the first server in advance, which is one The program code that section is coupled with the first block chain apparatus is communicated for the first server with the first block chain apparatus.Therefore, The first server can create departure time creation affairs especially by TMC block chain client, which creates thing Business includes that the order number O, the object time T and the third are signed S3, and then the first server is by the departure time Creation affairs are sent to the first block chain apparatus, correspondingly, the first block chain apparatus receives departure time creation affairs. In a kind of scheme, the first block chain apparatus is a functional module in the first server, in this case by the departure Time creation affairs are sent to the process that the first block chain apparatus is first server internal information transmitting.In another kind In scheme, the first block chain apparatus is another server independently of the first server, when will check out in this case Between creation affairs be sent to the communication that the first block chain apparatus is related between the first server and another server.
Departure time creation affairs are sent to other block chains in block chain by step the S607: the first block chain apparatus Device.
Specifically, the first block chain apparatus will create affairs the departure time by algorithm of knowing together and be bundled to block and persistence Each node into block chain, wherein the second block chain apparatus and third block chain apparatus belong to the node in the block chain.Cause This, the second block chain apparatus and the third block chain apparatus can obtain departure time creation affairs.
Step S608: second server reads the object time, third signature and the order from the second block chain apparatus Number.
Specifically, it can be the second block chain apparatus and actively send object time T, third signature to second server S3 and order number O is also possible to the second server and first sends request, the second block chain dress to the second block chain apparatus It sets and object time T, third signature S3 and order number O is sent to the second server again after receiving request.
Step S609: second server judges whether the third signature is that the service of staying at an inn that the order number identifies is held in the palm The TMC of pipe is used to the signature of the first server of maintenance service.
Specifically, the public key of the first server, therefore the second server have been stored in advance on the second server By the public key of the first server judge the third sign S3 whether be the first server signature.
Step S610: if the signature of the first server, the second server is verified from the second block chain apparatus Whether the object time of upper reading is correct.
In a kind of scheme, the object time T that second server verifying is read from the second block chain apparatus is It is no correct, it can be with specifically: at the end of the service of staying at an inn that the second server is identified according to the order number O of record Between, verify whether the object time T is correct, if the difference between the end time and the object time T is no more than in advance If then the object time T is correct for threshold value, if the difference between the end time and the object time T is more than preset threshold Then the object time T is incorrect.
In another scheme, second server verifies the object time T read from the second block chain apparatus It is whether correct, it can be with specifically: the second server reminds whether the staff in the hotel determines the object time T Correctly;The second server receives the confirmation message of staff's input, wherein the confirmation message is used to indicate institute It is correct to state object time T, or to be used to indicate the object time T incorrect.
Step S611: if correct, the second server generates the 4th signature.
Specifically, which generates the 4th signature S4 to show that the hotel accepts above-mentioned first server and submit Object time T, the 4th signature S4 can with the third sign S3 together with constitute one it is double signature it is double to get what is arrived The third signature S3 of existing above-mentioned first server on signature, also there is the 4th signature S4 of the second server;Certainly, the 4th Signature S4 can also exist independently of third signature S3, not need to constitute a double signature together.Wherein, the 4th Signature S4 is the signature carried out by the private key of second server, which can be described as the 4th private key, therefore other equipment are obtaining Get the signature that can identify it after the 4th signature S4 as the second server.
Step S612: second server stores the order number, the object time and the 4th signature to the second block chain On device.
Specifically, hotel's block chain client is mounted on the second server in advance, which is One section of program code coupled with the second block chain apparatus is communicated for the second server with the second block chain apparatus.Cause This, which can have confirmed that affairs especially by hotel's block chain client creation departure time, the departure time Have confirmed that affairs include the order number O, the object time T and the 4th signature S4, then the second server should Departure time has confirmed that affairs are sent to the second block chain apparatus, correspondingly, when the second block chain apparatus receives the departure Between have confirmed that affairs.In a kind of scheme, the second block chain apparatus is a functional module on the second server, this feelings Under condition by the departure time have confirmed that affairs be sent to the second block chain apparatus be the second server internal information transmitting one A process.In another scheme, the second block chain apparatus is another server independently of the second server, this In the case of will have confirmed that affairs are sent to the second block chain apparatus and are related to the second server and this another clothes the departure time Communication between business device.
The departure time is had confirmed that affairs are sent to other blocks in block chain by step the S613: the second block chain apparatus Chain apparatus.
Specifically, the second block chain apparatus will have confirmed that affairs are bundled to block and lasting the departure time by algorithm of knowing together Change into block chain each node, wherein the first block chain apparatus and third block chain apparatus belong to the node in the block chain. Therefore, the first block chain apparatus and the third block chain apparatus can obtain the departure time and have confirmed that affairs.
Step S614: the third server receives clearing notification message.
Specifically, the clearing notification message is for reminding to service clearing of staying at an inn described in the above order O mark.It can To be that (optional, settlement platform can be connected to the preconfigured settlement platform of above-mentioned enterprise by block chain client A node in above-mentioned block chain, therefore the first signature is uploaded in first server, second server uploads the second signature Afterwards, so that it may know that employee and hotel all confirm the departure time by a node, therefore settlement platform is to Three servers send a notification message to trigger clearing) clearing notification message is sent to third server, it is also possible to above-mentioned third Block chain apparatus receives the departure time and has confirmed that the clearing notice sent after affairs to the third server, is also possible to above-mentioned The clearing notice that first server is sent to the third server, is also possible to above-mentioned second server and sends out to the third server The clearing notice sent can also be the clearing notice that other related directions third server is sent.It is of course also possible to the third Server does not have to receive the clearing notification message that other equipment are sent, oneself is actively settled accounts.
Step S615: third server reads the third signature and the 4th label from the third block device Name, and verify the third signature and the 4th signature.
Specifically, enterprise's block chain client is mounted on the third server in advance, which is One section of program code coupled with third block chain apparatus is communicated for the third server with the third block chain apparatus.Cause This, when which can be especially by the departure of the service of staying at an inn of the above-mentioned employee's consumption of enterprise's block chain client request Between, in order to which the third server staying at an inn of determining that the employee consumed services generated expense.Correspondingly, the third block Chain apparatus to the third server send itself store object time T (object time, T can substantially embody the departure time, Essence be synchronized on third block chain apparatus by the first block chain apparatus and/or the second block chain apparatus), above-mentioned third signature The signature of S3 and the 4th S4.In a kind of scheme, third block chain apparatus is a functional module on the third server, this In the case of send itself storage object time T, above-mentioned third signature S3 and the 4th signature S4 be the third server internal letter Cease a process of transmitting.In another scheme, third block chain apparatus is another independently of the third server Server, send in this case itself storage object time T, above-mentioned third signature S3 and the 4th signature S4 be related to this second Communication between server and another server.
The third public key of above-mentioned first server and second clothes in above-mentioned hotel have been stored in advance on the third server Be engaged in device the 4th public key, therefore third server can by the third public key verifications third of the terminal of the employee sign S3 whether For the signature of above-mentioned first server, and by the 4th public key verifications the 4th of the second server in the hotel sign S4 whether For the signature of the second server in above-mentioned hotel.
Step S616: if meeting preset condition, the third server triggers are to the service clearing of staying at an inn.
Specifically, which includes at least the signature that third signature S3 is the first server, and described the Four signature S4 are to provide the signature of the second server in hotel of the service of staying at an inn;Specifically, if third signature S3 is The signature of above-mentioned first server then show it is acknowledged to object time T using the TMC of first server, if the 4th label Name S4 is that the signature of the second server in above-mentioned hotel then shows that the hotel is also acknowledged to object time T.Therefore, in the wine In the case that shop and the TMC are errorless to object time T confirmation, the enterprise is it is also believed that employee is in object time T institute's table The time shown terminates the service of staying at an inn, therefore the enterprise settles accounts the service of staying at an inn by the third server triggers.
Optionally, the preset condition further include: read from the third block device with the service of staying at an inn Employee described in the associated biological parameter of order number O is the employee of service of staying at an inn described in consumption, wherein the biological parameter Including the biological information perhaps Kazakhstan of the feature vector of the biological information or the biological information Uncommon HASH value;The biological parameter is persisted to the third by other block chain apparatus other than the third block chain apparatus On block chain apparatus.Specifically, due to the server that the third server is enterprise's maintenance service, the third service Device stores the biological parameter of each employee in the enterprise, therefore when third server reads life from third block chain apparatus When object parameter, so that it may the biological parameter for the known employee that the biological parameter read is stored with itself is compared, from And determine to read employee described in biological parameter from third block chain apparatus, it then further confirms that the employee and orders Whether the employee in the order of odd numbers O mark consistent, show to read from the third block device if consistent with institute State employee described in the associated biological parameter of order number O for the service of staying at an inn be consumption described in stay at an inn service employee (certainly, The third signature and the 4th signature can also be verified by third party's identity authentication platform, then by the third server The authentication result and signature of third party's identity authentication platform are verified, thus what acquisition signed to third signature and the 4th Verification result).In another optional scheme of the embodiment of the present application, the first server is by the order number O, described Object time T and third signature S3 storage are to after on the first block chain apparatus, if second server (or operation the The hotel staff of two servers) determine that the object time T that obtains from the second block chain apparatus is wrong, then this second Server can be sent to the first server coordinates request, and correspondingly, the first server receives second server and sends Coordination request message, then according to the coordination request message, the service of staying at an inn described in ruling terminates the first server Time, or coordinate relevant party (for example, hotel, employee etc.) and reaffirm the time that the service of staying at an inn terminates.
In a kind of optional scheme of the embodiment of the present application, the first server receives the biology that the equipment is sent It can also include: that first server generates excitation information, the excitation letter after characteristic information, hotel information and temporal information Breath is special with acquisition biology is cooperated on one's own initiative in departure for indicating the employee for consuming the service of staying at an inn that the order number O is identified The habit of reference breath;The excitation information is sent to credit platform by the first server, the excitation letter on the credit platform Breath for other hotels and/or other TMC for checking.It is understood that relevant each side (such as enterprise) can be swashed based on this It encourages information and gives corresponding encouragement policy to the employee, to improve the enthusiasm that employee actively signs, to promote confirmation departure The efficiency of time.
In the method described in Fig. 6, the first server of TMC is according to the biology acquired when enterprise staff leaves hotel Characteristic information determines that the enterprise staff leaves the object time in hotel and signed to the object time to obtain third label Name;Then by the third sign and the object time by block catenary system be sent to hotel second server and enterprise Three servers, correspondingly, hotel are judging whether the TMC acknowledged object time is correct, pass through second service if correct Device is signed to obtain the 4th signature, to show to accept the object time.Second server passes through block catenary system for the 4th Signature is sent to the third server of enterprise, and enterprise then judges whether TMC and hotel are right according to third signature and the 4th signature The departure time of enterprise staff reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.? In whole process, the confirmation message of departure time is all shared in MTC and hotel by block catenary system in time, therefore is looked forward to Industry can be directly based upon block catenary system and inquire whether TMC and hotel reach an agreement to the departure time, without as existing skill Art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.In addition, since employee checks out When biological information shared by block catenary system, therefore the enterprise can also be looked by block catenary system in real time See firsthand information when employee's departure, the departure time for facilitating business to business employee further confirms that.Further, should Process only needs employee composition to acquire biological characteristic, does not need employee and signs or carry out complex operations, improves use Family experience.
It is above-mentioned to illustrate the method for the embodiment of the present invention, the device of the embodiment of the present invention is provided below.
Fig. 7 is referred to, Fig. 7 is a kind of server 70 provided in an embodiment of the present invention, and for convenience of describing, the server 70 is also Referred to as first server, the server 70 include processor 701, memory 702 and communication interface 703, the processor 701, Memory 702 and communication interface 703 are connected with each other by bus 704.
Memory 702 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 703 is for sending and receiving data.
Processor 701 can be one or more central processing units (central processing unit, CPU), locate In the case that reason device 701 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 701 in the server 70 executes following for reading the program code stored in the memory 702 Operation:
Order number, departure time and the first signature that terminal is sent are received by the communication interface, wherein the order Number for identifying the staying at an inn service of employee's consumption of enterprise, the departure time be used to indicate to have consumed described in stay at an inn service when Between, first signature is the signature that the terminal is generated according to the order number and the departure time;First clothes Business device is the server of business-travel management company's T MC maintenance service;
The order number, the departure time and first signature are stored to the first block by the communication interface On chain apparatus, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein The order number, the departure time and first signature on the second block chain apparatus for second server for reading It takes and verifies, the order number, the departure time on the third block chain apparatus and first signature are for for the Three servers are read and verifying, and the second server is the server of hotel's maintenance service, and the third server is The server of enterprise's maintenance service.
As can be seen that enterprise staff carries out confirmation to the departure time and is signed to obtain the by terminal after verification Then one signature first signs this and departure time that employee is acknowledged second takes by the way that block catenary system is sent to hotel The third server of business device and enterprise, correspondingly, hotel is judging whether employee's acknowledged departure time is correct, if correctly It is then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through block Catenary system sends second signature to the third server of enterprise, and enterprise is then according to first signature and the second signature judgement person Whether the hotel Gong He reaches an agreement to the departure time, triggers if judging to reach an agreement and ties to the service of staying at an inn of employee It calculates.In the whole process, the confirmation message of departure time is all shared in employee and hotel by block catenary system in time, Therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, without picture The prior art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the processor receives the order that terminal is sent by the communication interface Number, after departure time and the first signature, the processor is by the communication interface by the order number, the departure time Before in the first signature storage to the first block chain apparatus, the processor is also used to:
Determine that first signature is the signature that the terminal of target employee executes, wherein the target employee is the enterprise The employee for the service of staying at an inn that the order number is identified is consumed in industry.
In one possible implementation, first that the target employee is stored in the terminal of the target employee is private Key is stored with the first public key of the target employee in the first server;First private key is used for the target employee Terminal generate signature, first public key for the first server determine it is described first signature whether be the target person The signature that the terminal of work executes.
In one possible implementation, the processor by the communication interface by the order number, it is described from After on shop time and the first signature storage to the first block chain apparatus, it is also used to:
The coordination request message that second server is sent is received by the communication interface, the coordination request message is institute It states second server and confirms and send in the case that the departure time is wrong;
According to the coordination request message, the time that the service of staying at an inn described in ruling terminates, or coordinate the second service Device and the terminal for generating first signature reaffirm the time that the service of staying at an inn terminates.
In one possible implementation, the processor receives what second server was sent by the communication interface After coordinating request message, the processor is also used to:
Judge whether the departure time is correct;
Determine that the departure time is incorrect, then the first server generates credit information, and the credit information is used for Indicate that the employee for consuming the service of staying at an inn that the order number is identified is dishonest;
The credit information is sent to credit platform by the communication interface, the credit information on the credit platform For being checked for other hotels and/or other TMC.
In one possible implementation, the processor receives the order that terminal is sent by the communication interface Number, the departure time and first signature after, the processor is also used to:
Excitation information is generated, the excitation information is used for the employee for indicating to consume the service of staying at an inn that the order number is identified The habit with active signature in departure;
The excitation information is sent to credit platform by the communication interface, the excitation information on the credit platform For being checked for other hotels and/or other TMC.
In one possible implementation, the first block chain apparatus, the second block chain apparatus and third block chain Device is the different server independently of the first server, second server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Second block chain apparatus is deployed on the second server, and the third block chain apparatus is deployed in the third server On.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 4 It states.
Fig. 8 is referred to, Fig. 8 is a kind of server 80 provided in an embodiment of the present invention, and for convenience of describing, the server 80 is also Referred to as second server, the server 80 include processor 801, memory 802 and communication interface 803, the processor 801, Memory 802 and communication interface 803 are connected with each other by bus 804.
Memory 802 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 803 is for sending and receiving data.
Processor 801 can be one or more central processing units (central processing unit, CPU), locate In the case that reason device 801 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 801 in the server 80 executes following for reading the program code stored in the memory 802 Operation:
Read block from the second block chain apparatus by the communication interface, wherein the block include the departure time, First signature and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time is used for Expression has been consumed the time of the service of staying at an inn, and first signature is according to the order number and the departure time generation Signature, the second server be hotel's maintenance service server;
Determine that described first signs to consume the signature of the terminal of the employee for the service of staying at an inn that the order number is identified;
Whether correct verify the departure time;
It is described that second signature is generated according to the departure time if correct;
Second signature is stored onto the second block chain apparatus by the communication interface, by second block Chain apparatus is persisted on third block chain apparatus, wherein second signature on the third block chain apparatus is for supplying Third server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
As can be seen that enterprise staff carries out confirmation to the departure time and is signed to obtain the by terminal after verification Then one signature first signs this and departure time that employee is acknowledged second takes by the way that block catenary system is sent to hotel The third server of business device and enterprise, correspondingly, hotel is judging whether employee's acknowledged departure time is correct, if correctly It is then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through block Catenary system sends second signature to the third server of enterprise, and enterprise is then according to first signature and the second signature judgement person Whether the hotel Gong He reaches an agreement to the departure time, triggers if judging to reach an agreement and ties to the service of staying at an inn of employee It calculates.In the whole process, the confirmation message of departure time is all shared in employee and hotel by block catenary system in time, Therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, without picture The prior art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, be stored with that the consumption order number identified on the second server lives The first public key of the employee of shop service;First public key determines whether first signature is to disappear for the second server Take the signature of the terminal of the employee for the service of staying at an inn that the order number is identified.
In one possible implementation, whether the processor verifying departure time is correct, specifically:
According to the service ending time of staying at an inn that the order number of record is identified, whether just the departure time is verified Really, wherein just no more than the departure time if preset threshold if the difference between the end time and the departure time Really, the departure time is incorrect if the difference between the end time and the departure time is more than preset threshold.
In one possible implementation, whether the processor verifying departure time is correct, specifically:
The staff in the hotel is reminded to determine whether the departure time is correct;
The confirmation message of staff's input is received by the communication interface, wherein the confirmation message is used for Indicate that the departure time is correct, or to be used to indicate the departure time incorrect.
In one possible implementation, the processor is also used to:
If incorrect, sent by the communication interface to first server and coordinate request message, the coordination request disappears It ceases and reaffirms institute for requesting the first server to coordinate the second server and generate the terminal that described first signs State time that the service of staying at an inn terminates or the coordinations request message for request the first server again described in ruling firmly The time that shop service terminates, wherein the first server is the server of business-travel management company's T MC maintenance service.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 4 It states.
Fig. 9 is referred to, Fig. 9 is a kind of server 90 provided in an embodiment of the present invention, and for convenience of describing, the server 90 is also Referred to as third server, the server 90 include processor 901, memory 902 and communication interface 903, the processor 901, Memory 902 and communication interface 903 are connected with each other by bus 904.
Memory 902 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 903 is for sending and receiving data.
Processor 901 can be one or more central processing units (central processing unit, CPU), locate In the case that reason device 901 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 901 in the server 90 executes following for reading the program code stored in the memory 902 Operation:
Pass through the communication interface and receive clearing notification message, wherein the clearing notification message is for prompting to staying at an inn Service clearing, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
First of the departure time for the service of staying at an inn is read from third block device by the communication interface Signature and second signature, and verify it is described first signature and it is described second signature, it is described first signature and it is described second signature by Other block chain apparatus other than the third block chain apparatus are persisted on the third block chain apparatus;
If the signature of the terminal of employee of first signature for service of staying at an inn described in consumption, and second signature is to mention For the signature of the second server of hotel's maintenance service of the service of staying at an inn, then triggering is to the service clearing of staying at an inn.
As can be seen that enterprise staff carries out confirmation to the departure time and is signed to obtain the by terminal after verification Then one signature first signs this and departure time that employee is acknowledged second takes by the way that block catenary system is sent to hotel The third server of business device and enterprise, correspondingly, hotel is judging whether employee's acknowledged departure time is correct, if correctly It is then signed to obtain the second signature by second server, to show to accept the departure time.Second server passes through block Catenary system sends second signature to the third server of enterprise, and enterprise is then according to first signature and the second signature judgement person Whether the hotel Gong He reaches an agreement to the departure time, triggers if judging to reach an agreement and ties to the service of staying at an inn of employee It calculates.In the whole process, the confirmation message of departure time is all shared in employee and hotel by block catenary system in time, Therefore enterprise can be directly based upon block catenary system and inquire whether employee and hotel reach an agreement to the departure time, without picture The prior art checks papery document one by one like that, improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, be stored with that the consumption order number identified on the third server lives The first public key of the employee of shop service, and it is stored with second public key in the hotel;First public key is used for the third Server determine first signature whether be stay at an inn described in consumption service employee terminal signature, second public key uses In the third server determine it is described second signature whether be the hotel signature.
In one possible implementation, the third block chain apparatus is the service independently of the third server Device.
In one possible implementation, the third block chain apparatus is deployed on the third server.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 4 It states.
0, Figure 10 is a kind of server 100 provided in an embodiment of the present invention referring to Figure 1, for convenience of describing, the server 100 also known as first server, servers 100 include processor 1001, memory 1002 and communication interface 1003, the place Reason device 1001, memory 1002 and communication interface 1003 are connected with each other by bus 1004.
Memory 1002 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 1003 is for sending and receiving data.
Processor 1001 can be one or more central processing units (central processing unit, CPU), In the case that processor 1001 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1001 in the server 100 is executed for reading the program code stored in the memory 1002 It operates below:
Biological information, hotel information and the temporal information sent by the communication interface receiving device, wherein institute Hotel information is stated for the hotel where identifying when the equipment acquires the biological information, the temporal information is for marking Know the time when equipment acquires the biological information;The first server is that business-travel management company's T MC safeguards industry The server of business;
The employee of enterprise is identified according to the biological information, and according to the employee, the hotel information and described Temporal information determines the service of staying at an inn of employee's consumption;
Third signature is generated according to the order number of characteristic parameter, object time, the service of staying at an inn, the characteristic parameter is The biological information perhaps Hash of the feature vector of the biological information or the biological information HASH value;The object time be current time in the first server or be the temporal information mark time;
The order number, the object time and the third signature are stored to the first block by the communication interface On chain apparatus, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein The order number, the object time and the third on the second block chain apparatus are signed for reading for second server It takes and verifies, the order number, the object time on the third block chain apparatus and third signature are for for the Three servers are read and verifying, and the second server is the server of hotel's maintenance service, and the third server is The server of enterprise's maintenance service.
As can be seen that the first server of TMC is according to the biological information acquired when enterprise staff leaves hotel, really The fixed enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then by this Three signatures and the object time are sent to the second server in hotel and the third server of enterprise by block catenary system, accordingly Ground, hotel are judging whether the TMC acknowledged object time is correct, are signed to obtain by second server if correct 4th signature, to show to accept the object time.Second server sends enterprise for the 4th signature by block catenary system Third server, enterprise then according to third signature and the 4th signature judge TMC and hotel whether the departure to enterprise staff Time reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In the whole process, MTC It is all shared in time by block catenary system with confirmation message of the hotel to the departure time, therefore enterprise can be directly based upon Block catenary system inquires whether TMC and hotel reach an agreement to the departure time, without checking one by one as the prior art Papery document improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the biology that the processor is sent by the communication interface receiving device is special After reference breath, hotel information and temporal information, the processor is also used to:
The characteristic parameter is stored onto the first block chain apparatus by the communication interface, by first block Chain apparatus is persisted on the second block chain apparatus and third block chain apparatus, wherein the institute on the second block chain apparatus Characteristic parameter is stated for reading and verifying for the second server, the characteristic parameter use on the third block chain apparatus In for third server reading and verifying.
In one possible implementation, the first block chain apparatus, the second block chain apparatus and third block chain Device is the different server independently of the first server, second server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Second block chain apparatus is deployed on the second server, and the third block chain apparatus is deployed in the third server On.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 6 It states.
1, Figure 11 is a kind of server 110 provided in an embodiment of the present invention referring to Figure 1, for convenience of describing, the server 110 also known as second server, servers 110 include processor 1101, memory 1102 and communication interface 1103, the place Reason device 1101, memory 1102 and communication interface 1103 are connected with each other by bus 1104.
Memory 1102 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 1103 is for sending and receiving data.
Processor 1101 can be one or more central processing units (central processing unit, CPU), In the case that processor 1101 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1101 in the server 110 is executed for reading the program code stored in the memory 1102 It operates below:
Read block from the second block chain apparatus by the communication interface, wherein the block include the object time, Third signature and order number, the order number are the service of staying at an inn consumed for identifying the employee of enterprise, and the object time is used It has been consumed the time of the service of staying at an inn in expression, the third signature is raw according to the order number and the departure time At signature, the second server be hotel's maintenance service server;
Determine that first signature is the signature of first server, wherein the first server is the order number mark Staying at an inn for knowing services the server that business-travel management company's T MC in trust is used to maintenance service;
Whether correct verify the object time;
If correct, the 4th signature is generated according to the object time;
The 4th signature is stored onto the second block chain apparatus by the communication interface, by second block Chain apparatus is persisted on third block chain apparatus, wherein the 4th signature on the third block chain apparatus is for supplying Third server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
As can be seen that the first server of TMC is according to the biological information acquired when enterprise staff leaves hotel, really The fixed enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then by this Three signatures and the object time are sent to the second server in hotel and the third server of enterprise by block catenary system, accordingly Ground, hotel are judging whether the TMC acknowledged object time is correct, are signed to obtain by second server if correct 4th signature, to show to accept the object time.Second server sends enterprise for the 4th signature by block catenary system Third server, enterprise then according to third signature and the 4th signature judge TMC and hotel whether the departure to enterprise staff Time reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In the whole process, MTC It is all shared in time by block catenary system with confirmation message of the hotel to the departure time, therefore enterprise can be directly based upon Block catenary system inquires whether TMC and hotel reach an agreement to the departure time, without checking one by one as the prior art Papery document improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the service of staying at an inn of the order number mark is stored on the second server The third public key of TMC in trust;The third public key determines whether the third signature is institute for the second server State the signature of third server.
In one possible implementation, whether the processor verifying object time is correct, specifically:
According to the service ending time of staying at an inn that the order number of record is identified, whether just the object time is verified Really, wherein just no more than the departure time if preset threshold if the difference between the end time and the object time Really, the departure time is incorrect if the difference between the end time and the object time is more than preset threshold.
In one possible implementation, whether the processor verifying object time is correct, specifically:
The staff in the hotel is reminded to determine whether the object time is correct;
The confirmation message of staff's input is received by the communication interface, wherein the confirmation message is used for Indicate that the object time is correct, or to be used to indicate the object time incorrect.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 6 It states.
2, Figure 12 is a kind of server 120 provided in an embodiment of the present invention referring to Figure 1, for convenience of describing, the server 120 also known as third server, servers 120 include processor 1201, memory 1202 and communication interface 1203, the place Reason device 1201, memory 1202 and communication interface 1203 are connected with each other by bus 1204.
Memory 1202 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 1203 is for sending and receiving data.
Processor 1201 can be one or more central processing units (central processing unit, CPU), In the case that processor 1201 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1201 in the server 120 is executed for reading the program code stored in the memory 1202 It operates below:
Pass through the communication interface and receive clearing notification message, wherein the clearing notification message is for prompting to staying at an inn Service clearing, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
The third of the object time for the service of staying at an inn is read from third block device by the communication interface Signature and the 4th signature, and verify third signature and the 4th signature, the third signature and the 4th signature by Other block chain apparatus other than the third block chain apparatus are persisted on the third block chain apparatus;
If meeting preset condition, triggering is to the service clearing of staying at an inn, wherein the preset condition includes at least: institute It states third signature and services the label of the first server of business-travel management company's T MC in trust for maintenance service for described stay at an inn Name, and the 4th signature is to provide the signature of the second server of hotel's maintenance service of the service of staying at an inn.
As can be seen that the first server of TMC is according to the biological information acquired when enterprise staff leaves hotel, really The fixed enterprise staff leaves the object time in hotel and signs to the object time to obtain third signature;Then by this Three signatures and the object time are sent to the second server in hotel and the third server of enterprise by block catenary system, accordingly Ground, hotel are judging whether the TMC acknowledged object time is correct, are signed to obtain by second server if correct 4th signature, to show to accept the object time.Second server sends enterprise for the 4th signature by block catenary system Third server, enterprise then according to third signature and the 4th signature judge TMC and hotel whether the departure to enterprise staff Time reaches an agreement, and triggers if judging to reach an agreement and settles accounts to the service of staying at an inn of employee.In the whole process, MTC It is all shared in time by block catenary system with confirmation message of the hotel to the departure time, therefore enterprise can be directly based upon Block catenary system inquires whether TMC and hotel reach an agreement to the departure time, without checking one by one as the prior art Papery document improves the settlement efficiency of stay at an inn service of the enterprise to employee.
In one possible implementation, the preset condition further include:
The biological parameter associated with the order number of the service of staying at an inn read from the third block device is retouched The employee stated is the employee of service of staying at an inn described in consumption, wherein the biological parameter includes the biological information, Huo Zhesuo State the feature vector of biological information or the Hash HASH value of the biological information;The biological parameter is by described Other block chain apparatus other than third block chain apparatus are persisted on the third block chain apparatus.
In one possible implementation, the third public key of the TMC, Yi Jicun are stored on the third server Contain the 4th public key in the hotel;The third public key determines whether the third signature is institute for the third server TMC is stated for the signature of the first server of maintenance service, the 4th public key determines described for the third server Four signature whether be the hotel signature.
In one possible implementation, the third block chain apparatus is the service independently of the third server Device.
In one possible implementation, the third block chain apparatus is deployed on the third server.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 6 It states.
3, Figure 13 is a kind of server 130 provided in an embodiment of the present invention referring to Figure 1, for convenience of describing, the server 130 also known as second server, servers 130 include processor 1301, memory 1302 and communication interface 1303, the place Reason device 1301, memory 1302 and communication interface 1303 are connected with each other by bus 1304.
Memory 1302 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 1303 is for sending and receiving data.
Processor 1301 can be one or more central processing units (central processing unit, CPU), In the case that processor 1301 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1301 in the server 130 is executed for reading the program code stored in the memory 1302 It operates below:
The second signature is generated according to order number and departure time, wherein the employee that the order number is used to identify enterprise disappears The service of staying at an inn of expense, the departure time are used to indicate to have consumed the time of the service of staying at an inn;The second server is to mention For the server of hotel's maintenance service of the service of staying at an inn;
The order number, the departure time and second signature are stored to the second block by the communication interface On chain apparatus, to be persisted on the first block chain apparatus and third block chain apparatus by the second block chain apparatus, wherein The order number, the departure time and second signature on the first block chain apparatus for first server for reading It takes and verifies, the order number, the departure time on the third block chain apparatus and second signature are for for the Three servers are read and verifying, and the first server is that described stay at an inn services business-travel management company's T MC maintenance industry in trust The server of business, the third server are the server of enterprise's maintenance service.
As can be seen that hotel signs to obtain to the departure time by second server after determining enterprise staff departure To the second signature, then by the departure time and second signature by block catenary system be sent to the first server of TMC with The third server of enterprise, correspondingly, first server send out the departure time after receiving the departure time and the second signature The terminal of employee is given, so that employee confirms whether the departure time is correct, is signed by the terminal if correct to obtain the Then first signature is sent to the third server enterprise of enterprise then according to first label by block catenary system by one signature Name and the second signature judge whether employee and hotel reach an agreement to the departure time, and triggering is to employee if judging to reach an agreement The service of staying at an inn settled accounts.In the whole process, employee and hotel all pass through block to the confirmation message of departure time in time Catenary system is shared, thus enterprise can be directly based upon block catenary system inquire employee and hotel to the departure time whether Reach an agreement, without checking papery document one by one as the prior art, improves the knot of stay at an inn service of the enterprise to employee Calculate efficiency.
In one possible implementation, the second block chain apparatus and third block chain apparatus are independently of institute State the different server of second server and third server.
In one possible implementation, the second block chain apparatus is deployed on the second server, described Third block chain apparatus is deployed on the third server.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 5 It states.
4, Figure 14 is a kind of server 140 provided in an embodiment of the present invention referring to Figure 1, for convenience of describing, the server 140 also known as first server, servers 140 include processor 1401, memory 1402 and communication interface 1403, the place Reason device 1401, memory 1402 and communication interface 1403 are connected with each other by bus 1404.
Memory 1402 include but is not limited to be random access memory (random access memory, RAM), it is read-only Memory (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable Read onlymemory, EPROM) or portable read-only memory (compact disc read-only memory, CD- ROM), which is used for dependent instruction and data.Communication interface 1403 is for sending and receiving data.
Processor 1401 can be one or more central processing units (central processing unit, CPU), In the case that processor 1401 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Processor 1401 in the server 140 is executed for reading the program code stored in the memory 1402 It operates below:
Read block from the first block chain apparatus by the communication interface, wherein the block include the departure time, Second signature and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time is used for Expression has been consumed the time of the service of staying at an inn, and second signature is according to the order number and the departure time generation Signature, the first server is that described stay at an inn services the server of TMC maintenance service in trust;
Determine that second signature is the signature of second server, wherein the second server is to provide described stay at an inn The hotel of service is used to the server of maintenance service;
The departure time and the order number are sent to the member for service of staying at an inn described in consumption by the communication interface The terminal of work, so that the employee confirms whether the departure time of the service of staying at an inn of the order number mark is correct;
If the departure time for service of staying at an inn described in employee's confirmation is correct, the terminal is received by the communication interface The first signature sent, wherein first signature is that the terminal is generated according to the departure time and the order number Signature;
First signature is stored onto the first block chain apparatus by the communication interface, by first block Chain apparatus is persisted on third block chain apparatus, wherein first signature on the third block chain apparatus is for supplying Third server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
As can be seen that hotel signs to obtain to the departure time by second server after determining enterprise staff departure To the second signature, then by the departure time and second signature by block catenary system be sent to the first server of TMC with The third server of enterprise, correspondingly, first server send out the departure time after receiving the departure time and the second signature The terminal of employee is given, so that employee confirms whether the departure time is correct, is signed by the terminal if correct to obtain the Then first signature is sent to the third server enterprise of enterprise then according to first label by block catenary system by one signature Name and the second signature judge whether employee and hotel reach an agreement to the departure time, and triggering is to employee if judging to reach an agreement The service of staying at an inn settled accounts.In the whole process, employee and hotel all pass through block to the confirmation message of departure time in time Catenary system is shared, thus enterprise can be directly based upon block catenary system inquire employee and hotel to the departure time whether Reach an agreement, without checking papery document one by one as the prior art, improves the knot of stay at an inn service of the enterprise to employee Calculate efficiency.
In one possible implementation, the hotel for being provided with the service of staying at an inn is stored in the first server 5th public key;5th public key determines whether second signature is to provide the service of staying at an inn for the first server Server signature.
In one possible implementation, the processor is also used to:
If the departure time for service of staying at an inn described in employee's confirmation is incorrect, the end is received by the communication interface The coordination request message sent is held, the request message of coordinating issues for the wrong situation of departure time described in the terminal check It send;
According to the coordination request message, the time that the service of staying at an inn described in ruling terminates, or coordinate the second service Device and the terminal reaffirm the time that the service of staying at an inn terminates.
In one possible implementation, the processor receives the association that the terminal is sent by the communication interface After adjusting request message, the processor is also used to:
Judge whether the departure time is correct;
If the first server determines that the departure time is incorrect, credit information is generated, the credit information is used In indicate provide described in stay at an inn service hotel it is dishonest;
The credit information is sent to credit platform by the communication interface, the credit information on the credit platform For being checked for other TMC.
In one possible implementation, the first block chain apparatus and third block chain apparatus are independently of institute State the different server of first server and third server.
In one possible implementation, the first block chain apparatus is deployed in the first server, described Third block chain apparatus is deployed on the third server.
It should be noted that realizing for each operation can also be retouched should refer to the corresponding of embodiment of the method described in Fig. 5 It states.
The embodiment of the present invention also provides a kind of chip system, and the chip system includes at least one processor, memory And interface circuit, the memory, the transceiver and at least one described processor by route interconnect, it is described at least one Instruction is stored in memory;When described instruction is executed by the processor, method flow described in Fig. 4 or Fig. 5 or Fig. 6 is able to It realizes.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium There is instruction, when it runs on a processor, method flow described in Fig. 4 or Fig. 5 or Fig. 6 is achieved.
The embodiment of the present invention also provides a kind of computer program product, when the computer program product is transported on a processor When row, method flow described in Fig. 4 or Fig. 5 or Fig. 6 is achieved.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, the process Relevant hardware can be instructed to complete by computer program, which can be stored in computer-readable storage medium, should Program is when being executed, it may include such as the process of above-mentioned each method embodiment.And storage medium above-mentioned includes: ROM or deposits at random Store up the medium of the various program storage codes such as memory body RAM, magnetic or disk.

Claims (20)

1. a kind of hotel's departure time confirmation method characterized by comprising
First server receives order number, departure time and the first signature that terminal is sent, wherein the order number is for identifying The staying at an inn service of employee's consumption of enterprise, the departure time be used to indicate to have consumed described in stay at an inn time of service, described the One signature is the signature that the terminal is generated according to the order number and the departure time;The first server is travel The server of management company's TMC maintenance service;
The first server stores the order number, the departure time and first signature to the first block chain apparatus On, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein described The order number, the departure time and first signature on two block chain apparatus is for reading and testing for second server It demonstrate,proves, the order number, the departure time and first signature on the third block chain apparatus are for for third service Device is read and verifying, and the second server is the server of hotel's maintenance service, and the third server is the enterprise The server of industry maintenance service.
2. the method according to claim 1, wherein the first server receive terminal send order number, After departure time and the first signature, the first server signs the order number, the departure time and described first Before storing onto the first block chain apparatus, further includes:
The first server determines that first signature is the signature that the terminal of target employee executes, wherein the target person Employee of the work by consuming the service of staying at an inn that the order number identifies in the enterprise.
3. a kind of hotel's departure time confirmation method characterized by comprising
Second server reads block from the second block chain apparatus, wherein the block include the departure time, first signature and Order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time has consumed for indicating The time of the service of staying at an inn, first signature is according to the signature of the order number and the departure time generation, institute State the server that second server is hotel's maintenance service;
The second server determines first signature as the end for consuming the employee for the service of staying at an inn that the order number is identified The signature at end;
Whether the second server verifies the departure time correct;
If correct, the second server generates the second signature according to the departure time;
The second server stores second signature onto the second block chain apparatus, by the second block chain apparatus It is persisted on third block chain apparatus, wherein second signature on the third block chain apparatus for third for taking Business device is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
4. according to the method described in claim 3, it is characterized in that, being stored with the consumption order number on the second server The first public key of the employee of the service of staying at an inn identified;First public key determines first label for the second server Whether name is the signature for consuming the terminal of employee for the service of staying at an inn that the order number is identified.
5. a kind of hotel's departure time confirmation method characterized by comprising
Third server receives clearing notification message, wherein the clearing notification message is for reminding to service clearing of staying at an inn, institute Stating third server is the server of enterprise's maintenance service belonging to the employee of service of staying at an inn described in consumption;
The third server read from third block device for the departure time of the service of staying at an inn the first signature and Second signature, and first signature and second signature are verified, first signature and second signature are by described the Other block chain apparatus other than three block chain apparatus are persisted on the third block chain apparatus;
If the signature of the terminal of employee of first signature for service of staying at an inn described in consumption, and second signature is provides The signature of the second server of the hotel's maintenance service for the service of staying at an inn is stated, then the third server triggers are to the service of staying at an inn Clearing.
6. a kind of hotel's departure time confirmation method characterized by comprising
Biological information, hotel information and the temporal information that first server receiving device is sent, wherein the hotel information For the hotel where identifying when the equipment acquires the biological information, the temporal information is for identifying the equipment Acquire the time when biological information;The first server is the server of business-travel management company's T MC maintenance service;
The first server identifies the employee of enterprise according to the biological information, and according to the employee, the hotel Information and the temporal information determine the service of staying at an inn of employee's consumption;
The first server generates third signature according to the order number of characteristic parameter, object time, the service of staying at an inn, described Characteristic parameter is the biological information perhaps feature vector of the biological information or biological characteristic letter The Hash HASH value of breath;The object time is current time in the first server or is the temporal information mark Time;
The first server stores the order number, the object time and the third signature to the first block chain apparatus On, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein described The order number, the object time and third signature on two block chain apparatus is for reading and testing for second server It demonstrate,proves, the order number, the object time and the third on the third block chain apparatus are signed for for third service Device is read and verifying, and the second server is the server of hotel's maintenance service, and the third server is the enterprise The server of industry maintenance service.
7. according to the method described in claim 6, it is characterized in that, the biological characteristic that the first server receiving device is sent After information, hotel information and temporal information, further includes:
The first server stores the characteristic parameter onto the first block chain apparatus, by the first block chain apparatus It is persisted on the second block chain apparatus and third block chain apparatus, wherein the feature on the second block chain apparatus Parameter is used to read and verify for the second server, and the characteristic parameter on the third block chain apparatus is used for for institute Third server is stated to read and verify.
8. a kind of hotel's departure time confirmation method characterized by comprising
Second server reads block from the second block chain apparatus, wherein the block include the object time, third signature and Order number, the order number are the service of staying at an inn consumed for identifying the employee of enterprise, and the object time is for indicating consumption The time of the complete service of staying at an inn, the third signature are the signature generated according to the order number and the departure time, The second server is the server of hotel's maintenance service;
The second server determines that first signature is the signature of first server, wherein the first server is institute It states staying at an inn for order number mark and services the server that business-travel management company's T MC in trust is used to maintenance service;
Whether the second server verifies the object time correct;
If correct, the second server generates the 4th signature according to the object time;
The second server stores the 4th signature onto the second block chain apparatus, by the second block chain apparatus It is persisted on third block chain apparatus, wherein the 4th signature on the third block chain apparatus for third for taking Business device is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
9. according to the method described in claim 8, it is characterized in that, being stored with the order number mark on the second server Stay at an inn and service the third public key of TMC in trust;The third public key determines the third label for the second server Name whether be the third server signature.
10. a kind of hotel's object time confirmation method characterized by comprising
Third server receives clearing notification message, wherein the clearing notification message is for reminding to service clearing of staying at an inn, institute Stating third server is the server of enterprise's maintenance service belonging to the employee of service of staying at an inn described in consumption;
The third server read from third block device for the object time of the service of staying at an inn third signature and 4th signature, and verify third signature and the 4th signature, the third signature and the 4th signature are by described the Other block chain apparatus other than three block chain apparatus are persisted on the third block chain apparatus;
If meeting preset condition, the third server triggers are to the service clearing of staying at an inn, wherein the preset condition is extremely It less include: the first clothes for servicing business-travel management company's T MC in trust for maintenance service of staying at an inn described in the third signature is The signature of business device, and the 4th signature is to provide the signature of the second server of hotel's maintenance service of the service of staying at an inn.
11. a kind of hotel's departure time confirmation method characterized by comprising
Second server generates the second signature according to order number and departure time, wherein the order number is for identifying enterprise The service of staying at an inn of employee's consumption, the departure time are used to indicate to have consumed the time of the service of staying at an inn;The second service Device is to provide the server of hotel's maintenance service of the service of staying at an inn;
The second server stores the order number, the departure time and second signature to the second block chain apparatus On, to be persisted on the first block chain apparatus and third block chain apparatus by the second block chain apparatus, wherein described The order number, the departure time and second signature on one block chain apparatus is for reading and testing for first server It demonstrate,proves, the order number, the departure time and second signature on the third block chain apparatus are for for third service Device is read and verifying, and the first server is that described stay at an inn services the clothes of business-travel management company's T MC maintenance service in trust Business device, the third server are the server of enterprise's maintenance service.
12. a kind of hotel's departure time confirmation method characterized by comprising
First server reads block from the first block chain apparatus, wherein the block include the departure time, second signature and Order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time has consumed for indicating The time of the service of staying at an inn, second signature is according to the signature of the order number and the departure time generation, institute Stating first server is that described stay at an inn services the server of TMC maintenance service in trust;
The first server determines that second signature is the signature of second server, wherein the second server is to mention It is used to the server of maintenance service for the hotel of the service of staying at an inn;
The departure time and the order number are sent to the end of the employee for service of staying at an inn described in consumption by the first server End, so that the employee confirms whether the departure time of the service of staying at an inn of the order number mark is correct;
If the departure time for service of staying at an inn described in employee's confirmation is correct, the first server receives what the terminal was sent First signature, wherein first signature is the signature that the terminal is generated according to the departure time and the order number;
The first server stores first signature onto the first block chain apparatus, by the first block chain apparatus It is persisted on third block chain apparatus, wherein first signature on the third block chain apparatus for third for taking Business device is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
13. a kind of server, which is characterized in that the server be first server, the first server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Order number, departure time and the first signature that terminal is sent are received by the communication interface, wherein the order number is used In the service of staying at an inn of employee's consumption of mark enterprise, the departure time is used to indicate to have consumed the time of the service of staying at an inn, First signature is the signature that the terminal is generated according to the order number and the departure time;The first server For the server of business-travel management company's T MC maintenance service;
The order number, the departure time and the first signature storage are filled to the first block chain by the communication interface It sets, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein described The order number, the departure time on second block chain apparatus and first signature for being read for second server and It verifies, the order number, the departure time and first signature on the third block chain apparatus for third for taking Business device is read and verifying, and the second server is the server of hotel's maintenance service, and the third server is described The server of enterprise's maintenance service.
14. a kind of server, which is characterized in that the server be second server, the second server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Block is read from the second block chain apparatus by the communication interface, wherein the block includes departure time, first Signature and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time is for indicating It has consumed the time of the service of staying at an inn, first signature is according to the label of the order number and the departure time generation Name, the second server are the server of hotel's maintenance service;
Determine that described first signs to consume the signature of the terminal of the employee for the service of staying at an inn that the order number is identified;
Whether correct verify the departure time;
It is described that second signature is generated according to the departure time if correct;
Second signature is stored onto the second block chain apparatus by the communication interface, to be filled by the second block chain It sets and is persisted on third block chain apparatus, wherein second signature on the third block chain apparatus is for for third Server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
15. a kind of server, which is characterized in that the server be third server, the third server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Clearing notification message is received by the communication interface, wherein the clearing notification message is for reminding to the service of staying at an inn Clearing, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
The first signature of the departure time for the service of staying at an inn is read from third block device by the communication interface It signs with second, and verifies first signature and second signature, first signature and second signature are by described Other block chain apparatus other than third block chain apparatus are persisted on the third block chain apparatus;
If the signature of the terminal of employee of first signature for service of staying at an inn described in consumption, and second signature is provides The signature of the second server of the hotel's maintenance service for the service of staying at an inn is stated, then triggering is to the service clearing of staying at an inn.
16. a kind of server, which is characterized in that the server be first server, the first server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Biological information, hotel information and the temporal information sent by the communication interface receiving device, wherein the wine Shop information is used to identify the hotel where when the equipment acquires the biological information, and the temporal information is for identifying institute State time when equipment acquires the biological information;The first server is business-travel management company's T MC maintenance service Server;
The employee of enterprise is identified according to the biological information, and according to the employee, the hotel information and the time Information determines the service of staying at an inn of employee's consumption;
Third signature is generated according to the order number of characteristic parameter, object time, the service of staying at an inn, the characteristic parameter is described The biological information perhaps feature vector of the biological information or the Hash HASH value of the biological information; The object time be current time in the first server or be the temporal information mark time;
The signature storage of the order number, the object time and the third is filled to the first block chain by the communication interface It sets, to be persisted on the second block chain apparatus and third block chain apparatus by the first block chain apparatus, wherein described The order number, the object time on second block chain apparatus and third signature for being read for second server and It verifies, the order number, the object time and the third on the third block chain apparatus are signed for taking for third Business device is read and verifying, and the second server is the server of hotel's maintenance service, and the third server is described The server of enterprise's maintenance service.
17. a kind of server, which is characterized in that the server be second server, the second server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Block is read from the second block chain apparatus by the communication interface, wherein the block includes object time, third Signature and order number, the order number are the service of staying at an inn consumed for identifying the employee of enterprise, and the object time is used for table Show the time for having consumed the service of staying at an inn, the third signature is to generate according to the order number and the departure time Signature, the second server are the server of hotel's maintenance service;
Determine that first signature is the signature of first server, wherein the first server is order number mark It stays at an inn and services the server that business-travel management company's T MC in trust is used to maintenance service;
Whether correct verify the object time;
If correct, the 4th signature is generated according to the object time;
The 4th signature is stored onto the second block chain apparatus by the communication interface, to be filled by the second block chain It sets and is persisted on third block chain apparatus, wherein the 4th signature on the third block chain apparatus is for for third Server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
18. a kind of server, which is characterized in that the server be third server, the third server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Clearing notification message is received by the communication interface, wherein the clearing notification message is for reminding to the service of staying at an inn Clearing, the third server be consume described in stay at an inn the server of enterprise's maintenance service belonging to the employee of service;
The third signature for the object time of the service of staying at an inn is read from third block device by the communication interface It signs with the 4th, and verifies the third signature and the 4th signature, the third signature and the 4th signature are by described Other block chain apparatus other than third block chain apparatus are persisted on the third block chain apparatus;
If meeting preset condition, triggering is to the service clearing of staying at an inn, wherein the preset condition includes at least: described the Three signatures service the signature of the first server of business-travel management company's T MC in trust for maintenance service for described stay at an inn, and 4th signature is to provide the signature of the second server of hotel's maintenance service of the service of staying at an inn.
19. a kind of server, which is characterized in that the server be second server, the second server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
The second signature is generated according to order number and departure time, wherein the order number is used to identify employee's consumption of enterprise The service of staying at an inn, the departure time are used to indicate to have consumed the time of the service of staying at an inn;The second server is provides State the server of the hotel's maintenance service for the service of staying at an inn;
The order number, the departure time and the second signature storage are filled to the second block chain by the communication interface It sets, to be persisted on the first block chain apparatus and third block chain apparatus by the second block chain apparatus, wherein described The order number, the departure time on first block chain apparatus and second signature for being read for first server and It verifies, the order number, the departure time and second signature on the third block chain apparatus for third for taking Business device is read and verifying, and the first server is that described stay at an inn services business-travel management company's T MC maintenance service in trust Server, the third server are the server of enterprise's maintenance service.
20. a kind of server, which is characterized in that the server be first server, the first server include processor, Memory and communication interface, wherein the memory is for storing program instruction, and the processor is for calling described program to refer to It enables to perform the following operations:
Block is read from the first block chain apparatus by the communication interface, wherein the block includes departure time, second Signature and order number, the order number are used to identify the service of staying at an inn of employee's consumption of enterprise, and the departure time is for indicating It has consumed the time of the service of staying at an inn, second signature is according to the label of the order number and the departure time generation Name, the first server are that described stay at an inn services the server of TMC maintenance service in trust;
Determine that second signature is the signature of second server, wherein the second server is to provide the service of staying at an inn Hotel be used to maintenance service server;
The departure time and the order number are sent to the employee for service of staying at an inn described in consumption by the communication interface Terminal, so that the employee confirms whether the departure time of the service of staying at an inn of the order number mark is correct;
If the departure time for service of staying at an inn described in employee's confirmation is correct, the terminal is received by the communication interface and is sent The first signature, wherein first signature is the signature that the terminal is generated according to the departure time and the order number;
First signature is stored onto the first block chain apparatus by the communication interface, to be filled by the first block chain It sets and is persisted on third block chain apparatus, wherein first signature on the third block chain apparatus is for for third Server is read and verifying, and the third server is the server of enterprise's maintenance service belonging to the employee.
CN201811212630.XA 2018-10-18 2018-10-18 Method for confirming departure time and related device Active CN109559252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811212630.XA CN109559252B (en) 2018-10-18 2018-10-18 Method for confirming departure time and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811212630.XA CN109559252B (en) 2018-10-18 2018-10-18 Method for confirming departure time and related device

Publications (2)

Publication Number Publication Date
CN109559252A true CN109559252A (en) 2019-04-02
CN109559252B CN109559252B (en) 2020-10-16

Family

ID=65864967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811212630.XA Active CN109559252B (en) 2018-10-18 2018-10-18 Method for confirming departure time and related device

Country Status (1)

Country Link
CN (1) CN109559252B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160292680A1 (en) * 2015-04-05 2016-10-06 Digital Asset Holdings Digital asset intermediary electronic settlement platform
CN107122673A (en) * 2017-03-09 2017-09-01 深圳市金立通信设备有限公司 A kind of information ciphering method and terminal
CN107679794A (en) * 2017-09-19 2018-02-09 前海云链科技(深圳)有限公司 A kind of commodity distribution control method and device based on block chain
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium
CN108229926A (en) * 2018-01-31 2018-06-29 深圳慧通商务有限公司 Business accounting method and relevant apparatus
CN108305058A (en) * 2018-02-11 2018-07-20 深圳市图灵奇点智能科技有限公司 The method, apparatus and terminal node of auxiliary expenses clearing based on Internet of Things
CN108520307A (en) * 2018-03-31 2018-09-11 深圳慧通商务有限公司 Data processing method and relevant apparatus
CN108537686A (en) * 2018-03-30 2018-09-14 深圳春沐源控股有限公司 Hotel's Quick house giving-back method and hotel's Quick house giving-back system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160292680A1 (en) * 2015-04-05 2016-10-06 Digital Asset Holdings Digital asset intermediary electronic settlement platform
CN107122673A (en) * 2017-03-09 2017-09-01 深圳市金立通信设备有限公司 A kind of information ciphering method and terminal
CN107679794A (en) * 2017-09-19 2018-02-09 前海云链科技(深圳)有限公司 A kind of commodity distribution control method and device based on block chain
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium
CN108229926A (en) * 2018-01-31 2018-06-29 深圳慧通商务有限公司 Business accounting method and relevant apparatus
CN108305058A (en) * 2018-02-11 2018-07-20 深圳市图灵奇点智能科技有限公司 The method, apparatus and terminal node of auxiliary expenses clearing based on Internet of Things
CN108537686A (en) * 2018-03-30 2018-09-14 深圳春沐源控股有限公司 Hotel's Quick house giving-back method and hotel's Quick house giving-back system
CN108520307A (en) * 2018-03-31 2018-09-11 深圳慧通商务有限公司 Data processing method and relevant apparatus

Also Published As

Publication number Publication date
CN109559252B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN103226764B (en) A kind of express receiving and dispatching system and method
US20230117564A1 (en) Job verification method and system based on code scanning
US20170337634A1 (en) Location and mileage tracking system and method
CN109754292A (en) Stop self-service billing method, device and electronic equipment
JP2007133742A (en) Loan acceptance device, loan request terminal, loan settlement system, and loan acceptance method
CN110622189A (en) Efficient method and system for providing digital receipts
JP6424720B2 (en) Charge storage system, billing server and charge storage method
JP6976295B2 (en) Information processing equipment and information processing method
JP2016151989A (en) Transport system
KR101984620B1 (en) Electronic Payment System
CN109559252A (en) A kind of departure time confirmation method and relevant apparatus
US20210374752A1 (en) Information processing system, server, and computer readable recording medium
KR20160124469A (en) System and method for paying tuition fees by credit card using online
JP2006209302A (en) Centralized transfer work processing system
JP2010026625A (en) Exclusive money transaction system and management server
CN109447569A (en) Item operation system and method
JP2020095510A (en) Transaction review and seizure assist system
JP2002056152A (en) Device, server, system, and method for, application processing
JP7390764B1 (en) Baggage tag management method, information processing device, information processing program and recording medium
JP2003022352A (en) System for managing business trip
JP6898817B2 (en) Transfer device and transfer management device
KR20100085819A (en) Internet community system based on electronic visitors'note and method thereof
JP6253107B2 (en) Deposit system
JP2021196700A (en) Transportation expense payment system and transportation expense payment method
JP2006209211A (en) Proxy system and method for construction work

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