CN110245763A - A kind of network based on data-link about vehicle method, apparatus and data-link node - Google Patents
A kind of network based on data-link about vehicle method, apparatus and data-link node Download PDFInfo
- Publication number
- CN110245763A CN110245763A CN201910394776.9A CN201910394776A CN110245763A CN 110245763 A CN110245763 A CN 110245763A CN 201910394776 A CN201910394776 A CN 201910394776A CN 110245763 A CN110245763 A CN 110245763A
- Authority
- CN
- China
- Prior art keywords
- data link
- network
- appointment
- link node
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000008569 process Effects 0.000 claims description 14
- 238000012795 verification Methods 0.000 claims description 11
- 230000015654 memory Effects 0.000 claims description 9
- 230000004044 response Effects 0.000 abstract description 6
- 238000012545 processing Methods 0.000 description 12
- 238000007405 data analysis Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
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
- G06Q10/00—Administration; Management
- G06Q10/02—Reservations, e.g. for tickets, services or events
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of network based on data-link about vehicle method, apparatus and data-link node, this method comprises: data-link node receives the about vehicle request that client is sent, about vehicle request carries origin information and destination information, origin information are located in the corresponding compass of competency of data-link node for this;Data-link node is requested according to about vehicle, and a net about vehicle is selected from the net being currently in compass of competency about vehicle;Data-link node sends task assignment message to the net about vehicle of selection, which includes origin information and destination information.The corresponding compass of competency of each data-link node in the present invention, data-link node are merely responsible for handling the about vehicle request of the submission of the user in its compass of competency, and treating capacity is small, fast response time.
Description
Technical Field
The invention relates to the technical field of network taxi booking, in particular to a network taxi booking method and device based on a data link and a data link node.
Background
With the development of new-generation information technology, internet application is quite popular, at present, users often use network car booking services for daily travel, and the network car booking brings great convenience for the users to travel. When a user appoints a car on the internet, a car appointing request is sent to the server through the client, and the car appointing request comprises user positioning information. The server determines the online car appointment which is in an idle state and has a distance between the current vehicle and the user smaller than a preset distance threshold according to the user positioning information, selects one online car appointment from the determined online cars, sends the order information to the online car appointment, and sends the relevant information of the online car appointment to the client. And the taxi appointment system receives the order dispatching information and then forwards the order dispatching information to the user.
However, the network car booking amount is huge, reservation requests of all users need to be processed by the server, so that the calculation amount of the server is large, the processing is delayed, and the response speed of car booking requests of the users is low.
Disclosure of Invention
The invention aims to provide a network taxi booking method, a network taxi booking device and a data link point based on a data link, so that the defects of the prior art are overcome.
In a first aspect, an embodiment of the present invention provides a network taxi appointment method based on a data link, where the method includes:
a data link node receives a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to the data link node;
the data link node selects one network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request;
and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the selecting, by the data link node, one network appointment vehicle from the network appointment vehicles currently located in the jurisdiction area according to the appointment request includes:
the data link points locate all network appointment vehicles currently in the jurisdiction;
the data link node determines the network appointment vehicle in an idle state in all the network appointment vehicles;
and the data link node selects one network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the selecting, by the data link node, one network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request includes:
the data link nodes respectively determine the nearest route between each network appointment vehicle in an idle state and the origin information;
and the data link node selects the network appointment vehicle which consumes the shortest time in the nearest route from the network appointment vehicles in the idle state.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the method further includes:
after the network appointment vehicle reaches the position indicated by the destination information, the data link node receives the vehicle fee transaction information uploaded by the client;
and the data link node verifies the fare transaction information through the intelligent contract and completes fare transaction operation when the fare transaction information passes the verification.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where after the completion of the fare transaction operation when the verification passes, the method further includes:
the data link node generates a data block according to the vehicle related information of the network car booking, the car booking request and the vehicle fee transaction information;
and the data link node adds the data block to a data chain stored by the data link node.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where after the generating the data block, the method further includes:
the data link point broadcasts the data block to other data link points in a consensus network for storage; or,
and the data link nodes send the data blocks to other data link nodes corresponding to the jurisdiction area for storage.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where before the selecting, by the data link node, one network appointment car from the network appointment cars currently located in the jurisdiction, the method further includes, according to the appointment request, selecting one network appointment car from the network appointment cars currently located in the jurisdiction;
the data link node judges whether the current load of the data link node reaches a preset threshold value, if not, the data link node executes the operation of selecting one network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request;
if so, the data link node broadcasts the car booking request to other data link nodes corresponding to the jurisdiction region, so that the data link nodes with the current loads smaller than a preset threshold value in the other data link nodes process the car booking request.
In a second aspect, an embodiment of the present invention provides a network car booking device based on a data link, where the device includes:
the receiving module is used for receiving a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to the data link point;
the selection module is used for selecting one network car appointment from the network cars currently in the jurisdiction area according to the car appointment request;
and the sending module is used for sending a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the apparatus further includes:
the receiving module is further used for receiving fare transaction information uploaded by a client after the online taxi appointment reaches the position indicated by the destination information;
and the verification module is used for verifying the fare transaction information through the intelligent contract and completing fare transaction operation when the fare transaction information passes the verification.
In a third aspect, an embodiment of the present invention provides a data link node, including one or more memories and a processor, where the memories store executable programs, and the executable programs are loaded by the one or more processors to perform the following steps:
receiving a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to the data link point;
selecting one network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request;
and sending a task assignment message to the selected network appointment car, wherein the task assignment message comprises the origin information and the destination information.
In the embodiment of the invention, a data link node receives a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is positioned in a jurisdiction area corresponding to a data link point; the data link node selects a network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request; and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information. Each data link point corresponds to one jurisdiction area, and the data link nodes are only responsible for processing car booking requests submitted by users in the jurisdiction areas, so that the processing amount is small, and the response speed is high. Data generated by network taxi booking are stored in a data chain in a data block mode, so that the data security is high, the data cannot be falsified, and subsequent data query and data analysis are facilitated.
Drawings
Fig. 1 is a schematic structural diagram of a system based on a data link-based network car booking method according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a data link-based network taxi appointment method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a network car booking device based on a data link according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a data link node according to an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
The embodiment of the invention provides a network car booking method based on a data link, and as shown in fig. 1, a system architecture based on the method comprises a network car booking platform, a plurality of data link nodes, a network car booking and a client, wherein the network car booking platform is communicated through the internet. The plurality of data link nodes form a consensus network, each data link node has a jurisdiction area, and the jurisdiction areas are divided according to urban areas. And the data link node is responsible for the network car booking service in the corresponding jurisdiction area. One jurisdiction may correspond to only one data link node or to a plurality of data link nodes.
After a driver registers own vehicle as a network appointment vehicle on a network appointment platform through a user terminal such as a mobile phone or a PAD (Portable Android Device), the network appointment platform sends access addresses of all data link nodes in a current consensus network and area information of corresponding jurisdiction areas to the network appointment vehicle. In the network car booking travel process, the network car booking can obtain the positioning information of the network car booking travel process, the current jurisdiction area of the network car booking travel process can be determined according to the positioning information of the network car booking travel process, and then the data link node for processing the network car booking service corresponding to the network car booking travel process is determined.
The client of the network appointment is installed on a passenger terminal such as a mobile phone or a PAD of a passenger, and when the passenger logs in the network appointment platform through the client for the first time, the network appointment platform sends the access address of each data link node and the corresponding regional information of the jurisdiction area to the client. The client stores the corresponding relation between the access address of each data link node and the area information. And then, after the data link nodes in the consensus network change, when the client logs in the network appointment platform, the network appointment platform sends the changed access addresses of the data link nodes and the corresponding area information to the client, and the client updates the locally stored access addresses of the data link nodes and the corresponding area information.
When a passenger contracts on the internet, the passenger inputs origin information and destination information in an interface of a client, the client acquires the origin information, the destination information and a contact mode of the passenger, determines a jurisdiction area to which the origin information belongs according to the origin information and locally stored area information, acquires an access address of a data link node corresponding to the jurisdiction area, and sends a contract request to the data link node corresponding to the jurisdiction area according to the access address, wherein the contract request carries the origin information, the destination information and the contact mode of the passenger. Then, as shown in fig. 2, the data link node implements the network car-booking service of the passenger according to the following operations of step 101 and step 103, which specifically includes:
step 101: and the data link node receives a car booking request sent by the client, wherein the car booking request carries origin information and destination information, and the origin information is positioned in a jurisdiction area corresponding to the data link node.
Step 102: and the data link node selects one network appointment vehicle from the network appointment vehicles currently in the own jurisdiction area according to the appointment request.
When the data link node receives a car appointment request sent by a passenger, the data link node firstly locates all network appointment cars currently in the jurisdiction area of the data link node. Specifically, the data link node broadcasts a positioning query instruction, the positioning query instruction is used for indicating the network appointment car receiving the instruction to return the relevant information of the vehicle, and the radiation range of the positioning query instruction is the jurisdiction area of the data link node. The vehicle related information comprises driver identity information, driver contact information, vehicle identification, vehicle model, vehicle color, vehicle positioning information, vehicle state information and the like, and the vehicle identification can be a license plate number, and the vehicle state information can be in a busy state or an idle state. And after receiving the positioning query instruction, the network appointment vehicle currently located in the jurisdiction area of the data link point sends the vehicle related information of the network appointment vehicle to the data link node.
And the data link points analyze the vehicle related information of each network appointment vehicle and identify the vehicle state information of each network appointment vehicle, so that the network appointment vehicle in an idle state in all the network appointment vehicles is determined. And the data link point selects one network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request.
In the embodiment of the invention, the data link point can randomly select one network appointment vehicle from the network appointment vehicles in the idle state, and can also select one network appointment vehicle with the optimal route from the network appointment vehicles in the idle state.
Specifically, when a network appointment is selected, the data link nodes respectively determine the nearest route between each network appointment vehicle in the idle state and the origin information. Specifically, for each network appointment vehicle in the idle state, the data link nodes acquire vehicle positioning information from vehicle related information of the network appointment vehicle, and determine a nearest route from the current position of the network appointment vehicle to a passenger-specified origin according to the vehicle positioning information, origin information included in the appointment request and a road map of a jurisdiction corresponding to the data link nodes. In the embodiment of the present invention, the closest route may be a route with the shortest travel among all routes from the network appointment to the starting place, or may be a route with the least time consumption among all routes.
And after the data link points determine the corresponding nearest route of each network appointment vehicle in the idle state, selecting the network appointment vehicle with the shortest time consumption in the nearest route from the network appointment vehicles in the idle state. When the nearest route is the route with the shortest travel, the data link nodes firstly estimate the time consumption duration of the nearest route corresponding to each network car appointment, and then select the network car appointment with the shortest time consumption duration from each network car appointment. And when the nearest route is the route which consumes the least time, directly selecting the network appointment vehicle which consumes the shortest time from the network appointment vehicles.
Step 103: and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information.
And after selecting one network appointment vehicle, the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information. And after receiving the task assignment message, the network appointment vehicle plans an optimal route from the current position of the network appointment vehicle to the position indicated by the origin information, wherein the optimal route is the route which consumes the least time in all routes from the current position of the network appointment vehicle to the origin. And after the optimal route of the network appointment planning place is planned, the network appointment planning place goes to the origin appointed by the passenger according to the optimal route. The task assignment message also comprises a contact way of the passenger, and when the net appointment vehicle arrives near the starting place, the driver can contact the passenger according to the contact way of the passenger so that the passenger can find the net appointment vehicle and get on the vehicle as soon as possible. The passengers get on the back network and plan an optimal route from the starting place to the destination, and depart to the destination according to the optimal route.
And after the network appointment vehicle reaches the position indicated by the destination information, the network appointment vehicle generates a bill according to the mileage of the current journey and the driving time, and sends the bill to the client corresponding to the passenger. The passenger checks the account and submits a payment request after confirmation. After receiving a payment request submitted by a user, a client sends fare transaction information to a data link node, wherein the fare transaction information comprises mileage of a current trip, running time, fare number, passenger account information, driver account information and the like.
And the data link point receives the fare transaction information uploaded by the client, verifies the fare transaction information through an intelligent contract and completes fare transaction operation when the fare transaction information passes the verification. When the intelligent contract verifies the fare transaction information, the data link node deducts the fare amount from the passenger account and adds the fare amount to the driver account.
And after the fare transaction operation is finished, the data link points generate data blocks according to the vehicle related information, the car booking request and the fare transaction information of the network car booking. The data link node adds the data block to the data chain stored in the data link node. The data link nodes store the vehicle related information, the fare transaction information, the origin information, the destination information, the passenger contact information and the like carried in the car booking request in the data link, the data in the data link cannot be falsified, the authenticity is strong, the data are accumulated for subsequent data analysis of the network car booking service, and the data can also be used as evidence when disputes occur between a driver and passengers.
And the data link node broadcasts the data block to other data link nodes in the consensus network for storage. After other data link nodes receive the data block, the data block is added to the respective stored data chain. Therefore, each data link node in the consensus network is ensured to store the data block, and even if a single data link node fails or data is lost, the data block can be acquired from other data link nodes in the consensus network, so that the data security is high.
Alternatively, the data link node may not send the data block to each other data link node in the consensus network, but only send the data block to other data link nodes corresponding to the jurisdiction region of the data link node for storage. In the embodiment of the present invention, one jurisdiction may correspond to a plurality of data link nodes, that is, a network car booking service in one jurisdiction may be jointly responsible for by a plurality of data link nodes. And when each other data link point corresponding to the jurisdiction region receives the data block, adding the data block into the respective stored data chain. Therefore, each data link node corresponding to the jurisdiction region stores the data block, so that even if a certain data link point corresponding to the jurisdiction region fails or data is lost, the data block can be acquired from other data link nodes, and the data security is high.
In the embodiment of the present invention, when a network car booking service in one jurisdiction is set to be in charge of a plurality of data link nodes, after the data link nodes receive a car booking request in step 101, the data link nodes first determine whether the current load of the data link nodes reaches a preset threshold, and if not, step 102 is executed to select a network car booking from the network car booking currently in the jurisdiction. In the embodiment of the present invention, the current load of the data link node is the number of car booking requests currently processed by the data link node, and the preset threshold may be 10 or 15, etc.
And when the data link node judges that the current load of the data link node reaches a preset threshold value, the taxi appointment request is broadcasted to other data link nodes corresponding to the jurisdiction area of the data link node, so that the data link node with the current load smaller than the preset threshold value in the other data link nodes processes the taxi appointment request.
When other data link points receive the car booking request, the current load of the other data link points is judged whether to reach the preset threshold value or not, and if so, the car booking request is discarded. If not, the process is executed from step 102 to process the car-appointment request.
In order to avoid that no data link node processes the car booking request or multiple data link nodes simultaneously exist to process the car booking request, in the embodiment of the invention, other data link nodes also return the judgment result to the data link node after judging whether the current load of the other data link nodes reaches the preset threshold value, and if the judgment result received by the data link node shows that the current loads of the other data link nodes all reach the preset threshold value, the data link node is responsible for processing the car booking request. And if the judgment result received by the data link node shows that the current load of one data link node is smaller than the preset threshold value in other data link nodes, the data link node with the current load smaller than the preset threshold value is responsible for processing the taxi appointment request. And if the judgment result received by the data link node shows that the current loads of a plurality of data link nodes in other data link nodes are smaller than the preset threshold value, the data link node randomly indicates one of the plurality of data link nodes with the current loads smaller than the preset threshold value to process the taxi appointment request.
In the embodiment of the invention, a data link node receives a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is positioned in a jurisdiction area corresponding to a data link point; the data link node selects a network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request; and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information. Each data link point corresponds to one jurisdiction area, and the data link nodes are only responsible for processing car booking requests submitted by users in the jurisdiction areas, so that the processing amount is small, and the response speed is high. Data generated by network taxi booking are stored in a data chain in a data block mode, so that the data security is high, the data cannot be falsified, and subsequent data query and data analysis are facilitated.
Referring to fig. 3, an embodiment of the present invention provides a network taxi appointment apparatus based on a data link, where the apparatus is configured to execute the network taxi appointment method provided in the foregoing embodiment, and the apparatus includes:
the receiving module 20 is configured to receive a car booking request sent by a client, where the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to a data link point;
the selection module 21 is used for selecting one network car appointment from the network cars currently in the jurisdiction area according to the car appointment request;
and a sending module 22, configured to send a task assignment message to the selected network appointment car, where the task assignment message includes origin information and destination information.
The selecting module 21 includes:
the positioning unit is used for positioning all network appointment vehicles currently in the jurisdiction area;
the determining unit is used for determining the network appointment vehicles in the idle state in all the network appointment vehicles;
and the selection unit is used for selecting one network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request.
The selection unit is specifically configured to determine a closest route between each network appointment vehicle in an idle state and the origin information; and selecting the network appointment vehicle which consumes the shortest time in the nearest route from the network appointment vehicles in the idle state.
In the embodiment of the present invention, the receiving module 20 is further configured to receive the fare transaction information uploaded by the client after the online car appointment arrives at the position indicated by the destination information;
the device also includes:
and the verification module is used for verifying the fare transaction information through the intelligent contract and completing fare transaction operation when the fare transaction information passes the verification.
The storage module is used for generating a data block according to vehicle related information, a vehicle booking request and fare transaction information of the network vehicle booking; and adding the data block into a data chain stored in the data block storage device.
The storage module is further configured to broadcast the data block to other data link nodes in the consensus network for storage; or, the data block is further used for sending the data block to other data link nodes corresponding to the jurisdiction area for storage.
The device also comprises a judging module, a judging module and a judging module, wherein the judging module is used for judging whether the current load of the judging module reaches a preset threshold value, and if not, the judging module executes the operation of selecting one network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request; if so, broadcasting the car booking request to other data chain nodes corresponding to the jurisdiction region, so that the data chain nodes with the current load smaller than the preset threshold value in the other data chain nodes process the car booking request.
In the embodiment of the invention, a data link node receives a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is positioned in a jurisdiction area corresponding to a data link point; the data link node selects a network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request; and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information. Each data link point corresponds to one jurisdiction area, and the data link nodes are only responsible for processing car booking requests submitted by users in the jurisdiction areas, so that the processing amount is small, and the response speed is high. Data generated by network taxi booking are stored in a data chain in a data block mode, so that the data security is high, the data cannot be falsified, and subsequent data query and data analysis are facilitated.
Referring to fig. 4, an embodiment of the present invention provides a data link node, including one or more memories and processors, where the memories store executable programs, and the memories and the processors are communicatively connected through a bus, and the executable programs are loaded by the one or more processors to perform the following steps:
receiving a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to a data link point; selecting one network car from the network cars currently in the jurisdiction area according to the car booking request; and sending a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information.
In the embodiment of the invention, a data link node receives a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is positioned in a jurisdiction area corresponding to a data link point; the data link node selects a network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request; and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information. Each data link point corresponds to one jurisdiction area, and the data link nodes are only responsible for processing car booking requests submitted by users in the jurisdiction areas, so that the processing amount is small, and the response speed is high. Data generated by network taxi booking are stored in a data chain in a data block mode, so that the data security is high, the data cannot be falsified, and subsequent data query and data analysis are facilitated.
The apparatuses, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk memory, CD-ROM, optical memory, etc.) having computer-usable program code embodied in the medium.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.
Claims (10)
1. A network taxi appointment method based on a data link is characterized by comprising the following steps:
a data link node receives a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to the data link node;
the data link node selects a network car appointment from the network cars currently in the jurisdiction area according to the car appointment request;
and the data link node sends a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information.
2. The method of claim 1, wherein the data link node selects a network appointment vehicle from network appointment vehicles currently in the jurisdiction based on the appointment request, comprising:
the data link points locate all network appointment vehicles currently in the jurisdiction;
the data link node determines the network appointment vehicle in an idle state in all the network appointment vehicles;
and the data link node selects one network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request.
3. The method of claim 2, wherein the data link node selects a network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request, comprising:
the data link nodes respectively determine the nearest route between each network appointment vehicle in an idle state and the origin information;
and the data link node selects the network appointment vehicle which consumes the shortest time in the nearest route from the network appointment vehicles in the idle state.
4. The method of claim 1, further comprising:
after the network appointment vehicle reaches the position indicated by the destination information, the data link node receives vehicle fee transaction information uploaded by a client;
and the data link node verifies the fare transaction information through the intelligent contract and completes fare transaction operation when the fare transaction information passes the verification.
5. The method of claim 4, wherein after completing the fare transaction operation upon passing the verification, further comprising:
the data link node generates a data block according to the vehicle related information of the network car booking, the car booking request and the fare transaction information;
and the data link node adds the data block to a data chain stored by the data link node.
6. The method of claim 5, wherein after generating the data block, the method further comprises:
the data link node broadcasts the data block to other data link nodes in a consensus network for storage; or,
and the data link nodes send the data blocks to other data link nodes corresponding to the jurisdiction area for storage.
7. The method of claim 1, wherein the data link node further comprises, prior to selecting a network appointment vehicle from the network appointment vehicles currently in the jurisdiction based on the appointment request;
the data link node judges whether the current load of the data link node reaches a preset threshold value, if not, the data link node executes the operation of selecting one network appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request;
if so, the data link node broadcasts the car booking request to other data link nodes corresponding to the jurisdiction region, so that the data link nodes with the current loads smaller than a preset threshold value in the other data link nodes process the car booking request.
8. A data link-based network car booking device, the device comprising:
the receiving module is used for receiving a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to the data link point;
the selection module is used for selecting one network car appointment from the network cars currently in the jurisdiction area according to the car appointment request;
and the sending module is used for sending a task assignment message to the selected network appointment car, wherein the task assignment message comprises the origin information and the destination information.
9. The apparatus of claim 8, further comprising:
the receiving module is further used for receiving fare transaction information uploaded by a client after the online taxi appointment reaches the position indicated by the destination information;
and the verification module is used for verifying the fare transaction information through the intelligent contract and completing fare transaction operation when the fare transaction information passes the verification.
10. A data link node comprising one or more memories and a processor, said memories storing executable programs, said executable programs being loaded by one or more of said processors to perform the steps of:
receiving a car booking request sent by a client, wherein the car booking request carries origin information and destination information, and the origin information is located in a jurisdiction area corresponding to the data link point;
selecting a network car appointment from the network cars currently in the jurisdiction area according to the car appointment request;
and sending a task assignment message to the selected network appointment vehicle, wherein the task assignment message comprises the origin information and the destination information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910394776.9A CN110245763B (en) | 2019-05-13 | 2019-05-13 | Network taxi booking method and device based on data link and data link node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910394776.9A CN110245763B (en) | 2019-05-13 | 2019-05-13 | Network taxi booking method and device based on data link and data link node |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110245763A true CN110245763A (en) | 2019-09-17 |
CN110245763B CN110245763B (en) | 2020-05-12 |
Family
ID=67884301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910394776.9A Active CN110245763B (en) | 2019-05-13 | 2019-05-13 | Network taxi booking method and device based on data link and data link node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110245763B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112200449A (en) * | 2020-09-30 | 2021-01-08 | 广州文远知行科技有限公司 | Order allocation method, device, server and storage medium |
CN115471301A (en) * | 2022-11-11 | 2022-12-13 | 浙江云针信息科技有限公司 | Unmanned vehicle decentralized order dispatching method and device, storage medium and terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102737498A (en) * | 2012-03-23 | 2012-10-17 | 青岛百灵信息科技有限公司 | Distributed taxi calling system based on IMS (IP multimedia subsystem) network |
CN104463509A (en) * | 2014-12-29 | 2015-03-25 | 先锋智道(北京)科技有限公司 | Order pushing method and order confirmation method for network taxi taking |
WO2015089221A1 (en) * | 2013-12-11 | 2015-06-18 | Uber Technologies, Inc. | Intelligent queuing for user selection in providing on-demand services |
CN105139641A (en) * | 2015-09-29 | 2015-12-09 | 滴滴(中国)科技有限公司 | WiFi relay station-based vehicle scheduling method and system |
CN105760940A (en) * | 2016-02-03 | 2016-07-13 | 武汉天梯极客网络科技有限公司 | Vehicle reservation method and cloud management server |
CN107886388A (en) * | 2017-09-22 | 2018-04-06 | 杭州云象网络技术有限公司 | The traffic trip credit and safety service platform and its operation method of multicenter are realized based on alliance's chain |
CN109716367A (en) * | 2017-08-16 | 2019-05-03 | 北京嘀嘀无限科技发展有限公司 | Method and system for predetermined delivery service |
-
2019
- 2019-05-13 CN CN201910394776.9A patent/CN110245763B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102737498A (en) * | 2012-03-23 | 2012-10-17 | 青岛百灵信息科技有限公司 | Distributed taxi calling system based on IMS (IP multimedia subsystem) network |
WO2015089221A1 (en) * | 2013-12-11 | 2015-06-18 | Uber Technologies, Inc. | Intelligent queuing for user selection in providing on-demand services |
CN104463509A (en) * | 2014-12-29 | 2015-03-25 | 先锋智道(北京)科技有限公司 | Order pushing method and order confirmation method for network taxi taking |
CN105139641A (en) * | 2015-09-29 | 2015-12-09 | 滴滴(中国)科技有限公司 | WiFi relay station-based vehicle scheduling method and system |
CN105760940A (en) * | 2016-02-03 | 2016-07-13 | 武汉天梯极客网络科技有限公司 | Vehicle reservation method and cloud management server |
CN109716367A (en) * | 2017-08-16 | 2019-05-03 | 北京嘀嘀无限科技发展有限公司 | Method and system for predetermined delivery service |
CN107886388A (en) * | 2017-09-22 | 2018-04-06 | 杭州云象网络技术有限公司 | The traffic trip credit and safety service platform and its operation method of multicenter are realized based on alliance's chain |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112200449A (en) * | 2020-09-30 | 2021-01-08 | 广州文远知行科技有限公司 | Order allocation method, device, server and storage medium |
CN115471301A (en) * | 2022-11-11 | 2022-12-13 | 浙江云针信息科技有限公司 | Unmanned vehicle decentralized order dispatching method and device, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110245763B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11386359B2 (en) | Systems and methods for managing a vehicle sharing facility | |
Zhang et al. | Design of | |
US11392861B2 (en) | Systems and methods for managing a vehicle sharing facility | |
US20170169366A1 (en) | Systems and Methods for Adjusting Ride-Sharing Schedules and Routes | |
CN109376311A (en) | Suitable for the multiple matched system of driver-motroist, method and apparatus for multiplying model altogether | |
Yan et al. | Crowdpark: A crowdsourcing-based parking reservation system for mobile phones | |
US11132626B2 (en) | Systems and methods for vehicle resource management | |
GB2535718A (en) | Resource management | |
US10021243B2 (en) | Telephone call placement | |
CN105407127A (en) | Method, apparatus, and system for free sharing of passenger tool resources | |
US20200210905A1 (en) | Systems and Methods for Managing Networked Vehicle Resources | |
US11373260B2 (en) | Information processing device and storage medium for storing control program for car sharing service | |
US20180075566A1 (en) | System and method of calculating a price for a vehicle journey | |
CN112950041A (en) | Shared vehicle scheduling method, device, storage medium and computer program product | |
CN110245763B (en) | Network taxi booking method and device based on data link and data link node | |
CN112562100B (en) | User binding method and device | |
JP5156040B2 (en) | Communication device, DSRC unit, roadside device, and in-vehicle device | |
CN111461686A (en) | Payment method and device applied to vehicle, computer equipment and storage medium | |
CN112036933A (en) | Method for information processing, electronic equipment and computer storage medium | |
CN113505150B (en) | Charging station information pushing method, server, medium and computer equipment | |
CN111652532B (en) | Order processing method and device | |
CN112270498B (en) | Same-track service order identification method and device and electronic equipment | |
CN111882093B (en) | Car pooling method and system | |
WO2016011346A1 (en) | Exchange of information about geographical locations | |
CN118428617A (en) | Automatic dispatch method based on geofence and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |