CN110245763B - Network taxi booking method and device based on data link and data link node - Google Patents

Network taxi booking method and device based on data link and data link node Download PDF

Info

Publication number
CN110245763B
CN110245763B CN201910394776.9A CN201910394776A CN110245763B CN 110245763 B CN110245763 B CN 110245763B CN 201910394776 A CN201910394776 A CN 201910394776A CN 110245763 B CN110245763 B CN 110245763B
Authority
CN
China
Prior art keywords
data link
network
vehicle
information
appointment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910394776.9A
Other languages
Chinese (zh)
Other versions
CN110245763A (en
Inventor
李莉莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Terminus Beijing Technology Co Ltd
Original Assignee
Terminus Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Terminus Beijing Technology Co Ltd filed Critical Terminus Beijing Technology Co Ltd
Priority to CN201910394776.9A priority Critical patent/CN110245763B/en
Publication of CN110245763A publication Critical patent/CN110245763A/en
Application granted granted Critical
Publication of CN110245763B publication Critical patent/CN110245763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business 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 network taxi booking method and device based on a data link and a data link node, wherein the method comprises the following steps: the data link node receives a car booking request sent by a client, 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 appointment vehicle from the network appointment vehicles currently in the jurisdiction area according to the appointment request; 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.

Description

Network taxi booking method and device based on data link and data link node
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 (3)

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;
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 the data link node sends the task assignment message to the selected network appointment vehicle
When a data link node receives a car appointment request sent by a passenger, a data link node firstly locates all network appointments currently in the jurisdiction area of the data link node, specifically, the data link node broadcasts a locating query instruction, the locating query instruction is used for indicating the network appointments receiving the instruction to return the relevant information of the vehicles, and the radiation range of the locating 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 models, vehicle colors, vehicle positioning information and vehicle state information, wherein the vehicle identification is a license plate number, and the vehicle state information is in a busy state or an idle state; after receiving the positioning query instruction, the network appointment vehicle currently located in the jurisdiction area of the data link point sends the relevant information of the vehicle to the data link node;
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; the data link node selects a network appointment vehicle from the network appointment vehicles in the idle state according to the appointment request;
the data link node selects a network appointment vehicle with an 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 an idle state and the origin information; for each network appointment vehicle in an 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 starting place specified by a passenger according to the vehicle positioning information, the starting place information included in the appointment request and a road map of a jurisdiction corresponding to the data link nodes; the nearest route is the route with the shortest travel among all routes from the network car to the origin, or the route with the least time consumption among all routes;
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-consuming duration of the nearest route corresponding to each network appointment vehicle, and then select the network appointment vehicle with the shortest time-consuming duration from each network appointment vehicle; when the nearest route is the route consuming the least time, directly selecting the network appointment vehicle consuming the shortest time from all the network appointment vehicles;
after a network appointment vehicle is selected by the data link node, a task assignment message is sent to the selected network appointment vehicle, wherein the task assignment message comprises origin information and destination information; 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; after the network appointment car plans an optimal route, the network appointment car goes to a starting place appointed by the passenger according to the optimal route; the task assignment message also comprises a contact way of the passenger, and when the network appointment arrives near the origin, the driver contacts the passenger according to the contact way of the passenger so that the passenger can find the network appointment and get on the vehicle as soon as possible; the method comprises the following steps that passengers get on the vehicle and then plan an optimal route from a starting place to a destination, and depart to the destination according to the optimal route;
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 and confirms the bill and submits a payment request; 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 and driver account information;
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 passes the verification of the fare transaction information, deducting the fare number from the passenger account by the data link node, and adding the fare number in the driver account;
after the fare transaction operation is completed, the data link nodes generate data blocks according to vehicle related information, car booking requests and fare transaction information of network car booking; the data link node adds the data block into a data chain stored by the data link node; the data link nodes store the vehicle related information, the fare transaction information, the origin information, the destination information and the passenger contact information 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 is accumulated for subsequent data analysis of the network car booking service, and the data is used as evidence when disputes occur between a driver and passengers;
the data link node broadcasts the data block to other data link nodes in the consensus network for storage; after other data chain nodes receive the data block, the data block is added to the respective stored data chain; or the data link node does not send the data block to each other data link node in the consensus network, but only sends the data block to other data link nodes corresponding to the jurisdiction area of the data link node for storage.
2. A data link based network car booking device for performing the method of claim 1, 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;
a sending module 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, and the task assignment message comprises the origin information and the destination information
The selection module (21) comprises:
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;
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 used for respectively determining the nearest route between each network appointment vehicle in the idle state and the information of the origin; selecting the network appointment vehicle with the shortest time consumption in the nearest route from the network appointment vehicles in the idle state;
the receiving module (20) is used for receiving the fare transaction information uploaded by the client after the online taxi appointment reaches the position indicated by the destination information;
the device also includes:
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; 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.
3. A data link node comprising one or more memories and a processor, said memories storing executable programs which are loaded by one or more of said processors to perform the method of claim 1.
CN201910394776.9A 2019-05-13 2019-05-13 Network taxi booking method and device based on data link and data link node Active CN110245763B (en)

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 CN110245763A (en) 2019-09-17
CN110245763B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200449B (en) * 2020-09-30 2024-09-17 广州文远知行科技有限公司 Order distribution method, device, server and storage medium
CN115471301B (en) * 2022-11-11 2023-04-07 浙江云针信息科技有限公司 Unmanned vehicle decentralized order dispatching method and device, storage medium and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
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
US20150161752A1 (en) * 2013-12-11 2015-06-11 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
CN105139641B (en) * 2015-09-29 2017-11-24 滴滴(中国)科技有限公司 A kind of vehicle dispatching method and system based on WiFi relay stations
CN105760940A (en) * 2016-02-03 2016-07-13 武汉天梯极客网络科技有限公司 Vehicle reservation method and cloud management server
CN108009657A (en) * 2017-08-16 2018-05-08 北京嘀嘀无限科技发展有限公司 Net about car order processing method, system, terminal and server
CN107886388B (en) * 2017-09-22 2020-11-03 杭州云象网络技术有限公司 Transportation credit and safety service platform for realizing polycentricity based on alliance chain and operation method thereof

Also Published As

Publication number Publication date
CN110245763A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
Zhang et al. Design of
CN109376311A (en) Suitable for the multiple matched system of driver-motroist, method and apparatus for multiplying model altogether
CN107862899A (en) Reverse car seeking method, device, computer installation and computer-readable recording medium
US20110145089A1 (en) Real-time ride share system
US11132626B2 (en) Systems and methods for vehicle resource management
EP3262600A1 (en) Systems and methods for managing a vehicle sharing facility
US10021243B2 (en) Telephone call placement
CN105407127A (en) Method, apparatus, and system for free sharing of passenger tool resources
EP3262597A1 (en) Systems and methods for managing a vehicle sharing facility
US11373260B2 (en) Information processing device and storage medium for storing control program for car sharing service
WO2021179620A1 (en) Vehicle information acquisition method and apparatus, and storage medium
US10628759B2 (en) Systems and methods for managing networked vehicle resources
US20180075566A1 (en) System and method of calculating a price for a vehicle journey
CN110245763B (en) Network taxi booking method and device based on data link and data link node
CN112950041A (en) Shared vehicle scheduling method, device, storage medium and computer program product
CN108399460A (en) Network about vehicle Order splitting processing method and server
CN111652639B (en) Service recommendation method and system
JP2020160736A (en) Vehicle parking/stopping hours prediction device, vehicle parking/stopping hours prediction method, and program
CN112562100B (en) User binding method and device
JP5156040B2 (en) Communication device, DSRC unit, roadside device, and in-vehicle device
CN114493236A (en) Service vehicle assignment method, service vehicle assignment device, service vehicle assignment apparatus, service vehicle assignment medium, and program product
CN112116114A (en) Taxi appointment order issuing method, taxi appointment order issuing device, taxi appointment order issuing equipment and storage medium
CN111461686A (en) Payment method and device applied to vehicle, computer equipment and storage medium
CN111507753A (en) Information pushing method and device and electronic equipment
CN111652532B (en) Order processing 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
GR01 Patent grant
GR01 Patent grant