CN109948813B - Maintenance equipment sharing method and device based on block chain and server - Google Patents

Maintenance equipment sharing method and device based on block chain and server Download PDF

Info

Publication number
CN109948813B
CN109948813B CN201910149793.6A CN201910149793A CN109948813B CN 109948813 B CN109948813 B CN 109948813B CN 201910149793 A CN201910149793 A CN 201910149793A CN 109948813 B CN109948813 B CN 109948813B
Authority
CN
China
Prior art keywords
maintenance equipment
client
information
target
equipment
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.)
Active
Application number
CN201910149793.6A
Other languages
Chinese (zh)
Other versions
CN109948813A (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 Golo Chelian Data Technology Co ltd
Original Assignee
Shenzhen Golo Chelian Data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Golo Chelian Data Technology Co ltd filed Critical Shenzhen Golo Chelian Data Technology Co ltd
Priority to CN201910149793.6A priority Critical patent/CN109948813B/en
Publication of CN109948813A publication Critical patent/CN109948813A/en
Application granted granted Critical
Publication of CN109948813B publication Critical patent/CN109948813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model is suitable for the maintenance technical field provides a maintenance equipment sharing method based on block chain, including receiving the shared information that first customer end sent, shared information includes maintenance equipment's basic information and sharing service conditions, generates sharing service intelligence contract according to sharing service conditions, registers maintenance equipment's basic information with sharing service intelligence contract in the block chain and the broadcast of whole network, receives the user request that second customer end initiated, user request includes maintenance equipment's demand information, matches candidate maintenance equipment according to maintenance equipment's demand information to send candidate maintenance equipment to the second customer end, receive the target maintenance equipment of second customer end selection and corresponding reservation information, will based on reservation information the right of use of target maintenance equipment is released to the second customer end. The method and the device can achieve the purpose of delivery to the home or use by a user, and are favorable for improving the utilization rate of maintenance equipment.

Description

Maintenance equipment sharing method and device based on block chain and server
Technical Field
The present application relates to the field of maintenance technologies, and in particular, to a method and an apparatus for sharing maintenance equipment based on a block chain, a server, and a computer-readable storage medium.
Background
In order to solve the problem of maintenance, a series of shared maintenance stations are gradually appeared on the market.
However, the existing shared maintenance station requires a user to go to a nearby maintenance station by himself to use the shared maintenance equipment, which limits the utilization rate of the maintenance equipment to a certain extent and makes it difficult to achieve the real sharing.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for sharing a maintenance device based on a block chain, and a server, which can improve the utilization rate of the maintenance device.
A first aspect of an embodiment of the present application provides a method for sharing a repair device based on a block chain, including:
receiving shared information sent by a first client, wherein the shared information comprises basic information of maintenance equipment and shared use conditions;
generating a sharing intelligent contract according to the sharing condition;
registering the basic information of the maintenance equipment and the shared use intelligent contract in a blockchain network and broadcasting the blockchain network;
receiving a use request initiated by a second client, wherein the use request comprises requirement information for maintaining equipment;
matching candidate maintenance equipment according to the requirement information of the maintenance equipment, and sending the candidate maintenance equipment to the second client;
receiving target maintenance equipment selected by the second client and corresponding reservation information;
and releasing the use right of the target maintenance equipment to the second client based on the reservation information.
In one embodiment, the basic information of the maintenance device includes usage attribute information of the maintenance device, the usage attribute information includes a mobile usage attribute and a fixed usage attribute, and the reservation information includes a usage time; accordingly, the method can be used for solving the problems that,
the releasing the usage right of the target repair device to the second client based on the reservation information comprises:
and releasing the use right of the target maintenance equipment to the second client according to the use attribute information of the target maintenance equipment and the use time.
In one embodiment, the releasing the use right of the target maintenance device to the second client according to the use attribute information of the target maintenance device includes:
when the use attribute information of the target maintenance equipment is in mobile use, determining the distribution time of the target maintenance equipment according to the use time;
sending the distribution time and the basic information of the target maintenance equipment to a target first client corresponding to the target maintenance equipment;
and when receiving the receiving confirmation information of the target maintenance equipment sent by the second client, releasing the use right of the target maintenance equipment to the second client according to the use time.
In one embodiment, the releasing the use right of the target maintenance device to the second client according to the use attribute information of the target maintenance device further includes:
when the use attribute information of the target maintenance equipment is in fixed use, sending the position information of the target maintenance equipment to the second client, so that a user corresponding to the second client can reach the position of the target maintenance equipment within the use time to use the target maintenance equipment;
and releasing the use right of the target maintenance equipment to the second client according to the use time.
In one embodiment, the method further comprises:
when a use ending request initiated by the second client is received, calculating the total use duration of the target maintenance equipment;
calling the sharing intelligent contract according to the total use duration, and sending a payment request to the second client;
determining a transaction result according to the received payment result information sent by the second client;
the transaction results are registered in the blockchain.
A second aspect of the embodiments of the present application provides an apparatus for sharing a repair facility based on a blockchain, including:
the first receiving module is used for receiving shared information sent by a first client, and the shared information comprises basic information of maintenance equipment and shared use conditions;
the generating module is used for generating a sharing intelligent contract according to the sharing condition;
the registration module is used for registering the basic information of the maintenance equipment and the shared use intelligent contract in a block chain and broadcasting the information in the whole network;
the second receiving module is used for receiving a use request initiated by a second client, and the use request comprises the requirement information of equipment maintenance;
the matching module is used for matching candidate maintenance equipment according to the requirement information of the maintenance equipment and sending the candidate maintenance equipment to the second client;
the third receiving module is used for receiving the target maintenance equipment selected by the second client and the corresponding reservation information;
and the management module is used for releasing the use right of the target maintenance equipment to the second client based on the reservation information.
In one embodiment, the basic information of the maintenance device includes usage attribute information of the maintenance device, the usage attribute information includes a mobile usage attribute and a fixed usage attribute, and the reservation information includes a usage time;
the management module is specifically configured to:
and releasing the use right of the target maintenance equipment to the second client according to the use attribute information of the target maintenance equipment and the use time.
In one embodiment, the management module is specifically configured to:
when the use attribute information of the target maintenance equipment is in mobile use, determining the distribution time of the target maintenance equipment according to the use time;
sending the distribution time and the basic information of the target maintenance equipment to a target first client corresponding to the target maintenance equipment;
and when receiving the receiving confirmation information of the target maintenance equipment sent by the second client, releasing the use right of the target maintenance equipment to the second client.
In one embodiment, the management module is specifically configured to:
when the use attribute information of the target maintenance equipment is in fixed use, sending the position information of the target maintenance equipment to the second client, so that a user corresponding to the second client can reach the position of the target maintenance equipment within the use time to use the target maintenance equipment;
and releasing the use right of the target maintenance equipment to the second client according to the use time.
In one embodiment, the apparatus further comprises:
and the settlement module is used for calculating the total use duration of the target maintenance equipment when receiving a use ending request initiated by the second client, calling the shared use intelligent contract according to the total use duration, initiating a payment request to the second client, determining a transaction result according to the received payment result information sent by the second client, and registering the transaction result in the block chain.
A third aspect of embodiments of the present application provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method mentioned in the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method mentioned in the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: in this embodiment, shared information sent by a first client is received, where the shared information includes basic information of a maintenance device and a shared use condition, a shared use intelligent contract is generated according to the shared use condition, the basic information of the maintenance device and the shared use intelligent contract are registered in a blockchain network and broadcast throughout the network, a use request initiated by a second client is received, where the use request includes demand information of the maintenance device, a candidate maintenance device is matched according to the demand information of the maintenance device, and the candidate maintenance device is sent to the second client, a target maintenance device selected by the second client and corresponding reservation information are received, and a use right of the target maintenance device is released to the second client based on the reservation information. The application embodiment can improve the utilization rate of the maintenance equipment, and has stronger usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below.
Fig. 1 is a schematic structural diagram of a system for sharing service equipment based on a blockchain according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for sharing service equipment based on a blockchain according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of a method for sharing service equipment based on a blockchain according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus for sharing maintenance equipment based on a blockchain according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
It should be noted that, the descriptions of "first" and "second" in this embodiment are used to distinguish different regions, modules, and the like, and do not represent a sequential order, and the descriptions of "first" and "second" are not limited to be of different types.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 1 shows a schematic structural diagram of a system for sharing service equipment based on a blockchain according to an embodiment of the present application, including a first client 11, a second client 12, a server 13, the first client 11 and the second client 12 are respectively connected with the server 13, the first client 11 is used for sending sharing information to the server 13, the second client 12 is used for sending a use request to the server 13, the server 13 is used for receiving the shared information and registering the shared information in a block chain for full-network broadcasting, and matching candidate repair devices according to the use request sent by the second client 12 for the second client 12 to select a target repair device and make a corresponding reservation, the server 13 may be a node device in a blockchain, and if the server is a node device in a blockchain, the server may be in the form of an electronic device having a computing processing function.
Example one
Fig. 2 is a schematic flowchart of a method for sharing service equipment based on a blockchain according to an embodiment of the present disclosure, where the method may include the following steps:
s201: and receiving shared information sent by the first client, wherein the shared information comprises basic information of the maintenance equipment and shared use conditions.
The equipment leasing refers to that a leasing party gives the use right of the equipment to a using party and charges the using party with corresponding use cost; the maintenance equipment comprises large maintenance equipment and small maintenance tools, the basic information of the maintenance equipment comprises use attribute information of the maintenance equipment, the use attribute information comprises a mobile use attribute and a fixed use attribute, and the reservation information comprises use time; the shared use condition comprises information such as a charging rule and a payment mode when the maintenance equipment is used.
In one embodiment, the first client may be a client used by a leasing party.
In one embodiment, if the maintenance device is an automobile maintenance device, the basic information of the maintenance device further includes a model number of the automobile maintenance device, a related fault code, a current inventory number, an applicable vehicle type, a unit price, a used environmental parameter, and the like.
In one embodiment, the unit price may be determined according to the reputation rating of the user, for example, if the reputation rating of the user is higher, the unit price of the vehicle service equipment is displayed to be lower.
In one embodiment, the reputation level of the user may be determined according to the user's reputation information, which includes but is not limited to the user's bank reputation information and the user's non-bank reputation information.
In one embodiment, the environmental parameters of use include, but are not limited to, temperature and humidity of use.
In one embodiment, the shared information further comprises identity information of the leasing party, and the identity information of the leasing party comprises one or more of name, identification number and contact information of the leasing party.
S202: and generating a sharing use intelligent contract according to the sharing use condition.
An intelligent contract is a set of protocols that can automatically perform some manual task, which is equivalent to building a contract in a computer system that is readable by all parties, and will execute immediately whenever an event is triggered, for example, if a pays a x element to B, then B gives a good.
In an embodiment, if an intelligent contract is pre-deployed on the blockchain, the shared information sent by the first client may include basic information of the maintenance device and identification information of the intelligent contract, so that the server directly calls the corresponding intelligent contract to execute the corresponding program after receiving the identification information of the intelligent contract.
S203: and registering the basic information of the maintenance equipment and the shared use intelligent contract in a blockchain and broadcasting the blockchain and the shared use intelligent contract all over the network.
The block chain technology, also called distributed ledger technology, is an emerging technology that several computing devices participate in "accounting" together and maintain a complete distributed database together.
The basic information of the maintenance equipment is stored in a block chain in the form of blocks, wherein each block comprises a block head and a block body, the block head is used for recording the characteristic value of the current block, and the block body is actual data.
S204: receiving a use request initiated by a second client, wherein the use request comprises requirement information for maintaining the equipment.
In one embodiment, the second client may be a client used by a user who rents the service device, corresponding to the first client.
In one embodiment, if the maintenance equipment is car maintenance equipment, the rental request may include a car fault code input by a user, where the car fault code is a fault code reflected by an analysis of an ECU of a car computer after the car has a fault.
In one embodiment, the rental request may also include the name and/or model number of the auto repair device entered by the user.
In one embodiment, the lease request may also include location information, such as latitude and longitude coordinates, where the user is currently located.
In one embodiment, the location information where the user is currently located may be obtained by the second client.
S205: and matching candidate maintenance equipment according to the demand information of the maintenance equipment, and sending the candidate maintenance equipment to the second client.
In an embodiment, if the maintenance device is an automobile maintenance device, the received fault code may be analyzed by a preset algorithm to obtain a location where the automobile has a fault, and then a matching candidate maintenance device is searched for from the automobile maintenance devices prestored in the block chain according to the location where the fault occurs.
In one embodiment, the model number, unit price, and category of the candidate repair device are sent to the second client.
S206: and receiving the target maintenance equipment selected by the second client and the corresponding reservation information.
It is to be understood that the target service device is one or more of the candidate service devices.
In one embodiment, the reservation information includes, but is not limited to, a reserved delivery time and a delivery address.
In one embodiment, the current inventory amount of the target repair device may be updated in time after the reservation of the user is successful.
S207: and releasing the use right of the target maintenance equipment to the second client based on the reservation information.
Therefore, in the embodiment of the application, the right of use of the target maintenance equipment is released to the second client based on the reservation information, so that the purpose of delivery to the home or home use of a user can be achieved, the use efficiency of the maintenance equipment is improved, and the method and the system have high usability and practicability.
Example two
Fig. 3 is a schematic flowchart of a method for sharing service equipment based on a block chain according to an embodiment two of the present application, which is a further refinement and description of step S207 in the embodiment one, and the method may include the following steps:
s301: and receiving shared information sent by the first client, wherein the shared information comprises basic information of the maintenance equipment and shared use conditions.
S302: and generating a sharing use intelligent contract according to the sharing use condition.
S303: and registering the basic information of the maintenance equipment and the shared use intelligent contract in a blockchain and broadcasting the blockchain and the shared use intelligent contract all over the network.
S304: receiving a use request initiated by a second client, wherein the use request comprises requirement information for maintaining the equipment.
S205: and matching candidate maintenance equipment according to the demand information of the maintenance equipment, and sending the candidate maintenance equipment to the second client.
S306: and receiving the target maintenance equipment selected by the second client and the corresponding reservation information.
The above steps S301 to S306 are the same as the steps S201 to S206 in the first embodiment, and the specific implementation process thereof can refer to the description of the steps S201 to S206, which is not repeated herein.
S307: and releasing the use right of the target maintenance equipment to the second client according to the use attribute information of the target maintenance equipment.
In one embodiment, after releasing the right of use of the target repair device to the second client, the method further includes:
recording the start-of-use time of the target service equipment.
It should be noted that, since in practical applications not all the service equipment is distributable, only for transportable small-sized equipment or service tools such as an electric drill, a cutting machine, a bolt changer, etc., the equipment renting party can distribute the equipment to the user according to the reservation information. Therefore, in one embodiment, the releasing the use right of the target maintenance device to the second client according to the use time according to the use attribute information of the target maintenance device may include:
when the use attribute information of the target maintenance equipment is in mobile use, determining the distribution time of the target maintenance equipment according to the use time;
sending the distribution time and the basic information of the target maintenance equipment to a target first client corresponding to the target maintenance equipment;
and when receiving the receiving confirmation information of the target maintenance equipment sent by the second client, releasing the use right of the target maintenance equipment to the second client according to the use time.
For better explanation and explanation, a specific application scenario is as follows, assuming that the target maintenance device selected by the user is a power drill, and the reserved service time is 10:00-12:00 am of 28 days 2 and 2 months 2019, the distance between the target maintenance device and the power drill can be calculated according to the position information of the user and the position information of the power drill, then the time required for the power drill to be driven to the position of the user is determined according to the selected transportation tool during delivery and the reserved service time, then the determined delivery time and the basic information of the power drill are sent to a first client used by a leasing party providing the power drill in a short message mode to prompt that the leasing party has the user to use the power drill, finally the power drill is driven to the position of the user according to the determined delivery time, and the verification before use is carried out by the user, if the verification is qualified, the user sends a message for confirming receipt to the server through the second client to instruct the server to send the control command of the electric drill to the second client in the morning of 10:00 of 28 days 2 month in 2019, and the user starts the electric drill according to the control command to further obtain the use right of the electric drill.
It should be understood that the target first client is a client of a target corresponding to the target maintenance device in the first clients.
It should be noted that, in practical applications, the service equipment reserved by the user may also be large-scale non-transportable service equipment such as a lifting machine, a tire dismounting machine, a balancing machine, and the like, and at this time, the user needs to go to the location of the service equipment by himself and use the service equipment according to the reserved time. Therefore, in an embodiment, releasing the use right of the target maintenance device to the second client according to the use time according to the use attribute information of the target maintenance device may further include:
when the use attribute information of the target maintenance equipment is in fixed use, sending the position information of the target maintenance equipment to the second client, so that a user corresponding to the second client can reach the position of the target maintenance equipment within the use time to use the target maintenance equipment;
and releasing the use right of the target maintenance equipment to the second client according to the use time.
For better explanation and explanation, a specific application scenario is taken as an example below, assuming that the target maintenance device selected by the user is a lifter, and the reserved use time is 2:00-4:00 in 28 pm of 2 month in 2019, the position information of the lifter can be obtained firstly and then sent to the second client in a short message way, prompting the user to go to the position for use in the reserved time, acquiring the position information of the user in real time, if the position information of the user is detected to be basically the same as the position information of the lifter before the reserved time of use arrives, the control password of the lifting machine can be sent to the second client at 2:00 pm on 28 d 2/2019, and the user starts the lifting machine according to the control password so as to obtain the use right of the lifting machine.
S308: when receiving a use ending request initiated by the second client, calculating the total lease duration of the target maintenance equipment, calling the shared use intelligent contract, initiating a payment request to the second client, determining a transaction result according to the received payment result information sent by the second client, and registering the transaction result in a block chain.
In one embodiment, the payment result message includes:
payment success and payment failure.
In one embodiment, said registering the transaction results in a blockchain comprises:
if the payment is successful, registering the paid order and the total cost in the blockchain; if the payment fails, the order to be paid is registered in the blockchain along with a total fee, which may include a usage fee, a delivery fee, and a prepaid deposit.
In one embodiment, the method further comprises:
and determining a return scheme of the prepaid security deposit according to the service condition of the target maintenance equipment.
In one embodiment, the service conditions of the target maintenance equipment include, but are not limited to, the degree of wear, the operation conditions, and the overall cleanliness of the target maintenance equipment after the current service.
In an embodiment, the return scheme for determining the prepaid security deposit according to the usage of the target maintenance device may specifically be:
and if the abrasion degree, the operation condition and the cleanliness of the target maintenance equipment after the target maintenance equipment is used at this time are all within the normal range, determining to return all the prepaid security funds.
In an embodiment, the determining the return scheme of the prepaid security deposit according to the usage of the target maintenance device may specifically be:
and if the abrasion degree of the target maintenance equipment after the target maintenance equipment is used at this time exceeds a normal range, determining to return part of the prepaid security deposit or not returning the prepaid security deposit.
In one embodiment, the credit rating of the party may also be updated while or after confirming the return scheme for the prepaid deposit.
As can be seen from the above, in the second embodiment of the present application, compared with the first embodiment, a specific implementation manner is provided for releasing the right of use of the target maintenance device to the second client according to the use attribute information of the target maintenance device; in addition, a specific implementation mode of expense settlement is also provided, the total expense required to be paid can be timely settled when a user initiates a use ending request, and the method has strong usability and practicability.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a device shared by block chain-based maintenance equipment provided in the third embodiment, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown.
The device for sharing the maintenance equipment based on the block chain comprises:
a first receiving module 41, configured to receive shared information sent by a first client, where the shared information includes basic information of a maintenance device and shared usage conditions;
a generating module 42, configured to generate a shared usage intelligent contract according to the shared usage condition;
a registration module 43, configured to register the basic information of the maintenance device and the shared use intelligent contract in a blockchain and broadcast over the network;
a second receiving module 44, configured to receive a use request initiated by a second client, where the use request includes information about a need to repair the device;
the matching module 45 is used for matching candidate maintenance equipment according to the requirement information of the maintenance equipment and sending the candidate maintenance equipment to the second client;
a third receiving module 46, configured to receive the target maintenance device selected by the second client and the corresponding reservation information;
and the management module 47 is configured to release the right of use of the target repair device to the second client based on the reservation information.
In one embodiment, the basic information of the maintenance device includes usage attribute information of the maintenance device, the usage attribute information includes a mobile usage attribute and a fixed usage attribute, and the reservation information includes a usage time;
the management module 47 is specifically configured to:
and releasing the use right of the target maintenance equipment to the second client according to the use attribute information of the target maintenance equipment and the use time.
In an embodiment, the management module 47 is specifically configured to:
when the use attribute information of the target maintenance equipment is in mobile use, determining the distribution time of the target maintenance equipment according to the use time;
sending the distribution time and the basic information of the target maintenance equipment to a target first client corresponding to the target maintenance equipment;
and when receiving the receiving confirmation information of the target maintenance equipment sent by the second client, releasing the use right of the target maintenance equipment to the second client according to the use time.
In an embodiment, the management module 47 is specifically configured to:
when the use attribute information of the target maintenance equipment is in fixed use, sending the position information of the target maintenance equipment to the second client, so that a user corresponding to the second client can reach the position of the target maintenance equipment within the use time to use the target maintenance equipment;
and releasing the use right of the target maintenance equipment to the second client according to the use time.
In one embodiment, the apparatus further comprises:
and the settlement module is used for calculating the total use duration of the target maintenance equipment when receiving a use ending request initiated by the second client, calling the shared use intelligent contract according to the total use duration, initiating a payment request to the second client, determining a transaction result according to the received payment result information sent by the second client, and registering the transaction result in the block chain.
Example four
Fig. 5 is a schematic structural diagram of a server according to a fourth embodiment of the present application. As shown in fig. 5, the server 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps of the first embodiment of the method, such as the steps S101 to S107 shown in fig. 2. Alternatively, the steps in the second embodiment of the method described above, for example, steps S201 to S208 shown in fig. 3, are implemented. The processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the modules 41 to 47 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the server device 5. For example, the computer program 52 may be divided into a first receiving module, a generating module, a registering module, a second receiving module, a matching module, a third receiving module and a managing module, and the specific functions of the modules are as follows:
the first receiving module is used for receiving shared information sent by a first client, and the shared information comprises basic information of maintenance equipment and shared use conditions;
the generating module is used for generating a sharing intelligent contract according to the sharing condition;
the registration module is used for registering the basic information of the maintenance equipment and the shared use intelligent contract in a block chain and broadcasting the information in the whole network;
the second receiving module is used for receiving a use request initiated by a second client, and the use request comprises the requirement information of equipment maintenance;
the matching module is used for matching candidate maintenance equipment according to the requirement information of the maintenance equipment and sending the candidate maintenance equipment to the second client;
the third receiving module is used for receiving the target maintenance equipment selected by the second client and the corresponding reservation information;
and the management module is used for releasing the use right of the target maintenance equipment to the second client based on the reservation information.
The server may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a server 5 and does not constitute a limitation of server 5 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 51 may be an internal storage unit of the server 5, such as a hard disk or a memory of the server 5. The memory 51 may also be an external storage device of the server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the server. Further, the memory 51 may also include both an internal storage unit and an external storage device of the server 5. The memory 51 is used for storing the computer program and other programs and data required by the server. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art would appreciate that the modules, elements, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium includes content that can be appropriately increased or decreased according to the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunication signals according to legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for sharing maintenance equipment based on a block chain is characterized by comprising the following steps:
receiving shared information sent by a first client, wherein the shared information comprises basic information of maintenance equipment and shared use conditions; the service equipment comprises automotive service equipment;
generating a sharing intelligent contract according to the sharing condition;
registering basic information of the maintenance equipment and the shared use intelligent contract in a blockchain and broadcasting the blockchain and the shared use intelligent contract all over the network;
receiving a use request initiated by a second client, wherein the use request comprises requirement information of the automobile maintenance equipment; the requirement information comprises an automobile fault code input by a user; the automobile fault code is used for indicating a fault code of the automobile maintenance equipment; the automobile fault code is a fault code reflected after the automobile is analyzed by an automobile computer ECU after the automobile breaks down;
processing the automobile fault code through a preset algorithm to obtain matched candidate maintenance equipment, and sending the candidate maintenance equipment to the second client;
receiving target maintenance equipment selected by the second client and corresponding reservation information;
and releasing the use right of the target maintenance equipment to the second client based on the reservation information.
2. The method of claim 1, wherein the basic information of the service device includes usage attribute information of the service device, the usage attribute information includes a mobile usage attribute and a fixed usage attribute, and the reservation information includes a usage time; accordingly, the method can be used for solving the problems that,
the releasing the usage right of the target repair device to the second client based on the reservation information comprises:
and releasing the use right of the target maintenance equipment to the second client according to the use attribute information of the target maintenance equipment and the use time.
3. The method of claim 2, wherein the releasing the use right of the target maintenance device to the second client according to the use time according to the use attribute information of the target maintenance device comprises:
when the use attribute information of the target maintenance equipment is in mobile use, determining the distribution time of the target maintenance equipment according to the use time;
sending the distribution time and the basic information of the target maintenance equipment to a target first client corresponding to the target maintenance equipment;
and when receiving the receiving confirmation information of the target maintenance equipment sent by the second client, releasing the use right of the target maintenance equipment to the second client according to the use time.
4. The method of claim 2, wherein the releasing the usage right of the target maintenance device to the second client according to the usage time according to the usage attribute information of the target maintenance device further comprises:
when the use attribute information of the target maintenance equipment is in fixed use, sending the position information of the target maintenance equipment to the second client, so that a user corresponding to the second client can reach the position of the target maintenance equipment within the use time to use the target maintenance equipment;
and releasing the use right of the target maintenance equipment to the second client according to the use time.
5. The method according to any one of claims 1 to 4, further comprising:
when a use ending request initiated by the second client is received, calculating the total use duration of the target maintenance equipment;
calling the sharing intelligent contract according to the total use duration, and initiating a payment request to the second client;
determining a transaction result according to the received payment result information sent by the second client;
the transaction results are registered in the blockchain.
6. An apparatus for block chain based service equipment sharing, comprising:
the first receiving module is used for receiving shared information sent by a first client, and the shared information comprises basic information of maintenance equipment and shared use conditions; the service equipment comprises automotive service equipment;
the generating module is used for generating a sharing intelligent contract according to the sharing condition;
the registration module is used for registering the basic information of the maintenance equipment and the shared use intelligent contract in a block chain and broadcasting the information in the whole network;
the second receiving module is used for receiving a use request initiated by a second client, and the use request comprises the requirement information of the automobile maintenance equipment; the requirement information comprises an automobile fault code input by a user; the automobile fault code is used for indicating a fault code of the automobile maintenance equipment; the automobile fault code is a fault code reflected after the automobile is analyzed by an automobile computer ECU after the automobile breaks down;
the matching module is used for processing the automobile fault code through a preset algorithm to obtain matched candidate maintenance equipment and sending the candidate maintenance equipment to the second client;
the third receiving module is used for receiving the target maintenance equipment selected by the second client and the corresponding reservation information;
and the management module is used for releasing the use right of the target maintenance equipment to the second client based on the reservation information.
7. The apparatus according to claim 6, wherein the basic information of the maintenance device includes use attribute information of the maintenance device, the use attribute information includes a mobile use attribute and a fixed use attribute, and the reservation information includes a use time;
the management module is specifically configured to:
and releasing the use right of the target maintenance equipment to the second client according to the use attribute information of the target maintenance equipment and the use time.
8. The apparatus of claim 6 or 7, further comprising:
and the settlement module is used for calculating the total use duration of the target maintenance equipment when receiving a use ending request initiated by the second client, calling the shared use intelligent contract according to the total use duration, initiating a payment request to the second client, determining a transaction result according to the received payment result information sent by the second client, and registering the transaction result in the block chain.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 5 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910149793.6A 2019-02-28 2019-02-28 Maintenance equipment sharing method and device based on block chain and server Active CN109948813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910149793.6A CN109948813B (en) 2019-02-28 2019-02-28 Maintenance equipment sharing method and device based on block chain and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910149793.6A CN109948813B (en) 2019-02-28 2019-02-28 Maintenance equipment sharing method and device based on block chain and server

Publications (2)

Publication Number Publication Date
CN109948813A CN109948813A (en) 2019-06-28
CN109948813B true CN109948813B (en) 2021-06-11

Family

ID=67007111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910149793.6A Active CN109948813B (en) 2019-02-28 2019-02-28 Maintenance equipment sharing method and device based on block chain and server

Country Status (1)

Country Link
CN (1) CN109948813B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597883A (en) * 2019-09-19 2019-12-20 腾讯科技(深圳)有限公司 Vehicle rental data processing method and device based on block chain and storage medium
CN112491988B (en) * 2021-01-08 2023-11-03 深圳市恒天吉科技技术发展有限公司 Searching, managing and controlling method based on sharing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108701270A (en) * 2018-05-30 2018-10-23 深圳市元征科技股份有限公司 Management method, system and the data management server of maintenance factory
CN108701271A (en) * 2018-05-30 2018-10-23 深圳市元征科技股份有限公司 A kind of management method of maintenance of equipment, system and data management server
CN108701324A (en) * 2018-05-31 2018-10-23 深圳市元征科技股份有限公司 A kind of management method and server of shared vehicle
CN108713209A (en) * 2018-05-30 2018-10-26 深圳市元征科技股份有限公司 Repair management method, system and the data management server of station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108701270A (en) * 2018-05-30 2018-10-23 深圳市元征科技股份有限公司 Management method, system and the data management server of maintenance factory
CN108701271A (en) * 2018-05-30 2018-10-23 深圳市元征科技股份有限公司 A kind of management method of maintenance of equipment, system and data management server
CN108713209A (en) * 2018-05-30 2018-10-26 深圳市元征科技股份有限公司 Repair management method, system and the data management server of station
CN108701324A (en) * 2018-05-31 2018-10-23 深圳市元征科技股份有限公司 A kind of management method and server of shared vehicle

Also Published As

Publication number Publication date
CN109948813A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
US11362814B1 (en) Autonomous devices
US6554183B1 (en) Automated systems and methods for authorization and settlement of fleet maintenance and repair transactions
US20200286132A1 (en) Second-hand vehicle transaction method and server
CN103413389B (en) Based on bank account to non-banking account management and method of payment
CN103035081B (en) A kind of trading privilege verification method of wireless POS machine, Apparatus and system
JP7162587B2 (en) Order information processing method, apparatus and system
KR20180107339A (en) Car information management method using block chain and system performing the same
US20200286044A1 (en) Maintenance station management method, system and data management serve
CN109685483B (en) Key management system and key management method
CN108701271A (en) A kind of management method of maintenance of equipment, system and data management server
CN103975352A (en) Securely reloadable electronic wallet
CN108074288B (en) Vehicle exit management method and device and storage medium
CN103942844A (en) Ticketing system based on biological feature identification
CN108701270A (en) Management method, system and the data management server of maintenance factory
CN1443344A (en) Utility metering system incorporating transaction authorisation system
CN104933568A (en) Payment authentication method and device
CN108805650A (en) A kind of order matching process and server
CN109948813B (en) Maintenance equipment sharing method and device based on block chain and server
CN109508797A (en) Vehicle insurance Claims Resolution method and relevant device based on block chain
TW201907345A (en) Data processing method, device and device
CN112132984A (en) Method for charging in and out of parking lot by unlicensed vehicle and related device
CN102819798A (en) Method and system for preventing POS (point of sale) machine from being moved to other places to carry out transactions
US20200134742A1 (en) System for authorizing electric vehicle charging and payment through vehicle infotainment device
CN108540335B (en) Management method and management device for equipment analysis report
CN103177513A (en) Electronic ticket business system of near field communication (NFC) terminal

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
CB02 Change of applicant information

Address after: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor

Applicant after: SHENZHEN GOLO CHELIAN DATA TECHNOLOGY Co.,Ltd.

Address before: Bantian street, Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign technology plant No. 1 building 4 floor

Applicant before: GOLO IOV DATA TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant