CN109635043A - A kind of method, apparatus, equipment and the medium of information of vehicles storage - Google Patents
A kind of method, apparatus, equipment and the medium of information of vehicles storage Download PDFInfo
- Publication number
- CN109635043A CN109635043A CN201811513527.9A CN201811513527A CN109635043A CN 109635043 A CN109635043 A CN 109635043A CN 201811513527 A CN201811513527 A CN 201811513527A CN 109635043 A CN109635043 A CN 109635043A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- target
- pricing rule
- relation table
- pricing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application discloses method, apparatus, equipment and the media of a kind of storage of information of vehicles, this method comprises: obtaining the corresponding target identification of target vehicle and target vehicle and the vehicle prestored vehicle-pricing rule relation table;Vehicle vehicle-pricing rule relation table is searched according to target vehicle;If finding target vehicle, corresponding storage target identification and target vehicle to vehicles identifications-vehicle vehicle relation table in the relation table.It can be seen that, vehicle vehicle-pricing rule relation table can find target vehicle, expression is previously stored with the corresponding pricing rule of target vehicle, the binding of target identification, target vehicle and corresponding pricing rule then can be realized based on vehicles identifications-vehicle vehicle relation table and vehicle vehicle-relation table of pricing rule relation table two, it is time saving and energy saving it is not necessary that pricing rule is filled in manually when newly-increased target vehicle;And storage information redundancy is avoided, improve utilization ratio of storage resources.
Description
Technical field
A kind of stored this application involves technical field of information processing more particularly to information of vehicles method, apparatus, equipment and
Medium.
Background technique
With the fast development of science and technology, Car Rental become more and more popular, and more and more people carry out vehicle in Car Rental platform
Lease, for Car Rental platform, management for vehicle and its important.
In general, the premise of Car Rental platform vehicle management is the storage of information of vehicles, that is, vehicles identifications, vehicle vehicle
It when increasing new car rental, needs manually successively to fill in the vehicle in detail in the prior art with the storage of pricing rule
Vehicles identifications, vehicle vehicle and pricing rule, then between the corresponding mark for storing the vehicle, vehicle and pricing rule three
Corresponding relationship.
But inventor has found that the vehicle of same vehicle vehicle can use identical pricing rule, use
The mode of the above-mentioned prior art, it is complex cumbersome that corresponding same vehicle vehicle repeats to fill in identical pricing rule, time-consuming consumption
Power, and the corresponding relationship between vehicles identifications, vehicle vehicle and pricing rule three is stored for each vehicle, wherein vehicle
There are a large amount of duplicate messages between vehicle and pricing rule, cause storage information redundancy, occupy more storage resource.
Summary of the invention
Technical problems to be solved in this application are to provide method, apparatus, equipment and Jie of a kind of information of vehicles storage
Matter, it is time saving and energy saving it is not necessary that pricing rule is filled in manually when increasing car rental newly;And storage information redundancy is avoided, improve storage money
Source utilization rate.
In a first aspect, the embodiment of the present application provides a kind of method of information of vehicles storage, this method comprises:
Obtain the corresponding target identification of target vehicle and target vehicle and the vehicle prestored vehicle-pricing rule relationship
Table;
Vehicle vehicle-pricing rule the relation table is searched according to the target vehicle;
It is corresponding to store the target mark if finding the target vehicle in the vehicle vehicle-pricing rule relation table
Know and the target vehicle to vehicles identifications-vehicle vehicle relation table.
Optionally, before the acquisition vehicle vehicle-pricing rule relation table, further includes:
Obtain each vehicle vehicle;
Set the corresponding pricing rule of each vehicle vehicle;
Each vehicle vehicle and the corresponding pricing rule are stored as the vehicle vehicle-pricing rule relationship
Table.
Optionally, after searching the vehicle vehicle-pricing rule relation table according to the target vehicle, further includes:
If finding the target vehicle in the vehicle vehicle-pricing rule relation table, the target vehicle pair is determined
The first object pricing rule answered;
The corresponding target identification and the target vehicle show the first object pricing rule.
Optionally, it is described it is corresponding store the target identification and the target vehicle after, or described in the display
After first object pricing rule, further includes:
The modification of the first object pricing rule is operated in response to user, obtains the first object pricing rule pair
The target modification pricing rule answered;
It is corresponding to store the target vehicle and the target modification pricing rule, update the vehicle vehicle-pricing rule
Relation table.
Optionally, after the lookup vehicle vehicle-pricing rule relation table according to the target vehicle, further includes:
If searching in the vehicle vehicle-pricing rule relation table less than the target vehicle, the target vehicle is set
Corresponding second target pricing rule;
The corresponding target vehicle and the second target pricing rule of storing is to the vehicle vehicle-pricing rule relationship
Table, and the corresponding target identification and the target vehicle of storing is to the vehicles identifications-vehicle vehicle relation table.
Optionally, after the corresponding storage target identification and the target vehicle, further includes:
Operation is checked to the pricing rule of the target vehicle in response to user, obtains the corresponding institute of the target vehicle
It states target identification and currently checks the operating time;
It obtains the vehicles identifications-vehicle vehicle relation table currently checked under the operating time and vehicle vehicle-pricing rule closes
It is table;
According to the target identification, vehicles identifications-vehicle vehicle relation table and the vehicle currently checked under the operating time
Vehicle-pricing rule relation table obtains the corresponding target pricing rule of target vehicle of the corresponding target identification;
The target pricing rule is shown to the user.
Optionally, further includes:
The operation that the target vehicle is leased in response to user, obtain the corresponding target identification of the target vehicle and
The current rental operations time;
Vehicles identifications-vehicle vehicle the relation table and vehicle vehicle-pricing rule obtained under the current rental operations time closes
It is table;
According to the target identification, vehicles identifications-vehicle vehicle relation table and the vehicle currently checked under the operating time
Vehicle-pricing rule relation table obtains the target vehicle of the corresponding target identification and the target of the corresponding target vehicle
Pricing rule;
According to the target identification, the target vehicle and target pricing rule, the corresponding user generates target
Lease order.
Second aspect, the embodiment of the present application provides a kind of device of information of vehicles storage, in storage target vehicle information
In the process, which includes:
First acquisition unit, the vehicle vehicle for obtaining the corresponding target identification of target vehicle and target vehicle and prestoring
Type-pricing rule relation table;
First searching unit, for searching the vehicle vehicle-pricing rule relation table according to the target vehicle;
First storage unit, if for finding the target vehicle in the vehicle vehicle-pricing rule relation table, it is right
The target identification and the target vehicle should be stored to vehicles identifications-vehicle vehicle relation table.
The third aspect, the embodiment of the present application provide a kind of terminal device, and the terminal device includes processor and deposits
Reservoir:
Said program code is transferred to the processor for storing program code by the memory;
The processor is used for according to the described in any item vehicles of the above-mentioned first aspect of instruction execution in said program code
The method of information storage.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, which is characterized in that the calculating
Machine readable storage medium storing program for executing is for storing program code, and said program code is for executing the described in any item vehicles of above-mentioned first aspect
The method of information storage.
Compared with prior art, the application has at least the following advantages:
Using the technical solution of the embodiment of the present application, firstly, obtaining the corresponding target identification of target vehicle and target vehicle
And the vehicle vehicle-pricing rule relation table prestored;Then, the vehicle vehicle-price is searched according to the target vehicle
Rule relation table;Finally, if finding the target vehicle, corresponding storage institute in the vehicle vehicle-pricing rule relation table
Target identification and the target vehicle are stated to vehicles identifications-vehicle vehicle relation table.It can be seen that vehicle vehicle-pricing rule
Relation table can find target vehicle, and expression is previously stored with the corresponding pricing rule of target vehicle, then be based on vehicles identifications-
Vehicle vehicle relation table and vehicle vehicle-relation table of pricing rule relation table two can be realized target identification, target vehicle and
The binding of corresponding pricing rule, it is time saving and energy saving it is not necessary that pricing rule is filled in manually when increasing target vehicle newly;And avoid storage information
Redundancy improves utilization ratio of storage resources.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, will implement below to the application
Example or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is only some embodiments as described in this application, for those of ordinary skill in the art, what is do not made the creative labor
Under the premise of, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is system framework schematic diagram involved in a kind of application scenarios provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of the method for information of vehicles storage provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of the device of information of vehicles storage provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this
Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
Currently, widely available with Car Rental business, more and more people carry out vehicle leasing in Car Rental platform, right
For Car Rental platform management, information of vehicles storage is its emphasis.In the prior art, first when increasing new car rental
First, it needs manually successively to fill in the information of the vehicle in detail, includes at least vehicles identifications, vehicle vehicle and pricing rule;Then,
Corresponding relationship between the corresponding vehicles identifications for storing the vehicle, vehicle vehicle and pricing rule three, under ultimately forming for example
Vehicles identifications-vehicle vehicle-pricing rule relation table in the prior art shown in table 1.
1 vehicles identifications of table-vehicle vehicle-pricing rule relation table
Vehicles identifications | Vehicle vehicle | Pricing rule |
Mark 1 | Vehicle 1 | Pricing rule 1 |
Mark 2 | Vehicle 2 | Pricing rule 2 |
Mark 3 | Vehicle 1 | Pricing rule 1 |
…… | …… | …… |
Identify 6n | Vehicle n | Pricing rule n |
Identify 6n+1 | Vehicle n-2 | Pricing rule n-2 |
But inventor has found that the vehicle of same vehicle vehicle can use identical pricing rule, use
The mode of the above-mentioned prior art, it is complex cumbersome that corresponding same vehicle vehicle repeats to fill in identical pricing rule, time-consuming consumption
Power, and the corresponding relationship between vehicles identifications, vehicle vehicle and pricing rule three is stored for each vehicle, wherein vehicle
There are a large amount of duplicate messages between vehicle and pricing rule, cause storage information redundancy, occupy more storage resource.
In order to solve this problem, in the embodiment of the present application, firstly, obtaining the corresponding target identification of target vehicle and mesh
Mark vehicle and the vehicle vehicle-pricing rule relation table prestored;Then, the vehicle vehicle is searched according to the target vehicle
Type-pricing rule relation table;Finally, if finding the target vehicle in the vehicle vehicle-pricing rule relation table, it is corresponding
The target identification and the target vehicle are stored to vehicles identifications-vehicle vehicle relation table.It can be seen that vehicle vehicle-is fixed
Valence rule relation table can find target vehicle, and expression is previously stored with the corresponding pricing rule of target vehicle, then be based on vehicle
Target identification, target can be realized in mark-vehicle vehicle relation table and vehicle vehicle-relation table of pricing rule relation table two
The binding of vehicle and corresponding pricing rule, it is time saving and energy saving it is not necessary that pricing rule is filled in manually when increasing target vehicle newly;And it avoids depositing
Information redundancy is stored up, utilization ratio of storage resources is improved.
For example, one of the scene of the embodiment of the present application, can be applied in scene as shown in Figure 1, the scene
Including processor 101, user terminal 102 and database 103.When newly-increased car rental, using newly-increased car rental as mesh
Vehicle is marked, user inputs the corresponding target identification of target vehicle and target vehicle in user terminal 102.In response to user in user
Terminal 102 inputs the operation of target vehicle corresponding target identification and target vehicle, and processor 101 is obtained from user terminal 102
The corresponding target identification of target vehicle and target vehicle, and vehicle vehicle-pricing rule relation table is obtained from database 103;Place
It manages device 101 and vehicle vehicle-pricing rule relation table is searched according to target vehicle, vehicle vehicle-pricing rule relation table is preparatory
It stores each vehicle vehicle and corresponding pricing rule obtains;If processor 101 is looked into vehicle vehicle-pricing rule relation table
Target vehicle is found, vehicles identifications-vehicle vehicle that corresponding storage target identification and target vehicle to database 103 are stored is closed
It is table.
It is understood that in above-mentioned application scenarios, although by the action description of the application embodiment by processor
101 execute, and still, the application is unrestricted in terms of executing subject, move disclosed in the application embodiment as long as performing
Work.
It is understood that above-mentioned scene is only a Sample Scenario provided by the embodiments of the present application, the embodiment of the present application
It is not limited to this scene.
With reference to the accompanying drawing, the method, dress that information of vehicles stores in the embodiment of the present application are described in detail by embodiment
It sets, the specific implementation of equipment and medium.
Illustrative methods
Referring to fig. 2, a kind of flow diagram of the method for information of vehicles storage in the embodiment of the present application is shown.In this reality
It applies in example, in storage target vehicle information process, the method for example be may comprise steps of:
Step 201: obtaining the corresponding target identification of target vehicle and target vehicle and the vehicle prestored vehicle-price rule
Then relation table.
It should be noted that can then be preset every since same vehicle vehicle can use identical pricing rule
The pricing rule of a vehicle vehicle, and the corresponding each vehicle vehicle of storage and corresponding pricing rule in advance, to be pre-formed
Vehicle vehicle-pricing rule relation table.In specific implementation process, each vehicle vehicle is obtained first, wherein vehicle vehicle is root
According to the setting of history vehicle or customized setting.Then corresponding pricing rule is set for each vehicle vehicle, then will
Each vehicle vehicle carries out corresponding storage with corresponding pricing rule, forms vehicle vehicle-pricing rule relation table.Therefore, exist
In some embodiments of the present embodiment, before the step 201 obtains vehicle vehicle-pricing rule relation table, such as also
It may comprise steps of:
Step A: each vehicle vehicle is obtained.
Step B: the corresponding pricing rule of each vehicle vehicle is set;
Step C: each vehicle vehicle and the corresponding pricing rule are stored as the vehicle vehicle-price and advised
Then relation table.
For example, vehicle vehicle-pricing rule relation table as shown in table 2 below, wherein vehicle vehicle includes n different
Customized vehicle vehicle, i.e. vehicle 1, vehicle 2, vehicle 3 ... and vehicle n, the corresponding pricing rule of vehicle 1 are pricing rule 1,
The corresponding pricing rule of vehicle 2 is pricing rule 2, and the corresponding pricing rule of vehicle 2 is pricing rule 2 ... ..., and vehicle n is corresponding
Pricing rule be pricing rule n, that is, each vehicle vehicle has corresponding pricing rule.Certainly, different vehicle vehicle is corresponding
Pricing rule can also be identical.
2 vehicle vehicle of table-pricing rule relation table
Vehicle vehicle | Pricing rule |
Vehicle 1 | Pricing rule 1 |
Vehicle 2 | Pricing rule 2 |
Vehicle 3 | Pricing rule 3 |
…… | …… |
Vehicle n | Pricing rule n |
It is understood that when newly-increased car rental, using newly-increased car rental as target vehicle, firstly, it is necessary to
Based on the vehicles identifications and vehicle vehicle artificially filled in, the corresponding target identification and target vehicle of target vehicle are obtained.In order to
It avoids being stored with the corresponding pricing rule of target vehicle in database and still artificially fills in pricing rule, it is also desirable to obtain vehicle
Vehicle-pricing rule relation table.
Step 202: the vehicle vehicle-pricing rule relation table is searched according to the target vehicle.
It is understood that being needed after step 201 obtains target vehicle and vehicle vehicle-pricing rule relation table
Judge whether vehicle vehicle-pricing rule relation table is previously stored with the target vehicle, so as to clear vehicle vehicle-pricing rule
Whether relation table is stored with the corresponding pricing rule of target vehicle, i.e. execution step 202.
It should be noted that searching whether vehicle vehicle-pricing rule relation table is previously stored with target for step 202
Vehicle, there are two kinds of lookup results to indicate vehicle vehicle-pricing rule relationship when lookup result is to find target vehicle
Table is previously stored with target vehicle and corresponding pricing rule.At this point, the pricing rule for artificially filling in target vehicle again is not needed, it can
To determine the corresponding corresponding pricing rule of target vehicle based on vehicle vehicle-pricing rule relation table, fix a price as first object
Rule is directly displayed to user, which corresponds to target identification and target vehicle, and which is able to solve people
There are problems that complexity is cumbersome to fill in the pricing rule of target vehicle, take time and effort.Therefore, in some implementations of the present embodiment
In mode, after step 202, such as it can also include the following steps:
Step D: if finding the target vehicle in the vehicle vehicle-pricing rule relation table, the target is determined
The corresponding first object pricing rule of vehicle;
Step E: the corresponding target identification and the target vehicle show the first object pricing rule.
It should also be noted that, after step E shows first object pricing rule, it is possible to which user is fixed to first object
Valence rule is dissatisfied, at this point, user can voluntarily modify the first object pricing rule of display, the modification operation based on user
An available modified pricing rule, as the corresponding target modification pricing rule of first object pricing rule,
After the completion of modification, the corresponding relationship for needing to store again between target vehicle and target modification pricing rule is original to update
Vehicle vehicle-pricing rule relation table.It should be noted that after the completion of storage updates, any vehicle vehicle and target vehicle phase
The same corresponding pricing rule of original car rental is target modification pricing rule.Therefore, in some implementations of the present embodiment
In mode, after step E, such as can with the following steps are included:
Step F: the modification of the first object pricing rule is operated in response to user, obtains the first object price
The corresponding target modification pricing rule of rule;
Step G: it is corresponding to store the target vehicle and the target modification pricing rule, it is fixed to update the vehicle vehicle-
Valence rule relation table.
Step 203: if finding the target vehicle, corresponding storage institute in the vehicle vehicle-pricing rule relation table
Target identification and the target vehicle are stated to vehicles identifications-vehicle vehicle relation table.
It is understood that indicating vehicle since if target vehicle can be found in vehicle vehicle-pricing rule relation table
Vehicle-pricing rule relation table is previously stored with target vehicle and corresponding pricing rule (first object pricing rule), at this time
It need not repeat the corresponding relationship of storage between the two, it is thus only necessary to store the corresponding relationship between target identification and target vehicle
To vehicles identifications-vehicle vehicle relation table, so as to it is subsequent can be with based on target identification and vehicles identifications-vehicle vehicle relationship
The corresponding target vehicle of target identification is obtained, target vehicle and vehicle vehicle-pricing rule relation table are then based on, obtains target
The corresponding pricing rule of vehicle (first object pricing rule).Wherein, vehicles identifications-vehicle vehicle relation table is also that storage is original
What the vehicles identifications of car rental and corresponding vehicle vehicle obtained.
For example, vehicles identifications as shown in table 3 below-vehicle vehicle relation table, original vehicles identifications include 6n different
Vehicles identifications identify 1, mark 2, mark 3 ... and mark 6n, 1 corresponding vehicle vehicle of mark is vehicle 1, and mark 2 is corresponding
Vehicle vehicle be vehicle 2,3 corresponding vehicle vehicles of mark are vehicle 1 ... ..., and the corresponding vehicle vehicle of mark 6n is vehicle
N, that is, each vehicles identifications have corresponding vehicle vehicle, and the corresponding vehicle vehicle of different vehicle mark is probably identical.
When the vehicles identifications of newly-increased car rental are mark 6n+1, the corresponding vehicle vehicle of mark 6n+1 is vehicle n-2, in vehicle mark
Corresponding storage mark 6n+1 and vehicle n-2 in knowledge-vehicle vehicle relation table.
2 vehicles identifications of table-vehicle vehicle relation table
Vehicles identifications | Vehicle vehicle |
Mark 1 | Vehicle 1 |
Mark 2 | Vehicle 2 |
Mark 3 | Vehicle 1 |
…… | …… |
Identify 6n | Vehicle n |
Identify 6n+1 | Vehicle n-2 |
Similarly, the corresponding storage target identification of step 203 and target vehicle to vehicles identifications-vehicle vehicle relation table it
Afterwards, it is understood that there may be user modifies the case where some vehicle vehicle corresponding pricing rule, modifies mesh in the present embodiment with user
For the corresponding first object pricing rule of mark vehicle, it is still desirable to it is fixed to obtain the corresponding target modification of first object pricing rule
Valence rule, and the corresponding relationship between corresponding storage target vehicle and target modification pricing rule is to update original vehicle vehicle
Type-pricing rule relation table.Therefore, in some embodiments of the present embodiment, for example can also include after step 203
Above-mentioned steps F- step G.
It should also be noted that, corresponding to step 203, there are vehicle vehicle-pricing rule relation tables to search fall short
The case where vehicle, indicates that vehicle vehicle-pricing rule relation table is not previously stored with target vehicle and corresponding pricing rule,
Need to set corresponding pricing rule (the second target pricing rule) at this time for target vehicle, and in vehicle vehicle-price rule
The then corresponding relationship of corresponding storage between the two in relation table, it is right in vehicles identifications-vehicle vehicle relation table also to need certainly
The corresponding relationship between target identification and target vehicle should be stored.Therefore, in some embodiments of the present embodiment, described
After target vehicle lookup vehicle vehicle-pricing rule relation table, further includes:
Step H: if searching in the vehicle vehicle-pricing rule relation table less than the target vehicle, the mesh is set
Mark the corresponding second target pricing rule of vehicle;
Step I: the corresponding target vehicle and the second target pricing rule of storing is to the vehicle vehicle-price rule
Then relation table, and the corresponding target identification and the target vehicle of storing is to the vehicles identifications-vehicle vehicle relation table.
It is another to store target identification and target vehicle to vehicles identifications-vehicle vehicle it should be noted that corresponding in step 203
After relation table, there are users the case where checking the pricing rule of some car rental on Car Rental platform, in the present embodiment
In, by taking user checks the pricing rule of target vehicle as an example, above-mentioned various explanations are based on, are stored with vehicles identifications-in database
Vehicle vehicle relation table and vehicle vehicle-pricing rule relation table, pricing rule may be modified, and check behaviour based on user
Make, need the corresponding target identification of hard objectives vehicle and currently check the operating time, currently to be checked operation
Vehicles identifications-vehicle vehicle relation table and vehicle vehicle-pricing rule relation table under time, thus therefrom based on target identification
The corresponding target vehicle of target identification is first obtained, then is currently checked that the corresponding pricing rule of target vehicle is made under the operating time
It is shown to user for target pricing rule, so that it is guaranteed that the correctness of the target pricing rule of display.Therefore, in the present embodiment
In some embodiments, after the step 203, such as can with the following steps are included:
Step J: operation is checked to the pricing rule of the target vehicle in response to user, obtains the target vehicle pair
It the target identification answered and currently checks the operating time;
Step K: the vehicles identifications-vehicle vehicle relation table and vehicle vehicle-price currently checked under the operating time are obtained
Rule relation table;
Step L: according to the target identification, the vehicles identifications-vehicle vehicle relationship currently checked under the operating time
Table and vehicle vehicle-pricing rule relation table obtain the corresponding target pricing rule of target vehicle of the corresponding target identification;
M: Xiang Suoshu user of step shows the target pricing rule.
In addition, it should be noted that, in corresponding target identification and the target vehicle of storing of step 203 to vehicles identifications-vehicle
After vehicle relation table, there are users the case where leasing some car rental on Car Rental platform, in the present embodiment, with
Family is leased for the pricing rule of target vehicle, and above-mentioned various explanations are based on, and similarly based on the rental operations of user, is needed clear
The corresponding target identification of target vehicle and current rental operations time, to obtain the vehicle under the current rental operations time
Mark-vehicle vehicle relation table and vehicle vehicle-pricing rule relation table, to therefrom first obtain target mark based on target identification
Know corresponding target vehicle, then obtains the corresponding pricing rule of target vehicle under the current rental operations time and advised as target pricing
Then, finally, target is generated based on target identification, target vehicle and target pricing rule and leases order, so that it is guaranteed that target lease
The correctness of target pricing rule in order.Therefore, in some embodiments of the present embodiment, after the step 203,
Such as can with the following steps are included:
Step N: leasing the operation of the target vehicle in response to user, obtains the corresponding target of the target vehicle
Mark and current rental operations time;
Step O: the vehicles identifications-vehicle vehicle relation table and vehicle vehicle-price under the current rental operations time are obtained
Rule relation table;
Step P: according to the target identification, the vehicles identifications-vehicle vehicle relationship currently checked under the operating time
Table and vehicle vehicle-pricing rule relation table obtain the target vehicle and the corresponding target vehicle of the corresponding target identification
Target pricing rule;
Step Q: according to the target identification, the target vehicle and target pricing rule, the corresponding user is raw
Order is leased at target.
The various embodiments provided through this embodiment, firstly, obtaining the corresponding target identification of target vehicle and target
Vehicle and the vehicle prestored vehicle-pricing rule relation table;Then, the vehicle vehicle-is searched according to the target vehicle
Pricing rule relation table;Finally, correspondence is deposited if finding the target vehicle in the vehicle vehicle-pricing rule relation table
The target identification and the target vehicle are stored up to vehicles identifications-vehicle vehicle relation table.It can be seen that vehicle vehicle-price
Rule relation table can find target vehicle, and expression is previously stored with the corresponding pricing rule of target vehicle, then be based on vehicle
Target identification, target carriage can be realized in mark-vehicle vehicle relation table and vehicle vehicle-relation table of pricing rule relation table two
The binding of type and corresponding pricing rule, it is time saving and energy saving it is not necessary that pricing rule is filled in manually when increasing target vehicle newly;And it avoids storing
Information redundancy improves utilization ratio of storage resources.
Exemplary means
Referring to Fig. 3, a kind of structural schematic diagram of the device of information of vehicles storage in the embodiment of the present application is shown.In this reality
It applies in example, stores in target vehicle information process, described device for example can specifically include:
First acquisition unit 301, for obtaining the corresponding target identification of target vehicle and target vehicle and the vehicle prestored
Vehicle-pricing rule relation table;
First searching unit 302, for searching the vehicle vehicle-pricing rule relation table according to the target vehicle;
First storage unit 303, if for finding the target carriage in the vehicle vehicle-pricing rule relation table
Type, the corresponding target identification and the target vehicle of storing is to vehicles identifications-vehicle vehicle relation table.
Optionally, described device further include:
Second acquisition unit, for obtaining each vehicle vehicle;
First setup unit, for setting the corresponding pricing rule of each vehicle vehicle;
Second storage unit, for each vehicle vehicle and the corresponding pricing rule to be stored as the vehicle
Vehicle-pricing rule relation table.
Optionally, described device further include:
First determination unit, if for finding the target vehicle in the vehicle vehicle-pricing rule relation table, really
Determine the corresponding first object pricing rule of the target vehicle;
First display unit shows the first object price rule for corresponding to the target identification and the target vehicle
Then.
Optionally, described device further include:
First obtains unit, for being operated in response to user to the modification of the first object pricing rule, described in acquisition
The corresponding target modification pricing rule of first object pricing rule;
First updating unit stores the target vehicle and the target modification pricing rule for corresponding to, described in update
Vehicle vehicle-pricing rule relation table.
Optionally, described device further include:
Second setup unit, if for searching in the vehicle vehicle-pricing rule relation table less than the target vehicle,
Set the corresponding second target pricing rule of the target vehicle;
Third storage unit, for the corresponding target vehicle and the second target pricing rule of storing to the vehicle
Vehicle-pricing rule relation table, and the corresponding target identification and the target vehicle of storing is to the vehicles identifications-vehicle vehicle
Type relation table.
Optionally, described device further include:
Third acquiring unit obtains institute for the operation of checking in response to user to the pricing rule of the target vehicle
It states the corresponding target identification of target vehicle and currently checks the operating time;
4th acquiring unit, for obtaining vehicles identifications-vehicle vehicle relation table and the vehicle currently checked under the operating time
Vehicle-pricing rule relation table;
Second obtaining unit, for according to the target identification, the vehicles identifications-vehicle currently checked under the operating time
Vehicle relation table and vehicle vehicle-pricing rule relation table obtain the corresponding mesh of target vehicle of the corresponding target identification
Mark pricing rule;
Second display unit, for showing the target pricing rule to the user.
Optionally, described device further include:
5th acquiring unit obtains the target vehicle pair for leasing the operation of the target vehicle in response to user
The target identification answered and current rental operations time;
6th acquiring unit, for obtaining vehicles identifications-vehicle vehicle relation table and vehicle under the current rental operations time
Vehicle-pricing rule relation table;
Third obtaining unit, for according to the target identification, the vehicles identifications-vehicle currently checked under the operating time
Vehicle relation table and vehicle vehicle-pricing rule relation table, obtain the corresponding target identification target vehicle and corresponding institute
State the target pricing rule of target vehicle;
First generation unit, for corresponding to according to the target identification, the target vehicle and target pricing rule
The user generates target and leases order.
The various embodiments provided through this embodiment, firstly, obtaining the corresponding target identification of target vehicle and target
Vehicle and the vehicle prestored vehicle-pricing rule relation table;Then, the vehicle vehicle-is searched according to the target vehicle
Pricing rule relation table;Finally, correspondence is deposited if finding the target vehicle in the vehicle vehicle-pricing rule relation table
The target identification and the target vehicle are stored up to vehicles identifications-vehicle vehicle relation table.It can be seen that vehicle vehicle-price
Rule relation table can find target vehicle, and expression is previously stored with the corresponding pricing rule of target vehicle, then be based on vehicle
Target identification, target carriage can be realized in mark-vehicle vehicle relation table and vehicle vehicle-relation table of pricing rule relation table two
The binding of type and corresponding pricing rule, it is time saving and energy saving it is not necessary that pricing rule is filled in manually when increasing target vehicle newly;And it avoids storing
Information redundancy improves utilization ratio of storage resources.
In addition, the embodiment of the present application also provides a kind of terminal devices, which is characterized in that the terminal device includes processing
Device and memory:
Said program code is transferred to the processor for storing program code by the memory;
The processor is believed for the vehicle according to the instruction execution above method embodiment in said program code
Cease the method for storage.
In addition, the embodiment of the present application also provides a kind of computer readable storage mediums, which is characterized in that the computer
Readable storage medium storing program for executing is for storing program code, and said program code is for executing information of vehicles described in above method embodiment
The method of storage.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.The terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
The above is only the preferred embodiment of the application, not makes any form of restriction to the application.Though
Right the application has been disclosed in a preferred embodiment above, however is not limited to the application.It is any to be familiar with those skilled in the art
Member, in the case where not departing from technical scheme ambit, all using the methods and technical content of the disclosure above to the application
Technical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing from
The content of technical scheme, any simple modification made to the above embodiment of the technical spirit of foundation the application are equal
Variation and modification, still fall within technical scheme protection in the range of.
Claims (10)
1. a kind of method of information of vehicles storage characterized by comprising
Obtain the corresponding target identification of target vehicle and target vehicle and the vehicle prestored vehicle-pricing rule relation table;
Vehicle vehicle-pricing rule the relation table is searched according to the target vehicle;
If finding the target vehicle in the vehicle vehicle-pricing rule relation table, it is corresponding store the target identification and
The target vehicle is to vehicles identifications-vehicle vehicle relation table.
2. the method according to claim 1, wherein the acquisition vehicle vehicle-pricing rule relation table it
Before, further includes:
Obtain each vehicle vehicle;
Set the corresponding pricing rule of each vehicle vehicle;
Each vehicle vehicle and the corresponding pricing rule are stored as the vehicle vehicle-pricing rule relation table.
3. the method according to claim 1, wherein searching the vehicle vehicle-according to the target vehicle
After pricing rule relation table, further includes:
If finding the target vehicle in the vehicle vehicle-pricing rule relation table, determine that the target vehicle is corresponding
First object pricing rule;
The corresponding target identification and the target vehicle show the first object pricing rule.
4. according to the method described in claim 3, it is characterized in that, in the corresponding storage target identification and the target
After vehicle, or after the display first object pricing rule, further includes:
The modification of the first object pricing rule is operated in response to user, it is corresponding to obtain the first object pricing rule
Target modification pricing rule;
It is corresponding to store the target vehicle and the target modification pricing rule, update the vehicle vehicle-pricing rule relationship
Table.
5. the method according to claim 1, wherein searching vehicle vehicle-according to the target vehicle described
After pricing rule relation table, further includes:
If searching in the vehicle vehicle-pricing rule relation table less than the target vehicle, it is corresponding to set the target vehicle
The second target pricing rule;
The corresponding target vehicle and the second target pricing rule of storing to the vehicle vehicle-pricing rule relation table,
And the corresponding target identification and the target vehicle of storing is to the vehicles identifications-vehicle vehicle relation table.
6. method according to any one of claims 1 to 5, which is characterized in that in the corresponding storage target identification
After the target vehicle, further includes:
Operation is checked to the pricing rule of the target vehicle in response to user, obtains the corresponding mesh of the target vehicle
Mark is identified and is currently checked the operating time;
Obtain the vehicles identifications-vehicle vehicle relation table and vehicle vehicle-pricing rule relation table currently checked under the operating time;
According to the target identification, vehicles identifications-vehicle vehicle relation table and the vehicle vehicle currently checked under the operating time
Type-pricing rule relation table obtains the corresponding target pricing rule of target vehicle of the corresponding target identification;
The target pricing rule is shown to the user.
7. method according to any one of claims 1 to 5, which is characterized in that further include:
The operation that the target vehicle is leased in response to user obtains the corresponding target identification of the target vehicle and current
The rental operations time;
Obtain the vehicles identifications-vehicle vehicle relation table and vehicle vehicle-pricing rule relation table under the current rental operations time;
According to the target identification, vehicles identifications-vehicle vehicle relation table and the vehicle vehicle currently checked under the operating time
Type-pricing rule relation table obtains the target vehicle of the corresponding target identification and the target pricing of the corresponding target vehicle
Rule;
According to the target identification, the target vehicle and target pricing rule, the corresponding user generates target lease
Order.
8. a kind of device of information of vehicles storage characterized by comprising
First acquisition unit, the vehicle vehicle-for obtaining the corresponding target identification of target vehicle and target vehicle and prestoring
Pricing rule relation table;
First searching unit, for searching the vehicle vehicle-pricing rule relation table according to the target vehicle;
First storage unit, if correspondence is deposited for finding the target vehicle in the vehicle vehicle-pricing rule relation table
The target identification and the target vehicle are stored up to vehicles identifications-vehicle vehicle relation table.
9. a kind of terminal device, which is characterized in that the terminal device includes processor and memory:
Said program code is transferred to the processor for storing program code by the memory;
The processor is used to be believed according to the described in any item vehicles of instruction execution claim 1 to 7 in said program code
Cease the method for storage.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing program generation
Code, the method that said program code requires 1 to 7 described in any item information of vehicles storages for perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811513527.9A CN109635043A (en) | 2018-12-11 | 2018-12-11 | A kind of method, apparatus, equipment and the medium of information of vehicles storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811513527.9A CN109635043A (en) | 2018-12-11 | 2018-12-11 | A kind of method, apparatus, equipment and the medium of information of vehicles storage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635043A true CN109635043A (en) | 2019-04-16 |
Family
ID=66073056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811513527.9A Pending CN109635043A (en) | 2018-12-11 | 2018-12-11 | A kind of method, apparatus, equipment and the medium of information of vehicles storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109635043A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831690A (en) * | 2019-04-23 | 2020-10-27 | 上海汽车集团股份有限公司 | Vehicle configuration management method and device and server |
CN114910035A (en) * | 2021-02-07 | 2022-08-16 | 上海汽车集团股份有限公司 | Interference gap checking method, device, equipment and storage medium |
CN115034744A (en) * | 2022-05-25 | 2022-09-09 | 岭澳核电有限公司 | Public index collection method and system for system health season report of nuclear power plant |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106952141A (en) * | 2017-03-15 | 2017-07-14 | 杭州行我行网络有限公司 | A kind of Cycle Hire management and system for settling account and method |
CN107818103A (en) * | 2016-09-12 | 2018-03-20 | 阿里巴巴集团控股有限公司 | The method and device of data object information is provided |
CN107845009A (en) * | 2016-09-21 | 2018-03-27 | 长沙湘佩网络技术有限公司 | A kind of automobile leasing App systems of mobile intelligent |
CN108648360A (en) * | 2018-05-15 | 2018-10-12 | 深圳市元征科技股份有限公司 | Rent-a-car uses pricing method and server |
-
2018
- 2018-12-11 CN CN201811513527.9A patent/CN109635043A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818103A (en) * | 2016-09-12 | 2018-03-20 | 阿里巴巴集团控股有限公司 | The method and device of data object information is provided |
CN107845009A (en) * | 2016-09-21 | 2018-03-27 | 长沙湘佩网络技术有限公司 | A kind of automobile leasing App systems of mobile intelligent |
CN106952141A (en) * | 2017-03-15 | 2017-07-14 | 杭州行我行网络有限公司 | A kind of Cycle Hire management and system for settling account and method |
CN108648360A (en) * | 2018-05-15 | 2018-10-12 | 深圳市元征科技股份有限公司 | Rent-a-car uses pricing method and server |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831690A (en) * | 2019-04-23 | 2020-10-27 | 上海汽车集团股份有限公司 | Vehicle configuration management method and device and server |
CN114910035A (en) * | 2021-02-07 | 2022-08-16 | 上海汽车集团股份有限公司 | Interference gap checking method, device, equipment and storage medium |
CN115034744A (en) * | 2022-05-25 | 2022-09-09 | 岭澳核电有限公司 | Public index collection method and system for system health season report of nuclear power plant |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110310088B (en) | Workflow configuration method and related products | |
CN109635043A (en) | A kind of method, apparatus, equipment and the medium of information of vehicles storage | |
WO2019179067A1 (en) | Service logic processing method and system, computer device, and storage medium | |
CN108363684A (en) | List creation method, device and server | |
CN105117953A (en) | User sign-in processing method and device | |
WO2012174680A1 (en) | Identity based automated form filling | |
US20170220457A1 (en) | Constructing test-centric model of application | |
CN108053486A (en) | Construction method and system based on virtual technology | |
CN104468751A (en) | Self-defining method for business process nodes in cloud sea operating system | |
CN112199007A (en) | Menu display method and device, electronic equipment and storage medium | |
CN109344173B (en) | Data management method and device and data structure | |
WO2015066072A1 (en) | Method and system for generating a master clinical database and uses thereof | |
EP3789935A1 (en) | Automated data processing based on machine learning | |
CN114756470A (en) | Test file generation method and device, storage medium and computer equipment | |
CN116776787B (en) | Automatic recognition method of signal alias, electronic equipment and medium | |
CN105681384B (en) | A kind of expired processing method and processing device of information | |
CN104166541A (en) | Method and device for updating measured control library | |
CN106775784A (en) | A kind of acquisition methods of workflow flow path, device, medium and storage control | |
CN106330556B (en) | A kind of method and apparatus calling related information for generating service module | |
CN110069296A (en) | A kind of FRU information generating method, system and relevant apparatus | |
US9052906B2 (en) | Modularized customization of a model in a model driven development environment | |
CN109117465A (en) | A kind of the global parameter replacement method and device of batch script | |
CN115544169A (en) | Data synchronization method, device, equipment and storage medium | |
CN106156149A (en) | A kind of data transfering method and device | |
CN107229650B (en) | Test method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |