Invention content
An embodiment of the present invention provides a kind of vehicle sharing method, server and readable storage medium storing program for executing, for reducing user
Request response time meets the multi-level use vehicle demand of user.
First aspect of the embodiment of the present invention provides a kind of vehicle sharing method, it may include:
It receives by the vehicle that the mobile unit of target vehicle is submitted using request, the vehicle includes target carriage using request
Vehicle identification mark, user be committed to the vehicle sharing request of the mobile unit by user terminal, it is described it is shared please
Seek carrying User Identity;
The vehicle class for obtaining target vehicle is identified according to the vehicle identification;
The credit grade of user is obtained according to the User Identity of the sharing request;
Judge whether the credit grade matches with the vehicle class, if matching, the mobile unit is controlled to open
The access right of the target vehicle is to the user, so that the user uses the target vehicle.
With reference to first aspect, in the first possible embodiment of first aspect, in the reception by target vehicle
Mobile unit submit vehicle using request before, the method further includes:
Receive the registration request that the target vehicle is submitted by mobile unit;
According to the registration request vehicle identification mark is distributed for the target vehicle;
Obtain the vehicle condition data of the target vehicle;
The vehicle class of the target vehicle is determined according to the vehicle condition data;
It will be registered in block chain after vehicle identification mark and the vehicle class associated storage.
With reference to first aspect, it in second of possible embodiment of first aspect, is received described by target carriage
Mobile unit submit vehicle using request before, the method further includes:
The registration request that user is submitted by user terminal is received, the registration request carries user identifier;
It is user's distributing user identity according to the registration request;
The credit record of user is obtained according to user identifier;
The credit grade of user is determined according to the credit record;
By the User Identity and credit grade associated storage.
With reference to first aspect, it is described to judge the credit grade in the third possible embodiment of first aspect
Whether match, specifically include with the vehicle class:
Using the mapping relations of preset credit grade and vehicle class, corresponding vehicle is searched according to the credit grade
Grade;
When the corresponding vehicle class of the credit grade is consistent with the vehicle class of the target vehicle, the letter is judged
It is matched with grade with the vehicle class;
When the vehicle class of the corresponding vehicle class of the credit grade and the target vehicle is inconsistent, described in judgement
Credit grade is mismatched with the vehicle class.
With reference to first aspect, the first of first aspect is to the third possible embodiment, the 4th of first aspect the
In the possible embodiment of kind, user is acquired by the mobile unit of the target vehicle and uses the driving behavior in vehicle processes
Data;
The driving behavior data, which are analyzed, according to preset rules obtains credit value;
The credit grade of user is updated according to the credit value;
It will be registered in block chain after updated user credit grade and User Identity associated storage.
Second aspect of the embodiment of the present invention provides a kind of server, which is characterized in that including:
First receiving module, the vehicle that the mobile unit for receiving by target vehicle is submitted use request, the vehicle
Include the vehicle identification mark of target vehicle using request, user is committed to by user terminal the vehicle of the mobile unit and is total to
Request is enjoyed, the sharing request carries User Identity;
First acquisition module, for identifying the vehicle class for obtaining target vehicle according to the vehicle identification;
Second acquisition module, for obtaining the credit grade of user according to the User Identity of the sharing request;
Judgment module, for judging whether the credit grade matches with the vehicle class, if matching, described in control
Mobile unit opens the access right of the target vehicle to the user, so that the user uses the target vehicle.
With reference to second aspect, in the first possible embodiment of second aspect, the server further includes:
Second receiving module, for receiving the registration request that the target vehicle is submitted by mobile unit;
First distribution module, for distributing vehicle identification mark for the target vehicle according to the registration request;
First acquisition module, for obtaining the vehicle condition data of the target vehicle;
First determining module, for determining the vehicle class of the target vehicle according to the vehicle condition data;
First memory module, for block will to be registered in after vehicle identification mark and the vehicle class associated storage
In chain.
With reference to second aspect, in second of possible embodiment of second aspect, the server further includes:
Third receiving module, for receiving the registration request that user is submitted by user terminal, the registration request carries
User identifier;
Second distribution module, for being user's distributing user identity according to the registration request;
Second acquisition module, for obtaining the credit record of user according to user identifier;
Second determining module, for determining the credit grade of user according to the credit record;
Second memory module, for by the User Identity and credit grade associated storage.
With reference to second aspect, in the third possible embodiment of second aspect, the judgment module includes:
Query unit, for utilizing the mapping relations of preset credit grade and vehicle class, according to the credit grade
Search corresponding vehicle class;
Judging unit, when the corresponding vehicle class of the credit grade is consistent with the vehicle class of the target vehicle,
Judge that the credit grade is matched with the vehicle class;When the corresponding vehicle class of the credit grade and the target vehicle
Vehicle class it is inconsistent when, judge that the credit grade and the vehicle class mismatch.
With reference to second aspect, the first of second aspect is to the third possible embodiment, the 4th of second aspect the
In the possible embodiment of kind, the server further includes:
Acquisition module uses the driving row in vehicle processes for acquiring user by the mobile unit of the target vehicle
For data;
Computing module obtains credit value for analyzing the driving behavior data according to preset rules;
Update module, for updating the credit grade of user according to the credit value, and by updated user credit etc.
It is registered in block chain after grade and User Identity associated storage.
The third aspect of the embodiment of the present invention provides a kind of computer installation, it is characterised in that:The server includes place
Manage device and memory, realize when the processor is for performing the computer program stored in memory such as above-mentioned first aspect and
Step in the first of first aspect to the 4th kind of possible embodiment in vehicle sharing method described in any one.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence, it is characterised in that:First such as above-mentioned first aspect and first aspect is realized when the computer program is executed by processor
It plants to the step in vehicle sharing method described in any one in the 4th kind of possible embodiment.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, different grades of shared vehicle can be provided and share one area of vehicle configuration for each
Block chain node device so that each shared vehicle becomes a node in block chain, preserves complete block chain data,
It, can be according to the area being locally stored after the block chain node device in target vehicle receives corresponding vehicle using request
The vehicle class of block chain query target vehicle and the credit grade of user, without to central server queries data, reducing use
The response time of family request, secondly, in the embodiment of the present invention can according to the credit grade of user whether with vehicle class phase
Match to determine whether the user can use target vehicle, realize the management of the different levels vehicle right to use, use can be met
The multi-level use vehicle demand in family.
Term " first ", " second ", " third " in description and claims of this specification and above-mentioned attached drawing, "
Four " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way
Data can be interchanged in the appropriate case, so that the embodiments described herein can be in addition to illustrating or describing herein
Sequence other than appearance is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive
Include, be not necessarily limited to clearly arrange for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit gone out, but may include not listing clearly or these processes, method, product or equipment are consolidated
The other steps or unit having.
In the embodiment of the present invention refuel refer to vehicle addition fuel operation, specific fuel can be petroleum product or
Natural gas etc. can be as the substance of motor vehicle fuel, only with referring to addition fuel of refueling in the embodiment of the present invention, this
It is repeated no more in embodiment afterwards.
Charging is carried out according to driver's fuel consumption amount in the embodiment of the present invention, user needs to refuel using shared vehicle
When, oil is directly paid by user and is taken, the oil expense of user's payment can be included in the account balance of user, and account balance can be with standdle carrier
Clearing, in order to realize the function of block chain node, the vehicle end for possessing storage and operational capability is configured in each shared vehicle
End.
The present invention relates to block chain technology, in order to make it easy to understand, below will be to block chain in embodiments of the present invention
(Block Chain) is simply introduced, and block chain is to distributed disclosed in all block chain nodes of access server
The data structure of storage includes several blocks (Block).Shared vehicle comprising vehicle termination becomes a block chain link
Point, other block chain nodes with accessing block chain server form P2P networks, and block chain data can be stored in P2P networks,
Any one or more the block chain nodes paralysis of P2P networks, will not result in the loss of block chain data, such block chain data
Just there is very strong safety, it is ensured that the persistence of data and can not distort.When a block is persisted to block chain data
When middle, the block chain data of the block chain node storage of access server can add the block;Block is according to persistence
Time sequencing is singly added in block chain data, each area other than first block in block chain data
Block will be linked to its previous block, and such block chain data just form a block and link this block, just as one
A chain is the same, as soon as after a block is persisted to block chain data, which can not be modified.
In order to make it easy to understand, the idiographic flow in the embodiment of the present invention is described below, referring to Fig. 1, of the invention
A kind of one embodiment of the vehicle sharing method based on block chain may include in embodiment:
101st, it receives the vehicle submitted by the mobile unit of target vehicle and uses request.
Can be each one block chain node device of shared vehicle configuration in the embodiment of the present invention, which, which possesses, deposits
Storage and operational capability can realize the function of block chain node in the prior art.The node device can integrate in the car originally
It in the equipment that body is deposited, such as the equipment such as T-Box or is separately configured, does not limit herein specifically, when user needs to make
It, can be by user terminal using the mobile unit for being wirelessly connected to target vehicle, specific nothing during with target vehicle
Line connection mode can not limited herein specifically based on bluetooth connection, 3G network, 4G networks, 5G networks, WLAN etc.
It is fixed.
User terminal can send vehicle sharing request after being connected to mobile unit, and mobile unit can be according to the vehicle
Sharing request generation vehicle is sent to corresponding block chain node device using request, which can wrap using in request
Include the vehicle identification mark of target vehicle, user is committed to the vehicle sharing request of the mobile unit, institute by user terminal
It states sharing request and carries User Identity.
102nd, the vehicle class for obtaining target vehicle is identified according to vehicle identification, according to the User Identity of sharing request
Obtain the credit grade of user.
Block chain node device, can be in the block chain being locally stored according to vehicle after vehicle is received using request
The vehicle class of identity inquiry target vehicle, credit of user etc. is inquired according to the User Identity of sharing request
Grade.
103rd, judge whether credit grade matches with vehicle class, if matching, controls mobile unit open object vehicle
Access right to user, with target vehicle for users to use.
In the embodiment of the present invention, the shared vehicle in access block chain can be divided into many levels and correspond to different vehicles
Grade, block chain node device in target vehicle the vehicle class and the credit grade of user for inquiring target vehicle it
Afterwards, it is possible to judge whether credit grade matches with vehicle class, if matching, controls making for mobile unit open object vehicle
With permission to user, with target vehicle for users to use, if credit grade is mismatched with vehicle class, it can refuse user's
Sharing request so that user can not use target vehicle.
Optionally, as a kind of possible embodiment, judge whether credit grade matches with vehicle class, can wrap
It includes:
Using the mapping relations of preset credit grade and vehicle class, corresponding vehicle etc. is searched according to credit grade
Grade;
When the corresponding vehicle class of credit grade is consistent with the vehicle class of target vehicle, credit grade and vehicle are judged
Ratings match;
When the vehicle class of the corresponding vehicle class of credit grade and target vehicle is inconsistent, credit grade and vehicle are judged
Grade mismatches.
In the embodiment of the present invention, different grades of shared vehicle can be provided and share one area of vehicle configuration for each
Block chain node device so that each shared vehicle becomes a node in block chain, preserves complete block chain data,
It, can be according to the area being locally stored after the block chain node device in target vehicle receives corresponding vehicle using request
The vehicle class of block chain query target vehicle and the credit grade of user, without to central server queries data, reducing use
The response time of family request, secondly, in the embodiment of the present invention can according to the credit grade of user whether with vehicle class phase
Match to determine whether the user can use target vehicle, realize the management of the different levels vehicle right to use, use can be met
The multi-level use vehicle demand in family.
It can realize that the vehicle of personal car owner is total on the basis of above-mentioned embodiment shown in FIG. 1, in the embodiment of the present invention
It enjoys, to improve the vehicle service efficiency of personal car owner, please refers to him 2, a kind of vehicle sharing method is another in the embodiment of the present invention
One embodiment may include:
201st, the registration request that target vehicle is submitted by mobile unit is received, and is target vehicle point according to registration request
It is identified with vehicle identification.
In order to improve the vehicle service efficiency of personal car owner, the vehicle shared system in the embodiment of the present invention allows personal vehicle
It is main that owned target vehicle is added in into shared vehicle by way of to block chain server registration, what personal car owner provided
Car plate, the identity information of car owner and the attribute information of target vehicle of target vehicle are included at least in registration request, works as target
Vehicle meets the entry criteria of block chain, and after can realizing block chain nodal function, block chain server is according to registration request
Vehicle identification mark is distributed for target vehicle, target vehicle is allowed to become a node of block chain, hereafter other users
To rent target vehicle.
202nd, the vehicle condition data of target vehicle are obtained, the vehicle class of target vehicle is determined according to vehicle condition data.
The vehicle of different levels needs to be divided into different brackets, and block chain server can be according in vehicle attribute information
Vehicle registration card, vehicle driving license inquiry target vehicle vehicle condition data, for example, the service life of target vehicle can be inquired, moved
Power performance, fuel-economy performance, noiseproof feature, price etc., specific vehicle condition data can carry out rationally according to the demand of user
Setting, do not limit herein specifically.
After the vehicle condition data of target vehicle are got, block chain server can be target carriage according to preset rule
The corresponding vehicle class of distribution, for example, target vehicle can be divided into different brackets according to the different prices of target vehicle,
Can also be target vehicle divided rank according to the power performance of target vehicle, it can also be according to each type of target vehicle
Vehicle condition aggregation of data divides corresponding vehicle class after calculating, for example, the shared vehicle that can be worth less than 100,000 is divided into the
One grade, 100,000 to 200,000 be the second grade, and more than 200,000 be the tertiary gradient, and specific hierarchical approaches do not limit herein.Tool
The vehicle class dividing mode of body does not limit herein.
203rd, it will be registered in block chain after vehicle identification mark and vehicle class associated storage.
It, can be by vehicle identification mark and vehicle etc. in block chain server after the vehicle class of target vehicle is determined
It is registered in block chain, can be broadcasted after grade associated storage, so that other block chain nodes preserve complete block chain,
To ensure the open and clear of data.
In the present embodiment, personal car owner can realize the shared of personal vehicles by way of registration, improve personal vehicle
Utilization rate.
On the basis of above-mentioned Fig. 1 and embodiment shown in Fig. 2, the user using shared vehicle is needed to be needed before hiring a car
It is registered, specifically referring to Fig. 3, on the basis of above-mentioned Fig. 1 and embodiment shown in Fig. 2, in the embodiment of the present invention
A kind of another embodiment of vehicle sharing method may include:
301st, the registration request that user is submitted by user terminal is received, and is user's distributing user body according to registration request
Part mark.
User can send registration request to block chain server by user terminal before shared vehicle is used and carry out
It registers, the user identifier of the user is included at least in the registration request, for example, name and personalized identity documents number etc., block
Chain server can distribute a unique User Identity according to the user information that target user submits for user, with unique
The identification user.The user terminal that uses of the user becomes a light node in service chaining simultaneously, the node in service chaining
Light node and full node can be divided into, so-called light node refers to not have to not memory block chain data, is not involved in the whole network of block chain
The incoming end of operation can be used for authenticating identity information, the relevant information of block chain query is connected by accessing other full nodes.
So-called full node is to need to store complete block chain data, participates in the incoming end of the whole network operation of block chain.Target user can
With with after the user terminal of binding verification identity, it is possible to connect shared vehicle by user terminal and be used.
302nd, the credit record of user is obtained according to user identifier, and the credit grade of user is determined according to credit record.
After the user identifier of user is got, block chain server can inquire user's in Deng Gongxin mechanisms of government
Reference records, and can record the reference of the user in write-in block chain, and specific reference record can break rules and regulations including driver's license
Information, driving behavior information etc., does not limit specifically herein, and block chain server can also be according to these reference information according to pre-
The algorithm put calculates the user credit grade of corresponding user, for example, user credit grade and driver's license can be set nearest 1 year
The record inversely proportional relationship of number violating the regulations, can set whether user credit grade has with the fixation section in driving behavior information
Exceed the speed limit, bring to a halt, the behaviors number such as dangerous driving is inversely proportional, specific algorithm is not limited herein.
303rd, by User Identity and credit grade associated storage.
Block chain server in block chain and can broadcast User Identity and credit grade associated storage,
So that all block chain nodes can store complete block chain, convenient for block chain node to the credit grade and vehicle of user
Grade carries out matching verification.
It is understood that block chain server in the embodiment of the present invention and block chain node device for possess storage and
Operational capability can realize the device of block chain nodal function in the prior art, under certain condition, block chain node device with
Block chain server can be interchanged.
304th, user is acquired using the driving behavior data in vehicle processes by the mobile unit of target vehicle, and according to
The credit grade of driving behavior data update user.
It optionally, can also be further according to the letter of the driving behavior data update user of user in the embodiment of the present invention
Use grade.
Specifically, acquiring user by the mobile unit of target vehicle uses the driving behavior data in vehicle processes;It presses
Credit value is obtained according to preset rules analysis driving behavior data;The credit grade of user is updated according to credit value, it will be updated
It is registered in block chain after user credit grade and User Identity associated storage, for example, fixed section can be counted whether
There is hypervelocity, bring to a halt, the number of the behaviors such as dangerous driving, after number is more than preset threshold range, user can be reduced
Credit grade.
It is understood that in various embodiments of the present invention, the size of the serial number of above steps is not meant to
The priority of execution sequence, the execution sequence of each step should be determined with its function and internal logic, without coping with the embodiment of the present invention
Implementation process form any restriction.
The vehicle sharing method in the embodiment of the present invention is described in above-described embodiment, and the present invention will be implemented below
Server in example is described, referring to Fig. 4, a kind of one embodiment of server in the embodiment of the present invention may include:
First receiving module 401, using request, vehicle makes the vehicle that the mobile unit for receiving by target vehicle is submitted
With request include target vehicle vehicle identification identify, user by user terminal be committed to mobile unit vehicle share ask
It asks, sharing request carries User Identity;
First acquisition module 402, for identifying the vehicle class for obtaining target vehicle according to vehicle identification;
Second acquisition module 403, for obtaining the credit grade of user according to the User Identity of sharing request;
Judgment module 404, for judging whether credit grade matches with vehicle class, if matching, controls mobile unit
The access right of open object vehicle is to user, with target vehicle for users to use.
Optionally, as a kind of possible embodiment, referring to Fig. 5, the server in the embodiment of the present invention, is also wrapped
It includes:
Second receiving module 405, for receiving the registration request that target vehicle is submitted by mobile unit;
First distribution module 406, for distributing vehicle identification mark for target vehicle according to registration request;
First acquisition module 407, for obtaining the vehicle condition data of target vehicle;
First determining module 408, for determining the vehicle class of target vehicle according to vehicle condition data;
First memory module 409, for will be registered in block chain after vehicle identification mark and vehicle class associated storage.
Optionally, as a kind of possible embodiment, referring to Fig. 6, the server in the embodiment of the present invention, is also wrapped
It includes:
Third receiving module 410, for receiving the registration request that user is submitted by user terminal, registration request, which carries, to be used
Family identifies;
Second distribution module 411, for being user's distributing user identity according to registration request;
Second acquisition module 412, for obtaining the credit record of user according to user identifier;
Second determining module 413, for determining the credit grade of user according to credit record;
Second memory module 414, for by User Identity and credit grade associated storage.
Optionally, as a kind of possible embodiment, judgment module 404 includes in the embodiment of the present invention:
Query unit 4041, for utilizing the mapping relations of preset credit grade and vehicle class, according to credit grade
Search corresponding vehicle class;
Judging unit 4042 when the corresponding vehicle class of credit grade is consistent with the vehicle class of target vehicle, judges
Credit grade is matched with vehicle class;When the vehicle class of the corresponding vehicle class of credit grade and target vehicle is inconsistent,
Judge that credit grade is mismatched with vehicle class.
Optionally, as a kind of possible embodiment, referring to Fig. 7, the server in the embodiment of the present invention, is also wrapped
It includes:
Acquisition module 415 uses the driving row in vehicle processes for passing through the mobile unit of target vehicle acquisition user
For data;
Computing module 416, for obtaining credit value according to preset rules analysis driving behavior data;
Update module 417, for updating the credit grade of user according to credit value, and by updated user credit grade
With being registered in block chain after User Identity associated storage.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
The auction bidding method in the embodiment of the present invention and server are described above, below from the angle of hardware handles
Server in the embodiment of the present invention is described.
Referring to Fig. 8, the computer installation 800 in the embodiment of the present invention includes processor 801, memory 802, power supply
803 and wired or wireless network interface 804, processor 801 when performing the computer program stored in memory 802 for realizing
Following steps:
It receives by the vehicle that the mobile unit of target vehicle is submitted using request, vehicle includes target vehicle using request
Vehicle identification mark, user are committed to the vehicle sharing request of mobile unit by user terminal, and sharing request carries user's body
Part mark;
The vehicle class for obtaining target vehicle is identified according to vehicle identification;
The credit grade of user is obtained according to the User Identity of sharing request;
Judge whether credit grade matches with vehicle class, if matching, controls making for mobile unit open object vehicle
With permission to user, with target vehicle for users to use.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
Receive the registration request that target vehicle is submitted by mobile unit;
According to registration request vehicle identification mark is distributed for target vehicle;
Obtain the vehicle condition data of target vehicle;
The vehicle class of target vehicle is determined according to vehicle condition data;
It will be registered in block chain after vehicle identification mark and vehicle class associated storage.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
The registration request that user is submitted by user terminal is received, registration request carries user identifier;
It is user's distributing user identity according to registration request;
The credit record of user is obtained according to user identifier;
The credit grade of user is determined according to credit record;
By User Identity and credit grade associated storage.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
Using the mapping relations of preset credit grade and vehicle class, corresponding vehicle etc. is searched according to credit grade
Grade;
When the corresponding vehicle class of credit grade is consistent with the vehicle class of target vehicle, credit grade and vehicle are judged
Ratings match;
When the vehicle class of the corresponding vehicle class of credit grade and target vehicle is inconsistent, credit grade and vehicle are judged
Grade mismatches.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
User is acquired by the mobile unit of target vehicle and uses the driving behavior data in vehicle processes;
Credit value is obtained according to preset rules analysis driving behavior data;
The credit grade of user is updated according to credit value;
It will be registered in block chain after updated user credit grade and User Identity associated storage.
It is understood that when the processor in the server of above description performs computer program, can also realize
The function of each unit in corresponding server example is stated, details are not described herein again.Illustratively, computer program can be divided
Into one or more module/units, one or more module/unit is stored in memory, and performed by processor, with
Complete the present invention.One or more module/units can be the series of computation machine program instruction section that can complete specific function,
The instruction segment is used to describe implementation procedure of the computer program in the reading position acquisition device of storage client-side.Example
Such as, computer program can be divided into each unit in the reading position acquisition device of above-mentioned storage client-side, each list
Member can realize the concrete function as described in above-mentioned corresponding reading position acquisition device.
Computer installation can be the computing devices such as desktop PC, notebook, palm PC and cloud server.Clothes
Business device device may include but be not limited only to processor, memory.It will be understood by those skilled in the art that processor, memory are only
Only be the example of computer installation, do not form the restriction to computer installation, can include more or fewer components or
Certain components or different components are combined, such as computer installation can also include input-output equipment, network insertion is set
Standby, bus etc..
Processor can be central processing unit (Central Processing Unit, CPU), can also be that other are logical
With processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng processor is the control centre of computer installation, utilizes each portion of various interfaces and the entire computer installation of connection
Point.
Memory can be used for storage computer program and/or module, processor to be stored in memory by running or performing
Interior computer program and/or module and calling are stored in the data in memory, realize the various work(of computer installation
Energy.Memory can mainly include storing program area and storage data field, wherein, storing program area can storage program area, at least
Application program needed for one function etc.;Storage data field can be stored uses created data etc. according to terminal.In addition, it deposits
Reservoir can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, memory, plug-in type
Hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The present invention also provides a kind of computer readable storage medium, which is used to implement storage
The function of client-side is stored thereon with computer program, when computer program is executed by processor, processor, and Ke Yiyong
In execution following steps:
It receives by the vehicle that the mobile unit of target vehicle is submitted using request, vehicle includes target vehicle using request
Vehicle identification mark, user are committed to the vehicle sharing request of mobile unit by user terminal, and sharing request carries user's body
Part mark;
The vehicle class for obtaining target vehicle is identified according to vehicle identification;
The credit grade of user is obtained according to the User Identity of sharing request;
Judge whether credit grade matches with vehicle class, if matching, controls making for mobile unit open object vehicle
With permission to user, with target vehicle for users to use.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
Receive the registration request that target vehicle is submitted by mobile unit;
According to registration request vehicle identification mark is distributed for target vehicle;
Obtain the vehicle condition data of target vehicle;
The vehicle class of target vehicle is determined according to vehicle condition data;
It will be registered in block chain after vehicle identification mark and vehicle class associated storage.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
The registration request that user is submitted by user terminal is received, registration request carries user identifier;
It is user's distributing user identity according to registration request;
The credit record of user is obtained according to user identifier;
The credit grade of user is determined according to credit record;
By User Identity and credit grade associated storage.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
Using the mapping relations of preset credit grade and vehicle class, corresponding vehicle etc. is searched according to credit grade
Grade;
When the corresponding vehicle class of credit grade is consistent with the vehicle class of target vehicle, credit grade and vehicle are judged
Ratings match;
When the vehicle class of the corresponding vehicle class of credit grade and target vehicle is inconsistent, credit grade and vehicle are judged
Grade mismatches.
Optionally, in some embodiments of the present invention, processor can be also used for realizing following steps:
User is acquired by the mobile unit of target vehicle and uses the driving behavior data in vehicle processes;
Credit value is obtained according to preset rules analysis driving behavior data;
The credit grade of user is updated according to credit value;
It will be registered in block chain after updated user credit grade and User Identity associated storage.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or carry out equivalent replacement to which part technical characteristic;And these
Modification is replaced, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.