WO2014048217A1 - Public traffic information inquiry method, collection method and public traffic information system - Google Patents

Public traffic information inquiry method, collection method and public traffic information system Download PDF

Info

Publication number
WO2014048217A1
WO2014048217A1 PCT/CN2013/082613 CN2013082613W WO2014048217A1 WO 2014048217 A1 WO2014048217 A1 WO 2014048217A1 CN 2013082613 W CN2013082613 W CN 2013082613W WO 2014048217 A1 WO2014048217 A1 WO 2014048217A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
bus
passenger
public transportation
vehicle
Prior art date
Application number
PCT/CN2013/082613
Other languages
French (fr)
Chinese (zh)
Inventor
韩金山
Original Assignee
Han Jinshan
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 Han Jinshan filed Critical Han Jinshan
Publication of WO2014048217A1 publication Critical patent/WO2014048217A1/en

Links

Classifications

    • G06Q50/40

Definitions

  • the invention relates to the field of traffic information, in particular to a bus information inquiry method, a collection method and a bus information system.
  • the public transport information plays an important role for public transport participants including passengers, bus passengers (hereinafter referred to as supervisors), and bus stop dispatchers (hereinafter referred to as dispatchers).
  • Timely and comprehensive mastery of bus information including passenger waiting information and bus/ship operation information will help passengers choose the right bus route, travel time and even the right bus, save traffic time and improve public transport. Comfort, improve the proportion of green travel; understand the bus operation status, help the bus and passengers, dispatchers optimize the dispatch and operation of public transport vehicles, improve the quality of public transport services and operational benefits.
  • the existing public transportation information technology provides a variety of technical routes for inquiring and collecting public transportation information, including in-vehicle equipment based on wireless communication positioning technology, in-vehicle equipment based on GPS positioning technology, or near-field communication between bus stations and public transportation vehicles or Other specialized equipment to automatically obtain the location information of the bus in real time or at regular intervals.
  • Chinese Patent Publication No. CN101819716A discloses a communication system for contacting passengers and vehicles, and the acquisition of passenger and vehicle position information relies on GPS or AGPS-based technology;
  • Chinese Patent Publication No. CN1378184A discloses that the passenger participation site in the station can be independent of the vehicle and the ship.
  • a fixed control device needs to be set at the bus station, and a mobile control device is arranged on the bus;
  • the public transportation information acquisition method, the inquiry method and the public transportation information system disclosed in the Chinese Patent Publication No. CN101226599A need to be configured with a special two-dimensional code. Or the terminal of the radio frequency identification function; in the public transportation information providing method disclosed in PCT International Publication No. WO 2007/061734 A2, the passenger and the in-vehicle wireless device are automatically returned to the position information;
  • Chinese Patent Publication No. CN102376168A discloses a public transportation information collection and inquiry.
  • the method and system do not require a special bus information source device at the bus station, but the bus information source device on the bus needs to periodically send the location information.
  • the short message service-based bus waiting inquiry system disclosed in Chinese Patent Publication No. CN102088678A requires a special in-vehicle device or module to be arranged on the bus for the driver or the flight attendant to manually provide the location information of the bus for unilateral operation. Addition and subtraction stations, and, because of the limitations of the form of communication, the short message service makes the query lack the flexibility it deserves and the cost of use is high.
  • a dedicated public transportation information source device is one-way, that is, a dedicated public transportation information source device or module is used and can only be used to provide public transportation information, and no public transportation information.
  • the inflow, and the sole purpose of the driver or flight attendant to manually operate the information source device is simply to provide the bus information center with the location information of the bus, which is not substantially different from the aforementioned specialized device for automatically providing the location information of the bus.
  • the synchronous work mode of obtaining the bus information not only wastes valuable electrical power and more communication resources, but also occupies Unnecessary bandwidth, the availability of the information provided is lower; if the location information measured in meters is converted into public use If the station or bus location mark is used, detailed bus geographic information data is needed, which increases the information processing and wastes certain computing resources.
  • this synchronous working mode is applied to the physical equipment carried by passengers, the resource occupancy is more serious.
  • the present invention has been devised to solve the above and other problems in the prior art of public transportation information.
  • the first object of the present invention is to provide an inquiry method, collection method and system for public transportation information exemption from configuring any special public transportation information source equipment.
  • the second object of the present invention is to provide a method, a collection method and a system for inquiring public transportation information, which can query and collect more information about the operation of the public transportation system other than the location information, including the description of the bus transportation schedule and the running vehicle.
  • the third object of the present invention is to provide a method and system for inquiring and collecting public transportation information, which collects public transportation information in an asynchronous working manner, that is, the collection of public transportation information is accompanied by the public transportation of the bus participants Information queries, rather than real-time changes in the location of bus participants.
  • a method for querying and collecting bus information the bus participant completes the bus information inquiry by participating in the asynchronous exchange of bus information, and the bus information asynchronous exchange center assists the bus information asynchronously.
  • the bus information is collected during the exchange; the bus participant participates in the asynchronous exchange of the bus information, including the bus operation swapping operation 0 and the swapping operation I, and the swapping operation 0 includes steps -01 and -02:
  • Step-01 The bus participant sends a bus information exchange request to the bus information asynchronous switching center through the universal networking device that it controls, and the exchange request includes the bus participant who has learned at the time for the exchange.
  • Bus information
  • Step -02 The bus information asynchronous exchange center receives a bus information exchange request from the universal networked device, and extracts bus information for the bus station participant that has been known at the time, and saves the bus information for the bus out.
  • the swap-in operation I includes a step-by-step to step-13:
  • Step- ⁇ The bus participant sends a bus information exchange request to the bus information asynchronous switching center through a universal networking device that it controls, and the exchange request includes a bus information inquiry request of the bus participant;
  • Step-12 The bus information asynchronous switching center receives a bus information exchange request from the universal networked device, and extracts a bus information inquiry request of the bus participant from the bus; and according to the popped bus information query request, the saved information is saved. Other bus participants query the relevant bus information in the exchanged bus information, and return the corresponding query result to the universal networking device controlled by the bus participant;
  • Step -13 The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result;
  • the two operations are combined in a certain manner to form a corresponding bus information asynchronous exchange process, and the bus participant participates in the bus information asynchronous exchange according to the exchange process, and realizes the bus information query task, and the bus information asynchronous exchange center collects New bus information.
  • the two operations are combined in a certain manner, including the following two ways: Parallel mode: For the swapping operation and the swapping operation, according to letting the two operations start at the same time Way of combining;
  • Tandem mode The swapping operation and the swapping operation are combined in such a manner that one of the operations is started at a certain time after the end of the other operation.
  • the one swapping operation and the one swapping operation are combined in parallel to form a parallel combination module I U 0; according to the parallel combination module, the process in which the bus participant participates in the asynchronous exchange of the bus information includes the following steps:
  • Step U1 The bus participant sends a bus information exchange request to the bus information asynchronous switching center through the universal networking device that it controls, and the exchange request includes the bus information inquiry request of the bus participant and is known at the time.
  • Bus information for exchange
  • Step U 2 the bus information asynchronous switching center receives a bus information exchange request from the universal networking device, Extracting the public transportation information inquiry request of the public transportation participant and the public transportation information for exchanging at the time; and querying from the public transportation information used by other public transportation participants that have been saved according to the public transportation information inquiry request Corresponding public transportation information, returning the corresponding query result to the universal networking device controlled by the bus participant; and saving the public transportation information used by the public transportation participant at the time to be exchanged;
  • Step U 3 The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result.
  • the bus information is asynchronously exchanged by the bus participant, and includes one or more of the swapping operation and one or more of the swapping operations; and the swapping operation included Out operation, if there is a parallel combination mode, the related operations are first combined into parallel operation modules according to the parallel connection; a certain order is determined in advance, and the first start time of one operation or operation module is placed in another according to the order After the last end time of the operation or operation module, the final combination is performed to form a process of asynchronous exchange of the bus information, and the bus participant participates in the asynchronous exchange of the bus information according to the process, and completes the bus information inquiry task, and the bus information is completed.
  • the exchange center collects new bus information.
  • a public transportation information system which helps a bus participant to realize asynchronous exchange of bus information between them, the system comprising:
  • a universally-connected device operated by a bus participant the bus participant sends a bus information exchange request to the bus information asynchronous exchange center through the device, and the bus information exchange request includes the bus participant who has learned at the time for the exchange Bus information or/and bus information inquiry request; receiving and displaying information returned from the bus information asynchronous exchange center;
  • Communicating with a universally-connected device operated by a bus participant receiving a bus information exchange request sent by the bus participant through a universally-connected device operated by the bus participant, and analyzing that the bus participant included in the exchange request is known at the time The bus information or/and the bus information inquiry request for the exchange; return the query result in the task b to the universal networking device controlled by the bus participant;
  • the beneficial effects of the present invention are:
  • the asynchronous exchange of the public transportation information realizes two asynchronous functions: an asynchronous working mode of public transportation information exchange and an asynchronous working mode of public transportation information collection, wherein the asynchronous working mode of public transportation information exchange is: every public transportation
  • the information of the bus exchanged by the participants of the information exchange in the exchange is derived from the bus information exchanged by a plurality of other participants before the exchange occurs, and the participant exchanges the exchange information in the exchange.
  • the public transportation information will also be used as the source of public transportation information exchanged by other participants in the subsequent exchange.
  • This asynchronous exchange method does not require any special public transportation information source equipment to complete the public transportation information inquiry, and completely eliminates the special public transportation information source equipment.
  • the investment cost and maintenance cost completely rid of the asset relationship constraint generated by the dedicated public transportation information source, and improve the openness of the public transportation information service.
  • the semantic nature of the asynchronously exchanged public transportation information enables the present invention to collect and query other information.
  • the asynchronous work of public transport information collection is that the accumulation of public transport information is asynchronous
  • the real-time changes in the bus operation are mostly synchronized with the bus information inquiry activity.
  • the location time information in the collected bus information is marked by the bus station; the location time information marked by the bus station is more than the real-time latitude and longitude position information.
  • the location information is easier to judge the travel time than the precise distance location information; the resource saved by the "sparse" location information can be used to carry the public information about the passengers with a large amount of data; the technical party characterized by the asynchronous exchange of public transport information In the case, the above three objectives of the invention were achieved.
  • the present invention can also be improved as follows:
  • the bus information asynchronously exchanged by the bus participant includes one or more of the swapping operation and one/multiple swapping operations; the bus participant At different stages of participating in different bus activities, according to the specific scenario at that time, each time from the swap-in operation, the swap-out operation or the parallel combination module, an appropriate bus information exchange operation is selected autonomously.
  • the beneficial effect of adopting this further scheme is to give the bus participants a full autonomy in the asynchronous exchange of bus information, so that the bus participants who participate in the bus activities are not very regular and participate in the asynchronous exchange of bus information more smoothly; for example, the bus station dispatcher
  • after scheduling the scheduling information in the dispatching command it will wait for a certain period of time before the clear information is exchanged. Or swap out the demand, sometimes after the release of the scheduling command, you need to query the bus information of the next dispatch line and direction. Sometimes, you need to continuously release the scheduling information.
  • the bus information asynchronous switching center includes: (1) a communication interface unit, configured to complete the task a; (2) a query unit, configured to complete the task b ; (3) a storage unit for performing the task. .
  • the above-mentioned further improvement of the public transportation information system improves the structural level of the bus information asynchronous switching center by separating the communication, inquiry and storage functions of the bus information asynchronous switching center, and enhances the maintainability of the system.
  • the public transportation participant includes two types of passengers and a public transportation vehicle; the public transportation information exchange center pre-creates a passenger waiting information set, and the bus transportation scheduling of the Sicheng source
  • the passenger participates in a round of bus information asynchronous exchange before the ride, including a bus information exchange operation and a swap operation, and the two operations are combined in a side-by-side manner to form a process in which the passenger participates in a round of bus information asynchronous exchange. , including steps 6-P1 through 6-P3,
  • Step 6-P1 The passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the passenger before the ride, the exchange request including the passenger's inquiry request and the planned travel information at the time. ;
  • Step 6-P2 the bus information asynchronous switching center receives a bus information exchange request from the universally-connected device operated by the passenger, and extracts the passenger's inquiry request and the planned travel information at the time; according to the passenger's inquiry request Searching relevant bus information from the corresponding bus information set, and returning the corresponding query result to the universal connected device operated by the passenger; sorting the planned ride information into a passenger waiting information item, and setting the waiting state to be waiting In, stored in the passenger waiting information set;
  • Step 6-P3 the universally-connected device operated by the passenger receives and displays the result returned from the bus information asynchronous switching center;
  • the bus vehicle department participates in a round of bus information asynchronous exchange when receiving the dispatching instruction, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form an asynchronous bus information participation.
  • the process of exchange including steps 6-D1 to 6-D3,
  • Step 6-D1 The public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous switching center by using the universal networking device controlled by the public transportation vehicle, and the exchange request includes the inquiry request of the division in the state of waiting for the vehicle and The bus Dispatching information at the time;
  • Step 6-D2 The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts a query request in a state to be issued and a scheduling information of the current bus vehicle;
  • the query request in the to-be-launched state queries the relevant public transportation information from the corresponding public transportation information set, and returns the corresponding query result to the publicly-connected network device controlled by the public transportation vehicle; Scheduling information, sorted into scheduling information items, and stored in the bus vehicle scheduling information set of the source;
  • Step 6-D3 the public transportation device controlled by the bus vehicle department receives and displays the result returned from the bus information asynchronous exchange center;
  • the bus and vehicle division starts to operate the public transportation vehicle, and each station stops to participate in a round of bus information asynchronous exchange, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form participation.
  • the process of asynchronous exchange of bus information including steps 6-C1 to 6-C3,
  • Step 6-C1 The bus vehicle department sends a bus information exchange request to the bus information asynchronous exchange center by using the universal networking device controlled by the bus, and the exchange request includes the inquiry request and the book of the division in the running state.
  • the current operational information of the bus
  • Step 6-C2 The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request in the running state of the department and the current running information of the bus According to the query request in the running state of the division, query the relevant public transportation information from the corresponding public transportation information set, and return the corresponding query result to the universal networking device controlled by the bus vehicle division;
  • the bus operation information is compiled into a bus operation information item, and is stored in the bus vehicle operation information set of the source, and in the passenger waiting information set, the waiting state is found to be in the waiting mode, and the public transportation vehicle is available at the time.
  • the waiting information item of the boarding relationship is updated, and the waiting state of the passengers involved in the found information item is updated to the waiting state of all the waiting information items in the waiting state;
  • Step 6-C3 The public transportation device operated by the bus and vehicle department receives and displays the result returned from the bus information asynchronous exchange center.
  • each bus driver is required to be the supplier of the bus vehicle operation information required by the inquiry request of the relevant passenger while submitting his own inquiry request;
  • Each passenger receives the inquiry request and becomes the supplier of the passenger waiting information required for the inquiry request of the relevant division.
  • the asynchronous exchange of the public transportation information includes obvious duality; the public information is asynchronously exchanged, so that the passenger
  • the efficiency of the information service of the further scheme is the highest; it should be pointed out that the bus information and the total amount of absolute resources occupied by the bus information asynchronous exchange may not be significantly reduced, because the present invention collects or provides public transportation information about passengers.
  • Existing public transportation information systems generally do not collect public transportation information about individual passengers, and the number of individual passengers is much larger than the number of public transportation vehicles and their stations.
  • the bus participant includes a type of passenger;
  • the bus information asynchronous exchange center pre-creates a passenger waiting information set, a non-identified bus vehicle operation information set of a passenger source, and a passenger source a set of identification bus operation information for preparing to save planned passenger information transmitted by the passenger, actual vehicle information not including the unique identifier of the public transportation vehicle, and actual vehicle information including the unique identification of the public transportation vehicle;
  • the passenger participates in a round of bus information asynchronous exchange, including two swapping operations and one swapping operation, wherein the first swapping operation and the one swapping operation are combined into one operating module in a side by side manner, and then And the second swapping operation is combined in series to form a process in which the passenger participates in the asynchronous exchange of bus information, including steps 7-P1 to 7-P5:
  • Step 7-P1 the passenger is controlled by the passenger before riding a universal networking device, sending a bus information exchange request to the bus information asynchronous exchange center, where the exchange request includes the passenger's inquiry request and the planned travel information at the time;
  • Step 7-P2 The bus information asynchronous switching center receives the bus information from the universal connected device controlled by the passenger Exchanging a request, extracting the passenger's inquiry request and the planned travel information at that time; and querying the relevant public transportation information from the corresponding public transportation information set according to the passenger's inquiry request, and returning the corresponding query result to the passenger's control a universally-connected device; sorting the planned ride information into a passenger waiting information entry, adding a waiting state set in the waiting mode, and storing the waiting information in the passenger waiting information set;
  • Step 7-P3 the passenger-controlled universal networking device receives the information returned by the bus information asynchronous switching center;
  • Step 7-P4 When the passenger rides on the bus, through the controlled universal networking device, The bus information asynchronous exchange center feeds back its actual vehicle information;
  • Step 7-P5 the bus information asynchronous exchange center receives the actual vehicle information fed back by the passenger; if the actual vehicle information fed back by the passenger does not include the unique identifier of the public transportation vehicle, the passenger feedback is Actually, the vehicle information is organized into an unmarked bus vehicle operation information item, and is stored in the unidentified bus vehicle operation information set of the passenger source; if the actual vehicle information fed back by the passenger includes the unique identifier of the public transportation vehicle, And then sorting the actual vehicle information fed back by the passenger into a marked public transportation vehicle operation information item, and storing the identified public transportation vehicle operation information set; the unidentified public transportation vehicle operation information collection or passenger source of the passenger source When the identified public transportation vehicle operation information set is stored in a new information item, in the passenger waiting information set, it is found that the waiting state is the waiting vehicle, and the public transportation vehicle involved in the newly deposited information item has The waiting information entry of the achievable boarding relationship, the passengers involved in the found waiting information item Car status information for all entries waiting waiting waiting status is updated to have been on the train
  • the bus participant further includes a bus type of the bus; the bus information asynchronous exchange center is also pre-created, the bus vehicle scheduling information set of the Sicheng source, and the bus vehicle operation information set of the Sicheng source are used for Prepare the dispatching information and operation information of the public transport vehicle sent by the bus and vehicle division respectively;
  • the bus vehicle department When the bus vehicle department receives the dispatching instruction, it participates in a round of bus information asynchronous exchange before the departure, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form a participating one.
  • the process of asynchronous exchange of bus information includes steps 8-D1 to 8-D3:
  • Step 8-D1 The bus vehicle department sends a bus information exchange request to the bus information asynchronous switching center by using the universal networking device controlled by the bus, and the exchange request includes the inquiry request of the department in the state of waiting for the vehicle and The scheduling information of the bus at the time;
  • Step 8-D2 The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the inquiry request of the department in the state of waiting for the vehicle and the current time of the bus Scheduling information; querying relevant public transportation information from the corresponding public transportation information set according to the inquiry request in the to-be-launched state, and returning the corresponding query result to the public networking device controlled by the public transportation vehicle; Scheduling information is organized into scheduling information items, and stored in the bus vehicle scheduling information set of the source;
  • Step 8-D3 the public transportation device controlled by the bus and vehicle department receives and displays the result returned from the bus information asynchronous exchange center;
  • the bus vehicle division starts to run the public transportation vehicle, and each time the station is docked, participates in a round of bus information asynchronous exchange, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form Participate in a round of participation in the process of asynchronous exchange of bus information, including steps 8-C1 to 8-C3.
  • Step 8-C1 The master sends a bus information exchange request to the bus information asynchronous switching center through the universal networking device controlled by the secretary, where the exchange request includes the query request in the running state of the division and the public transportation vehicle Operational information at the time;
  • Step 8-C2 The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request in the running state of the department and the current operation of the bus Information; querying related public transportation information from the corresponding public transportation information set according to the query request in the running state, and returning the corresponding query result to the universal networking device controlled by the public transportation vehicle;
  • Related content Arranging into a bus operation information item, storing in the bus operation information set of the source, in the passenger waiting information set, searching for the waiting state in the waiting state, and the newly stored operation information item
  • the bus vehicle has a waiting information item of the boarding relationship that can be realized at that time, and the waiting state of the passenger involved in the found information item is updated to the waiting state of the waiting information item in the waiting vehicle;
  • Step 8-C3 The public transportation device controlled by the bus and vehicle department receives and displays the result returned from the bus information asynchronous exchange center; terminates the asynchronous exchange process of the current bus information.
  • the bus participant has only one type of passenger
  • the public transportation information system includes:
  • a passenger-operated universal networking device the passenger transmits an exchange request to the bus information asynchronous switching center through the device, and receives and displays information returned by the bus information asynchronous switching center, the exchange request including the passenger's current plan Passenger information and inquiry request; when the passenger rides on the public transportation vehicle, the actual information of the vehicle is fed back to the public information exchange center through the device;
  • the bus information asynchronous exchange center before completing other tasks, pre-establishing a passenger waiting information set, a non-identified bus vehicle operation information set of the passenger source, and a marked bus operation information set of the passenger source for separately preparing
  • the planned passenger information sent by the passenger, the actual vehicle information that does not contain the unique identification of the bus and the actual vehicle information including the unique identifier of the bus are stored; the center also completes the following tasks:
  • the task a includes: receiving an exchange request sent by the passenger through a universal networking device that the passenger controls, and extracting the passenger's planned travel information and query request from the passenger; receiving the passenger's control when riding the public transportation vehicle The actual vehicle information fed back by the universal networking device; returning the query result in the task b to the universal networked device operated by the passenger;
  • the task b comprising: querying related public transportation information from the related information set according to the query request of the passenger precipitated in the task a, and outputting the related query result to the task a;
  • the task ⁇ includes: combining the planned boarding information extracted in the task a with the waiting state set in the waiting mode, and combining the waiting information items into the passenger waiting information set;
  • a waiting information entry updating the waiting state of the passenger in the waiting information item to the waiting state of all the waiting information items in the waiting vehicle; if the actual vehicle information reported by the passenger does not include the bus
  • the unique identification of the vehicle the actual vehicle information is organized into an unmarked bus operation entry, and the unidentified bus operation information set stored in the passenger source; if the actual vehicle information fed back by the passenger includes the multiplication
  • the unique identification of the public transportation vehicle the actual vehicle information is organized into an information item indicating the operation of the public transportation vehicle, and deposited Passengers have said source buses run identification information sets.
  • the bus information asynchronous switching center includes:
  • a passenger terminal communication interface unit for performing the task a (1) a passenger terminal communication interface unit for performing the task a;
  • a storage unit which pre-creates a passenger waiting information set, a non-identified bus vehicle operation information set of the passenger source, and a marked bus operation information set of the passenger source, for respectively preparing to store the planned passenger information transmitted by the passenger, There is no actual vehicle information containing the unique identification of the bus and actual vehicle information containing the unique identification of the bus; this unit is also used to complete the task ⁇
  • the beneficial effects of adopting the above further solution are: passengers in the same running direction of a bus line will exchange bus information asynchronously according to the chain mode of "the feedback information of the upstream passenger is the answer of the downstream passenger", and the corresponding bus
  • the information system and its further solutions provide a system platform with clear structure for asynchronous chain exchange; chain-type asynchronous exchange of public transportation information, making passengers' query and feedback become the information source of public transportation information inquiry method and public transportation information system.
  • the public transportation information service is therefore sufficiently open; in the actual vehicle information fed back by the passenger, although it seems that information duplication may occur in the vehicle running information, it is for confirming the number of waiting persons. It is beneficial, and in fact, the vehicle information in the vehicle information is changing.
  • the feedback information reflects the latest situation, so each feedback information has value;
  • the startup speed of the chain asynchronous exchange is accelerated by the dual asynchronous exchange, and the coupling requirement of the dual asynchronous exchange is released by the chain asynchronous exchange, and the actual effect includes the public information that can be queried.
  • the bus and vehicle division is divided into the dispatching information of the public transport vehicle in addition to the waiting state, and the first station in the running state publishes information about the operation of the public transport vehicle, and it is not necessary to stop every stop in operation. Published once.
  • the public transportation participant has only two types of passengers and passengers, and the public transportation information system includes:
  • a passenger-operated universal networking device the passenger transmits an exchange request to the bus information asynchronous switching center through the device, and receives and displays information returned by the bus information asynchronous switching center, the exchange request including the passenger's current plan Passenger information and inquiry request; when the passenger rides on the public transportation vehicle, the actual information of the vehicle is fed back to the public information exchange center through the device;
  • the universal network equipment operated by the bus and vehicle department when the bus vehicle department receives the dispatching instruction about the bus, the device sends a bus information exchange request to the bus information asynchronous exchange center, and the exchange request includes the waiting for the bus.
  • the inquiry request in the state and the information about the bus dispatching at the time; when the bus driver starts to run the bus, each station stops, and the bus information exchange request is sent to the bus information asynchronous exchange center through the device, the exchange
  • the request includes the inquiry request in the running state of the division and the information about the operation of the public transportation vehicle at the time; receiving and displaying the message returned by the asynchronous information exchange center;
  • Bus information asynchronous exchange center The center pre-creates passenger waiting information set, bus source dispatching information set of Sichengyuan, unmarked bus running information set of passenger source, and identified bus running information set of passenger source and The bus vehicle operation information set of the company is used to separately store the corresponding bus information for the exchange of passengers and bus vehicles;
  • the tasks & including:
  • A2 Communicate with the universal networked device operated by the bus and vehicle department: receive the exchange request when the bus is connected to the dispatching instruction from the general-purpose networked device operated by the bus driver, or each station stops after the bus starts to run.
  • the task b includes:
  • the task ⁇ includes:
  • the planned boarding information of the passengers that are precipitated and calculated in the task a1, and the related content of the planned boarding information is set together with the waiting state in the waiting state, and is sorted into one or a group of passenger waiting information items.
  • the public transportation vehicle scheduling information that is deposited on the task c2, and the scheduling information is organized into a scheduling information item, and stored in the bus vehicle scheduling information set of the source;
  • the current operation of the public transportation vehicle that is precipitated in the task c2 Information the operation information is organized into information items, and stored in the bus vehicle operation information set of the company;
  • the unidentified bus vehicle operation information set of the passenger source, the identified bus vehicle operation information set of the passenger source, or the bus vehicle operation information set of the Sicheng source is stored in the new information item, in the passenger waiting information set A waiting information item in which the waiting state is a waiting state, and a passenger relationship with the new information item has a riding relationship that can be realized at that time, and the waiting state of the passenger involved in the found waiting information item is all waiting in the waiting mode.
  • the waiting status of the information item is updated to be on board.
  • the bus information asynchronous switching center includes:
  • a passenger terminal communication interface unit for performing the task a1 (1) a passenger terminal communication interface unit for performing the task a1 ;
  • a query unit configured to complete the task bl and the task b2;
  • a storage unit which pre-creates a passenger waiting information set, a bus vehicle scheduling information set of the Sicheng source, a non-identified bus vehicle operation information set of the passenger source, a marked bus operation information set of the passenger source, and a Sicheng source
  • the bus vehicle operation information set is used to prepare to save the bus information for the passengers and the bus driver to send out the exchange; the unit also completes the tasks cl, task c2 and task c3 described below.
  • the planned passenger information of the passenger includes information about a planned riding route, a planned riding direction, a planned boarding station and a station, a planned getting off station and a station, a planned arrival time at the station, and a riding instruction.
  • the bus instructions and the planned drop-off station are optional information content;
  • the actual vehicle information includes, regarding the actual vehicle route of the passenger, the actual vehicle direction, the actual vehicle station, the actual vehicle time, and the passenger's ride.
  • the scheduling information of the public transportation vehicle includes information about the unique identification of the public transportation vehicle, the departure route, the departure direction, the scheduled departure time, and the departure description, wherein the departure description is optional information.
  • the operational information includes information about the operation of the vehicle when the vehicle is parked at the station or the station at the latest, including the unique identification and operation of the public transportation vehicle.
  • the riding condition includes at least one of the following information contents: (1) information about a sanitary condition in the public transportation vehicle, (2) information about a remaining empty seat in the bus, (3) about the inside of the public transportation vehicle Information on crowded conditions,
  • the passenger's inquiry request includes a request for return, a planned ride information suitable for the passenger, and an on-going bus operation that may establish a boarding relationship with the passenger before reaching the terminal Information
  • the query request in the to-be-launched state includes a request to return, and the public transportation vehicle meets its planned ride
  • the query request in the running state includes at least one of the following query requests:
  • the public transportation device of the public transportation vehicle department maintains static information related to the public transportation vehicle; the public transportation vehicle vehicle starts to run the public transportation vehicle, and the interface for participating in the asynchronous exchange of public transportation information is configured to include the first 1. a level of the second display screen; the first display screen displays the station row of the bus running line in one direction at a time, and allocates a sub-display area for each station in the current page; The first display screen further includes a direction button, a query button and an unlock button; each time the direction button is pressed, the first display screen will rotate to display the station row and the station in the next running direction of the line.
  • the query button is placed at the first station when the bus is started to run; if the unlock button on the first display screen is pressed, the first display screen will be in the current direction of the line On the top, each of the stations except the already queried station is set with a query button; When a vehicle is parked bus station, the bus query vehicle occupant presses the button on the docking station car a first display screen, go to the second display screen;
  • the second display screen displays that the station selected by the first display screen is a query request of the stop station and a form of the current time running information of the public transportation vehicle, wherein the static information involved is from the static information saved by the universal networking device;
  • the public transportation vehicle department completes the operation of the inquiry request and the current time running operation information form of the public transportation vehicle through the second display screen, and the universal networking device sends the inquiry request to the public information asynchronous switching center and the current time of the public transportation vehicle Running the information, and then returning to the first display screen, the related information in the query result is automatically assigned to the sub-display area of each station on the current page of the first display screen, and the query button is automatically placed in the current query.
  • the next station of the station, the first display screen retains only one of the most recently queried stations and the remaining unqueried stations.
  • the public transportation information inquiry method, collection method and public transportation information system provided by the invention are widely applicable to urban public transportation, urban and rural passenger transportation, long-distance passenger transportation, unit shuttle bus, carpooling, rail passenger transportation, waterway passenger transportation, air passenger transportation, tourist attractions and sightseeing vehicles, and the like. .
  • FIG. 1 shows a basic operation type and process of asynchronous exchange of public transportation information according to the method for inquiring and collecting public transportation information according to the present invention
  • FIG. 3 is a diagram showing an example of asynchronous exchange of public transportation information included in the first embodiment of the public transportation information inquiry and collection method of the present invention
  • FIG. 4 is a diagram showing a bus exchange asynchronous exchange process of a bus participant autonomously according to a second embodiment of the bus information inquiry and collection method of the present invention
  • FIG. FIG. 5 is a diagram showing a process in which a passenger participates in the asynchronous exchange of bus information in the third embodiment of the bus information inquiry and collection method of the present invention
  • FIG. 6 is a diagram showing a process in which the bus vehicle division of the third embodiment of the bus information inquiry and collection method of the present invention participates in the asynchronous exchange of the bus information in the state of waiting for the vehicle;
  • FIG. 7 is a diagram showing a process in which a bus vehicle division of the third embodiment of the bus information inquiry and collection method of the present invention participates in asynchronous exchange of bus information in an operating state;
  • Figure 8 is a diagram showing a process in which a passenger participates in the asynchronous exchange of bus information in the fourth embodiment of the bus information inquiry and collection method of the present invention.
  • Figure 9 is a schematic view showing a first embodiment of the public transportation information system of the present invention.
  • Figure 10 is a schematic view showing a second embodiment of the public transportation information system of the present invention.
  • Figure 11 is a schematic view showing a third embodiment of the public transportation information system of the present invention.
  • the public transportation information inquiry and collection method and the public transportation information system provided by the embodiments of the present invention provide the bus participants with comprehensive content of public transportation information services based on the asynchronous exchange of public transportation information between the bus participants, and are free from configuration. Any special public transportation information source equipment makes the public transportation information service more open, and at the same time, it occupies relatively few resources.
  • a membership system can be adopted for the bus participants; when the bus participant first logs into the bus information asynchronous exchange center through a universal networking device (such as a mobile phone capable of connecting to the Internet) Automatically become a member, the bus information asynchronous exchange center assigns a unique member identifier to it, and saves it in the bus information asynchronous exchange center, and returns it to the corresponding universal networking device.
  • a universal networking device such as a mobile phone capable of connecting to the Internet
  • the universal networking device saves the member identifier and notifies the ⁇ , ⁇ 1 and the; when the bus participant queries or feeds the bus information later, the universal networking device will automatically submit the member identification; the member identifier of the information sender is the asynchronous exchange of the universal networking device and the public transportation information in all embodiments of the present invention
  • Center Automatic transmission and saved in the process described below and the information items stored in the collation, this source is indicated not particularly extraordinary information content, receiving, preserving and other matters, if specified, the order to emphasize;
  • the universal networking device stores corresponding static information:
  • the static information stored for the bus driver includes: the bus participant type is the multiplication, the Member ID of the board, information about the general-purpose networked equipment used, the unique identifier of the bus vehicle being operated (such as the self-numbering or license number of the vehicle), the transportation facility, the vehicle type, the fare pricing method, the operation time, Operating company, etc., the list of bus lines that can be transferred in the station, station, and station of the bus line to which the bus belongs.
  • the static information includes: the type of the bus participant is the passenger, the identifier of the passenger, the information about the universal networked device used, and the plurality of sets of static planned ride information commonly used by the passenger, specifically including the route, direction, and Plan the station and station, etc., plan to take the passenger who wants to feedback the actual ride information.
  • the information also includes a plan to get off the train station and the station;
  • the static information saved for the bus station dispatcher includes: the bus participant type is the dispatcher, the dispatcher's logo, the information of the universal networked device used, Information about the line and direction of operation of the dispatch management, station trains, bus vehicles, and regular departure plans;
  • the bus information asynchronous exchange center must create a static information set of the bus information, and pre-store the static data of the bus line, including the number of stations, stations, and stations in each running direction of each bus line. , the list of bus lines that can be transferred at each station, and the operation time of the line, the pricing method, the bus transportation facilities, etc., when the information content lacks data, it is set to a missing value. If the mileage data of a station section is missing, Then replace the missing mileage with the average number of non-missing mileages in the same direction of the same line.
  • the number of miles in the direction of the line is set to 1; when the bus participant inputs the line, direction and the station at the universal networking device that he controls, the information about the station stop can be obtained by using the ajax technology, by the universal networking device.
  • the inquiry request for the station number is automatically sent to the bus information exchange center, and is queried from the static bus information collection, and then automatically returned to the universal networked device, and the source of the station information is not mentioned below.
  • All the embodiments of the present invention relate to the problem of transmitting data about query requests and bus information for exchanged between the universal networking device and the bus information asynchronous switching center; there are various popular standards, such as XML, j son and other protocols, which enable the encoding or decoding of bus information to be supported by off-the-shelf software and hardware; the basic process includes the use of general information elements on the form of the bus information inquiry request or the bus information for exchange
  • the networked device is expressed as an XML or json format object, passed to the bus information asynchronous exchange center, and restores the bus information query or the elements of the bus information used for exchange from the corresponding XML or json object; these technologies are ordinary in the industry All of the following embodiments do not mention the details of data conversion in data communication.
  • Planned ride information includes planned route, direction, upper station, upper station stop, scheduled arrival time, lower station (optional), travel instructions (may be available) Select, if you need special car assistance) and other information content; in fact, the car information includes the actual bus line, direction, station, station number, actual car time, unique vehicle identification, riding conditions, etc. Content and other information content, of which the latter two are optional; the operation information of the bus, including the running route, running direction, stop station, unique identification of the vehicle, arrival time, riding conditions (optional), etc.
  • Bus dispatching information includes departure line, departure direction, departure station, planned departure time, departure instructions (such as whether to jump station, stop station, whether it is the last bus, this item is optional);
  • Asynchronous exchange is the basis of all embodiments of the present invention, in order to facilitate the description of the embodiment of the present invention, The basic operation of the asynchronous exchange of bus information; FIG. 1 shows the basic operation and corresponding process of the asynchronous exchange of bus information in the present invention, and the basic operations include two types: the transfer operation of the bus information I and the swap operation 0
  • the process of swapping in operation I includes:
  • the public transport agent sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the bus, and the exchange request includes the bus information inquiry request (A) of the bus participant;
  • the bus information asynchronous switching center receives the bus information inquiry request from the universal networking device, and extracts a bus information inquiry request (A); according to the bus information inquiry request (A), from other public bus participants that have been saved Inquiring the relevant public transportation information (Q) in the public transportation information for the exchange, and returning the corresponding query result to the universal networking device;
  • the universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result;
  • the process of swapping out operation 0 includes:
  • the bus participant sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the bus, and the exchange request includes the bus information for the bus exchange that the bus participant has learned at the time ( T ) ;
  • the bus information asynchronous switching center receives a bus information exchange request from the universal networking device, and extracts bus information (T) for the bus station that has been known at the time, and sorts the information into an information item, and saves the information.
  • Information item (S) is a bus information exchange request from the universal networking device, and extracts bus information (T) for the bus station that has been known at the time, and sorts the information into an information item, and saves the information.
  • Asynchronous exchange of bus information the basic operation in Figure 1 is "atomic", any bus information asynchronous exchange process can be combined in a certain way by the two operations; the two "atoms" operate in a certain bus Referenced in the activity scenario, the relevant reference parameters need to be provided, including two arguments: the bus participant (agent) and the information required to execute the prototype (info), and the query request (A) and the corresponding query operation (Q) ), or / and information for swapping out (T) and corresponding storage operations (S);
  • Figure 2 shows the asynchronous exchange process of bus information combined by the basic operation in Figure 1 in parallel, the process Including 1 ⁇ 1 ⁇ 1 ⁇ , the step U l is the combination of II and 01 in FIG. 1, and the exchange information T in the query requests A and 01 in II constitutes the bus information exchange request in U l
  • the content U 2 is the combination of 12 and 02 in FIG. 1 , and the storage operation S in the query operations Q and 01 in 12 constitutes the core operation of the bus information asynchronous switching center in this step; 13 is formed in the swapping operation described in FIG. 1; the specific process includes:
  • U 1 a bus operator sends a bus information exchange request to the bus information asynchronous switching center through a universal networking device controlled by the bus, the exchange request including the bus information inquiry request (A) of the bus participant and The bus information (T) for the bus exchange that the bus participant has known at the time;
  • the bus information asynchronous exchange center receives a bus information exchange request from the universal networked device, and extracts a bus information inquiry request (A) of the bus participant and a public transportation information that is known at the time for exchange (T); querying relevant public transportation information (Q) from the public transportation information used by other public transportation participants that have been saved according to the public transportation information inquiry request (A), and returning the corresponding inquiry result to the public transportation station.
  • a universally-connected device operated by the participant sorting the bus information (T) for the exchange that the bus participant has known at the time into an information item, and saving the collated information item (S);
  • U 3 The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result.
  • the parallel combination module in FIG. 2 is the most commonly used "middleware" operation for constructing the bus information asynchronous exchange process;
  • the first embodiment of the present invention includes the process of bus participants participating in the asynchronous exchange of bus information in different specific bus activity scenarios, They are all different example processes; in this embodiment, the bus participants are divided into three types: passengers, bus vehicles (hereinafter referred to as the division) and bus station dispatchers (hereinafter referred to as dispatchers),
  • the nature of the bus information used by the bus participants to exchange or the nature of the bus information to be queried (required to be exchanged) includes three categories: bus information about passenger waiting, scheduling information about the bus, and information about the operation of the bus;
  • the information asynchronous exchange center stores the public transportation information used by the received bus participants for different bus information collections.
  • Bus Vehicle Dispatching Information Set (DD), Sichengyuan Bus Dispatching Information Collection (CD), Passengers
  • NPR unidentified bus vehicle operation information set
  • IPR the passenger vehicle's identified bus vehicle operation information set
  • CR singular source bus operation information set
  • the data is organized as follows: the PW is used to prepare to save planned passenger information transmitted by the passenger, wherein the information item includes a field including the passenger who sends the information. Member ID, planned bus route, planned bus direction, planned station, planned station station, planned station, planned station station, planned arrival time, waiting status, information reception time (may also be At the moment of information deposit, the system will automatically add), the ride description, each information item contains only one planned ride route, direction and planned station; the DD is used to prepare to save the bus dispatch information sent by the dispatcher, The information item includes fields including the member identification of the dispatcher who sent the information, the departure route, the departure direction, the departure station, the departure station number, the unique identification of the departure vehicle, the scheduled departure time, the departure description, and the information reception time.
  • An information entry contains only one departure line, departure direction , the departure station, the bus vehicle unique identifier; the CD is used to prepare to save the bus transportation dispatch information sent by the division, wherein the information item includes a field, the member identifier of the driver who sent the information, the departure route, the departure direction, The departure station, the departure station number, the unique identification of the bus, the departure time, the departure description, and the information reception time.
  • Each information item includes only one departure line, the departure direction, the departure station, and the unique identifier of the bus; the NPR It is used to prepare to save the actual vehicle information or the actual ride information transmitted by the passenger without including the unique identifier of the public transportation vehicle, wherein the information item includes fields including the member identification of the passenger who sent the information, and the bus line (corresponding to the actual vehicle) Actual bus route in the information or the actual ride route in the actual ride information), direction (corresponding to the actual car information) The actual boarding direction in the direction of the boarding or the actual boarding information), the station (corresponding to the actual station in the actual vehicle information or the actual station in the actual boarding information), the station number, and the station time (corresponding to the actual vehicle time in the actual vehicle information or the actual arrival time in the actual riding information), the riding condition, and the information receiving time, each information item contains only one line, direction and station; the IPR It is used to prepare to save the actual vehicle information or the actual ride information transmitted by the passenger including the unique identifier of the public transportation vehicle, wherein the information
  • each information item only contains one running line, running direction, stopping station, unique identification of the bus; in the above bus information collection, Each information item contains only one member ID; if the bus information to be stored in the information set contains two or more values of a field requiring a value, it is split into multiple information items to ensure that each information item only contains a value for those fields; the different buses that are pre-created Collection of information may be implemented, can be a Structured Query Language (SQL) queries the relevant operation and store operation, and written into the corresponding storage command query command database technology;
  • SQL Structured Query Language
  • the change operation I can include three operation prototypes:
  • Operation prototype IP-1 a passenger who wants to ride, wants to know the bus operation information related to his ride plan; performs the three steps of switching operation I ( ⁇ 2 ⁇ 3) described in Fig. 1, where
  • the argument agent is a passenger, and the argument info includes the passenger's planned ride information; correspondingly, the bus information query request in step ⁇ , A, includes: (IPA-1) requesting return to be suitable for the passenger
  • the operation information of the upstream public transportation vehicle of the agent's planned travel information correspondingly, the relevant public transportation information is searched from the public transportation information used by other public transportation participants that have been saved in step 12, Q, including:
  • IPQ-1 For each planned passenger route and direction of the passenger, perform the following query on the IPR, NPR, CR: Find the line included in the IPR and the planned route of the agent, The latest operational information entry for the arrival time of different public transport vehicles, returned from the found information entry, including the direction of the agent's planned ride direction, and the included station number is not greater than the agent's planned boarding station station.
  • the operation information entry of the secondary; found from the NPR, the included route and direction are respectively consistent with the planned ride route and direction of the agent, and the included station station is not greater than the information entry of the agent's planned boarding station station, from Find the latest running information entry of the different station's inbound time in the found information item, and calculate the actual distance of the next station from the next station for each selected information item (the data is taken from the public information set of the bus information)
  • the ratio of the actual time of the vehicle to the current time in the entry, the ratio is called the fresh index of the information (the fresh index is not repeated below), from
  • the selected information item returns a running information entry with a large fresh index, and the returned quantity does not exceed one-half of the agent's planned boarding station number (or plus 1); from the CR search, the included line and The agent's planned travel information entry with the same passenger route and the different transit time of the bus is returned from the found information entry, and the direction included is the same as the planned ride direction of the corresponding line of the agent,
  • step 13 the agent-controlled universal networking device receives the information returned by the bus information asynchronous switching center, and displays the query result; (each bus information is switched into operation I. Step 13 of the operation of the prototype agent, the description of 13 is omitted in the following description of such an operation prototype)
  • Operation prototype IP-2 a passenger who wants to ride, wants to know the scheduling information of the public transportation vehicle related to his riding plan; perform the three steps of switching operation I ( ⁇ 2 ⁇ 3) described in Fig. 1,
  • the argument element is a passenger, and the argument info includes the passenger's planned ride information; correspondingly, the bus information query request in the step ,, A, includes: (IPA-2) request to return suitable
  • the public transportation vehicle scheduling information of the agent's planned riding information, correspondingly, the related public transportation information is searched from the public transportation information used by other public transportation participants that have been saved in step 12, Q, including:
  • IPQ-2 For each planned passenger route and direction of the passenger, the following query is performed on the DD, CD: Find from the DD, the included route is the same as the planned passenger route of the agent
  • the scheduling information item divides the found information item into two parts: the information item that is included in the scheduled departure time is not later than the agent's plan to arrive at the station time, and the planned departure time is later than the agent's plan to arrive at the station.
  • the information item of the moment returning from the second part the information item containing the direction of the departure of the agent and the planned direction of the agent, and selecting the latest information item of the departure time of the different bus from the information item of the first part, In the selected information item, according to the priority order of the included departure time from the late to the early, the information item including the direction of the departure of the agent and the planned direction of the agent is returned, and the returned quantity does not exceed the planned boarding station of the agent.
  • One-half of the station (or plus 1); look up from the CD, the included route and the planned ride route for the agent
  • the latest dispatch information item of the same bus stop of the same bus, and the information item containing the direction that matches the planned ride direction of the agent is selected from the found information items, and the proposed vehicle is returned from the selected information item.
  • the information item at a later time does not return more than one-half of the agent's planned boarding station number (or plus 1); if no query is made for all planned bus routes and directions, no information items are returned at the end. At the time, return a message about the public transportation information that does not meet the requirements;
  • Operation prototype IP-3 a passenger who wants to ride, wants to know the waiting information of the upstream passenger related to his riding plan; perform the three steps of switching operation I ( ⁇ 2 ⁇ 3) described in Fig. 1,
  • the argument agent is a passenger
  • the argument info includes planned passenger travel information of the passenger
  • the waiting information of the upstream passenger of the agent's planned riding information correspondingly, the relevant public transportation information is searched from the public transportation information used by other public transportation participants that have been saved in step 12, Q, including: (IPQ -3) finding and returning from the PW for each planned passenger route and direction of the passenger, the waiting state being the waiting route, the planned planned riding route and the direction respectively planning the ride with the agent and
  • the directions in which the directions are consistent and included in the planned station are not greater than the waiting information items of the station on the agent plan
  • the waiting conditions for the waiting information of the passengers in the waiting state include: A passenger waiting information, from the CR
  • the waiting state of the passenger waiting information is in the waiting mode; other prototypes and examples in this embodiment determine the waiting state as the passenger waiting information item in the waiting car according to the condition, and A method of determining a waiting state will be introduced in the third embodiment;
  • switch to operation I consider the bus from the dispatching command to the bus operation in the two stages of running the bus, and the passenger wants to know the bus information associated with the bus dispatching information or operation information.
  • the bus information exchange operation I can include four operational prototypes:
  • Operation prototype ici a division, just received the dispatching instructions of the bus, want to know the passenger waiting information;
  • the three steps (11-12-13) of the operation I are performed in FIG. 1, wherein the argument agent is a multiplication, and the argument info includes the dispatch of the public transport vehicle in the dispatch instruction.
  • the bus information inquiry request in the step ,, A includes: (ICA-1) waiting for the passenger to wait for the scheduling information of the public transportation vehicle suitable for the agent, correspondingly, the method described in step 12 Inquiring about the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved, Q, including:
  • the waiting state is waiting information in the waiting mode, including the planned riding route and the direction respectively corresponding to the starting line and direction of the public transportation vehicle of the agent in the dispatching instruction Entry
  • Operation prototype IC-2 - a division, just received the dispatching instructions of the bus, want to know the relevant bus operation information of the same type; perform the three steps of the operation I described in Figure 1 (11-12) 13), wherein the agent is a multiplication, the argument info includes scheduling information of the public transportation vehicle in the scheduling instruction; correspondingly, the public transportation information inquiry request in the step ,, A, includes: (ICA-2 Requiring to return the bus transportation operation information of the same bus line of the agent in the same direction, correspondingly, in step 12, query the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved.
  • Q including:
  • Ratio called the fresh index of information, returns the running information item with a large fresh index from the selected information item, and the returned quantity does not exceed the number of total stations (or plus 1) in the running direction of the public transport vehicle of the agent.
  • the route included is the same as the departure line of the public transportation vehicle of the agent, and the different bus vehicles.
  • the latest running information item at the time of the inbound time returning from the found information item the running information item containing the direction that is consistent with the starting direction of the public transportation vehicle of the agent; all the last returned running information items constitute the query request of the agent Result; when no information item is returned at the end, a message is returned regarding the public information that does not meet the requirements;
  • Operation prototype IC-3 - a multiplication, is controlling the bus to stop at a station, want to know the waiting information of the downstream passengers; perform the three steps (11-12-13) of the operation I described in Figure 1,
  • the argument agent is a multiplication
  • the argument info includes current operation information of the public transportation vehicle
  • the bus information inquiry request in the step ,, A includes: (ICA-3) requesting return
  • the waiting information of the downstream passengers of the operation information of the public transportation vehicle suitable for the agent correspondingly, in the step 12, querying the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved, Q, including :
  • the waiting state is waiting for the vehicle, including the planned bus route and the direction respectively corresponding to the line and direction of the public transportation vehicle of the agent, and the planned station station number included is greater than The waiting information item of the bus stop of the station at the station;
  • Operation prototype IC-4 A master, is controlling the bus to stop at a station; perform the three steps (11-12-13) of the operation I described in Figure 1, where the agent is a sergeant,
  • the argument info includes the current running information of the public transportation vehicle; correspondingly, the bus information inquiry request in the step ,, A, includes: (ICA-4) requesting to return the same bus line running information of the agent in the same direction
  • the public transportation vehicle operation information correspondingly, the relevant public transportation information is searched from the public transportation information used by the other public transportation participants that have been saved in step 12, Q, including:
  • (ICQ-4) Finding, from the IPR, the operation information entry containing the same line as the transit line of the public transportation vehicle of the agent, and the latest arrival time of the different public transportation vehicles, and returning the included direction from the found information item.
  • An operation information entry that is consistent with the direction in which the agent is traveling; from the NPR, the included line and direction are respectively The information item of the agent's running line and the running direction of the public transport vehicle, selects the latest running information item of the different station's inbound time from the found information items, and calculates the actual bus station for each selected information item.
  • the latest running information item returning from the found information item the running information item containing the direction that is consistent with the running direction of the agent's own public transportation vehicle; all the last returned running information items constitute the result of the agent's query request; When no information item is returned, a message is returned regarding the public transportation information that does not meet the requirements;
  • the swap operation I may include 2 Operation prototype:
  • Operation Prototype ID-1 - Dispatcher, wants to know about passenger waiting on the bus line and direction being managed; Perform the three steps (11-12-13) of the swap operation I described in Figure 1.
  • the argument agent is a dispatcher, and the argument info includes a bus route and direction that the dispatcher cares about; correspondingly, the bus information query request in the step ,, A, includes: (IDA-1 Requiring to return passenger waiting information suitable for the bus route and direction that the agent cares about, correspondingly, in step 12, querying relevant public transit information from the public transit information used by other public transport participants that have been saved, Q, including :
  • IDQ-1 Find and return from the PW for each line and direction that the agent cares about.
  • the waiting state is waiting, the planned bus route and direction are respectively consistent with the line and direction of interest of the agent. Passenger waiting information entry;
  • Operation prototype ID-2 - a dispatcher, want to know the same bus operation information on the departure line and direction; perform the three steps of the operation I described in Figure 1 ( ⁇ ⁇ ⁇ 2 ⁇ ⁇ 3), where
  • the argument agent is a bus stop dispatcher, the argument info includes the bus route and direction that the dispatcher cares about; correspondingly, the bus information query in the step ,, A, includes: (IDA-2) request Requiring to return the bus operation information suitable for the line and direction that the agent cares about, correspondingly, in step 12, query the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved, Q, including :
  • IPR For each line and direction of the agent relationship, the following query is performed from IPR, NPR, CR: The IPR is found to be included in the same line as the agent concerned, and the transit time of different bus vehicles The latest running information item, returning from the found information item an operation information item containing a direction that is consistent with the direction that the agent cares about; finding from the NPR, including the line and direction respectively, and the line and direction that the agent cares about Consistent information items, select the latest running information items of the different station's inbound time from the found information items, calculate the fresh index for each selected information item, return the running information item with the fresh index, and return The number does not exceed one-half of the total number of stations (or plus 1) in the line and direction that the agent cares about; the line included in the CR search is the same as the line concerned by the agent, and the stop time of the different bus vehicles is the latest. Run information entry, returning from the found information entry a running letter containing the direction that is consistent with the direction the agent cares Entry; finally
  • the total number of query return schedule information items executed on the DD or CD is the planned boarding station
  • One-half of the station (or plus 1), in other query operations included in Q, the query operation based on the NPR, IPR or CR also requires the return of the same proportion of the calculated number of bus operation information items;
  • One-half of the ratio implies an assumption:
  • the scheduling plan controls the average density of in-transit vehicles on these bus lines so that there is one such line per station.
  • a more accurate ratio can be used to calculate the corresponding number of return information items, for example, the average bus running time of the corresponding bus line divided by the average starting interval of the line to obtain a multiple, use the multiple instead of the above One-half, calculate the number of corresponding return information items;
  • the bus information exchange operation 0 includes 3 operations.
  • Prototype Operation prototype 0-P-1: - a passenger to ride, to release his own planned ride information; perform two steps 01-02 of the swap operation 0 described in Figure 1, where the argument agent Is a passenger, the argument info includes the passenger's planned travel information at the time; correspondingly, the public transport information for the exchange, which is known at the time in step 01, T, includes: (0-PT-1)
  • the save bus information that is known to the bus participant at the time is stored in step 02, S, including:
  • ( 0-PS-1 ) Organize each bus line, direction and corresponding other fields in the planned ride information in 0-PT-1, and the member ID of the agent into a passenger waiting information item.
  • vehicle information different routes, directions and waiting list information of the station are obtained, and a group of waiting information items of the agent are obtained and stored in the PW;
  • Operation prototype 0-P-2 - A passenger is or is just getting on the bus The vehicle, to issue the actual vehicle information; performing two steps 01-02 of the swapping operation 0 described in FIG.
  • the vehicle information correspondingly, the bus information for exchanging at the time as described in step 01, T, includes: (0- ⁇ - ⁇ -2) Actually when the agent rides on the bus
  • the vehicle information saves the public transportation information for the exchange that the public transportation participant has known at the time, as described in step 02, S, including:
  • the actual vehicle information does not include the unique identifier of the vehicle in question as described in 0-PT-2, then the field of the actual vehicle information together with the member identification of the agent constitutes an unidentified bus.
  • An operation information item of the vehicle is stored in the NPR; if the actual vehicle information includes the unique identification of the vehicle, the actual vehicle information field together with the member identification of the agent constitutes an operation information item identifying the public transportation vehicle , stored in the IPR;
  • Operation prototype 0-P-3 After a passenger gets on the bus, the vehicle is parked at a station, and wants to release the actual ride information; performing two steps 01-02 of the swap operation 0 described in FIG.
  • the argument agent is a passenger, and the argument info includes actual ride information of the passenger after boarding the bus, specifically including the actual route, direction, stop station, stop station stop, and stop time , the unique identification of the vehicle, the riding condition, and the like, wherein the latter two items are optional; correspondingly, the public transportation information for the exchange that has been known at the time as described in step 01, T, includes: (0- ⁇ - ⁇ -3)
  • the agent rides the actual ride information after the bus, correspondingly, in step 02, saves the bus information for the bus change that the bus participant has learned at the time, S, including:
  • the actual ride information in 0-PT-3 does not include the unique identifier of the vehicle, the field of the actual ride information is combined with the member logo of the agent to form an unidentified bus.
  • An operation information item of the vehicle is stored in the NPR; if the actual ride information includes the unique identifier of the vehicle, the actual ride information field together with the member identifier of the agent constitutes an operation information item identifying the bus , stored in the IPR;
  • the bus information exchange operation 0 includes two operation prototypes:
  • Operation prototype 0-C-1 - The bus that is controlled by the division is docked at a station to release the current operation information of the bus; perform the swap operation 01-02 described in Figure 1, where the argument The agent is a multiplication, and the argument info includes current running information of the public transportation vehicle; correspondingly, the public transportation information for exchanging at the time as described in step 01, T, includes: (0-CT-1
  • the operation information of the public transportation vehicle running by the agent, correspondingly, in the step 02, the public transportation information for the exchange that the public transportation participant has learned at the time is saved, S, including: (0-CS-1) Combine the fields of the operation information described in 0-CT-1, and the member ID of the agent, into a bus of the source.
  • An operation information item is stored in the CR;
  • Operation prototype 0-C-2 A division just received a dispatch instruction on the bus, and will issue the dispatch information about the bus in the dispatch command; execute two of the swap operations 0 described in Figure 1.
  • Step 01-02 wherein the argument agent is a multiplication, and the argument info includes scheduling information of the current public transportation vehicle; correspondingly, the public transportation information for exchanging at the time is known in step 01.
  • T including: (0-CT-2) the dispatching information about the public transportation vehicle when the agent receives the dispatching instruction, correspondingly, the saving in the step 02 is to save the public transport participant at the time for the swapping out
  • the public transportation information, S includes: (0-CS-2)
  • the various fields of the dispatching information of the public transport vehicle described in 0-CT-2, and the member identification of the agent, are combined into a bus of the source. Scheduling information items, stored in the CD; operating prototype 0-D-1: - a bus stop dispatcher that issues a dispatch instruction, to issue scheduling information in the current dispatch instruction; performing the swap out as described in FIG.
  • the bus information for the exchange includes: (0-DT-1)
  • the agent then issues the bus scheduling information in the dispatching command; correspondingly, the saving of the bus participant is known at step 02
  • the bus information used for exchange, S includes: (0-DS-1) sorts each line, direction, station, unique identification of the vehicle and other information in the dispatch information described in 0-DT-1 into one
  • the bus vehicle dispatching information item of the dispatcher source summarizing the dispatching information items of different routes, directions, stations, and the unique identification of the starting vehicle in the dispatching information, and obtaining a set of scheduling information items sent by the dispatcher at the time, and depositing In the DD;
  • the time information involved in the operation prototype of the above-mentioned operation 0 includes the information content such as the scheduled station time, the actual vehicle time, the arrival time, the planned departure time, and the like, and the universal networking device replaces the current time. Automatically filling, the bus participant can modify these preset time values;
  • the readings of the information such as the scheduled arrival time, the arrival time, the planned departure time, and the actual vehicle time are all from different general-purpose networking devices; There are errors in the time values of different universal networking devices. To improve time accuracy and consistency, the absolute form of these time variables can be changed to the time when the corresponding switching request or feedback information is sent from the universal networking device.
  • the relative form of the time that is, how long the time information is required to arrive at the station (which is already at the station, the required time is 0), and the time from the arrival time to the exchange request transmission time (the station is being docked) , the duration is 0), how long after the exchange request is sent, the vehicle is started (the time is 0, the duration is 0), and the time from the actual time to the actual vehicle information transmission time (on the train or just on the train) Collecting and transmitting in the form of a vehicle, the duration is 0; receiving relevant information at the bus information asynchronous switching center And based on the receiving time, recalculating the absolute time of the corresponding planned arrival time, the inbound time, the planned departure time, and the actual vehicle time, and depositing them in the corresponding information set; invoking the above-mentioned public transportation information into the operation prototype query In the query result of operation Q, the absolute time such as the planned arrival time, the arrival time, the planned departure time, and the actual vehicle time is reconverted into the relative time based
  • a correlation may be generated.
  • a new operational prototype of the basic operation for example, based on almost any feasible query request and corresponding query operation on the bus information set, can generate a new operational prototype of the swap-in operation;
  • the operational prototype, the corresponding scope of protection of rights is not limited to the enumerated operational prototypes, and the corresponding scope of claims includes the asynchronous exchange of bus information by a combination of bus information exchange operation and exchange operation in a certain way to complete
  • the query and collection tasks of the bus information, the enumerated operational prototypes are merely used to illustrate the specific operation of the swap-in operation or the swap-out operation of the preferred embodiment.
  • FIG. 3 shows the asynchronous exchange of nine public transportation information included in the first embodiment of the public transportation information inquiry method and the collection method.
  • the process of the example only need to explain the I, 0, IU 0 related operations in Figure 1, 2, the applicable combination, the start of each phase of the operation Time, and instantiating the corresponding operational prototype, the relevant arguments of the operational prototype are updated to the corresponding information of the instance; each of the following example processes omits the ordinary links common in the ordinary flow chart: Start ", "End”;
  • the asynchronous exchange process of bus information for each instance in Figure 3 is as follows:
  • Transit Information Asynchronous Exchange Center which is a remote third-party facility for intermediation agents and other bus participants; bus participants in one example of Figure 3, and bus information asynchronous exchange centers with other intermediaries
  • the task of the intermediary agent includes: saving the public transit information for the other participants who have previously participated in the exchange, and selecting the related party to respond to the inquiry request of the instance bus participant, which is equivalent to In Figure 1, the task of step 12 of the operation is exchanged, and the bus information for the bus participant in the example is saved, in preparation for answering the bus query of the subsequent bus participant, which is equivalent to FIG.
  • the task of step 02 of the operation change operation; in the exchange process of the bus participant of each instance in this embodiment, the operation involving step 12 or 02 is completed by the bus information asynchronous exchange center, and the foregoing is about operating the prototype. Particular descriptions have been given;
  • the query request in II of this example includes, based on the agent in this example and the three operational prototypes on the first stage info
  • the query operation in the query request IPA-1 to IPA-3, 12 includes, based on the query operation IPQ-1 to I_P_Q_3, in the agent and the first operation prototype on the first stage info in this example, the agent manipulation of the present example
  • the universal networking device receives and displays the query result of 12; after the passenger determines to arrive at the station time, starts the second stage bus information exchange operation 0 (01-02), the argument info includes the newly determined plan ride Information, this stage 01-02 includes the instantiation of the operation prototype 0-P-1 in the present instance agent and the second stage info:
  • the information exchanged in the 01 of the present example includes the agent based on the present example and the second stage info_0_1
  • the storage operation of the swap-out information 0-PT-1, 02 includes a storage operation 0-PQ-1 based on 0-P-1 on the agent and info in the present example; in the second stage
  • the bus information asynchronous exchange center collects new bus vehicle scheduling information; after the dispatcher releases the scheduling information, the dispatcher wants to query the passenger waiting information and the bus running information of the next scheduled bus line and direction.
  • the argument info includes the bus route and direction that the dispatcher cares about in this example
  • the phase I 1—I2—I3 includes the operation original Types I-D-1 and I-D-2 are instantiated in the present example agent and at this stage of the argument info, the dispatcher queries the public transit information;
  • the process includes 1 ⁇ 1 ⁇ 1 ⁇ , and the swapping operation I involved in the whole process and the argumenting agent of the swapping out 0 are passengers in the present example, and the argument info includes the present example.
  • the planned passenger information of the passenger correspondingly, U1—U2 ⁇ U 3 includes the operation prototype IPK I- P- 2, 0-P-1 instantiation on the present agent and info:
  • the query request A includes the query requests IPA-1 and IPA-2, 01 based on the operation prototypes I_P_1 and I_P_2 on the arguments of the present example, and the exchange information T of the IPA-2, 01 includes the arguments agent and info based on the present example.
  • the operation information of the operation prototype 0-P-1 is 0-PT-1
  • the query operation Q of 12 in U 2 includes the query requests based on the operation prototypes IP-1 and IP-2 on the argument agent and info of this example.
  • the storage operation S of IPQ-1 and I_P-Q_1, 02 includes a storage operation 0-PS1 based on the variable agent of the present example and 0_P_1 on the info; 13 , the passenger-controlled universal networking device of the present example receives and displays 12 search result;
  • the module ⁇ as shown in FIG. 2, specifically includes U 1 ⁇ U 2 ⁇ U 3; the swapping operation I involved in the whole process and the argumenting agent of the swapping out operation 0 are all the multiplications in this example.
  • the argument info includes the scheduling information of the public transportation vehicle.
  • U1—U2 ⁇ U 3 include the instantiation of the operation prototypes IC-1 and 0-C-2 on the present agent and info: U 1 in this example
  • the query request A of II includes the query operation I_C_A-1, 01 based on the operation prototype I_C_1 on the agent and info of the present example, and the swap information T of the operation prototype 0_C_2 based on the agent and info in the present example 0_C -T_2 ;
  • the query operation Q of 12 includes the query operation ICQK 02 based on the operation prototype I_C_1 on the present agent and info.
  • the swap information T includes the storage operation 0 based on the operation prototype 0_C_2 on the agent and info in this example.
  • Off manipulation common networking device 12 receives and displays the results of the query; examples the following description, no specific explanation of this is meant to include a transducer and transducer into a plurality of operations of operation of the prototype "instance"of;
  • the argument info includes the planned ride information of the passenger in this example
  • this stage (IU0) includes the operation prototype IPl, IP-2, 0-Pl in this example agent and this stage Instantiation on info; when the passenger gets on the bus, the second phase (01-02) is started.
  • the argument info includes the actual car information of the passenger in this example.
  • This stage 01-02 includes the operation. 0-P-2 type instantiated agent in the present example and the present stage of the info;
  • this stage (U 1 ⁇ U 2 ⁇ U 3) includes the operation prototype in this example age Nt and instantiation on this stage of info; each time a station is docked, the foregoing process is repeated, and the process ends until the bus arrives at the terminal; at each stage, the division inquires about the bus information, the bus information asynchronous exchange center Collected information on the operation of the bus; 38.
  • the bus information asynchronous exchange center Collected information on the operation of the bus; 38.
  • the passenger wants to publish his own planned ride information, and wants to know the operation information and dispatch information of the upstream public transport vehicle suitable for his planned travel information, when the waiting time is too long or When the amount of information returned by the query is too small, the passenger refreshes the original inquiry request from time to time while waiting for the vehicle; for the passenger, the combination (IU 0) ⁇ 1 ⁇ 1 is applied, and the process specifically includes (U 1 - U 2—U 3 ) ⁇ ( I 1—I2—I3 )—... one (II — 12—13), which is a parallel combination module IU 0 in FIG. 2, and several times in series with the operation I in FIG.
  • the series of cycles; the variable agents of I and 0 involved in the whole process are all passengers in this example, and correspondingly, when the passenger starts to wait, start the first stage (U 1 - U 2 - U 3 ), the argument The agent includes the planned passenger information of the passenger in this example.
  • U 1 ⁇ U 2 ⁇ U 3 includes the instantiation of the operation prototypes IP1, IP-2, 0-Pl in this example and this stage info;
  • the argument info includes the planned passenger information of the passenger in the first stage in this example.
  • I 1 - I2 - I3 include the operation prototype IPl, IP-2 in this example agent and info Instantiation (same as the instantiation of the first phase); later, whenever the passenger in this example wants to refresh the original query, the second phase of the exchange process is repeated;
  • the argument info includes the bus route and direction to be queried by the dispatcher in this example.
  • I 1—I2—I3 includes the operation prototype ID-1 and ID-2 in the present example agent and this stage info.
  • Instantiation When the dispatcher in this example wants to refresh the query request of the first stage, the operation of the second stage is started, and the operation of the second stage completely repeats the operation of the first stage; When the request is requested, the second stage operation is repeated; when the dispatcher in this example considers that the scheduling instruction in the line and direction to be queried can be released, the last stage (01-02) is started, and the argument info includes the scheduling in this example.
  • the dispatching information contained in the dispatching instruction issued by the member, this stage 01-02 includes the instantiation of the operating prototype 0-D-1 in the present example agent and the present stage info;
  • the passenger is required to release his own planned ride information.
  • the planned ride information also includes the planned drop-off station.
  • the operation information and dispatch information of the upstream public transportation vehicle, and then the passenger is still feeding back the actual vehicle information to the bus information asynchronous exchange center while riding the bus, and the passenger stops at a station while continuing to take the bus.
  • the whole process involves the swap operation I and
  • the value of the argument agent that swaps out operation 0 is the passenger in the present example, and correspondingly, the passenger starts the first phase (U 1 ⁇ U 2 ⁇ U 3) when the vehicle starts to wait, and the argument info includes
  • the passenger's planned ride information, this stage (U 1 ⁇ U 2 ⁇ U 3 ) includes the operation prototype IP1, IP-2, 0-Pl instantiation on the agent of this example and the present stage info,
  • the passenger inquired about the bus information; when the passenger took the bus, the second phase (01-02) was started.
  • the argument info included the actual car information of the passenger in this example.
  • This stage 01-02 includes the operation prototype 0 -P-2 instantiation on the agent of this example and this stage info; when the passenger gets on the bus for the first time after the passenger gets on the bus, the third stage (01-02) is started, and the argument info includes this example.
  • the actual passenger information of the passengers, this stage 01-02 includes the operation prototype 0-P-3 in the agent of this example and the instantiation of this stage info; before the passenger gets off the bus, the bus stops each time
  • the station the argument info includes the current actual ride information of the passenger in this example, and the stage 01-02 includes the instantiation of the operation prototype 0-P-3 in the agent of the present example and the current stage info; the bus information asynchronous exchange center is
  • the second stage collects the planned ride information. From the third stage, the actual vehicle information and the actual travel information are collected one by one. Interest.
  • the bus information can be exchanged into the series of the operation I itself in some necessary steps to satisfy the relevant public transportation. Participants refresh their previously sent bus information query request.
  • the universal networking device may be referenced to the referenced steps II, 13, 01, and UKU 3 of FIG.
  • Providing a pre-designed interactive interface here is an example of a bus vehicle ride to illustrate the role of the interactive interface; the interactive interface provided for the ride includes first and second display screens; the first display screen can be simultaneously displayed Steps U l, U 3 of the parallel combination module IU 0 applicable to the example 35 in FIG.
  • the first display screen Also includes a query button, a direction button, an unlock button, and a dispatch information sending button; each time the direction button is pressed, the first display screen will Change the station column and station number of the next running direction of the line. The next running direction of the last running direction is the first running direction. Press the dispatch information sending button, the pop-up will be related to the current direction of the bus.
  • Form window which contains the step U 1 after the combination mode IU 0 is instantiated (this step is merged by 01 and II), the swap information 0-C_T-2 belonging to 01, and the query request ICA-1 belonging to II And I_C_A-2, the master completes and sends the form, and then returns to the first display screen, at which time, the dispatch information sending button is automatically hidden (re-appears when switching a new running direction), enters the run Bus information exchange mode in the state (display process (IU 0) - ... one (IU 0) process); corresponding to step 13 described in FIG.
  • the universal networking device receives information returned from the bus information asynchronous switching center , the query result is automatically assigned to the display area allocated for each station on the first display screen; in the bus information exchange mode of the running state, In an operation direction, the initial state of the first information query is that the query button is placed in the first station in the currently selected running direction; if the unlock button on the first display screen is pressed, the first A display screen will be set in the current direction of the line, and each of the stations except the already inquired station is provided with a query button; when the bus is operated by the department, each time the station stops at the station, the division presses a query button on the docking station in the first first display screen, to the second display screen;
  • the second display screen displays a form related to the stop station selected by the station selected by the first display screen, the form including the current stage step U 1 of the combination mode (IU 0)-...one (IU 0)
  • the bus participant completes the second display screen Entering, selecting, confirming, and sending the query request form, and then returning to the first display screen
  • the query result is automatically assigned to the sub-display area of the relevant station, and the query button is automatically placed in the
  • the first display screen retains only one nearest station that has been queried and the remaining unqueried stations;
  • the interactive interface of the above design enables most of the operations of asynchronous exchange of bus information to be automatically completed by the universal networking device and the bus information asynchronous switching center, and only those information elements in the bus information or query request that are frequently changed by the manager are required.
  • this effectively reduces the burden and complexity of the bus participant's query operation and improves the efficiency of asynchronous exchange; even, with the help of a universally connected device with a suitable interactive interface, the bus participants can even be in the same type of bus.
  • the different instances of the participants are freely selected.
  • the above interface integrates two exchange instances 35 and 37 in this embodiment; the mobile phone based on the popular Android-based and iOS systems fully supports the above-mentioned interactive interface.
  • FIG. 4 shows an embodiment of the bus information asynchronous exchange process in which the bus participant autonomously controls participation; in this embodiment, the bus participant according to the involved bus activity, the learned bus information, and the demand for the bus information From the swap operation I, the swap-in operation 0 and the parallel combination module IU 0 of the bus information in FIG. 1 , the appropriate exchange operation is selected autonomously; the steps of the bus participant participating in the bus information exchange include:
  • the universal networking device provides three options for the bus participant to perform the swap operation I, the swap out operation 0, and the parallel combination module U, and the bus participant selects one according to his own needs;
  • the bus participant decides whether to continue; when the decision is continued, go to 42, when it is decided to end the current bus information asynchronous exchange process, then go to 45;
  • the universal networking device performs an asynchronous operation record according to the saved public transportation information, and determines whether the asynchronous exchange process of the current public transportation information is complete.
  • the complete asynchronous switching process performs at least one switching operation I and one switching operation 0 (parallel combination module). Including the swap-in operation and the swap-out operation, belonging to the complete asynchronous exchange process), if it is a complete process, then go to 48, if not the complete process, then go to 46;
  • the universal networking device reminds the bus participant that the current round of asynchronous exchange process lacks some sort-out operation or swap-in operation found in 45;
  • the bus participant decides whether to prepare for the swap-out operation or the swap-in operation of the reminder in 46, if yes, go to 42, if not, go to 48; can be a bus participant who can participate in the asynchronous exchange of incomplete bus information for a long time. Give certain restrictions, such as the number of connections allowed within a certain period of time does not exceed an upper limit;
  • step 43 of the embodiment of the present invention the operational prototype of the bus information exchange operation and the swap-out operation defined in the first embodiment may be used to provide more specific options for the bus participant; the specific steps include:
  • the universal networking device assigns the stored member identification information to the variable agent as the information content of the agent of all the operation prototypes in the later steps;
  • the universal networking device directs the bus participant to provide information content of the argument info according to the stored static data. If the bus participant is a passenger, the universal networking device provides the bus participant with Three options for determining the content of the variable info: planning the ride information, the actual vehicle information or the actual ride information, if it is a ride, provide two options for determining the content of the info information: bus operation information and bus schedule Information, if it is a bus stop dispatcher, provides two options for determining the content of the info information: bus dispatch information, bus routes and directions that the dispatcher cares about; the universal connected device is selected according to the bus participant Further providing a form for assisting the bus participant to input relevant info information content;
  • the universal networking device After obtaining the info information content, the universal networking device provides the bus participant with an option of exchanging an operation prototype: when the argument agent is a passenger, and the argument info includes planning the ride information, providing the operation prototype I_P_1 4 options to IP-3, 0-P-1, etc.; When the argument agent is a passenger, the argument info includes the actual vehicle information or the actual ride information, and provides an operation prototype 0-P-1 and other options.
  • the argument info When the argument agent is a multiplication, the argument info includes the bus vehicle operation information, and provides three options of operation prototypes I_C-3, I-C_4, 0-Cl, etc.; when the argument agent is a multiplication, the argument When info includes bus dispatching information, it provides three options for operation prototypes I_C-1, I-C_2, 0-C-2, etc.
  • the argument info includes bus dispatch information, and provides three options: operation prototype ID1, ID-2, 0-Cl, etc.; when the argument agent is a bus stop
  • the dispatcher when the argument info includes the bus route and direction that the dispatcher cares about, provides two options of operation prototypes I_D-1, ID-2, etc.; in each case, the bus participant can select one of the options. Or more than one;
  • the operation prototype selected by the bus participant in the 433 is instantiated on the corresponding argument agent and info: the universal networking device sends an exchange request, and the exchange request includes information based on the agent and the info in the example.
  • the query request A of the selected operation prototype of the content and/or the bus information T for swapping out, the bus information asynchronous exchange center receives the exchange request, and extracts the query request based on the information content of the agent and the info in the example A and/or bus information T for swapping out, performing a corresponding query operation Q and/or a storage operation S based on the information content of the agent and info in the example of the selected operation prototype, and if there is a query result,
  • the universal networking device returns a query result, and the universal networking device receives and displays the query result.
  • the first embodiment of the present invention and the first embodiment shown in FIG. 3 respectively represent two ideas for designing an asynchronous exchange process for public transportation information: a process of autonomous participants of the bus and a predetermined process, each of which has a certain scope of use;
  • This embodiment gives the bus participants sufficient autonomy to participate in the asynchronous exchange of bus information, and is suitable for bus participants who participate in the bus rules.
  • the embodiment shown in FIG. 4 always returns to each operation. 42, this will create additional operational burden; to effectively use the autonomy of the asynchronous exchange operation of public transport information, the bus participants need to have more patience with the exchange operation itself, and understand the basic exchange of public transportation activities and public transportation information.
  • the adaptation relationship between the operation and the swap-out operation is relatively easy for some bus participants, such as the bus dispatcher, which may not be suitable for another part of the bus participant; the procedure for participating in the bus activity is relatively fixed, the process is relatively short and the process is repeated periodically.
  • the process of using pre-defined numbers may be more appropriate Appropriate, for example, for commuter passengers, each time they go to work, they will take a fixed route at the fixed train station.
  • the information on the bus and the information on the release plan are almost one. When the car is in a hurry, refresh the original. Inquiries, the feedback after taking the bus is actually the car information, and a few get the actual ride information before getting off the bus.
  • the process of combining the operations based on FIGS. 1 and 2 in each of the examples shown in FIG. 3 in a predetermined manner forms a predetermined bus information asynchronous exchange process;
  • the bus operator asynchronously selects the bus information asynchronous exchange process of the operation order; each embodiment realizes the foregoing object of the invention; the existing developed Internet, especially the powerful mobile communication
  • the network provides sufficient infrastructure to support the universal connection between the universal networked equipment and the bus information asynchronous switching center.
  • the public transportation of the passengers and the bus passengers is used to perform the asynchronous exchange of the public transportation information, thereby realizing the function of inquiring and collecting the public transportation information;
  • FIG. 5 and FIG. Figure 7 shows the process of asynchronous exchange of passengers and passengers in bus information, respectively, using the parallel combination module shown in Figure 2.
  • the passenger wants to know the latest about the upstream departure, the arrival of each station, and the waiting passengers.
  • the bus and vehicle department wants to know the latest information about the operation status of other public transportation vehicles in the same direction of the same line and the waiting status of the downstream passengers; the bus information asynchronous exchange center pre-establishes the passenger waiting information set (PW) and the source of the passengers.
  • the bus vehicle dispatching information set (CD) and the scaffolding bus operation information set (CR) are used to separately store the planned passenger information transmitted by the passenger, the bus vehicle dispatching information and the running information transmitted by the bus driver, each A data organization manner in a message set, a field included, and a letter of the same name in the first embodiment Same set;
  • FIG. 5 is a diagram showing the steps of the passengers participating in the asynchronous exchange of bus information in the third embodiment of the method for inquiring the bus information in the present invention, including:
  • the passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the passenger before riding, the exchange request including the passenger's inquiry request and the planned travel information at the time; of In the planned ride information, how long does it take to arrive at the station after the schedule, instead of the schedule in the agreed information content, arrive at the station time, and the planned default time after arriving at the station is 0, which is controlled by the passenger.
  • a universally-connected device is provided automatically, the passenger can be modified;
  • the passenger's inquiry request is required to return, and the scheduled travel information suitable for the passenger, the dispatching information of the public transportation vehicle that is likely to establish a riding relationship with the passenger,
  • the passenger's planned ride information the operational information of the on-going bus that may establish a boarding relationship with the passenger before reaching the terminal, and the number of upstream passengers waiting for the same line bus;
  • the bus information asynchronous exchange center performs a plurality of operations in response to the bus information exchange request submitted by the passenger, and mainly includes 521-523:
  • the bus information asynchronous switching center receives the bus information exchange request from the passenger-controlled universal networking device, and extracts content about the passenger's inquiry request and planned passenger information, so that the receiving time of the exchange request is Benchmark, using the data of how long the precipitated plan arrives at the station, and calculating the time when the passenger plan arrives at the station;
  • the querying related bus information on the related information set includes: performing, for each planned route and direction of the passenger, the following query on the CD, CR, PW: searching from the CD, including the line and The information items of the passengers having the same planned bus route and the latest bus time of the different bus vehicles are selected from the found information items, and the information items including the direction corresponding to the passenger plan riding direction are selected from the selected information items.
  • the information item returns an information item with a late departure time, and the returned quantity does not exceed one-half of the passenger's planned boarding station number (or plus 1); the search from the CR, the included line and The travel information item of the passenger with the same planned passenger route and the latest arrival time of the different public transportation vehicles, and the direction of the selected information item is selected to be consistent with the passenger's planned riding direction, and the included station number is included.
  • An information item not larger than the passenger's planned boarding station station, and the included station and the passenger are excluded from the selected information item
  • the planned on-board station is the same, and the pit stop time is earlier than the operation information entry of the passenger plan to arrive at the station time, and the remaining information items are returned;
  • the PW is searched, and the waiting state included is the waiting line, the included line, and
  • the direction is respectively consistent with the planned passenger route and direction of the passenger, and the planned on-board station station is not larger than the waiting information entry of the passenger planned boarding station station, and the number of found information items is returned;
  • the information is returned, return a message about the public transportation information that does not meet the requirements;
  • the passenger-controlled universal networking device receives and displays the results returned from the bus information asynchronous switching center;
  • Fig. 6 is a view showing a process of asynchronously changing the bus information when the bus vehicle division receives the dispatching instruction in the third embodiment of the bus information inquiring method of the present invention, including -
  • the public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the universal networking device controlled by the public transportation vehicle, and the exchange request includes the inquiry request of the division in the state of waiting for the vehicle and the scheduling information of the public transportation vehicle.
  • the query request is required to return, regarding the bus vehicle suitable for its planned ride information request, and may have a waiting relationship with the bus vehicle before reaching the terminal after the departure of the bus; in the scheduling information of the public transport vehicle, The remaining time of the intended departure time is used instead of the scheduled departure time of the agreed information content, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
  • the bus information asynchronous switching center performs a plurality of operations, including 621-623, in response to the exchange request submitted by the bus and vehicle department. 621.
  • the bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request of the department in the state of waiting for the vehicle and the content of the bus vehicle scheduling information. Calculating the planned departure time of the public transportation vehicle by using the data of the remaining time of the pre-departure time to be extracted based on the receiving time of the exchange request;
  • the query request in the state of the vehicle to be launched query the relevant public transportation information on the relevant information set, and return the corresponding query result to the universal networking device controlled by the public transportation vehicle;
  • the querying the related public transportation information on the related information set includes: searching from the PW, and the waiting state included is a waiting information item in the waiting mode, including the line and the direction respectively corresponding to the dispatching line and the scheduling direction of the public transportation vehicle. , excluding the included station as the first station from the found information item, including the item that arrives at the station on the train station at a later time than the scheduled departure time, and returns the remaining passenger waiting information items;
  • the public transportation device controlled by the public transportation vehicle receives and displays the message returned from the asynchronous exchange center of the public transportation information, and ends the current round of public transportation information inquiry;
  • Fig. 7 is a view showing a third embodiment of the method for inquiring the public transportation information in the present invention, in which the bus vehicle division starts to operate the public transportation vehicle, and participates in the asynchronous exchange of the public transportation information every time one station stops, including:
  • the bus vehicle department sends a bus information exchange request to the bus information asynchronous switching center by using a universal networking device controlled by the bus, and the exchange request includes the query request of the department in the running state and the operation information of the bus
  • the inquiry request includes a request to return, a waiting information about the bus vehicle suitable for its planned ride information request, and possibly a ride relationship with the bus vehicle before reaching the terminal station, regarding the same route and the same direction in the same direction as the public transportation vehicle
  • the operation information of the other public transportation vehicles; the operation information of the public transportation vehicle includes the operation information when the public transportation vehicle is stopping or the last time the parking station is stopped, wherein the time of entering the station to the current time is used instead of the inbound station in the agreement information.
  • the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
  • the bus information asynchronous exchange center performs a plurality of operations, including 721-723, in response to the exchange request submitted by the bus and vehicle department.
  • the bus information asynchronous switching center receives an exchange request from the public networking device controlled by the bus vehicle department, and extracts the query request and the operation information of the public transportation vehicle in the running state, and uses the bus information to The receiving time of the query request is used as a reference, and the time of entering the bus is calculated by using the time of the inbound time included in the extracted running information to the current time;
  • the querying the related public transportation information on the related information set includes: searching and returning from the PW, including the waiting state in the waiting mode, including the line and the direction respectively corresponding to the running line and the running direction of the public transportation vehicle, including The station number of the station is greater than the passenger waiting information entry of the bus station stop station station; from the CR search, the included route is the same as the bus line, and the latest running information of the different bus vehicles An entry, returned from the found information entry, containing an operation information entry that is in the same direction as the direction in which the bus is traveling; the last returned information item on each information set constitutes the final query result; no information is returned at the end When the entry is returned, a message is returned about the public transit information that does not meet the requirements;
  • the waiting state of the passengers is that all the waiting information items in the waiting (including the waiting information items of the other passengers) are updated to be on board (or, more accurately, the passengers can be referred to the line)
  • the waiting state of the waiting information item is updated to be on the train.
  • the waiting status of the waiting information for other lines is updated to have been multiplie
  • the public transportation device controlled by the public transportation vehicle receives and displays information returned from the asynchronous exchange center of the public transportation information, and ends the current public transportation information inquiry;
  • the update condition of the waiting state of the passenger waiting information item in the PW embodies "the riding relationship that can be realized at the time with the public transportation vehicle", and the method for directly updating the passenger waiting information item is the same as the foregoing
  • all the bus operation information is checked each time the inquiry waiting state is the waiting information item in the waiting car, and many unnecessary repeated query operations are reduced.
  • the interaction interface of the bus driver in the first embodiment of the present invention is used to help complete the exchange operation in FIG. 6 and FIG. 7 involving the completion of the multiplication.
  • the operation actions in 61, 63 of FIG. 6 can be completed by the first display screen and the dispatch information transmission button, and the operation of each of the stations in the 71, 73 of FIG. 7 can be operated by the operation state.
  • the first and second display screens in the bus information exchange mode are completed.
  • the passenger and the bus driver are involved in the bus information asynchronous exchange process of the bus information asynchronous exchange center intermediation agent, so that the bus information inquiry service is exempted from configuration
  • the public transportation information source equipment is open and diversified in service information; in terms of the location information of the asynchronous exchange between the passenger and the squad included in the embodiment, the "one party query itself is the answer of the other party"
  • the information exchange has duality; the public transportation information inquiry technology scheme featuring asynchronous dual exchange of public transportation information has the highest efficiency of public transportation information inquiry, so that the public transportation information inquiry service occupies the least resources.
  • the public transportation participant of the fourth embodiment of the public transportation information inquiry method and the collection method of the present invention has only one type of passenger, and realizes the function of inquiring and collecting public transportation information through the asynchronous exchange of public transportation information between passengers; Passenger Waiting Information Set (PW), Unidentified Bus Vehicle Operation Information Set (NPR) for passenger sources, and identified Bus Vehicle Operation Information Set (IPR) for passenger sources. These three sets of information are used to separately prepare plans for storing passengers.
  • PW Passenger Waiting Information Set
  • NPR Unidentified Bus Vehicle Operation Information Set
  • IPR Bus Vehicle Operation Information Set
  • the travel information, the operation information of the unidentified public transportation vehicle, and the operation information of the identified public transportation vehicle, the data organization manner and the included field in each information set are the same as the information collection of the same name in the first embodiment; in this embodiment, the passenger It is to be noted that the steps of the passengers participating in the bus information asynchronous exchange according to the fourth embodiment of the bus information inquiry method according to the present invention include:
  • the passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device that the passenger controls, and the bus information exchange request includes the passenger's inquiry request and the passenger's planned travel information at the time;
  • the passenger may modify;
  • the passenger's inquiry request includes, requesting to return information about the planned ride information suitable for the passenger, and the in-transit bus operation information that may establish a boarding relationship with the passenger before reaching the terminal ;
  • the bus information asynchronous exchange center performs a plurality of operations in response to the bus information exchange request submitted by the passenger, and mainly includes 821-823:
  • the bus information asynchronous switching center receives an exchange request from the passenger-controlled universal networking device, and extracts the query request of the passenger and the content of the planned ride information, based on the receiving time of the passenger query request. Using the data of how long the precipitated plan arrives at the station, calculate the time when the passenger plan arrives at the station;
  • the querying the relevant public transportation information on the related information set includes: performing, for each of the passengers' planned travel routes and directions, performing the following query on the IPR and the NPR: searching from the IPR, including the line and the passenger
  • An information entry that is not greater than the passenger's planned on-board station number, from the selected information item, the excluded station is the same as the passenger planned boarding station, and in fact the vehicle time is earlier than the passenger plan arrival
  • the information item at the station time returns the remaining information items; from the NPR, the included route and direction are respectively consistent with the passenger's planned bus route and direction, and the included station number is not greater than the passenger's planned car.
  • Information items at the station station select the different routes, directions, and station arrival times from the found information items.
  • the running information item calculates a fresh index, and returns a running information item with a fresh fresh index from the selected information item, and the returned quantity does not exceed the passenger's planned boarding station station (or plus 1) one-half; the last returned information item on each information set to execute the query constitutes the query result of the passenger query request; if no public transit information is returned from the NPR and IPR, then returning no relevant requirements Bus information;
  • the passenger-controlled universal networking device receives and displays a result returned from the bus information asynchronous switching center;
  • the bus information asynchronous exchange center receives, organizes, and saves actual vehicle information fed back by the passenger, and updates an information item in the related information set: the bus information asynchronous exchange center receives the actual vehicle information fed back by the passenger. Calculating the actual vehicle time of the passenger using the data of the actual time of the boarding time in the vehicle information to the time of the inquiry request sending time based on the receiving time of the actual vehicle information; if the actual vehicle information is not included
  • the unique identification of the bus, the actual car line, the actual car direction, the actual car station, the actual car time, the current riding conditions (optional), together with the receiving time information, are combined into one bus.
  • a vehicle operation information item stored in the NPR if the actual vehicle information includes a unique identifier of the public transportation vehicle, the actual vehicle line, the actual vehicle direction, the actual vehicle station, the unique identification of the public transportation vehicle, In fact, the car time, the current riding conditions (optional), together with the receiving time information, the group
  • An information item is stored for a bus, and is stored in the IPR; found in the PW, the waiting state is in the waiting, the included line, the direction, and the planned on-board station and the information entry newly deposited into the NPR or IPR are included.
  • the line, the direction, and the station are the same, and the included plan arrives at the station.
  • the waiting information is not later than the waiting information entry of the actual car time included in the information entry newly deposited in the NPR or IPR, and the waiting state of the passenger involved in the found waiting information entry. Waiting for the waiting status of all waiting information items (including waiting information items for other lines of these passengers) in the waiting room;
  • the query step shown in FIG. 8 is substantially an asynchronous exchange process of bus information between the upstream and downstream passengers of the bus line and the intermediary agent of the bus information asynchronous exchange center.
  • This is a chain-type asynchronous exchange of public transportation information.
  • This exchange method realizes the mutual assistance of public transportation information services between passengers, and is used for the inquiry and collection of public transportation information.
  • the public transportation information service and the public transportation business are completely completed. Separating; in 84 of FIG. 8, when the passenger feedbacks the actual vehicle information, the information about the unique identification of the public transportation vehicle is an optional feedback information content, and accordingly, the included and/or included bus vehicles are separately processed in 85.
  • the passenger wants to know about the status of the vehicles at the upstream stations, and the bus and bus division wants to know the waiting status of the passengers at the downstream stations;
  • the bus information asynchronous exchange center pre-establishes the passenger waiting information set (PW) and the bus routing information of the shunyuan source.
  • CD identified passenger vehicle operation information set
  • NPR unidentified bus vehicle operation information set
  • CR bus vehicle operation information set
  • the passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device that the passenger controls, the exchange request includes the passenger's inquiry request and the current planned ride information;
  • the vehicle information how long after the planned arrival time arrives at the upper station instead of the plan in the agreed information content, the default value of the plan duration is 0, which is automatically provided by the universal connected device operated by the passenger, and the passenger can Modifying;
  • the passenger's inquiry request includes request for return, scheduling information about a bus route suitable for the passenger, a bus vehicle that is likely to establish a boarding relationship with the passenger, and information about the planned ride information at the end point
  • the operation information of the on-going bus vehicles that may establish a boarding relationship with the passengers in front of the station, and the number of upstream passengers waiting for the bus on the same line;
  • the bus information asynchronous exchange center performs a plurality of operations in response to the bus information exchange request submitted by the passenger, and mainly includes 821-823:
  • the bus information asynchronous switching center receives an exchange request from the passenger-controlled universal networking device, and extracts the query request of the passenger and the content of the planned ride information, based on the receiving time of the passenger inquiry request. , using the data of how long the precipitated plan arrives at the station, and calculating the time when the passenger plan arrives at the station;
  • the querying the relevant public transportation information on the related information set includes: performing, on the CD, the IPR, the NPR, and the CR, on the CD, the IPR, the NPR, and the CR, and querying from the CD,
  • the included route is the same as the planned passenger route of the passenger, and the latest dispatch information entry of the different bus vehicles is selected from the found information items, and the direction included is consistent with the planned passenger direction of the passenger.
  • the information item returns the information item with the late departure time from the selected information item, and the returned quantity does not exceed one-half of the passenger's planned boarding station number (or plus 1);
  • the route is the same as the planned passenger route of the passenger, and the latest operation information entry of the different transit time of the public transportation vehicle, and the direction included in the returned information entry is consistent with the planned riding direction of the passenger, and includes
  • the station station is not larger than the operation information entry of the passenger's planned boarding station station;
  • the included line and direction are respectively consistent with the planned passenger route and direction of the passenger, and the included station station is not larger than the information item of the passenger's planned boarding station station, and different lines are selected from the found information items.
  • direction the latest running information entry of the station's arrival time, calculate the fresh index for each information item selected, return the running information item with the fresh fresh index from the selected information item, and the returned quantity does not exceed the passenger Planned to get on the train station station (or add 1) one-half; from the CR search, the included route is the same as the passenger's planned ride route, the latest run information of the different bus stop time An entry, returning, from the found information item, an operation information entry including a direction that is consistent with the planned passenger direction of the passenger, and a station station that is not greater than the planned passenger station of the passenger; In the operation information item, the included station is the same as the passenger plan boarding station, and the pit stop time is earlier than the passenger plan to arrive.
  • the item at the time of the station is removed; the search status from the PW is included in the waiting state, and the included line and direction are respectively consistent with the planned passenger route and direction of the passenger, and the planned on-board station station is not included.
  • a waiting information entry greater than the number of passengers scheduled to board the station, returning the number of information items found; the number of the last scheduled dispatch information item, the running information item, and the waiting information item constitutes the query result of the passenger query request; When there is no information in the result, return a message about the public transportation information that does not meet the requirements;
  • the passenger-controlled universal networking device receives and displays a result returned from the bus information asynchronous switching center;
  • the bus information asynchronous exchange center receives, organizes, and saves actual vehicle information fed back by the passenger, and updates an information item in the related information set: the bus information asynchronous switching center, and the actual car that receives the passenger feedback
  • the information based on the actual time of receiving the vehicle information, using the data of the actual vehicle time in the actual vehicle information to the time of the inquiry request transmission time, and calculating the actual vehicle time of the passenger; if the actual vehicle information If the passenger's unique identification is not included, then the passenger's actual car route, the actual car direction, the actual car station, the actual car time, the current ride condition (optional), together with the reception time information, Combined into a bus operation information item, stored in the NPR; if the actual vehicle information includes the unique identification of the bus, the actual vehicle line, the actual vehicle direction, the actual bus station, the bus Unique identification, actual car time, current riding conditions (optional), and receiving time Together, they are combined into a bus operation information item and stored in the IPR; found in the PW, the waiting state
  • the information entry contains the same line, direction and station, and includes the plan to arrive at the station no later than the waiting information entry of the actual car time contained in the information entry newly deposited in the NPR or IPR, and the information of the waiting information entry
  • the waiting state of the passenger is that all the waiting information items in the waiting (including the waiting information items of the other passengers) are updated to the boarding state;
  • the bus vehicle division takes the bus dispatching instruction and refers to the steps shown in FIG. 6 to asynchronously exchange the bus information before receiving the bus dispatching instruction, including:
  • the public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the universal networking device controlled by the public transportation vehicle, and the exchange request includes the inquiry request of the division and the scheduling information of the public transportation vehicle, and the query request request
  • the planned departure time is used. Remaining The remaining time replaces the proposed departure time in the agreed information content, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
  • the bus information asynchronous switching center performs a plurality of operations, including 621-623, in response to the exchange request submitted by the bus and vehicle department.
  • the bus information asynchronous exchange center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request of the passenger and the content of the bus transportation scheduling information, Taking the time of receiving the query request as a reference, calculating the planned departure time of the public transportation vehicle by using the data of the remaining time to the predicted departure time;
  • the querying the relevant public transportation information on the related information set includes: searching from the PW, and including the waiting state of the waiting passenger, waiting for the line and the direction of the passengers respectively corresponding to the dispatching line and the dispatching direction of the public transportation vehicle, respectively.
  • the information item excluding the included station as the first station from the found information item, including the item that arrives at the station on the station at a time later than the scheduled departure time, and returns the remaining passenger waiting information items;
  • the public transportation vehicle controlled by the public transportation vehicle receives and displays information returned from the asynchronous exchange center of the public transportation information, and ends the current round of public transportation information inquiry;
  • the bus driver begins to operate the bus, and participates in the asynchronous exchange of bus information according to the steps shown in FIG. 7, including:
  • the public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the universal networking device controlled by the public transportation vehicle, where the exchange request includes the inquiry request of the division and the current operation information of the public transportation vehicle, and the query Request to return, about the bus information that meets the requirements of the planned ride information, may have a ride relationship with the bus before reaching the terminal, and other bus vehicles on the same line and in the same direction as the bus Operation information of the public transportation vehicle; the current operation information of the public transportation vehicle includes operation information when the public transportation vehicle is docked or the last time the station is parked, wherein the duration of the arrival time to the current time is used instead of the arrival time in the agreed information content, the duration The default value is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
  • the bus information asynchronous exchange center performs a plurality of operations, including 721-723, in response to the bus information exchange request submitted by the bus and vehicle department.
  • the bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request of the master and the content of the bus operation information, The receiving time of the query request is used as a reference, and the time of arrival of the bus is calculated by using the time of the deposited inbound time to the current time;
  • the querying the related public transportation information on the related information set includes: searching and returning from the PW, including the waiting state in the waiting mode, including the line and the direction respectively corresponding to the running line and the running direction of the public transportation vehicle, including The station number of the station is greater than the information item of the bus station stop station station; from the CR search, the line containing the same as the bus line, the latest running information entry of the different bus vehicles, from The found information item returns an operation information item containing a direction that is consistent with the running direction of the public transportation vehicle; from the IPR search, the included line is the same as the bus line of the bus, and the actual vehicle of the different bus vehicle The latest running information item at the moment, from looking for Returning to the information item to return an operation information item containing a direction consistent with the running direction of the public transportation vehicle; and finding from the NPR, the included line and direction are respectively consistent with the running line and direction of the public transportation vehicle The information item selects the latest running information item of the actual vehicle time of the station from the found information items, calculates
  • the number of entries returned does not exceed one-half of the total number of stations (or plus 1) in the current direction of the bus; the last returned information item from the different information sets constitutes the query result of the passenger query request; When there is no information item in the result, the message about the public transit information that does not meet the requirements is returned;
  • the waiting information of the passengers involved in the found waiting information entry is the waiting information of all the waiting information in the waiting time (including those of the passengers regarding other lines), not later than the waiting information entry of the inbound time included in the new running information entry.
  • the waiting status of the waiting information entry is updated to be on board;
  • the public transportation device controlled by the public transportation vehicle receives and displays information returned from the asynchronous exchange center of the public transportation information, and ends the inquiry of the current public transportation information.
  • the interaction interface of the bus driver in the first embodiment of the present invention is used to help complete the exchange operation in FIG. 6 and FIG. 7 involving the completion of the multiplication.
  • the operation actions in 61, 63 of FIG. 6 can be completed by the first display screen and the dispatch information transmission button, and the operation of each of the stations in the 71, 73 of FIG. 7 can be operated by the operation state.
  • the first and second display screens in the bus information exchange mode are completed.
  • the embodiment of the present invention is essentially a combination of bus information chain asynchronous exchange and bus information dual asynchronous exchange.
  • the chain asynchronous exchange of bus information is started more easily, and on the other hand, the bus driver does not have to multiply After a station has to participate in the bus information exchange, once the chain asynchronous exchange is started, it will automatically proceed.
  • FIG. 9 shows a first embodiment of the public transportation information system of the present invention.
  • Different bus participants use the public transportation information system as a platform to implement the bus information exchange operation I, the exchange operation 0, and the parallel connection in FIG.
  • the combination module IU 0, in turn, can help to complete the bus information asynchronous exchange process and realize the function of querying and collecting the bus information; in particular, the present embodiment provides nine operations that can carry the switch-in operation I of the first embodiment in FIG. Prototype, the bus information system of the six operational prototypes of operation 0;
  • the public transportation information system mainly includes a universal networking device 91 operated by a bus participant, and a bus information asynchronous switching center 92;
  • the bus information asynchronous exchange center 92 pre-creates a passenger waiting information set (PW), a bus dispatching information set (DD) of the dispatcher source, and a bus vehicle scheduling information set of the Sicheng source before completing other tasks.
  • PW passenger waiting information set
  • DD bus dispatching information set
  • CD bus vehicle scheduling information set of the Sicheng source before completing other tasks.
  • CD unidentified bus operation information set (NPR) for passenger sources, identified bus operation information set (IPR) for passenger sources, and bus operation information set (CR) for Sicheng source, used to prepare storage related
  • NPR unidentified bus operation information set
  • IPR identified bus operation information set
  • CR bus operation information set
  • the task specifically includes the bus participant transmitting a bus information exchange request to the bus information asynchronous exchange center through the device, where the bus information exchange request includes a bus information inquiry request (A) or/and a bus participant has learned at the time for the exchange The bus information (T), receiving and displaying the message returned from the bus information asynchronous exchange center;
  • the bus information exchange request includes a bus information inquiry request (A) or/and a bus participant has learned at the time for the exchange
  • the bus information (T) receiving and displaying the message returned from the bus information asynchronous exchange center;
  • the device 91 performs four tasks: one is to save the saved member identification.
  • For passengers provide a form for entering the planned ride information, actual vehicle information or actual ride information at the time, and provide a form for entering the dispatch information or operation information of the bus at the time, for the dispatcher Providing a form for inputting scheduling information in the dispatching instruction issued at the time or the bus route and direction to be queried; the bus participant completes the corresponding form operation, and the device 91 obtains form information (the required static information is from the device Automatically retrieved from the saved static), giving information about the variable info in the operation prototype; third, asynchronous exchange to the public transportation information
  • the heart sends a bus information exchange request, which is determined by a specific bus information asynchronous exchange process
  • the bus information asynchronous exchange center used to help the bus participant to complete the step 12 of the swapping operation I in FIG. 1, the step 02 of the swapping out operation 0, or the task in the step U2 of the parallel combination module in FIG. 2, specifically
  • the ground includes:
  • the stored item IDS-1 is an instantiated item corresponding to the swap out information precipitated in task a;
  • the bus information asynchronous switching center 92 may further include a communication interface unit 921, a query unit 922, and a storage unit 923, wherein the communication interface unit 921 completes the bus information asynchronously.
  • the public transportation information items compiled by the participants for the exchanged public transportation information such improvement can make the public transportation information system in the embodiment have a clearer structure and better maintainability.
  • FIG. 10 shows a second embodiment of the public transportation information system of the present invention, which provides an information system capable of realizing the inquiry and collection function of public transportation information only by asynchronous exchange of public transportation information between passengers;
  • the public transportation information The system includes a passenger-operated universal networking device 101 and a bus information asynchronous switching center 102; the bus information asynchronous switching center pre-creates a passenger waiting information set (PW), a passenger-sourced unidentified bus vehicle operation information set (NPR), and a passenger source
  • the identified bus vehicle operation information set (IPR) is used to separately store the waiting information sent by the passenger, the actual vehicle information that does not include the unique identifier of the bus, and the actual vehicle information including the unique identifier of the bus.
  • the data organization form of the collection and the included fields are the same as the information collection of the same name in the first embodiment of the present invention; the functions of the devices in FIG. 10 are as follows:
  • a universally-connected device operated by a passenger wherein the passenger sends an exchange request of the public transportation information, where the exchange request includes the inquiry request of the passenger and the planned travel information of the passenger at the time; receiving and displaying the asynchronous exchange center from the public transportation information Returned information; when the passenger gets on the bus, the device feeds back the actual vehicle information to the bus information asynchronous exchange center; in the planned ride information, how long does it take to arrive at the station instead of the agreed information content?
  • bus information asynchronous exchange center used to complete the following tasks:
  • the data of the arrival time of the station is calculated based on the data of the planned station for a long time, and the actual vehicle information from the device 101 is received, and the actual vehicle information is received based on the reception time of the actual vehicle information.
  • the data of the time in the vehicle information to the time when the request is sent is calculated, and the actual vehicle time of the passenger is calculated; and the output result of the query operation performed in the task b is returned to the device 101 operated by the passenger;
  • each planned passenger route and direction for the passenger, in the IPR, NPR, PW The following query is implemented: from the IPR search, the included route is the same as the passenger's planned passenger route, and contains the latest running information entry of the actual bus time of the different bus vehicles, and selects the direction included from the found information items. Including the information of the passenger's planned riding direction, the included station number is not greater than the information of the passenger's planned boarding station station, and the selected station and the passenger plan are removed from the selected information item.
  • the station is the same, and in fact the vehicle is earlier than the information item of the passenger plan to arrive at the station, and the remaining information items are returned; from the NPR, the included route and direction are respectively associated with the passenger's planned route and direction.
  • the consistent, included station number is not greater than the information entry of the passenger's planned boarding station station, from the identified information items.
  • the latest running information item at the station entrance time, the fresh index is calculated for each information item selected, and the running information item with a large fresh index is returned from the selected information item, and the returned quantity does not exceed the passenger's plan.
  • One-half of the pick-up station station (or plus 1); look up from the PW, including the waiting state for waiting, including the line and direction respectively corresponding to the passenger's planned ride line and direction,
  • the included on-board station station is not larger than the waiting information of the passenger's planned boarding station station, and returns the number of found information items including different lines; the last returned bus information in each information set, the composition
  • the query result of the passenger inquiry request is output to the task a, and if there is no bus information in the query result, the bus message of the type that is not relevant is output. Message of interest;
  • the information entry that is newly stored in the NPR or IPR contains the same line, direction, and station.
  • the included plan arrives at the station no later than the actual car time contained in the information entry that is newly stored in the NPR or IPR.
  • the waiting state is waiting.
  • the waiting information entry in the middle is updated to the waiting state of all the waiting information items (including the waiting information items of the other passengers) of the waiting information of the passengers in the waiting information entry.
  • the bus information asynchronous switching center 102 further includes three devices: a communication interface unit 1021, a query unit 1022, and a storage unit 1023:
  • the communication interface unit is configured to complete task a, and send a query request to the query unit 1022, and deliver the arranged passenger waiting information entry, the unidentified bus vehicle running information, or the identified bus running information to the storage unit 1023, from the query 1022 Receive bus information query results;
  • the query unit is configured to complete the task b, and the query result is transmitted to the unit 1021;
  • the public transportation information system shown in FIG. 10 is essentially a system for facilitating asynchronous exchange of public transportation information between upstream and downstream passengers. This is a chain asynchronous switching system for public transportation information, and there is no public transportation operation department and Under the conditions of personnel participation, the passenger information bus service self-service system achieves the aforementioned objectives and maintains the maximum openness of the bus information service.
  • Fig. 11 shows a third embodiment of the public transportation information system, which provides an information system for realizing the inquiry and collection of public transportation information by asynchronous exchange of public transportation information between bus participants composed of passengers and bus vehicles;
  • the public transportation information system includes a passenger-operated universal networking device 111, a publicly-connected universal networking device 112 and a public transportation information asynchronous switching center 113; the public transportation information asynchronous switching center 113 pre-establishes a passenger waiting information set (PW) Bus source dispatch information set (CD) of Sichengyuan, identified bus operation information set (IPR) of passenger source, unmarked bus operation information set (NPR) of passenger source and bus operation information of Sichengyuan a set (CR), configured to separately store corresponding bus information transmitted by the passenger and the bus, and the data organization form and the included field of the five information sets are the same as the same name information set of the first embodiment of the present invention;
  • the function of the device is as follows:
  • a universally-connected device operated by a passenger wherein the passenger sends a bus information exchange request to the bus information asynchronous exchange center, where the bus information exchange request includes the passenger's inquiry request and the planned travel information at the time; and receives and displays the bus information.
  • the passenger's inquiry request is required to return, regarding the planned boarding information suitable for the passenger, and the running information of the in-transit bus vehicle that may establish a boarding relationship with the passenger before reaching the terminal station; in the planned boarding information, How long is the plan?
  • the default value of the duration is 0, which is automatically provided by the universal networked device operated by the passenger, the passenger can modify;
  • the actual vehicle time is replaced by the actual time of the vehicle to the actual transmission time of the vehicle information, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the passenger may modify;
  • the public transportation device controlled by the bus and vehicle department, the bus vehicle division sends a bus information exchange request to the bus information asynchronous exchange center through the device; receives and displays the information returned by the bus information asynchronous exchange center;
  • the bus vehicle department sends a bus information exchange request in a state to be issued when receiving the dispatching instruction, and the exchange request includes a query request in the state of the vehicle to be dispatched and a dispatching information related to the bus in the dispatching instruction, the department
  • the multi-query request request returns a waiting information regarding the fact that the public transportation vehicle is suitable for its planned riding information request, and may establish a riding relationship with the public transportation vehicle before reaching the terminal after the departure of the bus; in the scheduling information, from the current time to The remaining duration of the proposed departure time replaces the intended departure time in the agreed information content, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
  • the bus vehicle department sends a bus information exchange request in the running state after starting to run the bus, and the exchange request includes an inquiry request in the running state of the division and the current bus operation information, and the query request includes a request to return,
  • the bus is suitable for the information of the planned travel information, the waiting information that may be established before the bus arrives at the terminal, and the information about the operation of other buses in the same line and in the same direction as the bus;
  • the operation information of the public transportation vehicle includes the operation information when the public transportation vehicle is docked or the last time the parking station is stopped, wherein the time limit from the time of the arrival to the current time is used instead of the time of the arrival in the agreed information content, and the default value of the duration is Is 0, is automatically provided by the universal networking device, and the multiplier can be modified;
  • the bus information asynchronous switching center is used to complete the following tasks:
  • A2 Communicating with the public network device operated by the bus and vehicle department: receiving a bus information exchange request from the device 112, and extracting the inquiry request in the state of the vehicle to be dispatched and the scheduling information of the public transportation vehicle, or the Describe the operation information of the public transportation vehicle and the inquiry request in the running state; based on the receiving time of the exchange request, calculate the planned departure time of the public transportation vehicle by using the remaining time from the current time to the scheduled departure time, or Calculating the arrival time of the public transportation vehicle by using the data of the time interval from the time of the arrival to the current time; returning the query output result in the task b2 to the device 111 operated by the bus driver;
  • the following query is performed: searching for the information item containing the same route as the planned passenger route of the passenger and the latest departure time of the different public transportation vehicle from the CD, and selecting the included direction from the found information item and the The passenger's planned dispatching information item with the same direction of travel, and the information item with the late departure time is returned from the selected information item, and the returned quantity does not exceed the number of the passenger's planned boarding station station (or plus 1).
  • the latest running information entry for the stop time of different stations, for each selected information item, the fresh index is calculated, and the running information item with the fresh fresh index is returned from the selected information item, and the returned quantity does not exceed the passenger's plan.
  • One-half of the pick-up station station (or plus 1); find the last running information entry from the CR that contains the same line as the passenger's planned ride line, and the different station bus stop times.
  • the direction of the inclusion includes the running direction information of the passenger's planned riding direction, and the included station number is not greater than the passenger's planned boarding station station; in all returned running information items
  • the selected station is the same as the passenger plan boarding station, and the running time is earlier than the time when the passenger planned to arrive at the station; the search is performed from the PW, and the waiting state is included in the waiting,
  • the included route and direction are respectively consistent with the passenger planned bus route and direction, and the planned on-board station station is not greater than the ride.
  • the waiting information entry of the station on the train station is returned, and the number of found information items is returned; the relevant query result is output to the task a1: If the public transportation information is included in the final return result, the public transportation information is output, if no public transportation information is included , outputting information about public transportation information that does not meet the requirements;
  • the waiting information of the passengers of the public transportation vehicle and the waiting information of the passengers in the same direction are excluded from the found information items, and the included information is the first station, and the information items including the scheduled arrival time at the station is later than the scheduled departure time, and the remaining passengers are returned.
  • Waiting information entry when no information entry is returned, return a message about the public transit information that does not meet the requirements;
  • the running line and the running direction are the same, and the station number of the included station is not less than the information item of the station number of the bus stop station, and the included station is excluded from the found information station and the plan included in the bus station.
  • Planned ride information for the precipitation and calculation in the task a from which to sort out each bus line, direction, planned boarding station and station number, plan to arrive at the station time, travel instructions (optional) and other related
  • the information is added to the waiting state in the waiting mode and the receiving time of the exchange request, and is combined into one passenger waiting information item, and the waiting information items of the different lines are summarized, and the waiting information item of the passenger is obtained and stored in the PW;
  • C2 a2 tasks and calculations on precipitated buses scheduling information to uniquely identify this buses, starting line Road, departure direction, planned departure time, departure description (optional), together with receiving time information, combined into one bus vehicle scheduling information item, stored in the CD; for the task a2 precipitation and calculation of the bus operation information,
  • the unique identification of the bus, the running line, the running direction, the stopping station and the station, the time of entering the station, the riding condition (optional), together with the receiving time information, are combined into one bus running information item, and stored in the CR;
  • the information entry of the NPR or IPR contains the same line, direction and station, and includes the waiting information of the arrival time or the actual vehicle time included in the information entry of the newly deposited CR, NPR or IPR.
  • the waiting state of the passengers involved in the found waiting information entry is the waiting state of all the waiting information items (including the waiting information items of the other passengers) of the waiting vehicle, and the waiting state is updated to the boarding state.
  • the bus information asynchronous switching center 113 may further include four devices, such as a passenger communication interface unit 1131, a communication interface unit 1132, a query unit 1133, and a storage unit 1134.
  • the functions of each device are as follows:
  • a passenger communication interface unit configured to complete the task of the bus information asynchronous exchange center 113;
  • a communication interface unit for completing the task a2 of the bus information asynchronous exchange center 113 ;
  • the query unit is configured to complete tasks bl and b2 of the bus information asynchronous switching center 113.
  • the storage unit is configured to complete the tasks cl, c2, and C3 of the bus information asynchronous switching center 113.
  • the system shown in FIG. 11 is actually an information system for chain asynchronous switching and dual asynchronous switching of bus information, and the startup speed of the chain asynchronous switching is accelerated by the dual asynchronous exchange.
  • the coupling requirement of dual asynchronous switching is released by chain asynchronous switching.
  • the actual effect includes more timely, more accurate and comprehensive bus information that can be queried.
  • the bus vehicle division multiply and wait for the state of the vehicle to be dispatched.
  • the first station publishes information about the operation of the bus, and it can be issued once every stop without having to stop at the station.
  • Realizing asynchronous exchange of public transportation information is the basis of all embodiments of the present invention, and is also a method for querying and collecting public transportation information and technical features of the public transportation information system in the present invention, and is at the core of claiming rights protection; in related embodiments, public transportation information Whether the inquiry and collection are effective, whether the relevant technical advantages are reflected and whether the public transportation information system is operating normally depends on whether the asynchronous exchange of bus information is active; the system should try to encourage the first station passengers to actively participate in the bus information exchange, such as providing them with relevant
  • the historical bus information of the line, direction, station, and time period may also be stimulated by other means; in essence, the embodiment of the present invention provides a technical platform for the bus participant group to benefit from the practice of human mutual cooperation and cooperation, and the inventor The spirit of mutual assistance and cooperation among the bus participants is full of confidence.
  • the query requests of different types of bus participants may be, but are not limited to, as listed; different bus participants of the same bus participant type, or the same bus participant may have different queries in different scenarios.
  • the request for example, for the passenger waiting at the first station, the query request may request to return information about the recently issued bus; in all of the above embodiments, the corresponding query conditions are described in detail for each of the set query requests.
  • the purpose is not intended to exhaust the query request and corresponding query conditions that may be involved in the present invention.
  • the present invention can satisfy the corresponding query request by using the bus information asynchronous exchange.
  • the information asynchronous query-based public transportation information inquiry is feasible; the scope of the claimed invention includes all the different processes, methods and systems for realizing the public transportation information inquiry and collection function based on the asynchronous exchange of public transportation information, these different processes, Method, system is not limited to the embodiment Listed query requests and corresponding query conditions.
  • the universal networking device includes, but is not limited to, a mobile phone that can be networked, or other fixed or portable devices that can be networked, such as a networked computer, a netbook, a tablet computer, and the like.
  • bus traffic information such as CR, IPR
  • the "bus” is found by the conditions of "the arrival time of different bus lines of different lines or the latest operation information item of the actual vehicle time”; as long as the asynchronous exchange of bus information concerning the vehicle at that time is timely, Except for the information items related to the last 2 stations (almost no passengers take the inquiry about the status of the bus stations at the end 2 stations), the error between this "theoretical" in transit and the actual in transit is small;
  • bus vehicle operation information such as NPR
  • the "in transit” bus is estimated by the calculation of the fresh index of the relevant information item, and the accuracy of the inquiry is not as good as the information set containing the unique identifier of the vehicle;
  • the accuracy of the "waiting state is waiting in the vehicle” in the inquiry condition depends on the relevant passenger feedback information and the timeliness of the asynchronous exchange of the participating bus information; in
  • Each bus participant participating in the asynchronous exchange of bus information is both a consumer of bus information and a producer of bus information. They understand the process of generating the bus information that is queried; as the bus participants use the bus information of the present invention to query,
  • the increase in experience in collection methods and public transport information systems can easily adapt to the "error" or "flexibility" of asynchronous exchange of public transport information.
  • the interactive characteristics of such systems indicate that the query and collection of public transport information through the asynchronous exchange of public transport information is Features of the technical solution of the present invention.
  • the riding condition includes: information about a sanitary condition in a bus of the bus, information about a remaining empty seat in the bus, and information about a crowded condition of the bus in the bus, Information about the visual perception of the vehicle in the bus, information about the sense of smell in the bus, the information about the road condition along the route of the bus, information about the safety situation of the bus in the bus;
  • the riding condition is used as the optional information content of the corresponding public transportation information, and the design is mainly considering a part of the public transportation participant, because the participating public transportation activities are relatively tight (such as the passengers and passengers with more passengers in the vehicle) The passengers or the passengers of the luggage, etc., return to the more detailed riding conditions, as an optional content, so that they can participate in the information exchange without providing the driving condition information; the embodiment of the present invention can effectively query and collect relevant information.
  • the information of the riding conditions embodying the humanized technology of the public transportation information service of the present invention color.
  • step 8 is switched into operation 1 (including the corresponding steps ⁇ - ⁇ 2 - ⁇ 3) can be repeated several times before step 84 to meet the needs of the bus participant to refresh the original query request; in order to reduce the operational load of the bus information asynchronous switching center, the bus information exchange operation can be repeated repeatedly
  • the limitation of the form for example, the total number of repetitions does not exceed a certain value, and the interval of adjacent operations to the minimum interval is not less than a predetermined length of time.
  • the query result about the bus dispatching information or the running information includes the dispatcher and the passenger (including the unique identifier of the public transport vehicle and the unique identifier of the public transport vehicle),
  • the information generated by different bus participants is relatively independent.
  • the information of different information collections may not be identical.
  • the results of different sources may be complemented and cross-checked.

Abstract

The present invention relates to a public traffic information inquiry method, a collection method and a public traffic information system. In this method, the inquiry and collection of public traffic information can be realized in asynchronous exchange of public traffic information of public traffic participants (including I and/ or O), at first, a public traffic information exchange request (I1 or/and O1) is sent through a controlled common networking device, said exchange request comprises a public traffic information and/or inquiry request to be exchanged, an asynchronous public traffic information exchange center receives the public traffic information exchange request, stores the public traffic information to be exchanged (O2), the required public traffic information is inquired in the relevant stored public traffic information which is exchanged by other public traffic participants according to the inquiry request in the exchange request and is returned to the common networking device.

Description

公交信息查询方法、 收集方法和公交信息系统  Public transportation information inquiry method, collection method and public transportation information system
技术领域 Technical field
本发明涉及交通信息领域, 尤其是一种公交信息查询方法、 收集方法和一种公交信息系 统。  The invention relates to the field of traffic information, in particular to a bus information inquiry method, a collection method and a bus information system.
技术背景 technical background
公交信息对于包括乘客、 公交车辆司乘人员 (以下称司乘)、 公交站场调度员 (以下称调 度员) 在内的公共交通参与者来说有重要作用。 及时全面地掌握包括乘客候车信息和公交车 辆 /船只运行信息在内的公交信息, 有助于乘客选择合适的公交线路、乘车时间甚至是合适的 公交车辆, 节省交通时间, 提高乘坐公共交通的舒适度, 提高绿色出行的比例; 了解公交运 行状况, 有助于公交车辆司乘、 调度员优化公交车辆的调度和运行, 提高公交服务质量和运 营效益。  The public transport information plays an important role for public transport participants including passengers, bus passengers (hereinafter referred to as supervisors), and bus stop dispatchers (hereinafter referred to as dispatchers). Timely and comprehensive mastery of bus information including passenger waiting information and bus/ship operation information will help passengers choose the right bus route, travel time and even the right bus, save traffic time and improve public transport. Comfort, improve the proportion of green travel; understand the bus operation status, help the bus and passengers, dispatchers optimize the dispatch and operation of public transport vehicles, improve the quality of public transport services and operational benefits.
现有的公交信息技术为查询和收集公交信息提供了多种技术路线, 包括通过基于无线通 信定位技术的车载设备、 基于 GPS定位技术的车载设备、 或公交车站与公交车辆的近场通信 或其它专门设备, 来实时或定时地自动获取公交车辆的位置信息。 中国专利公开号 CN101819716A公开了用于联系乘客与交通工具的通信系统, 乘客和交通工具位置信息的获取 依赖基于 GPS或 AGPS的技术; 中国专利公开号 CN1378184A公开了站内乘客参与型站点与车 船可独立交互公交信息系统, 需要在公交车站设置固定控制装置, 在公交车辆上配置机动控 制装置;中国专利公布号 CN101226599A公开的公交信息获取方法、查询方法和公交信息系统, 需要配置专门的二维码或射频识别功能的终端; PCT International Publication Number WO 2007/061734 A2公布的公交信息提供方法中, 依靠乘客和车载无线设备自动返回位置信息; 中国专利公布号 CN102376168A公开了一种公交信息采集和查询的方法和系统,在公交车站上 不需要专门的公交信息源设备, 但在公交车辆上需要车载的专门的公交信息源设备定时发送 位置信息。 中国专利公布号 CN102088678A公开的基于短消息服务的公交等待查询系统, 需要 在公交车辆上配置专门的车载装置或模块, 用于让司机或乘务员专门为单方面地提供本公交 车辆位置信息而手动操作加减站, 而且, 短消息服务受通信形式的局限使得查询缺乏应有的 灵活性, 使用成本较高。 后两项公开的技术的一个特点是, 专门的公交信息源设备中公交信 息的流动是单向的, 即专门的公交信息源设备或模块用于并且只能用于提供公交信息, 没有 公交信息的流入, 而且司机或乘务员手动操作信息源设备的唯一目的仅仅是向公交信息中心 提供公交车辆的位置信息,这与前述自动提供公交车辆位置信息的专门设备没有本质的差别。  The existing public transportation information technology provides a variety of technical routes for inquiring and collecting public transportation information, including in-vehicle equipment based on wireless communication positioning technology, in-vehicle equipment based on GPS positioning technology, or near-field communication between bus stations and public transportation vehicles or Other specialized equipment to automatically obtain the location information of the bus in real time or at regular intervals. Chinese Patent Publication No. CN101819716A discloses a communication system for contacting passengers and vehicles, and the acquisition of passenger and vehicle position information relies on GPS or AGPS-based technology; Chinese Patent Publication No. CN1378184A discloses that the passenger participation site in the station can be independent of the vehicle and the ship. For the interactive bus information system, a fixed control device needs to be set at the bus station, and a mobile control device is arranged on the bus; the public transportation information acquisition method, the inquiry method and the public transportation information system disclosed in the Chinese Patent Publication No. CN101226599A need to be configured with a special two-dimensional code. Or the terminal of the radio frequency identification function; in the public transportation information providing method disclosed in PCT International Publication No. WO 2007/061734 A2, the passenger and the in-vehicle wireless device are automatically returned to the position information; Chinese Patent Publication No. CN102376168A discloses a public transportation information collection and inquiry. The method and system do not require a special bus information source device at the bus station, but the bus information source device on the bus needs to periodically send the location information. The short message service-based bus waiting inquiry system disclosed in Chinese Patent Publication No. CN102088678A requires a special in-vehicle device or module to be arranged on the bus for the driver or the flight attendant to manually provide the location information of the bus for unilateral operation. Addition and subtraction stations, and, because of the limitations of the form of communication, the short message service makes the query lack the flexibility it deserves and the cost of use is high. One of the characteristics of the latter two published technologies is that the flow of public transportation information in a dedicated public transportation information source device is one-way, that is, a dedicated public transportation information source device or module is used and can only be used to provide public transportation information, and no public transportation information. The inflow, and the sole purpose of the driver or flight attendant to manually operate the information source device is simply to provide the bus information center with the location information of the bus, which is not substantially different from the aforementioned specialized device for automatically providing the location information of the bus.
上述技术虽然解决了以车辆位置为主的公交信息或其它信息的查询和收集问题, 但是或 多或少地存在以下问题有待解决: 一是需要配置专门的公交信息源设备, 使提供公交信息服 务需要巨额的投资和维护费用, 使得提供公交信息服务的成本较高, 同时由专门的公交信息 源设备所产生的资产依赖关系也使得公交信息服务的运营严重依赖公共交通的运营, 降低了 公交信息服务的开放性; 二是基于物理设备自动收集的公交信息的内容相对单一, 除位置信 息等物理设备容易捕获的信息内容外, 很难获取象乘客关心的关于公交车辆的卫生状况、 车 内拥挤状况等乘车条件的信息; 还有, 现有的公交系统一般只收集和提供关于公交车辆的信 息, 无法提供关于乘客的信息; 三是自动或定时发送的公交信息源物理设备的工作方式是同 步的, 即所发送的公交位置信息同步或几乎同步于位置的实时变动, 虽然这样可以把公交车 辆或乘客的位置精确到米级或十米, 但是在路况复杂的市政公交道路上, 用米计量的位置信 息不如用公交车站标记的位置信息,更有利于熟悉路况的公交参与者形成自己的判断和预测, 在这种情况下,获取公交信息的同步工作方式不仅会浪费设备宝贵的电力和较多的通信资源, 占用不必要的带宽, 所提供信息的可用性反而更低; 若把以米计量的位置信息转化为使用公 交车站或公交地点标记, 则需要详尽的公交地理信息数据, 这又增加信息处理的环节, 浪费 一定的计算资源; 当这种同步工作方式应用于乘客所携带的物理设备时, 资源的占用更严重。 Although the above technology solves the problem of querying and collecting bus information or other information based on vehicle location, the following problems need to be solved more or less: First, special bus information source equipment needs to be configured to provide bus information service. The huge investment and maintenance costs are required, which makes the cost of providing public transportation information services high. At the same time, the asset dependence generated by the special public transportation information source equipment also makes the operation of public transportation information services rely heavily on the operation of public transportation and reduces the public transportation information. The openness of the service; Second, the content of the public transportation information automatically collected based on the physical equipment is relatively simple. In addition to the information content that is easily captured by physical equipment such as location information, it is difficult to obtain the public health condition of the public transportation vehicle and the crowdedness of the vehicle. Information on conditions such as the condition of the ride; also, the existing public transport system generally only collects and provides information about the public transport vehicle, and cannot provide information about the passenger; the third is the automatic or timed transmission of the public information source. Synchronized, ie the bus sent The information is synchronized or almost synchronized with the real-time changes of the location. Although the location of the bus or passenger can be accurate to the meter level or ten meters, the location information measured by the meter is not as good as the bus on the municipal road with complicated road conditions. The location information of the station mark is more conducive to the bus participants who are familiar with the road conditions to form their own judgments and predictions. In this case, the synchronous work mode of obtaining the bus information not only wastes valuable electrical power and more communication resources, but also occupies Unnecessary bandwidth, the availability of the information provided is lower; if the location information measured in meters is converted into public use If the station or bus location mark is used, detailed bus geographic information data is needed, which increases the information processing and wastes certain computing resources. When this synchronous working mode is applied to the physical equipment carried by passengers, the resource occupancy is more serious.
^:馳 ^:Chi
本发明已经被设计用来解决公交信息现有技术中的上述和其它问题, 本发明的第一目的 是, 提供免于配置任何专门的公交信息源设备的公交信息的查询方法、 收集方法和系统; 本 发明的第二目的是提供公交信息的查询方法、 收集方法和系统, 可以查询和收集除位置信息 以外的关于公交系统运行的更丰富信息, 包括关于公交车辆调度说明、 运行中的乘车条件和 关于乘客的多样化公交信息; 本发明的第三目的是提供公交信息的查询、收集的方法和系统, 它按异步工作方式收集公交信息, 即公交信息的收集伴随着公交参与者提交公交信息查询, 而不是伴随着公交参与者位置的实时变动。  The present invention has been devised to solve the above and other problems in the prior art of public transportation information. The first object of the present invention is to provide an inquiry method, collection method and system for public transportation information exemption from configuring any special public transportation information source equipment. The second object of the present invention is to provide a method, a collection method and a system for inquiring public transportation information, which can query and collect more information about the operation of the public transportation system other than the location information, including the description of the bus transportation schedule and the running vehicle. Conditions and diversified public transportation information about passengers; The third object of the present invention is to provide a method and system for inquiring and collecting public transportation information, which collects public transportation information in an asynchronous working manner, that is, the collection of public transportation information is accompanied by the public transportation of the bus participants Information queries, rather than real-time changes in the location of bus participants.
为实现上述发明目的, 本发明提出如下技术方案: 一种公交信息的查询和收集的方法, 公交参与者通过参与公交信息的异步交换来完成公交信息查询, 公交信息异步交换中心在协 助公交信息异步交换的过程中收集公交信息;所述公交参与者参与公交信息异步交换的操作, 包括公交信息的换出操作 0和换入操作 I, 所述换出操作 0包括步骤 -01和步骤 -02:  In order to achieve the above object, the present invention proposes the following technical solutions: A method for querying and collecting bus information, the bus participant completes the bus information inquiry by participating in the asynchronous exchange of bus information, and the bus information asynchronous exchange center assists the bus information asynchronously. The bus information is collected during the exchange; the bus participant participates in the asynchronous exchange of the bus information, including the bus operation swapping operation 0 and the swapping operation I, and the swapping operation 0 includes steps -01 and -02:
步骤 -01 : 所述公交参与者通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者当时已经获知的用于换出的公交信 息;  Step-01: The bus participant sends a bus information exchange request to the bus information asynchronous switching center through the universal networking device that it controls, and the exchange request includes the bus participant who has learned at the time for the exchange. Bus information;
步骤 -02:所述公交信息异步交换中心,接收来自所述通用联网设备的公交信息交换请求, 从中析出所述公交参与者当时已经获知的用于换出的公交信息, 保存该析出的公交信息; 所述换入操作 I包括步骤 -Π至步骤 -13:  Step -02: The bus information asynchronous exchange center receives a bus information exchange request from the universal networked device, and extracts bus information for the bus station participant that has been known at the time, and saves the bus information for the bus out. The swap-in operation I includes a step-by-step to step-13:
步骤 -Π : 所述公交参与者通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者的公交信息查询请求;  Step-Π: The bus participant sends a bus information exchange request to the bus information asynchronous switching center through a universal networking device that it controls, and the exchange request includes a bus information inquiry request of the bus participant;
步骤 -12:所述公交信息异步交换中心,接收来自所述通用联网设备的公交信息交换请求, 从中析出所述公交参与者的公交信息查询请求; 根据析出的公交信息查询请求, 从已经保存 的其它公交参与者用于换出的公交信息中查询相关的公交信息, 把相应的查询结果返回给所 述公交参与者操控的通用联网设备;  Step-12: The bus information asynchronous switching center receives a bus information exchange request from the universal networked device, and extracts a bus information inquiry request of the bus participant from the bus; and according to the popped bus information query request, the saved information is saved. Other bus participants query the relevant bus information in the exchanged bus information, and return the corresponding query result to the universal networking device controlled by the bus participant;
步骤 -13: 所述公交参与者操控的通用联网设备, 接收所述公交信息异步交换中心返回的 信息, 显示所述查询结果;  Step -13: The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result;
对此两种操作按照一定方式进行组合, 形成相应的公交信息异步交换过程, 所述公交参 与者按该交换过程参与公交信息异步交换, 实现公交信息查询任务, 所述公交信息异步交换 中心收集到新的公交信息。  The two operations are combined in a certain manner to form a corresponding bus information asynchronous exchange process, and the bus participant participates in the bus information asynchronous exchange according to the exchange process, and realizes the bus information query task, and the bus information asynchronous exchange center collects New bus information.
进一步, 所述对此两种操作按照一定方式进行组合, 包括以下两种方式进行组合: 并联方式: 对所述换出操作和所述换入操作, 按照让该两种操作在同一时间开始执行的 方式进行组合;  Further, the two operations are combined in a certain manner, including the following two ways: Parallel mode: For the swapping operation and the swapping operation, according to letting the two operations start at the same time Way of combining;
串联方式: 对所述换出操作和所述换入操作, 按照让其中一种操作在另一种操作结束时 间之后的某个时间开始执行的方式进行组合。  Tandem mode: The swapping operation and the swapping operation are combined in such a manner that one of the operations is started at a certain time after the end of the other operation.
进一步,对一次换出操作和一次换入操作按并联方式进行组合,形成并联组合模块 I U 0; 按照并联组合模块, 所述公交参与者参与公交信息异步交换的过程包括以下步骤:  Further, the one swapping operation and the one swapping operation are combined in parallel to form a parallel combination module I U 0; according to the parallel combination module, the process in which the bus participant participates in the asynchronous exchange of the bus information includes the following steps:
步骤 U 1 : 所述公交参与者通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者的公交信息查询请求和当时已经获 知的用于换出的公交信息;  Step U1: The bus participant sends a bus information exchange request to the bus information asynchronous switching center through the universal networking device that it controls, and the exchange request includes the bus information inquiry request of the bus participant and is known at the time. Bus information for exchange;
步骤 U 2:所述公交信息异步交换中心,接收来自所述通用联网设备的公交信息交换请求, 从中析出所述公交参与者的公交信息查询请求和当时已经获知的用于换出的公交信息; 根据 所述公交信息查询请求, 从已经保存的其它公交参与者用于换出的公交信息中查询相关的公 交信息, 把相应的查询结果返回给所述公交参与者操控的通用联网设备; 保存所述公交参与 者当时已经获知的用于换出的公交信息; Step U 2: the bus information asynchronous switching center receives a bus information exchange request from the universal networking device, Extracting the public transportation information inquiry request of the public transportation participant and the public transportation information for exchanging at the time; and querying from the public transportation information used by other public transportation participants that have been saved according to the public transportation information inquiry request Corresponding public transportation information, returning the corresponding query result to the universal networking device controlled by the bus participant; and saving the public transportation information used by the public transportation participant at the time to be exchanged;
步骤 U 3: 所述公交参与者操控的通用联网设备, 接收所述公交信息异步交换中心返回的 信息, 显示所述查询结果。  Step U 3: The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result.
进一步, 所述公交参与者参与的一轮公交信息异步交换, 包含一次 /多次所述换出操作和 一次 /多次所述换入操作; 对所包含的所述换入操作、 所述换出操作, 若有并联组合方式, 则 先按所述并联方式把相关的操作组合成并联操作模块; 预先确定一定次序, 按照该次序, 把 一个操作或操作模块的最先开始时间放在另一个操作或操作模块的最后结束时间之后, 进行 最后组合, 形成该轮公交信息异步交换的一种过程, 所述公交参与者根据此过程参与公交信 息异步交换, 完成公交信息查询任务, 所述公交信息交换中心收集到新的公交信息。  Further, the bus information is asynchronously exchanged by the bus participant, and includes one or more of the swapping operation and one or more of the swapping operations; and the swapping operation included Out operation, if there is a parallel combination mode, the related operations are first combined into parallel operation modules according to the parallel connection; a certain order is determined in advance, and the first start time of one operation or operation module is placed in another according to the order After the last end time of the operation or operation module, the final combination is performed to form a process of asynchronous exchange of the bus information, and the bus participant participates in the asynchronous exchange of the bus information according to the process, and completes the bus information inquiry task, and the bus information is completed. The exchange center collects new bus information.
相应地, 为实现上述发明目的, 本发明还提出如下技术方案: 一种公交信息系统, 该系 统帮助公交参与者实现他们之间的公交信息异步交换, 所述系统包括:  Accordingly, in order to achieve the above object, the present invention also proposes the following technical solution: A public transportation information system, which helps a bus participant to realize asynchronous exchange of bus information between them, the system comprising:
( 1 )公交参与者操控的通用联网设备: 公交参与者通过该设备向公交信息异步交换中心 发送公交信息交换请求, 所述公交信息交换请求包含所述公交参与者当时已经获知的用于换 出的公交信息或 /和公交信息查询请求;接收并显示来自所述公交信息异步交换中心返回的信 息;  (1) A universally-connected device operated by a bus participant: the bus participant sends a bus information exchange request to the bus information asynchronous exchange center through the device, and the bus information exchange request includes the bus participant who has learned at the time for the exchange Bus information or/and bus information inquiry request; receiving and displaying information returned from the bus information asynchronous exchange center;
( 2 ) 公交信息异步交换中心, 用于完成以下任务:  (2) The bus information asynchronous exchange center is used to complete the following tasks:
a.与公交参与者操控的通用联网设备进行通讯: 接收所述公交参与者通过其操控的通用 联网设备发送的公交信息交换请求, 析出所述交换请求中包含的所述公交参与者当时已经获 知的用于换出的公交信息或 /和公交信息查询请求;把任务 b中查询结果返回给所述公交参与 者操控的通用联网设备;  Communicating with a universally-connected device operated by a bus participant: receiving a bus information exchange request sent by the bus participant through a universally-connected device operated by the bus participant, and analyzing that the bus participant included in the exchange request is known at the time The bus information or/and the bus information inquiry request for the exchange; return the query result in the task b to the universal networking device controlled by the bus participant;
b.根据任务 a中析出的公交信息查询请求, 从已保存的其它公交参与者用于换出的公交 信息中查询相关公交信息, 把相关的查询结果输出到任务 a;  b. According to the public transportation information inquiry request in task a, query the relevant public transportation information from the saved public transportation information used by other public transportation participants, and output the relevant query result to task a;
c.保存任务 a中析出的所述公交参与者当时已经获知的用于换出的公交信息。  c. Save the bus information for the swap out at the time that the bus participant in the task a has been known.
本发明的有益效果是: 所述公交信息异步交换实现了两种异步功能: 公交信息交换的异 步工作方式和公交信息收集的异步工作方式, 其中, 公交信息交换的异步工作方式是, 每一 次公交信息交换的参与者在交换中换入的公交信息, 都来自于本次交换发生之前多个其他参 与者的用于换出的公交信息, 同时, 该次交换中该参与者用于换出的公交信息, 也将作为后 来发生的交换中其他参与者换入的公交信息来源, 这种异步交换方式使得完成公交信息查询 不需要任何专门的公交信息源设备,完全免除了专用公交信息源设备的投资费用和维护成本, 完全摆脱了专用的公交信息源所产生的资产关系束缚, 提高了公交信息服务的开放性, 而且, 异步交换的公交信息的语义性质, 既使得本发明能够收集和查询其它公交参与者可直接阅读 的公交信息, 免于利用地理经纬度坐标数据进行二次转换, 又可容纳除位置信息以外的多样 化的公交信息, 使得查询和收集的公交信息更具人性化; 公交信息收集的异步工作方式是, 公交信息的积累异步于公交运行的实时变动, 多与公交信息查询活动同步, 收集到的公交信 息中的位置时间信息是用公交车站标记的; 以公交车站标记的位置时间信息比实时的经纬度 位置信息要 "稀疏", 占用资源要少, 也节省发出通用联网设备的电力; 虽然实时的经纬度位 置信息可以计算比较精确的距离信息, 但对熟悉路况的公交参与者来说, 以公交车站标记的 的车辆位置信息比精确的距离位置信息更容易判断行车时间; "稀疏"的位置信息所节约的资 源可以用来承载数据量巨大的关于乘客的公交信息; 以公交信息的异步交换为特征的技术方 案, 实现了上述 3项发明目的。 The beneficial effects of the present invention are: The asynchronous exchange of the public transportation information realizes two asynchronous functions: an asynchronous working mode of public transportation information exchange and an asynchronous working mode of public transportation information collection, wherein the asynchronous working mode of public transportation information exchange is: every public transportation The information of the bus exchanged by the participants of the information exchange in the exchange is derived from the bus information exchanged by a plurality of other participants before the exchange occurs, and the participant exchanges the exchange information in the exchange. The public transportation information will also be used as the source of public transportation information exchanged by other participants in the subsequent exchange. This asynchronous exchange method does not require any special public transportation information source equipment to complete the public transportation information inquiry, and completely eliminates the special public transportation information source equipment. The investment cost and maintenance cost completely rid of the asset relationship constraint generated by the dedicated public transportation information source, and improve the openness of the public transportation information service. Moreover, the semantic nature of the asynchronously exchanged public transportation information enables the present invention to collect and query other information. Bus information that public transport participants can read directly, free of The use of geographical latitude and longitude coordinate data for secondary conversion, and can accommodate a variety of public transport information in addition to location information, making the query and collection of public transport information more humane; the asynchronous work of public transport information collection is that the accumulation of public transport information is asynchronous The real-time changes in the bus operation are mostly synchronized with the bus information inquiry activity. The location time information in the collected bus information is marked by the bus station; the location time information marked by the bus station is more than the real-time latitude and longitude position information. “Sparse”, which occupies less resources and saves electricity from sending general-purpose networked devices; although real-time latitude and longitude position information can calculate relatively accurate distance information, for bus participants who are familiar with road conditions, vehicles marked with bus stops The location information is easier to judge the travel time than the precise distance location information; the resource saved by the "sparse" location information can be used to carry the public information about the passengers with a large amount of data; the technical party characterized by the asynchronous exchange of public transport information In the case, the above three objectives of the invention were achieved.
在上述技术方案的基础上, 本发明还可以做如下改进:  Based on the above technical solutions, the present invention can also be improved as follows:
进一步, 所述公交信息查询和收集方法中, 所述公交参与者参与的一轮公交信息异步交 换, 包含一次 /多次所述换出操作和一次 /多次换入操作; 所述公交参与者在参与不同公交活 动的不同阶段, 根据当时的具体场景, 每次从所述换入操作、 所述换出操作或所述并联组合 模块中, 自主选择合适的公交信息交换操作。  Further, in the bus information query and collection method, the bus information asynchronously exchanged by the bus participant includes one or more of the swapping operation and one/multiple swapping operations; the bus participant At different stages of participating in different bus activities, according to the specific scenario at that time, each time from the swap-in operation, the swap-out operation or the parallel combination module, an appropriate bus information exchange operation is selected autonomously.
采用该进一步方案的有益效果是,给予公交参与者参与公交信息异步交换充分的自主性, 使参与公交活动不十分规则的公交参与者更顺利地参与公交信息异步交换; 例如, 公交站场 调度员查询公交信息和发布调度信息没有固定的顺序, 有时在下达调度指令前需要先查询乘 客候车和公交车辆运行的状况, 有时发布调度指令中的调度信息后等待一定时间才会有明确 的信息换入或换出需求, 有时在发布调度指令后需要查询下一个调度线路和方向上的公交信 息, 有时则需要连续发布调度信息, 有时需要连续查询某一个调度线路和方向上的公交信息, 有时则在连续发布调度信息和查询公交信息之间有不规则的交替的操作, 预定的公交信息异 步交换过程无法满足这类公交参与者的需要, 其自主选择适时地选择公交信息异步交换操作 更合适。  The beneficial effect of adopting this further scheme is to give the bus participants a full autonomy in the asynchronous exchange of bus information, so that the bus participants who participate in the bus activities are not very regular and participate in the asynchronous exchange of bus information more smoothly; for example, the bus station dispatcher There is no fixed order for querying bus information and issuing scheduling information. Sometimes, it is necessary to check the status of passenger waiting and bus operation before issuing the dispatching command. Sometimes, after scheduling the scheduling information in the dispatching command, it will wait for a certain period of time before the clear information is exchanged. Or swap out the demand, sometimes after the release of the scheduling command, you need to query the bus information of the next dispatch line and direction. Sometimes, you need to continuously release the scheduling information. Sometimes you need to continuously query the bus information of a certain dispatch line and direction, sometimes There is an irregular alternating operation between the continuous release of scheduling information and the inquiry of public transportation information. The scheduled asynchronous exchange process of public transportation information cannot meet the needs of such public transportation participants, and it is more appropriate to select the asynchronous exchange operation of the public transportation information in a timely manner.
进一步, 所述公交信息系统中, 所述公交信息异步交换中心包括: (1 ) 通讯接口单元, 用于完成所述任务 a; ( 2 )查询单元, 用于完成所述任务 b; ( 3 )储存单元, 用于完成所述任 务。。 Further, in the public transportation information system, the bus information asynchronous switching center includes: (1) a communication interface unit, configured to complete the task a; (2) a query unit, configured to complete the task b ; (3) a storage unit for performing the task. .
上述针对公交信息系统的进一步改进, 通过分离公交信息异步交换中心的通讯、 查询和 储存功能, 提高公交信息异步交换中心的结构化水平, 增强系统的可维护性。  The above-mentioned further improvement of the public transportation information system improves the structural level of the bus information asynchronous switching center by separating the communication, inquiry and storage functions of the bus information asynchronous switching center, and enhances the maintainability of the system.
进一步, 所述公交信息查询方法和收集方法中, 所述公交参与者包括乘客和公交车辆司 乘两个类型; 所述公交信息异步交换中心预先创建乘客候车信息集合、 司乘源的公交车辆调 度信息集合和司乘源的公交车辆运行信息集合, 用于分别准备保存乘客的候车信息条目、 公 交车辆司乘在待发车状态下发送的公交车辆调度信息、 在运行状态下发送的公交车辆运行信 息;  Further, in the public transportation information inquiry method and the collection method, the public transportation participant includes two types of passengers and a public transportation vehicle; the public transportation information exchange center pre-creates a passenger waiting information set, and the bus transportation scheduling of the Sicheng source The information collection and the information of the bus operation information of the source, the standby information items for preparing the passengers, the bus transportation information transmitted by the bus and the vehicle in the state of the vehicle to be launched, and the bus operation information transmitted in the running state. ;
所述乘客乘车前参与一轮公交信息异步交换, 包括一次公交信息的换出操作和一次换入 操作, 该两项操作按并列方式组合, 形成所述乘客参与一轮公交信息异步交换的过程, 包括 步骤 6-P1至步骤 6-P3,  The passenger participates in a round of bus information asynchronous exchange before the ride, including a bus information exchange operation and a swap operation, and the two operations are combined in a side-by-side manner to form a process in which the passenger participates in a round of bus information asynchronous exchange. , including steps 6-P1 through 6-P3,
步骤 6-P1 : 所述乘客乘车前通过其操控的通用联网设备, 向所述公交信息异步交换中心 发送公交信息交换请求, 所述交换请求包含该乘客的查询请求和当时的计划乘车信息;  Step 6-P1: The passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the passenger before the ride, the exchange request including the passenger's inquiry request and the planned travel information at the time. ;
步骤 6-P2: 所述公交信息异步交换中心, 从所述乘客操控的通用联网设备接收公交信息 交换请求, 从中析出该乘客的查询请求和当时的计划乘车信息; 根据所述乘客的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把相应的查询结果返回给所述乘客操控的通 用联网设备; 把所述计划乘车信息整理成乘客候车信息条目, 设定候车状态为候车中, 存入 乘客候车信息集合中;  Step 6-P2: the bus information asynchronous switching center receives a bus information exchange request from the universally-connected device operated by the passenger, and extracts the passenger's inquiry request and the planned travel information at the time; according to the passenger's inquiry request Searching relevant bus information from the corresponding bus information set, and returning the corresponding query result to the universal connected device operated by the passenger; sorting the planned ride information into a passenger waiting information item, and setting the waiting state to be waiting In, stored in the passenger waiting information set;
步骤 6-P3: 所述乘客操控的通用联网设备接收并显示, 从所述公交信息异步交换中心返 回的结果;  Step 6-P3: the universally-connected device operated by the passenger receives and displays the result returned from the bus information asynchronous switching center;
所述公交车辆司乘接到调度指令时参与一轮公交信息异步交换, 包括一次所述换出操作 和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮公交信息异步交换的过程, 包括步骤 6-D1至步骤 6-D3,  The bus vehicle department participates in a round of bus information asynchronous exchange when receiving the dispatching instruction, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form an asynchronous bus information participation. The process of exchange, including steps 6-D1 to 6-D3,
步骤 6-D1 : 所述公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中 心发送公交信息交换请求, 所述交换请求包含该司乘在待发车状态下的查询请求和本公交车 辆当时的调度信息; Step 6-D1: The public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous switching center by using the universal networking device controlled by the public transportation vehicle, and the exchange request includes the inquiry request of the division in the state of waiting for the vehicle and The bus Dispatching information at the time;
步骤 6-D2 : 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求, 从中析出待发车状态下的查询请求和本公交车辆当时的调度信息; 根据 所述待发车状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把相应的查 询结果返回给所述公交车辆司乘操控的通用联网设备; 把所述本公交车辆当时的调度信息, 整理成调度信息条目, 存入所述司乘源的公交车辆调度信息集合中;  Step 6-D2: The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts a query request in a state to be issued and a scheduling information of the current bus vehicle; The query request in the to-be-launched state queries the relevant public transportation information from the corresponding public transportation information set, and returns the corresponding query result to the publicly-connected network device controlled by the public transportation vehicle; Scheduling information, sorted into scheduling information items, and stored in the bus vehicle scheduling information set of the source;
步骤 6-D3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果;  Step 6-D3: the public transportation device controlled by the bus vehicle department receives and displays the result returned from the bus information asynchronous exchange center;
所述公交车辆司开始运行本公交车辆, 每停靠一个车站, 参与一轮公交信息异步交换, 包括一次所述换出操作和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮公 交信息异步交换的过程, 包括步骤 6-C1至步骤 6-C3,  The bus and vehicle division starts to operate the public transportation vehicle, and each station stops to participate in a round of bus information asynchronous exchange, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form participation. The process of asynchronous exchange of bus information, including steps 6-C1 to 6-C3,
步骤 6-C1 : 所述公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中 心发送公交信息交换请求, 所述交换请求包含该司乘在运行状态下的查询请求和本公交车辆 的当时的运行信息;  Step 6-C1: The bus vehicle department sends a bus information exchange request to the bus information asynchronous exchange center by using the universal networking device controlled by the bus, and the exchange request includes the inquiry request and the book of the division in the running state. The current operational information of the bus;
步骤 6-C2 : 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求, 从中析出该司乘的运行状态下的查询请求和本公交车辆当时运行信息; 根据所述司乘的运行状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把 相应的查询结果返回给所述公交车辆司乘操控的通用联网设备; 把所述本公交车辆运行信息 整理成公交车辆运行信息条目, 存入所述司乘源的公交车辆运行信息集合中, 在所述乘客候 车信息集合中, 查找候车状态为候车中、 与本公交车辆有当时可实现的搭乘关系的候车信息 条目, 把找到的信息条目所涉及的乘客的候车状态为候车中的所有候车信息条目的候车状态 更新为已上车;  Step 6-C2: The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request in the running state of the department and the current running information of the bus According to the query request in the running state of the division, query the relevant public transportation information from the corresponding public transportation information set, and return the corresponding query result to the universal networking device controlled by the bus vehicle division; The bus operation information is compiled into a bus operation information item, and is stored in the bus vehicle operation information set of the source, and in the passenger waiting information set, the waiting state is found to be in the waiting mode, and the public transportation vehicle is available at the time. The waiting information item of the boarding relationship is updated, and the waiting state of the passengers involved in the found information item is updated to the waiting state of all the waiting information items in the waiting state;
步骤 6-C3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果。  Step 6-C3: The public transportation device operated by the bus and vehicle department receives and displays the result returned from the bus information asynchronous exchange center.
采用上述进一步方案的有益效果是: 在实现上述发明目的的基础上, 每一个公交车辆司 乘在提交自己的查询请求的同时,成为相关乘客的查询请求所需公交车辆运行信息的供给者; 反之, 每一个乘客在提交自己的查询请求的同时, 成为相关司乘的查询请求所需乘客候车信 息的供给者, 公交信息异步交换包含明显的对偶性; 这种公交信息异步对偶交换, 使得所述 进一步方案的信息服务效率达到最高; 需要指出的是, 在公交信息异步交换中公交信息及其 占用的绝对资源总量未必有明显减少, 这是因为本发明要收集或提供关于乘客的公交信息, 现有公交信息系统一般不收集关于乘客个体的公交信息, 而乘客个体的数量要比公交车辆及 其车站的数量多得多。  The beneficial effects of adopting the above further solution are: on the basis of achieving the above object of the invention, each bus driver is required to be the supplier of the bus vehicle operation information required by the inquiry request of the relevant passenger while submitting his own inquiry request; Each passenger receives the inquiry request and becomes the supplier of the passenger waiting information required for the inquiry request of the relevant division. The asynchronous exchange of the public transportation information includes obvious duality; the public information is asynchronously exchanged, so that the passenger The efficiency of the information service of the further scheme is the highest; it should be pointed out that the bus information and the total amount of absolute resources occupied by the bus information asynchronous exchange may not be significantly reduced, because the present invention collects or provides public transportation information about passengers. Existing public transportation information systems generally do not collect public transportation information about individual passengers, and the number of individual passengers is much larger than the number of public transportation vehicles and their stations.
进一步, 所述公交信息查询和收集的方法, 所述公交参与者包括乘客一种类型; 所述公 交信息异步交换中心预先创建乘客候车信息集合、 乘客源的无标识公交车辆运行信息集合和 乘客源的有标识公交车辆运行信息集合, 用于分别准备保存乘客发送的计划乘车信息、 没有 包含公交车辆唯一标识的实际上车信息和包含公交车辆唯一标识的实际上车信息;  Further, the method for querying and collecting bus information, the bus participant includes a type of passenger; the bus information asynchronous exchange center pre-creates a passenger waiting information set, a non-identified bus vehicle operation information set of a passenger source, and a passenger source a set of identification bus operation information for preparing to save planned passenger information transmitted by the passenger, actual vehicle information not including the unique identifier of the public transportation vehicle, and actual vehicle information including the unique identification of the public transportation vehicle;
所述乘客参与一轮公交信息异步交换, 包括两次所述换出操作和一次所述换入操作, 其 中, 第一次换出操作与一次换入操作按并列方式组合成一个操作模块, 再与第二次换出操作 按串联方式组合, 形成所述乘客参与公交信息异步交换的过程, 包括步骤 7-P1至步骤 7-P5 : 步骤 7-P1 : 所述乘客乘车前通过其操控的通用联网设备, 向所述公交信息异步交换中心 发送公交信息交换请求, 所述交换请求包含该乘客的查询请求和当时的计划乘车信息;  The passenger participates in a round of bus information asynchronous exchange, including two swapping operations and one swapping operation, wherein the first swapping operation and the one swapping operation are combined into one operating module in a side by side manner, and then And the second swapping operation is combined in series to form a process in which the passenger participates in the asynchronous exchange of bus information, including steps 7-P1 to 7-P5: Step 7-P1: the passenger is controlled by the passenger before riding a universal networking device, sending a bus information exchange request to the bus information asynchronous exchange center, where the exchange request includes the passenger's inquiry request and the planned travel information at the time;
步骤 7-P2 : 所述公交信息异步交换中心, 从所述乘客操控的通用联网设备接收公交信息 交换请求, 从中析出该乘客的查询请求和当时的计划乘车信息; 根据该乘客的查询请求, 从 相应的公交信息集合中查询相关的公交信息, 把相应的查询结果返回给所述乘客操控的通用 联网设备; 把所述计划乘车信息, 整理成乘客候车信息条目, 添加设定为候车中的候车状态, 存入乘客候车信息集合中; Step 7-P2: The bus information asynchronous switching center receives the bus information from the universal connected device controlled by the passenger Exchanging a request, extracting the passenger's inquiry request and the planned travel information at that time; and querying the relevant public transportation information from the corresponding public transportation information set according to the passenger's inquiry request, and returning the corresponding query result to the passenger's control a universally-connected device; sorting the planned ride information into a passenger waiting information entry, adding a waiting state set in the waiting mode, and storing the waiting information in the passenger waiting information set;
步骤 7-P3 :所述乘客操控的通用联网设备接收,所述公交信息异步交换中心返回的信息; 步骤 7-P4: 当所述乘客乘上公交车辆时, 通过所操控的通用联网设备, 向所述公交信息 异步交换中心反馈其实际上车信息;  Step 7-P3: the passenger-controlled universal networking device receives the information returned by the bus information asynchronous switching center; Step 7-P4: When the passenger rides on the bus, through the controlled universal networking device, The bus information asynchronous exchange center feeds back its actual vehicle information;
步骤 7-P5 : 所述公交信息异步交换中心接收所述乘客反馈的实际上车信息; 若所述乘客 反馈的实际上车信息中没有包含所乘公交车辆的唯一标识, 则把所述乘客反馈的实际上车信 息整理成无标识公交车辆运行信息条目, 存入所述乘客源的无标识公交车辆运行信息集合; 若所述乘客反馈的实际上车信息中包含所乘公交车辆的唯一标识, 则把所述乘客反馈的实际 上车信息整理成有标识公交车辆运行信息条目, 存入所述乘客源的有标识公交车辆运行信息 集合; 当乘客源的无标识公交车辆运行信息集合或乘客源的有标识公交车辆运行信息集合存 入新的信息条目时, 在所述乘客候车信息集合中, 找出候车状态为候车中、 与所述新存入的 信息条目中所涉及的公交车辆有当时可实现的搭乘关系的候车信息条目, 把找到的候车信息 条目所涉及的乘客的候车状态为候车中的所有候车信息条目的候车状态更新为已上车。  Step 7-P5: the bus information asynchronous exchange center receives the actual vehicle information fed back by the passenger; if the actual vehicle information fed back by the passenger does not include the unique identifier of the public transportation vehicle, the passenger feedback is Actually, the vehicle information is organized into an unmarked bus vehicle operation information item, and is stored in the unidentified bus vehicle operation information set of the passenger source; if the actual vehicle information fed back by the passenger includes the unique identifier of the public transportation vehicle, And then sorting the actual vehicle information fed back by the passenger into a marked public transportation vehicle operation information item, and storing the identified public transportation vehicle operation information set; the unidentified public transportation vehicle operation information collection or passenger source of the passenger source When the identified public transportation vehicle operation information set is stored in a new information item, in the passenger waiting information set, it is found that the waiting state is the waiting vehicle, and the public transportation vehicle involved in the newly deposited information item has The waiting information entry of the achievable boarding relationship, the passengers involved in the found waiting information item Car status information for all entries waiting waiting waiting status is updated to have been on the train.
更进一步, 所述公交参与者还包括公交车辆司乘类型; 所述公交信息异步交换中心还要 预先创建, 司乘源的公交车辆调度信息集合和司乘源的公交车辆运行信息集合, 用于分别准 备公交车辆司乘发送的本公交车辆的调度信息和运行信息;  Further, the bus participant further includes a bus type of the bus; the bus information asynchronous exchange center is also pre-created, the bus vehicle scheduling information set of the Sicheng source, and the bus vehicle operation information set of the Sicheng source are used for Prepare the dispatching information and operation information of the public transport vehicle sent by the bus and vehicle division respectively;
所述公交车辆司乘接到调度指令时, 在发车之前参与一轮公交信息异步交换, 包括一次 所述换出操作和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮公交信息异 步交换的过程, 包括步骤 8-D1至步骤 8-D3 :  When the bus vehicle department receives the dispatching instruction, it participates in a round of bus information asynchronous exchange before the departure, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form a participating one. The process of asynchronous exchange of bus information includes steps 8-D1 to 8-D3:
步骤 8-D1 : 所述公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中 心发送公交信息交换请求, 所述交换请求包含该司乘在待发车状态下的查询请求和本公交车 辆当时的调度信息;  Step 8-D1: The bus vehicle department sends a bus information exchange request to the bus information asynchronous switching center by using the universal networking device controlled by the bus, and the exchange request includes the inquiry request of the department in the state of waiting for the vehicle and The scheduling information of the bus at the time;
步骤 8-D2 : 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求, 从中析出该司乘在待发车状态下的查询请求和本公交车辆当时的调度信 息; 根据所述待发车状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把 相应的查询结果返回给所述公交车辆司乘操控的通用联网设备; 把本公交车辆调度信息整理 成调度信息条目, 存入所述司乘源的公交车辆调度信息集合中;  Step 8-D2: The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the inquiry request of the department in the state of waiting for the vehicle and the current time of the bus Scheduling information; querying relevant public transportation information from the corresponding public transportation information set according to the inquiry request in the to-be-launched state, and returning the corresponding query result to the public networking device controlled by the public transportation vehicle; Scheduling information is organized into scheduling information items, and stored in the bus vehicle scheduling information set of the source;
步骤 8-D3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果;  Step 8-D3: the public transportation device controlled by the bus and vehicle department receives and displays the result returned from the bus information asynchronous exchange center;
所述公交车辆司乘开始运行本公交车辆, 每次停靠车站, 参与一轮公交信息异步交换, 包括一次所述换出操作和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮参 与公交信息异步交换的过程, 包括步骤 8-C1至步骤 8-C3,  The bus vehicle division starts to run the public transportation vehicle, and each time the station is docked, participates in a round of bus information asynchronous exchange, including one of the swapping operation and one of the swapping operations, and the two operations are combined in a side by side manner to form Participate in a round of participation in the process of asynchronous exchange of bus information, including steps 8-C1 to 8-C3.
步骤 8-C1 : 所述司乘通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公 交信息交换请求, 所述交换请求包含该司乘的运行状态下的查询请求和本公交车辆当时的运 行信息;  Step 8-C1: The master sends a bus information exchange request to the bus information asynchronous switching center through the universal networking device controlled by the secretary, where the exchange request includes the query request in the running state of the division and the public transportation vehicle Operational information at the time;
步骤 8-C2 : 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求,从中析出该司乘的运行状态下的查询请求和本公交车辆当时的运行信息; 根据所述运行状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把相应的 查询结果返回给所述公交车辆司乘操控的通用联网设备;把本公交车辆运行信息的有关内容, 整理成公交车辆运行信息条目, 存入所述司乘源的公交车辆运行信息集合中, 在所述乘客候 车信息集合中, 查找候车状态为候车中、 与该新存入的运行信息条目涉及的公交车辆有当时 可实现的搭乘关系的候车信息条目, 把找到的信息条目所涉及的乘客的候车状态为候车中的 候车信息条目的候车状态更新为已上车; Step 8-C2: The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request in the running state of the department and the current operation of the bus Information; querying related public transportation information from the corresponding public transportation information set according to the query request in the running state, and returning the corresponding query result to the universal networking device controlled by the public transportation vehicle; Related content, Arranging into a bus operation information item, storing in the bus operation information set of the source, in the passenger waiting information set, searching for the waiting state in the waiting state, and the newly stored operation information item The bus vehicle has a waiting information item of the boarding relationship that can be realized at that time, and the waiting state of the passenger involved in the found information item is updated to the waiting state of the waiting information item in the waiting vehicle;
步骤 8-C3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果; 终止本轮公交信息的异步交换过程。  Step 8-C3: The public transportation device controlled by the bus and vehicle department receives and displays the result returned from the bus information asynchronous exchange center; terminates the asynchronous exchange process of the current bus information.
进一步, 所述公交信息系统中, 所述公交参与者只有乘客一种类型, 所述公交信息系统 包括:  Further, in the public transportation information system, the bus participant has only one type of passenger, and the public transportation information system includes:
( 1 )乘客操控的通用联网设备: 乘客通过该设备向所述公交信息异步交换中心发送交换 请求, 接收并显示所述公交信息异步交换中心返回的信息, 所述交换请求包含该乘客当时的 计划乘车信息和查询请求; 当所述乘客乘上公交车辆时, 通过该设备向所述公交信息异步交 换中心反馈其实际上车信息;  (1) a passenger-operated universal networking device: the passenger transmits an exchange request to the bus information asynchronous switching center through the device, and receives and displays information returned by the bus information asynchronous switching center, the exchange request including the passenger's current plan Passenger information and inquiry request; when the passenger rides on the public transportation vehicle, the actual information of the vehicle is fed back to the public information exchange center through the device;
( 2 )所述公交信息异步交换中心: 在完成其他任务前, 预先创建乘客候车信息集合、 乘 客源的无标识公交车辆运行信息集合和乘客源的有标识公交车辆运行信息集合, 用于分别准 备储存乘客发送的计划乘车信息、 没有包含公交车辆唯一标识的实际上车信息和包含公交车 辆唯一标识的实际上车信息; 该中心还要完成以下任务:  (2) The bus information asynchronous exchange center: before completing other tasks, pre-establishing a passenger waiting information set, a non-identified bus vehicle operation information set of the passenger source, and a marked bus operation information set of the passenger source for separately preparing The planned passenger information sent by the passenger, the actual vehicle information that does not contain the unique identification of the bus and the actual vehicle information including the unique identifier of the bus are stored; the center also completes the following tasks:
所述任务 a, 包括: 接收所述乘客通过其操控的通用联网设备发送的交换请求, 从中析 出该乘客当时的计划乘车信息和查询请求; 接收所述乘客乘上公交车辆时通过其操控的通用 联网设备反馈的实际上车信息; 把所述任务 b中的查询结果返回给所述乘客操控的通用联网 设备;  The task a includes: receiving an exchange request sent by the passenger through a universal networking device that the passenger controls, and extracting the passenger's planned travel information and query request from the passenger; receiving the passenger's control when riding the public transportation vehicle The actual vehicle information fed back by the universal networking device; returning the query result in the task b to the universal networked device operated by the passenger;
所述任务 b, 包括: 根据所述任务 a中析出的该乘客的查询请求, 从相关的信息集合, 查询相关的公交信息, 并把相关的查询结果输出到任务 a;  The task b, comprising: querying related public transportation information from the related information set according to the query request of the passenger precipitated in the task a, and outputting the related query result to the task a;
所述任务 ^ 包括: 把所述任务 a中析出的计划乘车信息, 与设定为候车中的候车状态 一起, 组合为候车信息条目, 存入所述乘客候车信息集合中; 对所述任务 a中接收的所述乘 客反馈的实际上车信息, 在所述乘客候车信息集合中, 找出候车状态为候车中、 与该实际上 车信息所涉及的公交车辆有当时可实现的搭乘关系的候车信息条目, 把找到的信息条目所涉 及的该乘客的候车状态为候车中的所有候车信息条目的候车状态更新为已上车; 若所述乘客 反馈的实际上车信息中没有包含所乘公交车辆的唯一标识, 则把该实际上车信息整理成无标 识公交车辆运行条目, 存入所述乘客源的无标识公交车辆运行信息集合; 若所述乘客反馈的 实际上车信息中包含所乘公交车辆的唯一标识, 则把该实际上车信息整理成有标识公交车辆 运行信息条目, 存入所述乘客源的有标识公交车辆运行信息集合中。  The task ^ includes: combining the planned boarding information extracted in the task a with the waiting state set in the waiting mode, and combining the waiting information items into the passenger waiting information set; The actual vehicle information fed by the passenger received in a, in the passenger waiting information set, finds that the waiting state is the waiting relationship in the waiting, and the bus relationship related to the actual vehicle information is available at that time. a waiting information entry, updating the waiting state of the passenger in the waiting information item to the waiting state of all the waiting information items in the waiting vehicle; if the actual vehicle information reported by the passenger does not include the bus The unique identification of the vehicle, the actual vehicle information is organized into an unmarked bus operation entry, and the unidentified bus operation information set stored in the passenger source; if the actual vehicle information fed back by the passenger includes the multiplication The unique identification of the public transportation vehicle, the actual vehicle information is organized into an information item indicating the operation of the public transportation vehicle, and deposited Passengers have said source buses run identification information sets.
更进一步, 所述公交信息系统中, 所述公交信息异步交换中心包括:  Further, in the public transportation information system, the bus information asynchronous switching center includes:
( 1 ) 乘客端通讯接口单元, 用于完成所述任务 a;  (1) a passenger terminal communication interface unit for performing the task a;
( 2 ) 查询单元, 用于完成所述任务 b ; (2) a query unit for completing the task b ;
( 3 )储存单元, 该单元预先创建乘客候车信息集合、乘客源的无标识公交车辆运行信息 集合和乘客源的有标识公交车辆运行信息集合,用于分别准备储存乘客发送的计划乘车信息、 没有包含公交车辆唯一标识的实际上车信息和包含公交车辆唯一标识的实际上车信息; 该单 元还用于完成所述任务^  (3) a storage unit, which pre-creates a passenger waiting information set, a non-identified bus vehicle operation information set of the passenger source, and a marked bus operation information set of the passenger source, for respectively preparing to store the planned passenger information transmitted by the passenger, There is no actual vehicle information containing the unique identification of the bus and actual vehicle information containing the unique identification of the bus; this unit is also used to complete the task^
采用上述进一步方案的有益效果是: 在某条公交线路的相同运行方向上的乘客, 就会按 照 "上游乘客的反馈信息是下游乘客的查询答案" 的链式模式异步交换公交信息, 相应的公 交信息系统及其更进一步方案为异步链式交换提供了实现结构清晰的系统平台; 公交信息的 链式异步交换, 使得乘客的查询和反馈成为公交信息查询方法和公交信息系统的信息源, 进 而实现上述发明目的, 公交信息服务也因此具有足够的开放性; 所述乘客反馈的实际上车信 息中, 虽然在车辆运行信息方面似乎有可能发生信息重复现象, 但是它对于确认候车人数来 说是有益的, 而且实际上车信息中关于车内乘坐条件都在发生变化, 同一批乘客反馈的实际 上车信息中, 反馈在后的信息反映了最新状况, 因而每一条反馈信息都有价值; 在公交信息 的查询和收集方法的更进一步方案中, 链式异步交换的启动速度被对偶异步交换加速, 对偶 异步交换的耦合性要求被链式异步交换释放了, 实际效果包括可查询的公交信息更及时更准 确更全面, 公交车辆司乘除待发车状态关于本公交车辆的调度信息, 运行状态下的首站发布 关于本公交车辆的运行信息外, 可以在运行中不必每停靠一站, 就发布一次。 The beneficial effects of adopting the above further solution are: passengers in the same running direction of a bus line will exchange bus information asynchronously according to the chain mode of "the feedback information of the upstream passenger is the answer of the downstream passenger", and the corresponding bus The information system and its further solutions provide a system platform with clear structure for asynchronous chain exchange; chain-type asynchronous exchange of public transportation information, making passengers' query and feedback become the information source of public transportation information inquiry method and public transportation information system. To achieve the above object, the public transportation information service is therefore sufficiently open; in the actual vehicle information fed back by the passenger, although it seems that information duplication may occur in the vehicle running information, it is for confirming the number of waiting persons. It is beneficial, and in fact, the vehicle information in the vehicle information is changing. In the actual vehicle information fed back by the same batch of passengers, the feedback information reflects the latest situation, so each feedback information has value; In the further solution of the inquiry and collection method of the public transportation information, the startup speed of the chain asynchronous exchange is accelerated by the dual asynchronous exchange, and the coupling requirement of the dual asynchronous exchange is released by the chain asynchronous exchange, and the actual effect includes the public information that can be queried. More timely, more accurate and more comprehensive, the bus and vehicle division is divided into the dispatching information of the public transport vehicle in addition to the waiting state, and the first station in the running state publishes information about the operation of the public transport vehicle, and it is not necessary to stop every stop in operation. Published once.
进一步, 所述公交信息系统中, 所述公交参与者只有乘客和公交车辆司乘等两种类型, 所述公交信息系统包括:  Further, in the public transportation information system, the public transportation participant has only two types of passengers and passengers, and the public transportation information system includes:
( 1 )乘客操控的通用联网设备: 乘客通过该设备向所述公交信息异步交换中心发送交换 请求, 接收并显示所述公交信息异步交换中心返回的信息, 所述交换请求包含该乘客当时的 计划乘车信息和查询请求; 当所述乘客乘上公交车辆时, 通过该设备向所述公交信息异步交 换中心反馈其实际上车信息;  (1) a passenger-operated universal networking device: the passenger transmits an exchange request to the bus information asynchronous switching center through the device, and receives and displays information returned by the bus information asynchronous switching center, the exchange request including the passenger's current plan Passenger information and inquiry request; when the passenger rides on the public transportation vehicle, the actual information of the vehicle is fed back to the public information exchange center through the device;
( 2 )公交车辆司乘操控的通用联网设备:公交车辆司乘接到关于本公交车辆调度指令时, 通过该设备向所述公交信息异步交换中心发送公交信息交换请求, 该交换请求包含待发车状 态下的查询请求和关于当时本公交车辆调度信息; 当公交车辆司乘开始运行本公交车辆后, 每停靠一个车站, 通过该设备向所述公交信息异步交换中心发送公交信息交换请求, 该交换 请求包含所述司乘的运行状态下的查询请求和关于当时本公交车辆运行信息; 接收并显示公 交信息异步交换中心返回的消息;  (2) The universal network equipment operated by the bus and vehicle department: when the bus vehicle department receives the dispatching instruction about the bus, the device sends a bus information exchange request to the bus information asynchronous exchange center, and the exchange request includes the waiting for the bus. The inquiry request in the state and the information about the bus dispatching at the time; when the bus driver starts to run the bus, each station stops, and the bus information exchange request is sent to the bus information asynchronous exchange center through the device, the exchange The request includes the inquiry request in the running state of the division and the information about the operation of the public transportation vehicle at the time; receiving and displaying the message returned by the asynchronous information exchange center;
( 3 )公交信息异步交换中心: 该中心预先创建乘客候车信息集合、 司乘源的公交车辆调 度信息集合、 乘客源的无标识公交车辆运行信息集合、 乘客源的有标识公交车辆运行信息集 合和司乘源的公交车辆运行信息集合, 用于分别准备保存乘客和公交车辆司乘发送的相应的 用于换出的公交信息;  (3) Bus information asynchronous exchange center: The center pre-creates passenger waiting information set, bus source dispatching information set of Sichengyuan, unmarked bus running information set of passenger source, and identified bus running information set of passenger source and The bus vehicle operation information set of the company is used to separately store the corresponding bus information for the exchange of passengers and bus vehicles;
所述任务&, 包括:  The tasks &, including:
al.与乘客操控的通用联网设备进行通讯: 从乘客操控的通用联网设备接收交换请求, 从 中析出所述乘客的查询请求和计划乘车信息; 接收所述乘客乘上公交车辆时反馈的实际上车 信息; 把任务 b l中输出的查询结果返回给所述乘客操控的通用联网设备;  Al. communicating with a passenger-operated universal networking device: receiving an exchange request from a passenger-controlled universal networking device, extracting the passenger's inquiry request and planning the passenger information therefrom; receiving the feedback when the passenger passes the bus Car information; returning the query result outputted in the task bl to the universal networked device operated by the passenger;
a2.与公交车辆司乘操控的通用联网设备进行通讯:从公交车辆司乘操控的通用联网设备 接收所述司乘接到调度指令时的交换请求, 或本公交车辆开始运行后每停靠一个车站时的交 换请求, 从中析出待发车状态下的查询请求和本公交车辆当时的调度信息, 或者运行状态下 的查询请求和本公交车辆当时的运行信息;把任务 b2中输出的查询结果返回给所述公交车辆 司乘操控的通用联网设备;  A2. Communicate with the universal networked device operated by the bus and vehicle department: receive the exchange request when the bus is connected to the dispatching instruction from the general-purpose networked device operated by the bus driver, or each station stops after the bus starts to run. The exchange request of the time, from which the inquiry request in the state of the vehicle to be launched and the scheduling information of the current public transportation vehicle, or the inquiry request in the running state and the current running information of the public transportation vehicle are extracted; the query result outputted in the task b2 is returned to the a general-purpose networked device operated by a bus driver;
所述任务 b, 包括:  The task b includes:
M.根据任务 al中析出的该乘客的查询请求,从相应的信息集合中查询相关的公交信息, 把查询结果输出到任务 al ;  M. According to the query request of the passenger deposited in the task al, query the relevant public transportation information from the corresponding information set, and output the query result to the task al;
b2.根据任务 a2中析出的该司乘的查询请求,从相应的信息集合中查询相关的公交信息, 把查询结果输出到任务 a2 ;  B2. According to the inquiry request of the division multiplied in the task a2, query the relevant public transportation information from the corresponding information collection, and output the query result to the task a2;
所述任务^ 包括:  The task ^ includes:
c l.对任务 al中析出和计算的所述乘客的计划乘车信息, 把计划乘车信息的相关内容与 设定为候车中的候车状态一起, 整理成一个或一组乘客候车信息条目, 把整理的信息条目存 入所述乘客候车信息集合;若任务 al中接收的实际上车信息中没有包含所乘公交车辆的唯一 标识, 则把该实际上车信息整理成无标识公交车辆的运行信息条目, 存入所述乘客源的无标 识公交车辆运行信息集合; 若所述实际上车信息中包含所乘公交车辆的唯一标识, 则把该实 际上车信息整理成有标识公交车辆的运行信息条目, 存入所述乘客源的有标识公交车辆运行 信息集合; c l. The planned boarding information of the passengers that are precipitated and calculated in the task a1, and the related content of the planned boarding information is set together with the waiting state in the waiting state, and is sorted into one or a group of passenger waiting information items. Depositing the collated information item into the passenger waiting information set; if the actual vehicle information received in the task a1 does not include the uniqueness of the bus Identifying, the actual vehicle information is organized into an operation information item of the unidentified bus vehicle, and stored in the unidentified bus vehicle operation information set of the passenger source; if the actual vehicle information includes the uniqueness of the public transportation vehicle Identifying, the actual vehicle information is organized into an operational information item identifying the public transportation vehicle, and the identified public transportation vehicle operation information set is stored in the passenger source;
c2.对任务 c2析出的本公交车辆调度信息, 把该调度信息整理成调度信息条目, 存入所 述司乘源的公交车辆调度信息集合中; 对任务 c2中析出的本公交车辆当时的运行信息, 把该 运行信息整理成信息条目, 存入司乘源的公交车辆运行信息集合中;  C2. The public transportation vehicle scheduling information that is deposited on the task c2, and the scheduling information is organized into a scheduling information item, and stored in the bus vehicle scheduling information set of the source; the current operation of the public transportation vehicle that is precipitated in the task c2 Information, the operation information is organized into information items, and stored in the bus vehicle operation information set of the company;
c3.当乘客源的无标识公交车辆运行信息集合、乘客源的有标识公交车辆运行信息集合或 司乘源的公交车辆运行信息集合存入新的信息条目时, 在所述乘客候车信息集合中, 找出候 车状态为候车中、 与该新的信息条目所涉及的公交车辆有可以当时实现的搭乘关系的候车信 息条目, 把找到的候车信息条目涉及的乘客的候车状态为候车中的所有候车信息条目的候车 状态更新为已上车。  C3. When the unidentified bus vehicle operation information set of the passenger source, the identified bus vehicle operation information set of the passenger source, or the bus vehicle operation information set of the Sicheng source is stored in the new information item, in the passenger waiting information set A waiting information item in which the waiting state is a waiting state, and a passenger relationship with the new information item has a riding relationship that can be realized at that time, and the waiting state of the passenger involved in the found waiting information item is all waiting in the waiting mode. The waiting status of the information item is updated to be on board.
更进一步, 所述公交信息系统中, 所述公交信息异步交换中心包括:  Further, in the public transportation information system, the bus information asynchronous switching center includes:
( 1 ) 乘客端通讯接口单元, 用于完成所述任务 al ; (1) a passenger terminal communication interface unit for performing the task a1 ;
( 2 ) 司乘端通讯接口单元, 用于完成所述任务 a2;  (2) a multi-terminal communication interface unit for performing the task a2;
( 3 ) 查询单元, 用于完成所述任务 bl和所述任务 b2;  (3) a query unit, configured to complete the task bl and the task b2;
( 4) 储存单元, 该单元预先创建乘客候车信息集合、 司乘源的公交车辆调度信息集合、 乘客源的无标识公交车辆运行信息集合、 乘客源的有标识公交车辆运行信息集合和司乘源的 公交车辆运行信息集合, 用于准备保存乘客和公交车辆司乘发送的用于换出的公交信息; 该 单元还要完成以下所述的任务 cl、 任务 c2和任务 c3。  (4) a storage unit, which pre-creates a passenger waiting information set, a bus vehicle scheduling information set of the Sicheng source, a non-identified bus vehicle operation information set of the passenger source, a marked bus operation information set of the passenger source, and a Sicheng source The bus vehicle operation information set is used to prepare to save the bus information for the passengers and the bus driver to send out the exchange; the unit also completes the tasks cl, task c2 and task c3 described below.
上述进一步方案的有益效果是: 在实现上述发明目的的基础上, 提供了公交信息的链式 异步交换和对偶异步交换结合起来的信息系统, 更进一步方案使该信息系统的结构更清晰。  The beneficial effects of the above further solution are as follows: On the basis of realizing the above object of the invention, an information system combining chain asynchronous switching and dual asynchronous switching of public transportation information is provided, and a further solution makes the structure of the information system clearer.
在上述进一步方案中, 本发明还可以做进一步具体化改进:  In the above further solution, the present invention can also be further embodied and improved:
进一步, 所述乘客的计划乘车信息包括, 关于计划乘车线路、 计划乘车方向、 计划上车 车站及站次、 计划下车车站及站次、 计划到达上车站时刻、 乘车说明的信息, 其中, 乘车说 明、 计划下车车站是可选的信息内容;  Further, the planned passenger information of the passenger includes information about a planned riding route, a planned riding direction, a planned boarding station and a station, a planned getting off station and a station, a planned arrival time at the station, and a riding instruction. , where the bus instructions and the planned drop-off station are optional information content;
进一步, 若有述及乘客反馈的实际上车信息, 则该实际上车信息包含, 关于该乘客的实 际上车线路、 实际上车方向、 实际上车车站、 实际上车时刻、 该乘客所乘公交车辆的唯一标 识、 所乘车辆的乘车条件的信息, 其中, 唯一标识和实际乘车条件是可选的信息内容;  Further, if there is actual vehicle information that is reported by the passenger, the actual vehicle information includes, regarding the actual vehicle route of the passenger, the actual vehicle direction, the actual vehicle station, the actual vehicle time, and the passenger's ride. The unique identifier of the public transportation vehicle, the information of the riding condition of the occupied vehicle, wherein the unique identification and the actual riding condition are optional information contents;
进一步, 若有述及本公交车辆当时的调度信息, 则该调度信息包含关于本公交车辆唯一 标识、 发车线路、 发车方向、 拟发车时间、 发车说明的信息, 其中, 发车说明为可选的信息 内容; 若有述及所述本公交车辆当时的运行信息的, 则该运行信息包括, 关于该车辆正在停 靠车站或最晚一次停靠车站时的运行信息, 具体包含关于本公交车辆唯一标识、 运行线路、 运行方向、 停靠车站及站次、 进站时刻及乘车条件的信息, 其中, 乘车条件是可选的信息内 容;  Further, if the scheduling information of the public transportation vehicle is mentioned, the scheduling information includes information about the unique identification of the public transportation vehicle, the departure route, the departure direction, the scheduled departure time, and the departure description, wherein the departure description is optional information. Content; if there is a description of the current operational information of the public transportation vehicle, the operational information includes information about the operation of the vehicle when the vehicle is parked at the station or the station at the latest, including the unique identification and operation of the public transportation vehicle. Information on the line, running direction, stop station and station number, arrival time and riding conditions, wherein the riding condition is an optional information content;
进一步, 所述乘车条件包括如下至少一种信息内容: (1 ) 关于公交车辆内的卫生状况的 信息, (2 ) 关于公交车辆车内剩余空座位的信息, (3 ) 关于公交车辆车内拥挤状况的信息, Further, the riding condition includes at least one of the following information contents: (1) information about a sanitary condition in the public transportation vehicle, (2) information about a remaining empty seat in the bus, (3) about the inside of the public transportation vehicle Information on crowded conditions,
( 4)关于公交车辆车内的视觉感知感受的信息, (5 )关于公交车辆车内的嗅觉感知感受的信 息, (6 )关于公交车辆的运行线路沿途路况的信息, (7 )关于公交车辆车内安全状况的信息; 进一步, 所述乘客的查询请求包括要求返回, 关于适合所述乘客的计划乘车信息、 在到 达终点站之前有可能与所述乘客建立搭乘关系的在途公交车辆的运行信息; (4) Information about the visual perception of the bus in the bus, (5) information about the sense of smell in the bus, (6) information about the road condition along the running line of the bus, (7) about the bus Information about the safety status of the vehicle; further, the passenger's inquiry request includes a request for return, a planned ride information suitable for the passenger, and an on-going bus operation that may establish a boarding relationship with the passenger before reaching the terminal Information
进一步, 所述待发车状态下的查询请求包括要求返回, 关于本公交车辆符合其计划乘车 信息要求、 有可能与本公交车辆在发车之后到达终点站之前建立搭乘关系的候车信息; 进一步, 所述运行状态下的查询请求包括以下查询请求中至少一种: Further, the query request in the to-be-launched state includes a request to return, and the public transportation vehicle meets its planned ride The information request, and the waiting information that may be established before the bus arrives at the terminal after the departure of the bus; further, the query request in the running state includes at least one of the following query requests:
( 1 )要求返回关于本公交车辆符合其计划乘车信息要求、有可能与本公交车辆在到达终 点站之前建立搭乘关系的候车信息;  (1) Requires to return information on the waiting of the bus to meet the requirements of the planned ride information and possibly establish a boarding relationship with the bus before reaching the terminal station;
( 2) 要求返回关于与本公交车辆同线路和同方向的在途的其它公交车辆的运行信息。 上述进一步具体化的技术方案的有益效果是: 本发明提供的公交信息查询方法和公交信 息系统中, 给出了包括乘客和公交车辆司乘在内的公交参与者之间异步交换的公交信息的常 见的具体形式, 以公交线路、 方向、 车站和时刻为线索进行合理组织, 提高交换的效率, 同 时, 为公交参与者提供除位置信息以外的多样化的公交信息, 强化了本发明目的之二, 使公 交信息服务更人性化。  (2) Requires the return of operational information about other public transport vehicles on the same line and in the same direction as the public transport vehicle. The beneficial effects of the above further embodied technical solution are as follows: In the public transportation information inquiry method and the public transportation information system provided by the present invention, public transportation information that is asynchronously exchanged between bus passengers including passengers and bus passengers is given. Common forms, using bus routes, directions, stations and time as a clue to organize reasonably, improve the efficiency of exchange, and at the same time, provide bus participants with diverse bus information in addition to location information, and strengthen the purpose of the present invention. To make the public transport information service more humane.
进一步, 所述公交车辆司乘操控的通用联网设备保存与本公交车辆有关的静态信息; 该 公交车辆司乘开始运行本公交车辆, 通过该设备参与公交信息异步交换的界面, 被配置成包 括第一、 第二显示屏幕的一个层级; 所述第一显示屏幕, 一次可分页显示该公交车辆运行线 路在一个方向上的站列, 并为当前页中的每一个车站分配一块子显示区域; 所述第一显示屏 幕还包括一个方向按钮, 一个查询按钮和一个解锁按钮; 每次按下所述方向按钮, 所述第一 显示屏幕将轮转显示所述线路下一个运行方向的站列、 站次; 在一个运行方向上, 开始运行 本公交车辆时所述查询按钮放置在首站; 若按下所述第一显示屏幕上的解锁按钮, 则所述第 一显示屏幕将在该线路的当前方向上, 除已经查询过的车站外的每一个车站上分别设置一个 查询按钮; 当本公交车辆停靠一个车站时, 所述公交车辆司乘按下第一显示屏幕中该停靠车 站上的查询按钮, 转至第二显示屏幕;  Further, the public transportation device of the public transportation vehicle department maintains static information related to the public transportation vehicle; the public transportation vehicle vehicle starts to run the public transportation vehicle, and the interface for participating in the asynchronous exchange of public transportation information is configured to include the first 1. a level of the second display screen; the first display screen displays the station row of the bus running line in one direction at a time, and allocates a sub-display area for each station in the current page; The first display screen further includes a direction button, a query button and an unlock button; each time the direction button is pressed, the first display screen will rotate to display the station row and the station in the next running direction of the line. In a running direction, the query button is placed at the first station when the bus is started to run; if the unlock button on the first display screen is pressed, the first display screen will be in the current direction of the line On the top, each of the stations except the already queried station is set with a query button; When a vehicle is parked bus station, the bus query vehicle occupant presses the button on the docking station car a first display screen, go to the second display screen;
所述第二显示屏幕显示, 以第一显示屏幕选择的车站为停靠车站的查询请求和本公交车 辆当前时刻运行信息的表单, 其中涉及的静态信息来自所述通用联网设备保存的静态信息; 所述公交车辆司乘通过所述第二显示屏幕, 完成所述查询请求和本公交车辆当前时刻运行信 息表单的操作, 所述通用联网设备向公交信息异步交换中心发送查询请求和本公交车辆当前 时刻运行信息, 然后, 回到第一显示屏幕, 所述查询结果中相关信息, 被自动分配到第一显 示屏幕当前页上每一个车站的子显示区域, 所述查询按钮自动放置在当前被查询过的车站的 下一个车站,所述第一显示屏幕只保留一个最近的被查询过的车站及剩余的未查询过的车站。  The second display screen displays that the station selected by the first display screen is a query request of the stop station and a form of the current time running information of the public transportation vehicle, wherein the static information involved is from the static information saved by the universal networking device; The public transportation vehicle department completes the operation of the inquiry request and the current time running operation information form of the public transportation vehicle through the second display screen, and the universal networking device sends the inquiry request to the public information asynchronous switching center and the current time of the public transportation vehicle Running the information, and then returning to the first display screen, the related information in the query result is automatically assigned to the sub-display area of each station on the current page of the first display screen, and the query button is automatically placed in the current query The next station of the station, the first display screen retains only one of the most recently queried stations and the remaining unqueried stations.
上述进一步的技术方案的有益效果是: 采用上述设计的交互界面, 有效减轻公交参与者 查询操作的复杂度, 改善公交参与者公交信息查询的操作体验, 提高公交信息异步交换的效 率、 准确性和可靠性;  The beneficial effects of the above further technical solutions are as follows: the interaction interface of the above-mentioned design is adopted, the complexity of the query operation of the bus participant is effectively reduced, the operation experience of the bus participant inquiry of the bus participant is improved, and the efficiency and accuracy of the asynchronous exchange of the bus information are improved. Reliability
本发明提供的公交信息查询方法、 收集方法和公交信息系统广泛适用于市内公交、 城乡 客运、 长途客运、 单位班车、 拼车、 轨道客运、 水路客运、 航空客运和旅游景点游览观光车 等交通领域。  The public transportation information inquiry method, collection method and public transportation information system provided by the invention are widely applicable to urban public transportation, urban and rural passenger transportation, long-distance passenger transportation, unit shuttle bus, carpooling, rail passenger transportation, waterway passenger transportation, air passenger transportation, tourist attractions and sightseeing vehicles, and the like. .
附图说明 DRAWINGS
图 1示出了按照本发明中公交信息查询和收集方法的公交信息异步交换基本操作种类及 过程;  1 shows a basic operation type and process of asynchronous exchange of public transportation information according to the method for inquiring and collecting public transportation information according to the present invention;
图 2示出了按照本发明中公交信息查询和收集方法的并联组合模块的公交信息异步交换 过程;  2 shows an asynchronous exchange process of bus information in a parallel combination module of a bus information inquiry and collection method according to the present invention;
图 3示出了本发明中公交信息查询和收集方法的第一实施例包含的公交信息异步交换实 例;  FIG. 3 is a diagram showing an example of asynchronous exchange of public transportation information included in the first embodiment of the public transportation information inquiry and collection method of the present invention; FIG.
图 4示出了本发明中公交信息查询和收集方法的第二实施例的公交参与者自主的公交信 息异步交换过程; 图 5示出了本发明中公交信息查询和收集方法的第三实施例的乘客参与公交信息异步交 换的过程; FIG. 4 is a diagram showing a bus exchange asynchronous exchange process of a bus participant autonomously according to a second embodiment of the bus information inquiry and collection method of the present invention; FIG. FIG. 5 is a diagram showing a process in which a passenger participates in the asynchronous exchange of bus information in the third embodiment of the bus information inquiry and collection method of the present invention;
图 6示出了本发明中公交信息查询和收集方法的第三实施例的公交车辆司在待发车状态 下乘参与公交信息异步交换的过程;  6 is a diagram showing a process in which the bus vehicle division of the third embodiment of the bus information inquiry and collection method of the present invention participates in the asynchronous exchange of the bus information in the state of waiting for the vehicle;
图 7示出了本发明中公交信息查询和收集方法的第三实施例的公交车辆司乘在运行状态 下参与公交信息异步交换的过程;  7 is a diagram showing a process in which a bus vehicle division of the third embodiment of the bus information inquiry and collection method of the present invention participates in asynchronous exchange of bus information in an operating state;
图 8示出了本发明中公交信息查询和收集方法的第四实施例的乘客参与公交信息异步交 换的过程;  Figure 8 is a diagram showing a process in which a passenger participates in the asynchronous exchange of bus information in the fourth embodiment of the bus information inquiry and collection method of the present invention;
图 9是本发明的公交信息系统的第一实施例示意图;  Figure 9 is a schematic view showing a first embodiment of the public transportation information system of the present invention;
图 10是本发明的公交信息系统的第二实施例示意图;  Figure 10 is a schematic view showing a second embodiment of the public transportation information system of the present invention;
图 11是本发明的公交信息系统的第三实施例示意图。  Figure 11 is a schematic view showing a third embodiment of the public transportation information system of the present invention.
具体实施方式 detailed description
本发明实施例提供的公交信息查询和收集方法及公交信息系统, 都以实现公交参与者之 间的公交信息异步交换为基础, 向公交参与者提供内容多样化的公交信息服务, 并且免于配 置任何专门的公交信息源设备, 使公交信息服务更具开放性, 同时, 占用资源相对较少。 下 面结合附图对本发明实施例进行详细说明。  The public transportation information inquiry and collection method and the public transportation information system provided by the embodiments of the present invention provide the bus participants with comprehensive content of public transportation information services based on the asynchronous exchange of public transportation information between the bus participants, and are free from configuration. Any special public transportation information source equipment makes the public transportation information service more open, and at the same time, it occupies relatively few resources. The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
在本发明的所有实施例的具体实现中, 为使交换过程简洁, 可对公交参与者采用会员制; 公交参与者通过通用联网设备 (如能够连接互联网的手机) 首次登陆公交信息异步交换中心 时自动成为会员, 公交信息异步交换中心为之分配一个唯一会员标识, 并保存在公交信息异 步交换中心, 返回给对应的通用联网设备, 所述通用联网设备保存这个会员标识, 并通知该 厶、乂 1 与者; 该公交参与者以后查询或反馈公交信息时, 该通用联网设备都将自动提交该会 员标识; 信息发送者的会员标识是本发明所有实施例中, 通用联网设备与公交信息异步交换 中心之间公交信息传递中必然包含的内容, 公交信息异步交换中心保存来自公交参与者的任 何公交信息条目时, 也都将包含相应的会员标识, 并且都是由通用联网设备与公交信息异步 交换中心之间自动传递和保存的, 在下文说明信息条目整理和保存的过程中, 不再特别指明 这一平凡的信息内容的出处、 接收、 保存等事项, 若有指明, 则为了强调;  In a specific implementation of all embodiments of the present invention, in order to make the exchange process concise, a membership system can be adopted for the bus participants; when the bus participant first logs into the bus information asynchronous exchange center through a universal networking device (such as a mobile phone capable of connecting to the Internet) Automatically become a member, the bus information asynchronous exchange center assigns a unique member identifier to it, and saves it in the bus information asynchronous exchange center, and returns it to the corresponding universal networking device. The universal networking device saves the member identifier and notifies the 厶, 乂1 and the; when the bus participant queries or feeds the bus information later, the universal networking device will automatically submit the member identification; the member identifier of the information sender is the asynchronous exchange of the universal networking device and the public transportation information in all embodiments of the present invention The content that must be included in the transit information transmission between the centers, when the bus information asynchronous exchange center saves any bus information items from the bus participants, it will also contain the corresponding member identification, and all of them are asynchronously exchanged with the public transportation equipment and the public transportation information. Center Automatic transmission and saved in the process described below and the information items stored in the collation, this source is indicated not particularly extraordinary information content, receiving, preserving and other matters, if specified, the order to emphasize;
在本发明所有实施例中, 若包括下述公交参与者, 则所述通用联网设备为之保存相应的 静态信息: 为公交车辆司乘保存的静态信息包括, 公交参与者类型是司乘、 该司乘的会员标 识、 关于所使用的通用联网设备的信息、 所运行的公交车辆唯一标识 (如车辆的自编号或牌 照号)、 乘运设施、 车型、 票价计价方法、 运营时间、 所述营运公司等, 该公交车辆所属公交 线路在不同运行方向上的站列、 站次、 每一个车站可换乘的公交线路列表, 当其中的信息内 容缺乏数据时置为缺失值; 为乘客保存的静态信息包括, 公交参与者类型是乘客、 所述乘客 的标识、 关于所使用的通用联网设备的信息、 所述乘客常用的若干组静态计划乘车信息, 具 体包括计划乘车的线路、 方向、 计划上车站及站次等, 对希望反馈实际乘车信息的乘客, 计 划乘车信息中还包括计划下车车站及站次; 为所述公交站场调度员保存的静态信息包括, 公 交参与者类型是调度员、 所述调度员的标识、 所使用的通用联网设备的信息、 关于其调度管 理的线路及运行方向、 站列、 公交车辆、 常规发车计划的信息;  In all embodiments of the present invention, if the following bus participants are included, the universal networking device stores corresponding static information: The static information stored for the bus driver includes: the bus participant type is the multiplication, the Member ID of the board, information about the general-purpose networked equipment used, the unique identifier of the bus vehicle being operated (such as the self-numbering or license number of the vehicle), the transportation facility, the vehicle type, the fare pricing method, the operation time, Operating company, etc., the list of bus lines that can be transferred in the station, station, and station of the bus line to which the bus belongs. When the information content lacks data, it is set to a missing value; The static information includes: the type of the bus participant is the passenger, the identifier of the passenger, the information about the universal networked device used, and the plurality of sets of static planned ride information commonly used by the passenger, specifically including the route, direction, and Plan the station and station, etc., plan to take the passenger who wants to feedback the actual ride information. The information also includes a plan to get off the train station and the station; the static information saved for the bus station dispatcher includes: the bus participant type is the dispatcher, the dispatcher's logo, the information of the universal networked device used, Information about the line and direction of operation of the dispatch management, station trains, bus vehicles, and regular departure plans;
本发明所有实施例中, 公交信息异步交换中心都要创建公交信息静态信息集合, 预先储 存公交线路的静态资料, 包括每一条公交线路在不同运行方向上的站列、站次、站间里程数、 每一个车站可换乘的公交线路列表, 及线路运营时间、 计价方法、 公交车辆乘运设施等, 当 其中的信息内容缺乏数据时置为缺失值, 若某车站区间的里程数数据缺失, 则用同线路同方 向的非缺失的里程数的平均数代替缺失的里程数, 若同线路同方向的里程数数据全部缺失, 则该线路该方向的里程数全部置为 1 ; 公交参与者在其操控的通用联网设备输入线路、 方向 和上车站时, 要获取关于上车站站次的信息可以利用 ajax技术, 由通用联网设备向公交信息 交换中心自动发送关于该上车站站次的查询请求, 从静态公交信息集合查询, 然后自动返回, 保存于所述通用联网设备, 下文不再提及关于站次信息的来源。 In all embodiments of the present invention, the bus information asynchronous exchange center must create a static information set of the bus information, and pre-store the static data of the bus line, including the number of stations, stations, and stations in each running direction of each bus line. , the list of bus lines that can be transferred at each station, and the operation time of the line, the pricing method, the bus transportation facilities, etc., when the information content lacks data, it is set to a missing value. If the mileage data of a station section is missing, Then replace the missing mileage with the average number of non-missing mileages in the same direction of the same line. If the mileage data in the same direction of the same line is missing, Then the number of miles in the direction of the line is set to 1; when the bus participant inputs the line, direction and the station at the universal networking device that he controls, the information about the station stop can be obtained by using the ajax technology, by the universal networking device. The inquiry request for the station number is automatically sent to the bus information exchange center, and is queried from the static bus information collection, and then automatically returned to the universal networked device, and the source of the station information is not mentioned below.
本发明所有实施例中, 都涉及在通用联网设备与公交信息异步交换中心之间, 传递关于 查询请求和用于换出的公交信息等数据的问题; 有多种比较普及的标准可采用, 例如 XML、 j son等协议, 这使得公交信息的编码或解码获得现成的软硬件的支持; 基本流程包括, 把关 于公交信息查询请求或用于换出的公交信息的表单上各个信息要素, 通过通用联网设备表达 为 XML或 j son格式的对象, 传递至公交信息异步交换中心, 从相应的 XML或 j son对象还原 公交信息查询或用于换出的公交信息的要素; 这些技术在业界都是平凡的, 下文的所有实施 例都不提及数据通信中数据转换的细节问题。  All the embodiments of the present invention relate to the problem of transmitting data about query requests and bus information for exchanged between the universal networking device and the bus information asynchronous switching center; there are various popular standards, such as XML, j son and other protocols, which enable the encoding or decoding of bus information to be supported by off-the-shelf software and hardware; the basic process includes the use of general information elements on the form of the bus information inquiry request or the bus information for exchange The networked device is expressed as an XML or json format object, passed to the bus information asynchronous exchange center, and restores the bus information query or the elements of the bus information used for exchange from the corresponding XML or json object; these technologies are ordinary in the industry All of the following embodiments do not mention the details of data conversion in data communication.
本发明所有实施例中, 有以下约定: 计划乘车信息包括计划乘车的线路、 方向、 上车站、 上车站站次、 计划到达上车站时刻、 下车站 (可选)、 乘车说明 (可选, 如是否需要特殊乘车 帮助) 等信息内容; 实际上车信息包括实际乘车的线路、 方向、 上车站、 上车站站次、 实际 上车时刻、 所乘车辆唯一标识、 乘车条件等内容等信息内容, 其中后两项是可选的; 公交车 辆的运行信息, 包括本公交车辆的运行线路、 运行方向、 停靠车站、 车辆唯一标识、 进站时 刻、 乘车条件 (可选) 等内容等信息内容; 公交车辆调度信息包括发车线路、 发车方向、 发 车车站、 拟发车时刻、 发车说明 (如是否跳站、 甩站, 是否是最后一班车, 此项是可选的); 公交信息的异步交换是本发明所有实施例的基础, 为方便说明本发明的实施例, 先给出 公交信息异步交换的基本操作的过程; 图 1示出了本发明中公交信息异步交换的基本操作及 相应过程, 所述基本操作包括两种: 公交信息的换入操作 I和换出操作 0; 所述换入操作 I 的过程包括:  In all embodiments of the present invention, there are the following conventions: Planned ride information includes planned route, direction, upper station, upper station stop, scheduled arrival time, lower station (optional), travel instructions (may be available) Select, if you need special car assistance) and other information content; in fact, the car information includes the actual bus line, direction, station, station number, actual car time, unique vehicle identification, riding conditions, etc. Content and other information content, of which the latter two are optional; the operation information of the bus, including the running route, running direction, stop station, unique identification of the vehicle, arrival time, riding conditions (optional), etc. Content and other information content; Bus dispatching information includes departure line, departure direction, departure station, planned departure time, departure instructions (such as whether to jump station, stop station, whether it is the last bus, this item is optional); Asynchronous exchange is the basis of all embodiments of the present invention, in order to facilitate the description of the embodiment of the present invention, The basic operation of the asynchronous exchange of bus information; FIG. 1 shows the basic operation and corresponding process of the asynchronous exchange of bus information in the present invention, and the basic operations include two types: the transfer operation of the bus information I and the swap operation 0 The process of swapping in operation I includes:
I I: 公交参与者(agent )通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者的公交信息查询请求 (A ) ;  I I: The public transport agent sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the bus, and the exchange request includes the bus information inquiry request (A) of the bus participant;
12: 公交信息异步交换中心从所述通用联网设备接收所述公交信息查询请求, 从中析出 公交信息查询请求 (A ) ; 根据所述公交信息查询请求 (A), 从已经保存的其它公交参与者用 于换出的公交信息中查询相关的公交信息(Q), 把相应的查询结果返回给所述通用联网设备;  12: The bus information asynchronous switching center receives the bus information inquiry request from the universal networking device, and extracts a bus information inquiry request (A); according to the bus information inquiry request (A), from other public bus participants that have been saved Inquiring the relevant public transportation information (Q) in the public transportation information for the exchange, and returning the corresponding query result to the universal networking device;
13: 所述公交参与者(agent )操控的通用联网设备, 接收所述公交信息异步交换中心返 回的信息, 显示所述查询结果;  13: The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result;
所述换出操作 0的过程包括:  The process of swapping out operation 0 includes:
01: 公交参与者(agent )通过其操控的通用联网设备, 向公交信息异步交换中心发送公 交信息交换请求, 所述交换请求包含所述公交参与者当时已经获知的用于换出的公交信息 ( T ) ;  01: The bus participant sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the bus, and the exchange request includes the bus information for the bus exchange that the bus participant has learned at the time ( T ) ;
02: 所述公交信息异步交换中心从所述通用联网设备接收公交信息交换请求, 从中析出 所述公交参与者当时已经获知的用于换出的公交信息 (T), 整理成信息条目, 保存整理的信 息条目 ( S ) ;  02: The bus information asynchronous switching center receives a bus information exchange request from the universal networking device, and extracts bus information (T) for the bus station that has been known at the time, and sorts the information into an information item, and saves the information. Information item (S);
对公交信息异步交换, 图 1中的基本操作是 "原子" 的, 任意的公交信息异步交换过程 都可以由此两种操作按一定方式组合而成; 该两项 "原子"操作在一定的公交活动场景中被 引用, 需要提供相关引用参数, 包括两个变元: 公交参与者(agent )和执行该操作原型所需 要的信息 (info), 及查询请求 (A ) 和相应的查询操作 (Q), 或 /和用于换出的信息 (T ) 和 相应的储存操作 (S ) ;  Asynchronous exchange of bus information, the basic operation in Figure 1 is "atomic", any bus information asynchronous exchange process can be combined in a certain way by the two operations; the two "atoms" operate in a certain bus Referenced in the activity scenario, the relevant reference parameters need to be provided, including two arguments: the bus participant (agent) and the information required to execute the prototype (info), and the query request (A) and the corresponding query operation (Q) ), or / and information for swapping out (T) and corresponding storage operations (S);
图 2示出了由图 1中的基本操作按并联方式组合而成的公交信息异步交换过程, 其过程 包括1^→1^→1^, 步骤 U l是图 1中 I I与 01的合并, I I中的查询请求 A和 01中的换出 信息 T, 构成了 U l中所述公交信息交换请求的内容; 步骤 U 2是图 1中 12与 02的合并, 12 中的查询操作 Q和 01中的储存操作 S, 构成了本步骤中所述公交信息异步交换中心的核心操 作; 步骤 U 3仅由图 1中所述换入操作中的 13构成; 具体过程包括: Figure 2 shows the asynchronous exchange process of bus information combined by the basic operation in Figure 1 in parallel, the process Including 1^→1^→1^, the step U l is the combination of II and 01 in FIG. 1, and the exchange information T in the query requests A and 01 in II constitutes the bus information exchange request in U l The content U 2 is the combination of 12 and 02 in FIG. 1 , and the storage operation S in the query operations Q and 01 in 12 constitutes the core operation of the bus information asynchronous switching center in this step; 13 is formed in the swapping operation described in FIG. 1; the specific process includes:
U 1 : 公交参与者 (agent)通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者的公交信息查询请求(A)和所述公 交参与者当时已经获知的用于换出的公交信息 (T);  U 1 : a bus operator sends a bus information exchange request to the bus information asynchronous switching center through a universal networking device controlled by the bus, the exchange request including the bus information inquiry request (A) of the bus participant and The bus information (T) for the bus exchange that the bus participant has known at the time;
U 2: 所述公交信息异步交换中心, 接收来自所述通用联网设备的公交信息交换请求, 析 出所述公交参与者的公交信息查询请求(A)和当时已经获知的用于换出的公交信息(T); 根 据所述公交信息查询请求 (A), 从已经保存的其它公交参与者用于换出的公交信息中查询相 关的公交信息 (Q), 把相应的查询结果返回给所述公交参与者操控的通用联网设备; 把所述 公交参与者当时已经获知的用于换出的公交信息(T)整理成信息条目, 保存整理的信息条目 (S);  U 2: the bus information asynchronous exchange center receives a bus information exchange request from the universal networked device, and extracts a bus information inquiry request (A) of the bus participant and a public transportation information that is known at the time for exchange (T); querying relevant public transportation information (Q) from the public transportation information used by other public transportation participants that have been saved according to the public transportation information inquiry request (A), and returning the corresponding inquiry result to the public transportation station. a universally-connected device operated by the participant; sorting the bus information (T) for the exchange that the bus participant has known at the time into an information item, and saving the collated information item (S);
U 3: 所述公交参与者 (agent ) 操控的通用联网设备, 接收所述公交信息异步交换中心 返回的信息, 显示所述查询结果。  U 3: The universal networking device controlled by the bus participant receives the information returned by the bus information asynchronous switching center, and displays the query result.
图 2中的并联组合模块是构造公交信息异步交换过程最常用的 "中间件"操作; 本发明第一实施例包括, 在不同的特定公交活动场景中公交参与者参与公交信息异步交 换的过程, 它们都是互不相同的实例过程; 本实施例中, 把公交参与者分为三个类型: 乘客、 公交车辆司乘(下称司乘)和公交站场调度员 (下称调度员), 公交参与者用于换出的公交信 息或要查询 (要求换入的) 的公交信息的性质包括三类: 关于乘客候车的公交信息、 关于公 交车辆的调度信息和关于公交车辆的运行信息; 公交信息异步交换中心把接收的公交参与者 用于换出的公交信息, 保存在不同的公交信息集合里, 为此, 公交信息异步交换中心要预先 建立乘客候车信息集合 (PW)、 调度员源的公交车辆调度信息集合 (DD)、 司乘源的公交车辆 调度信息集合(CD)、 乘客源的无标识公交车辆运行信息集合(NPR)、 乘客源的有标识公交车 辆运行信息集合 (IPR) 和司乘源的公交车辆运行信息集合 (CR), 用于准备储存接收的相应 公交信息; 下文用括号里的代码代指相应的信息集合; 信息集合中的公交信息采用信息条目 的形式;  The parallel combination module in FIG. 2 is the most commonly used "middleware" operation for constructing the bus information asynchronous exchange process; the first embodiment of the present invention includes the process of bus participants participating in the asynchronous exchange of bus information in different specific bus activity scenarios, They are all different example processes; in this embodiment, the bus participants are divided into three types: passengers, bus vehicles (hereinafter referred to as the division) and bus station dispatchers (hereinafter referred to as dispatchers), The nature of the bus information used by the bus participants to exchange or the nature of the bus information to be queried (required to be exchanged) includes three categories: bus information about passenger waiting, scheduling information about the bus, and information about the operation of the bus; The information asynchronous exchange center stores the public transportation information used by the received bus participants for different bus information collections. For this reason, the bus information asynchronous exchange center must pre-establish the passenger waiting information set (PW) and the dispatcher source. Bus Vehicle Dispatching Information Set (DD), Sichengyuan Bus Dispatching Information Collection (CD), Passengers The unidentified bus vehicle operation information set (NPR), the passenger vehicle's identified bus vehicle operation information set (IPR), and the singular source bus operation information set (CR) for preparing to store the corresponding bus information received; The code in parentheses refers to the corresponding information set; the public transport information in the information set takes the form of information items;
在本实施例中, 上述公交信息集合在具体实现时, 按如下方式来组织数据: 所述 PW用于 准备保存乘客发送的计划乘车信息, 其中的信息条目包含的字段包括发送该信息的乘客的会 员标识、 计划乘车线路、 计划乘车方向、 计划上车站、 计划上车站站次、 计划下车站、 计划 下车站站次、 计划到达上车站时刻、 候车状态、 信息接收时刻 (也可以是信息存入时刻, 系 统会自动添加)、乘车说明,每一个信息条目中只包含一个计划乘车线路、方向和计划上车站; 所述 DD用于准备保存调度员发送的公交车辆调度信息, 其中的信息条目包含的字段包括, 发 送该信息的调度员的会员标识、 发车线路、 发车方向、 发车车站、 发车车站站次、 发车车辆 唯一标识、 拟发车时刻、 发车说明、 信息接收时刻, 每一个信息条目中只包含一个发车线路、 发车方向、 发车车站、 公交车辆唯一标识; 所述 CD用于准备保存司乘发送的公交车辆调度信 息, 其中的信息条目包含的字段包括, 发送该信息的司乘的会员标识、 发车线路、 发车方向、 发车车站、 发车车站站次、 本公交车辆唯一标识、 拟发车时刻、 发车说明、 信息接收时刻, 每一条信息条目中只包含一个发车线路、发车方向、发车车站、公交车辆唯一标识; 所述 NPR 用于准备保存乘客发送的没有包含公交车辆唯一标识的实际上车信息或实际乘车信息, 其中 的信息条目包含的字段包括, 发送该信息的乘客的会员标识、 公交线路 (对应着实际上车信 息中的实际上车线路或实际乘车信息中的实际乘车线路)、方向(对应着实际上车信息中的实 际上车方向或实际乘车信息中的实际乘车方向)、车站(对应着实际上车信息中的实际上车车 站或实际乘车信息中的实际停靠车站)、 车站站次、进站时刻(对应着实际上车信息中的实际 上车时刻或实际乘车信息中的实际进站时刻)、 乘车条件、信息接收时刻, 每一条信息条目只 包含一个线路、 方向和车站; 所述 IPR用于准备保存乘客发送的包含公交车辆唯一标识的实 际上车信息或实际乘车信息, 其中的信息条目包含的字段包括, 发送该信息的乘客的会员标 识、 公交线路 (对应着实际上车信息中的实际上车线路或实际乘车信息中的实际乘车线路)、 方向 (对应着实际上车信息中的实际上车方向或实际乘车信息中的实际乘车方向)、 车站(对 应着实际上车信息中的实际上车车站或实际乘车信息中的实际停靠车站)、车站站次、公交车 辆唯一标识、 进站时刻 (对应着实际上车信息中的实际上车时刻或实际乘车信息中的实际进 站时刻)、 乘车条件、 信息接收时刻, 每一条信息条目只包含一个线路、 方向、 车站、 公交车 辆唯一标识; 所述 CR用于准备保存司乘发送的发送的公交车辆的运行信息, 其中的信息条目 包含的字段包括发送该信息的会员标识、 运行线路、 运行方向、 停靠车站、 停靠车站站次、 本公交车辆唯一标识、 进站时刻、 乘车条件、 信息接收时刻, 每一条信息条目只包含一个运 行线路、 运行方向、 停靠车站、 本公交车辆唯一标识; 上述公交信息集合中, 每一条信息条 目只包含一个会员标识; 要存入信息集合的公交信息若包含要求一个值的字段的两个及以上 的值, 则要拆成多个信息条目, 以保证每一个信息条目只包含那些字段的一个值; 所述预先 创建的不同的公交信息集合可以使用数据库技术加以实现, 可用结构化查询语言(SQL)把相 关的查询操作和储存操作, 书写成相应查询命令和存储命令; In this embodiment, when the public transportation information set is specifically implemented, the data is organized as follows: the PW is used to prepare to save planned passenger information transmitted by the passenger, wherein the information item includes a field including the passenger who sends the information. Member ID, planned bus route, planned bus direction, planned station, planned station station, planned station, planned station station, planned arrival time, waiting status, information reception time (may also be At the moment of information deposit, the system will automatically add), the ride description, each information item contains only one planned ride route, direction and planned station; the DD is used to prepare to save the bus dispatch information sent by the dispatcher, The information item includes fields including the member identification of the dispatcher who sent the information, the departure route, the departure direction, the departure station, the departure station number, the unique identification of the departure vehicle, the scheduled departure time, the departure description, and the information reception time. An information entry contains only one departure line, departure direction , the departure station, the bus vehicle unique identifier; the CD is used to prepare to save the bus transportation dispatch information sent by the division, wherein the information item includes a field, the member identifier of the driver who sent the information, the departure route, the departure direction, The departure station, the departure station number, the unique identification of the bus, the departure time, the departure description, and the information reception time. Each information item includes only one departure line, the departure direction, the departure station, and the unique identifier of the bus; the NPR It is used to prepare to save the actual vehicle information or the actual ride information transmitted by the passenger without including the unique identifier of the public transportation vehicle, wherein the information item includes fields including the member identification of the passenger who sent the information, and the bus line (corresponding to the actual vehicle) Actual bus route in the information or the actual ride route in the actual ride information), direction (corresponding to the actual car information) The actual boarding direction in the direction of the boarding or the actual boarding information), the station (corresponding to the actual station in the actual vehicle information or the actual station in the actual boarding information), the station number, and the station time (corresponding to the actual vehicle time in the actual vehicle information or the actual arrival time in the actual riding information), the riding condition, and the information receiving time, each information item contains only one line, direction and station; the IPR It is used to prepare to save the actual vehicle information or the actual ride information transmitted by the passenger including the unique identifier of the public transportation vehicle, wherein the information item includes a field including the member identification of the passenger who sent the information, and the bus line (corresponding to the actual vehicle information) In the actual car route or the actual ride route in the actual ride information), the direction (corresponding to the actual car direction in the actual car information or the actual ride direction in the actual ride information), the station (corresponding to In fact, the actual bus stop in the car information or the actual stop station in the actual ride information), the station stop, and the unique mark of the bus , the arrival time (corresponding to the actual vehicle time in the actual vehicle information or the actual arrival time in the actual ride information), the ride condition, the information reception time, each information item contains only one line, direction, station The public vehicle unique identifier; the CR is used to prepare to save the operation information of the public transportation vehicle sent by the division, wherein the information item includes a field including the member identification, the running line, the running direction, the stopping station, and the docking of the information. Station station number, unique identification of the bus, arrival time, riding condition, information receiving time, each information item only contains one running line, running direction, stopping station, unique identification of the bus; in the above bus information collection, Each information item contains only one member ID; if the bus information to be stored in the information set contains two or more values of a field requiring a value, it is split into multiple information items to ensure that each information item only contains a value for those fields; the different buses that are pre-created Collection of information may be implemented, can be a Structured Query Language (SQL) queries the relevant operation and store operation, and written into the corresponding storage command query command database technology;
为了方便在本实施例中引用图 1中的 "原子"操作和图 2的 "中间件"操作, 先对图 1 中的基本操作在一定公交活动应用场景下给出若干操作原型;  In order to facilitate the reference to the "atomic" operation in FIG. 1 and the "middleware" operation in FIG. 2 in the present embodiment, a number of operational prototypes are given to the basic operations in FIG. 1 under certain bus activity application scenarios;
对图 1 中换入操作 I, 考虑将要乘车的乘客, 该类乘客想知道与其计划乘车信息有关的 公交信息, 所述换入操作 I可包括 3个操作原型:  For the operation I in Figure 1, the passengers who are going to take the bus are considered. The passengers want to know the bus information related to the planned ride information. The change operation I can include three operation prototypes:
操作原型 I-P-1 : —个要乘车的乘客, 想知道与其乘车计划有关的公交车辆运行信息; 执行图 1中所述换入操作 I的三个步骤 (Π→Ι2→Ι3), 其中, 所述变元 agent是一个乘客, 所述变元 info包括该乘客的计划乘车信息; 对应地, 步骤 Π中所述公交信息查询请求, A, 包括: (I-P-A-1 ) 要求返回适合该 agent的计划乘车信息的上游公交车辆的运行信息, 对应 地, 步骤 12 中所述从已经保存的其它公交参与者用于换出的公交信息中查询相关的公交信 息, Q, 包括:  Operation prototype IP-1: a passenger who wants to ride, wants to know the bus operation information related to his ride plan; performs the three steps of switching operation I (Π→Ι2→Ι3) described in Fig. 1, where The argument agent is a passenger, and the argument info includes the passenger's planned ride information; correspondingly, the bus information query request in step Π, A, includes: (IPA-1) requesting return to be suitable for the passenger The operation information of the upstream public transportation vehicle of the agent's planned travel information, correspondingly, the relevant public transportation information is searched from the public transportation information used by other public transportation participants that have been saved in step 12, Q, including:
( I-P-Q-1 ) 对所述乘客的每一个计划乘车线路和方向, 在所述的 IPR、 NPR、 CR上实施 如下查询: 从 IPR中查找包含的线路与该 agent的计划乘车线路相同、 不同公交车辆的进站 时刻最晚的运行信息条目, 从找到的信息条目中返回, 包含的方向与该 agent的计划乘车方 向一致、包含的车站站次不大于该 agent的计划上车车站站次的运行信息条目; 从 NPR找出, 包含的线路和方向分别与该 agent 的计划乘车线路和方向一致、 包含的车站站次不大于该 agent 的计划上车车站站次的信息条目, 从找出的信息条目中选择不同车站的进站时刻最晚 的运行信息条目, 对选择的每一个信息条目, 计算实际上车车站距离下一站的里程数 (该数 据取自公交信息静态信息集合) 与该条目中实际上车时刻距离当前时刻的时长之比, 该比称 为信息的新鲜指数(下文不再重述新鲜指数), 从选择的信息条目中返回新鲜指数较大的运行 信息条目, 返回的数量不超过该 agent 的计划上车车站站次 (或加 1 ) 的二分之一; 从所述 CR查找, 包含的线路与该 agent的计划乘车线路相同、 不同公交车辆的进站时刻最晚的运行 信息条目, 从找到的信息条目中返回, 包含的方向与该 agent的对应线路的计划乘车方向一 致、 包含的车站站次不大于该 agent的计划上车车站在对应线路对应方向上的站次的运行信 息条目; 从所述的 NPR、 IPR、 CR上执行查询的返回结果中, 把包含的车站与该 agent计划上 车车站相同、 且进站时刻早于该 agent计划到达上车站时刻的条目剔除; 所有最后剩余的运 行信息条目构成该 agent查询请求的查询结果; 最后没有返回任何信息条目时, 返回关于暂 无符合要求的公交信息的消息; (IPQ-1) For each planned passenger route and direction of the passenger, perform the following query on the IPR, NPR, CR: Find the line included in the IPR and the planned route of the agent, The latest operational information entry for the arrival time of different public transport vehicles, returned from the found information entry, including the direction of the agent's planned ride direction, and the included station number is not greater than the agent's planned boarding station station. The operation information entry of the secondary; found from the NPR, the included route and direction are respectively consistent with the planned ride route and direction of the agent, and the included station station is not greater than the information entry of the agent's planned boarding station station, from Find the latest running information entry of the different station's inbound time in the found information item, and calculate the actual distance of the next station from the next station for each selected information item (the data is taken from the public information set of the bus information) The ratio of the actual time of the vehicle to the current time in the entry, the ratio is called the fresh index of the information (the fresh index is not repeated below), from The selected information item returns a running information entry with a large fresh index, and the returned quantity does not exceed one-half of the agent's planned boarding station number (or plus 1); from the CR search, the included line and The agent's planned travel information entry with the same passenger route and the different transit time of the bus is returned from the found information entry, and the direction included is the same as the planned ride direction of the corresponding line of the agent, and the included station The station information is not greater than the running information entry of the agent's planned boarding station in the corresponding direction of the corresponding line; from the returned results of the NPR, IPR, CR execution query, the included station and the agent plan On The bus station is the same, and the pit stop time is earlier than the time when the agent plans to arrive at the station time; all the last remaining running information items constitute the query result of the agent query request; when no information item is returned, the return is not met. The requested bus information message;
对应地, 步骤 13, 该 agent操控的通用联网设备, 接收所述公交信息异步交换中心返回 的信息,显示所述查询结果; (每一个公交信息换入操作 I的操作原型中都有一个依赖于该操 作原型 agent的步骤 13, 下文关于此类操作原型的说明中省略关于 13的说明)  Correspondingly, in step 13, the agent-controlled universal networking device receives the information returned by the bus information asynchronous switching center, and displays the query result; (each bus information is switched into operation I. Step 13 of the operation of the prototype agent, the description of 13 is omitted in the following description of such an operation prototype)
操作原型 I-P-2: —个要乘车的乘客, 想知道与其乘车计划有关的公交车辆的调度信息; 执行图 1中所述换入操作 I的三个步骤 (Π→Ι2→Ι3), 其中, 所述变元 agent是一个乘客, 所述变元 info包括该乘客的计划乘车信息; 对应地, 步骤 Π中所述公交信息查询请求, A, 包括: (I-P-A-2 ) 要求返回适合该 agent的计划乘车信息的公交车辆调度信息, 对应地, 步 骤 12中所述从已经保存的其它公交参与者用于换出的公交信息中查询相关的公交信息, Q, 包括:  Operation prototype IP-2: a passenger who wants to ride, wants to know the scheduling information of the public transportation vehicle related to his riding plan; perform the three steps of switching operation I (Π→Ι2→Ι3) described in Fig. 1, The argument element is a passenger, and the argument info includes the passenger's planned ride information; correspondingly, the bus information query request in the step ,, A, includes: (IPA-2) request to return suitable The public transportation vehicle scheduling information of the agent's planned riding information, correspondingly, the related public transportation information is searched from the public transportation information used by other public transportation participants that have been saved in step 12, Q, including:
( I-P-Q-2 ) 对所述乘客的每一个计划乘车线路和方向, 在所述的 DD、 CD上实施如下查 询: 从所述 DD中查找, 包含的线路与该 agent的计划乘车线路相同的调度信息条目, 把查找 到的信息条目分为两部分: 包含的拟发车时刻不晚于该 agent的计划到达上车站时刻的信息 条目、 包含的拟发车时刻晚于该 agent的计划到达上车站时刻的信息条目, 从第二部分中返 回包含的发车方向与该 agent的计划乘车方向一致的信息条目, 从第一部分的信息条目中选 择不同公交车辆的拟发车时刻最晚的信息条目, 从选择的信息条目中, 按照包含的拟发车时 刻由晚到早的优先顺序, 返回包含的发车方向与该 agent的计划乘车方向一致的信息条目, 返回的数量不超过该 agent的计划上车车站站次 (或加 1 ) 的二分之一; 从所述 CD中查找, 包含的线路与该 agent的计划乘车线路相同、 不同公交车辆的拟发车时刻最晚的调度信息条 目, 从查找到的信息条目中, 选择包含的方向与该 agent的计划乘车方向一致的信息条目, 从选择的信息条目中返回拟发车时刻较晚的信息条目, 返回的数量不超过该 agent的计划上 车车站站次 (或加 1 ) 的二分之一; 若对所有计划乘车线路和方向的查询, 最后没有返回任 何信息条目时, 返回关于暂无符合要求的公交信息的消息;  (IPQ-2) For each planned passenger route and direction of the passenger, the following query is performed on the DD, CD: Find from the DD, the included route is the same as the planned passenger route of the agent The scheduling information item divides the found information item into two parts: the information item that is included in the scheduled departure time is not later than the agent's plan to arrive at the station time, and the planned departure time is later than the agent's plan to arrive at the station. The information item of the moment, returning from the second part the information item containing the direction of the departure of the agent and the planned direction of the agent, and selecting the latest information item of the departure time of the different bus from the information item of the first part, In the selected information item, according to the priority order of the included departure time from the late to the early, the information item including the direction of the departure of the agent and the planned direction of the agent is returned, and the returned quantity does not exceed the planned boarding station of the agent. One-half of the station (or plus 1); look up from the CD, the included route and the planned ride route for the agent The latest dispatch information item of the same bus stop of the same bus, and the information item containing the direction that matches the planned ride direction of the agent is selected from the found information items, and the proposed vehicle is returned from the selected information item. The information item at a later time does not return more than one-half of the agent's planned boarding station number (or plus 1); if no query is made for all planned bus routes and directions, no information items are returned at the end. At the time, return a message about the public transportation information that does not meet the requirements;
操作原型 I-P-3: —个要乘车的乘客, 想知道与其乘车计划有关的上游乘客的候车信息; 执行图 1中所述换入操作 I的三个步骤 (Π→Ι2→Ι3), 其中, 所述变元 agent是一个乘客, 所述变元 info包括该乘客的计划乘车信息; 对应地, 步骤 Π中所述公交信息查询请求, A, 包括: (I-P-A-3 ) 要求返回适合该 agent的计划乘车信息的上游乘客的候车信息, 对应地, 步骤 12中所述从已经保存的其它公交参与者用于换出的公交信息中查询相关的公交信息, Q, 包括: (I-P-Q-3 )对所述乘客的每一个计划乘车线路和方向, 从所述 PW中查找并返回, 候车 状态为候车中、 包含的计划乘车线路和方向分别与该 agent计划乘车的线路和方向一致、 包 含的计划上车站站次不大于该 agent计划上车站站次的候车信息条目; 候车状态为候车中的 乘客候车信息的查询条件包括, 对某乘客候车信息, 从所述的 CR、 NPR、 IPR中找出所有具有 匹配的线路、 方向、 停靠车站的公交车辆运行信息, 若所有找到的公交车辆运行信息中的进 站时刻都不晚于该乘客候车信息中的计划到达上车站时刻, 则该乘客候车信息的候车状态为 候车中; 本实施例中的其它原型和实例都按这个条件确定候车状态为候车中的乘客候车信息 条目, 另一种确定候车状态的方法会在第三实施例中引入;  Operation prototype IP-3: a passenger who wants to ride, wants to know the waiting information of the upstream passenger related to his riding plan; perform the three steps of switching operation I (Π→Ι2→Ι3) described in Fig. 1, Wherein, the argument agent is a passenger, and the argument info includes planned passenger travel information of the passenger; correspondingly, the bus information inquiry request in the step ,, A: comprising: (IPA-3) requesting returning suitable The waiting information of the upstream passenger of the agent's planned riding information, correspondingly, the relevant public transportation information is searched from the public transportation information used by other public transportation participants that have been saved in step 12, Q, including: (IPQ -3) finding and returning from the PW for each planned passenger route and direction of the passenger, the waiting state being the waiting route, the planned planned riding route and the direction respectively planning the ride with the agent and The directions in which the directions are consistent and included in the planned station are not greater than the waiting information items of the station on the agent plan; the waiting conditions for the waiting information of the passengers in the waiting state include: A passenger waiting information, from the CR, NPR, IPR, find all bus operation information with matching lines, directions, and stops. If all the found bus operation information is not later than the stop time If the plan in the passenger waiting information arrives at the station time, the waiting state of the passenger waiting information is in the waiting mode; other prototypes and examples in this embodiment determine the waiting state as the passenger waiting information item in the waiting car according to the condition, and A method of determining a waiting state will be introduced in the third embodiment;
对图 1 中的公交信息换入操作 I, 考虑司乘从接到调度指令到运行公交车辆两个阶段的 公交活动, 司乘想知道与本公交车辆调度信息或运行信息相关联的公交信息, 此种情况下, 公交信息换入操作 I可包括 4个操作原型:  For the bus information in Figure 1, switch to operation I, consider the bus from the dispatching command to the bus operation in the two stages of running the bus, and the passenger wants to know the bus information associated with the bus dispatching information or operation information. In this case, the bus information exchange operation I can include four operational prototypes:
操作原型 i-c-i: 一个司乘, 刚接到本公交车辆的调度指令, 想了解乘客候车信息; 执 行图 1中所述换入操作 I的三个步骤(11— 12—13), 其中, 所述变元 agent是一个司乘, 所 述变元 info包括所述调度指令中本公交车辆的调度信息; 对应地, 步骤 Π中所述公交信息 查询请求, A, 包括: (I-C-A-1 )要求返回适合该 agent的本公交车辆的调度信息的乘客的候 车信息, 对应地, 步骤 12中所述从已经保存的其它公交参与者用于换出的公交信息中查询相 关的公交信息, Q, 包括: Operation prototype ici: a division, just received the dispatching instructions of the bus, want to know the passenger waiting information; The three steps (11-12-13) of the operation I are performed in FIG. 1, wherein the argument agent is a multiplication, and the argument info includes the dispatch of the public transport vehicle in the dispatch instruction. Correspondingly, the bus information inquiry request in the step ,, A includes: (ICA-1) waiting for the passenger to wait for the scheduling information of the public transportation vehicle suitable for the agent, correspondingly, the method described in step 12 Inquiring about the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved, Q, including:
( I-C-Q-1 ) 从所述 PW中查找并返回, 候车状态为候车中、 包含的计划乘车线路和方向 分别与所述调度指令中该 agent的本公交车辆的发车线路和方向一致的候车信息条目;  (ICQ-1) Finding and returning from the PW, the waiting state is waiting information in the waiting mode, including the planned riding route and the direction respectively corresponding to the starting line and direction of the public transportation vehicle of the agent in the dispatching instruction Entry
操作原型 I-C-2: —个司乘, 刚接到本公交车辆的调度指令, 想了解相关的同类公交车 辆运行信息; 执行图 1中所述换入操作 I的三个步骤 (11— 12—13), 其中, agent是一个司 乘, 所述变元 info包括所述调度指令中本公交车辆的调度信息; 对应地, 步骤 Π中所述公 交信息查询请求, A, 包括: (I-C-A-2 )要求返回该 agent的本公交车辆调度信息的同线路同 方向公交车辆运行信息, 对应地, 步骤 12中所述从已经保存的其它公交参与者用于换出的公 交信息中查询相关的公交信息, Q, 包括:  Operation prototype IC-2: - a division, just received the dispatching instructions of the bus, want to know the relevant bus operation information of the same type; perform the three steps of the operation I described in Figure 1 (11-12) 13), wherein the agent is a multiplication, the argument info includes scheduling information of the public transportation vehicle in the scheduling instruction; correspondingly, the public transportation information inquiry request in the step ,, A, includes: (ICA-2 Requiring to return the bus transportation operation information of the same bus line of the agent in the same direction, correspondingly, in step 12, query the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved. , Q, including:
( I-C-Q-2 )从所述 IPR中查找包含的线路与该 agent的本公交车辆的发车线路相同、不 同公交车辆的进站时刻最晚的运行信息条目,从找到的信息条目中返回包含的方向与该 agent 的本公交车辆发车方向一致的运行信息条目; 从所述 NPR找出, 包含的线路和方向分别与该 agent 的本公交车辆的发车线路和方向一致的信息条目, 从找出的信息条目中选择不同车站 的进站时刻最晚的运行信息条目, 对选择的每一个信息条目, 计算实际上车车站距离下一站 的里程数与该条目中实际上车时刻距离当前时刻的时长之比, 称为信息的新鲜指数, 从选择 的信息条目中返回新鲜指数较大的运行信息条目, 返回的数量不超过该 agent的本公交车辆 运行方向上总站数 (或加 1 ) 的二分之一; 从所述 CR查找包含的线路与该 agent的本公交车 辆的发车线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息条目中返 回包含的方向与该 agent的本公交车辆的发车方向一致的运行信息条目; 所有最后返回的运 行信息条目构成该 agent的查询请求的结果; 最后没有返回任何信息条目时, 返回关于暂无 符合要求的公交信息的消息;  (ICQ-2) Finding from the IPR the operation information entry containing the same line as the departure line of the public transportation vehicle of the agent and the latest arrival time of the different public transportation vehicles, and returning the included direction from the found information item. An operation information entry that is consistent with the direction of departure of the agent's public transportation vehicle; from the NPR, an information item containing the line and direction respectively corresponding to the departure line and direction of the agent's own public transportation vehicle, from the found information In the entry, select the latest running information entry of the different station's inbound time, and for each selected information item, calculate the actual number of miles from the next station and the actual time of the current time in the item. Ratio, called the fresh index of information, returns the running information item with a large fresh index from the selected information item, and the returned quantity does not exceed the number of total stations (or plus 1) in the running direction of the public transport vehicle of the agent. One; from the CR, the route included is the same as the departure line of the public transportation vehicle of the agent, and the different bus vehicles The latest running information item at the time of the inbound time, returning from the found information item the running information item containing the direction that is consistent with the starting direction of the public transportation vehicle of the agent; all the last returned running information items constitute the query request of the agent Result; when no information item is returned at the end, a message is returned regarding the public information that does not meet the requirements;
操作原型 I-C-3: —个司乘, 正在操控本公交车辆停靠一个车站, 想知道下游乘客的候 车信息; 执行图 1中所述换入操作 I的三个步骤(11— 12—13), 其中, 所述变元 agent是一 个司乘, 所述变元 info包括本公交车辆的当前运行信息; 对应地, 步骤 Π中所述公交信息 查询请求, A, 包括: (I-C-A-3 )要求返回适合该 agent的本公交车辆的运行信息的下游乘客 的候车信息, 对应地, 步骤 12中所述从已经保存的其它公交参与者用于换出的公交信息中查 询相关的公交信息, Q, 包括:  Operation prototype IC-3: - a multiplication, is controlling the bus to stop at a station, want to know the waiting information of the downstream passengers; perform the three steps (11-12-13) of the operation I described in Figure 1, Wherein, the argument agent is a multiplication, and the argument info includes current operation information of the public transportation vehicle; correspondingly, the bus information inquiry request in the step ,, A, includes: (ICA-3) requesting return The waiting information of the downstream passengers of the operation information of the public transportation vehicle suitable for the agent, correspondingly, in the step 12, querying the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved, Q, including :
( I-C-Q-3 ) 从所述 PW中查找并返回, 候车状态为候车中、 包含的计划乘车线路和方向 分别与该 agent的本公交车辆的线路和方向一致、 包含的计划上车站站次大于该 agent的本 公交车辆停靠车站站次的候车信息条目;  (ICQ-3) Searching and returning from the PW, the waiting state is waiting for the vehicle, including the planned bus route and the direction respectively corresponding to the line and direction of the public transportation vehicle of the agent, and the planned station station number included is greater than The waiting information item of the bus stop of the station at the station;
操作原型 I-C-4: 一个司乘, 正在操控本公交车辆停靠一个车站; 执行图 1 中所述换入 操作 I的三个步骤 (11— 12—13), 其中, agent是一个司乘, 所述变元 info包括本公交车 辆的当前运行信息; 对应地, 步骤 Π中所述公交信息查询请求, A, 包括: (I-C-A-4) 要求 返回该 agent的本公交车辆运行信息的同线路同方向公交车辆运行信息, 对应地, 步骤 12中 的所述从已经保存的其它公交参与者用于换出的公交信息中查询相关的公交信息, Q, 包括: Operation prototype IC-4: A master, is controlling the bus to stop at a station; perform the three steps (11-12-13) of the operation I described in Figure 1, where the agent is a sergeant, The argument info includes the current running information of the public transportation vehicle; correspondingly, the bus information inquiry request in the step ,, A, includes: (ICA-4) requesting to return the same bus line running information of the agent in the same direction The public transportation vehicle operation information, correspondingly, the relevant public transportation information is searched from the public transportation information used by the other public transportation participants that have been saved in step 12, Q, including:
( I-C-Q-4)从所述 IPR中查找包含的线路与该 agent的本公交车辆的运行线路相同、不 同公交车辆的进站时刻最晚的运行信息条目,从找到的信息条目中返回包含的方向与该 agent 的本公交车辆运行方向一致的运行信息条目; 从所述 NPR找出, 包含的线路和方向分别与该 agent 的本公交车辆的运行线路和运行方向一致的信息条目, 从找出的信息条目中选择不同 车站的进站时刻最晚的运行信息条目, 对选择的每一个信息条目, 计算实际上车车站距离下 一站的里程数与该条目中实际上车时刻距离当前时刻的时长之比, 称为信息的新鲜指数, 从 选择的信息条目中返回新鲜指数较大的运行信息条目, 返回的数量不超过该 agent的本公交 车辆运行方向上总站数 (或加 1 ) 的二分之一; 从所述 CR查找包含的线路与该 agent的本公 交车辆的运行线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息条目 中返回包含的方向与该 agent的本公交车辆的运行方向一致的运行信息条目; 所有最后返回 的运行信息条目构成该 agent的查询请求的结果; 最后没有返回任何信息条目时, 返回关于 暂无符合要求的公交信息的消息; (ICQ-4) Finding, from the IPR, the operation information entry containing the same line as the transit line of the public transportation vehicle of the agent, and the latest arrival time of the different public transportation vehicles, and returning the included direction from the found information item. An operation information entry that is consistent with the direction in which the agent is traveling; from the NPR, the included line and direction are respectively The information item of the agent's running line and the running direction of the public transport vehicle, selects the latest running information item of the different station's inbound time from the found information items, and calculates the actual bus station for each selected information item. The ratio of the number of miles from the next station to the current time in the entry from the current time, called the fresh index of the information, returns the running information entry with a large fresh index from the selected information item, and the returned quantity is not More than one-half of the total number of stations (or plus 1) in the direction of operation of the bus in excess of the agent; the route from the CR is found to be the same as the running line of the bus of the agent, and the time of arrival of different buses The latest running information item, returning from the found information item the running information item containing the direction that is consistent with the running direction of the agent's own public transportation vehicle; all the last returned running information items constitute the result of the agent's query request; When no information item is returned, a message is returned regarding the public transportation information that does not meet the requirements;
对图 1 中所述换入操作 I, 考虑调度员调度管理活动的信息需要, 调度员想知道与所管 理的公交线路有关的公交信息; 在此情景中, 所述换入操作 I可包括 2个操作原型:  For the swap operation I described in FIG. 1, considering the information needs of the dispatcher scheduling management activities, the dispatcher wants to know the bus information related to the managed bus line; in this scenario, the swap operation I may include 2 Operation prototype:
操作原型 I-D-1 : —个调度员, 想了解关于在所管理的公交线路和方向上的乘客候车的 信息; 执行图 1中所述换入操作 I的三个步骤(11— 12—13), 其中, 所述变元 agent是一个 调度员, 所述变元 info包括该调度员关心的公交线路和方向; 对应地, 步骤 Π中所述公交 信息查询请求, A, 包括: (I-D-A-1 )要求返回适合该 agent关心的公交线路和方向的乘客候 车信息, 对应地, 步骤 12中所述从已经保存的其它公交参与者用于换出的公交信息中查询相 关的公交信息, Q, 包括:  Operation Prototype ID-1: - Dispatcher, wants to know about passenger waiting on the bus line and direction being managed; Perform the three steps (11-12-13) of the swap operation I described in Figure 1. The argument agent is a dispatcher, and the argument info includes a bus route and direction that the dispatcher cares about; correspondingly, the bus information query request in the step ,, A, includes: (IDA-1 Requiring to return passenger waiting information suitable for the bus route and direction that the agent cares about, correspondingly, in step 12, querying relevant public transit information from the public transit information used by other public transport participants that have been saved, Q, including :
( I-D-Q-1 ) 对该 agent关心的每一条线路和方向, 从所述 PW中查找并返回, 候车状态 为候车中、 包含的计划乘车线路和方向分别与该 agent关心的线路和方向一致的乘客候车信 息条目;  (IDQ-1) Find and return from the PW for each line and direction that the agent cares about. The waiting state is waiting, the planned bus route and direction are respectively consistent with the line and direction of interest of the agent. Passenger waiting information entry;
操作原型 I-D-2: —个调度员, 想了解发车线路和方向上的同类公交车辆运行信息; 执 行图 1中所述换入操作 I的三个步骤(Π→Ι2→Ι3), 其中, 所述变元 agent是一个公交站场 调度员, 所述变元 info包括该调度员关心的公交线路和方向; 对应地, 步骤 Π中所述公交 信息查询, A, 包括: (I-D-A-2)请求要求返回适合该 agent关心的线路和方向上的公交车辆 运行信息, 对应地, 步骤 12中所述从已经保存的其它公交参与者用于换出的公交信息中查询 相关的公交信息, Q, 包括:  Operation prototype ID-2: - a dispatcher, want to know the same bus operation information on the departure line and direction; perform the three steps of the operation I described in Figure 1 (Π → Ι 2 → Ι 3), where The argument agent is a bus stop dispatcher, the argument info includes the bus route and direction that the dispatcher cares about; correspondingly, the bus information query in the step ,, A, includes: (IDA-2) request Requiring to return the bus operation information suitable for the line and direction that the agent cares about, correspondingly, in step 12, query the relevant public transportation information from the public transportation information used by other public transportation participants that have been saved, Q, including :
( I-D-Q-2) 对 agent关系的每一条线路和方向, 从 IPR、 NPR、 CR上实施如下查询: 从 所述 IPR中查找包含的线路与该 agent关心的线路相同、 不同公交车辆的进站时刻最晚的运 行信息条目, 从找到的信息条目中返回包含的方向与该 agent关心的方向一致的运行信息条 目; 从所述 NPR找出, 包含的线路和方向分别与该 agent关心的线路和方向一致的信息条目, 从找出的信息条目中选择不同车站的进站时刻最晚的运行信息条目, 对选择的每一个信息条 目, 计算其新鲜指数, 返回新鲜指数较大的运行信息条目, 返回的数量不超过该 agent关心 的线路和方向上总站数 (或加 1 ) 的二分之一; 从所述 CR查找包含的线路与该 agent关心的 线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息条目中返回包含的 方向与该 agent关心的方向一致的运行信息条目;所有最后返回的运行信息条目构成该 agent 的查询请求的结果; 最后没有返回任何信息条目时, 返回关于暂无符合要求的公交信息的消 息。  (IDQ-2) For each line and direction of the agent relationship, the following query is performed from IPR, NPR, CR: The IPR is found to be included in the same line as the agent concerned, and the transit time of different bus vehicles The latest running information item, returning from the found information item an operation information item containing a direction that is consistent with the direction that the agent cares about; finding from the NPR, including the line and direction respectively, and the line and direction that the agent cares about Consistent information items, select the latest running information items of the different station's inbound time from the found information items, calculate the fresh index for each selected information item, return the running information item with the fresh index, and return The number does not exceed one-half of the total number of stations (or plus 1) in the line and direction that the agent cares about; the line included in the CR search is the same as the line concerned by the agent, and the stop time of the different bus vehicles is the latest. Run information entry, returning from the found information entry a running letter containing the direction that is consistent with the direction the agent cares Entry; finally returns all information items constituting the run results of the query request of the agent; last entry returns no information, message bus returns No information regarding compliance.
另外, 在上述公交信息换入操作原型中, 对 Q包含的查询操作 I-P-Q-1或 I-P-Q-2, 在 所述 DD或 CD上执行的查询返回调度信息条目的总数量是所述计划上车车站站次 (或加 1 ) 的二分之一, 在 Q包含的其它查询操作中, 基于所述 NPR、 IPR或 CR的查询操作也有要求返 回同样比例计算出的数量的公交车辆运行信息条目; 这个二分之一的比例暗含了一个假定: 调度计划控制这些公交线路的在途车辆的平均密度, 使之达到每间隔一个车站就有一辆该线 路公交车; 可采用更准确的比例计算相应的返回信息条目数量的方法, 例如, 相应公交线路 的公交车辆平均间隔运行时间除以该线路的平均发车间隔时间得到一个倍数, 用该倍数代替 上述二分之一, 计算相应的返回信息条目的数量; In addition, in the above-mentioned bus information exchange operation prototype, for the query operation IPQ-1 or IPQ-2 included in Q, the total number of query return schedule information items executed on the DD or CD is the planned boarding station One-half of the station (or plus 1), in other query operations included in Q, the query operation based on the NPR, IPR or CR also requires the return of the same proportion of the calculated number of bus operation information items; One-half of the ratio implies an assumption: The scheduling plan controls the average density of in-transit vehicles on these bus lines so that there is one such line per station. Road bus; a more accurate ratio can be used to calculate the corresponding number of return information items, for example, the average bus running time of the corresponding bus line divided by the average starting interval of the line to obtain a multiple, use the multiple instead of the above One-half, calculate the number of corresponding return information items;
对图 1 中公交信息换出操作 0, 考虑乘客参与公交活动的不同阶段, 要向公交信息异步 交换中心发送其已经获知的公交信息; 此种情形中, 公交信息换出操作 0包括 3个操作原型: 操作原型 0-P-1 : —个乘客要乘车, 要发布自己计划乘车信息; 执行图 1 中所述换出操 作 0的两个步骤 01—02, 其中, 所述变元 agent是一个乘客, 所述变元 info包括该乘客当 时的计划乘车信息; 对应地, 步骤 01中所述当时已经获知的用于换出的公交信息, T, 包括: (0-P-T-1 ) 该 agent当时的计划乘车信息, 对应地, 步骤 02中的所述保存所述公交参与者 当时已经获知的用于换出的公交信息, S, 包括:  For the bus information exchange operation 0 in Figure 1, consider the passengers participating in different stages of the bus activity, and send the bus information that they have already learned to the bus information asynchronous exchange center; in this case, the bus information exchange operation 0 includes 3 operations. Prototype: Operation prototype 0-P-1: - a passenger to ride, to release his own planned ride information; perform two steps 01-02 of the swap operation 0 described in Figure 1, where the argument agent Is a passenger, the argument info includes the passenger's planned travel information at the time; correspondingly, the public transport information for the exchange, which is known at the time in step 01, T, includes: (0-PT-1) At the time of the agent's planned ride information, correspondingly, the save bus information that is known to the bus participant at the time is stored in step 02, S, including:
( 0-P-S-1 )把 0-P-T-1中计划乘车信息中每一条公交线路、 方向及相应的其它字段, 还 有该 agent的会员标识, 整理成一个乘客候车信息条目, 汇总计划乘车信息中不同线路、 方 向和计划上车站的候车信息条目, 得到该 agent的一组候车信息条目, 存入所述 PW中; 操作原型 0-P-2: —个乘客正在或刚乘上公交车辆, 要发布实际上车信息; 执行图 1 中 所述换出操作 0的两个步骤 01—02, 其中, 所述变元 agent是一个乘客, 所述变元 info包 括该乘客乘上公交车辆时的实际上车信息; 对应地, 步骤 01中所述当时已经获知的用于换出 的公交信息, T, 包括: (0-Ρ-Τ-2 )该 agent乘上公交车辆时的实际上车信息, 对应地, 步骤 02中所述保存所述公交参与者当时已经获知的用于换出的公交信息, S, 包括:  ( 0-PS-1 ) Organize each bus line, direction and corresponding other fields in the planned ride information in 0-PT-1, and the member ID of the agent into a passenger waiting information item. In the vehicle information, different routes, directions and waiting list information of the station are obtained, and a group of waiting information items of the agent are obtained and stored in the PW; Operation prototype 0-P-2: - A passenger is or is just getting on the bus The vehicle, to issue the actual vehicle information; performing two steps 01-02 of the swapping operation 0 described in FIG. 1, wherein the argument agent is a passenger, and the argument info includes the passenger riding the bus Actually, the vehicle information; correspondingly, the bus information for exchanging at the time as described in step 01, T, includes: (0-Ρ-Τ-2) Actually when the agent rides on the bus The vehicle information, correspondingly, saves the public transportation information for the exchange that the public transportation participant has known at the time, as described in step 02, S, including:
( 0-P-S-2 )若 0-P-T-2中所述实际上车信息没有包含所乘车辆唯一标识, 则把该实际上 车信息各字段与该 agent的会员标识一起, 构成一个无标识公交车辆的运行信息条目, 存入 所述 NPR中; 若该实际上车信息包含所乘车辆唯一标识, 该实际上车信息各字段与该 agent 的会员标识一起, 构成一个标识公交车辆的运行信息条目, 存入所述 IPR中;  (0-PS-2) If the actual vehicle information does not include the unique identifier of the vehicle in question as described in 0-PT-2, then the field of the actual vehicle information together with the member identification of the agent constitutes an unidentified bus. An operation information item of the vehicle is stored in the NPR; if the actual vehicle information includes the unique identification of the vehicle, the actual vehicle information field together with the member identification of the agent constitutes an operation information item identifying the public transportation vehicle , stored in the IPR;
操作原型 0-P-3: —个乘客乘上公交车辆后, 该车辆正在停靠一个车站, 想发布实际乘 车信息; 执行图 1中所述换出操作 0的两个步骤 01—02,其中,所述变元 agent是一个乘客, 所述变元 info包括该乘客乘上公交车辆后的实际乘车信息,具体包括实际乘车的线路、方向、 停靠车站、 停靠车站站次、 进站时刻、 所乘车辆唯一标识、 乘车条件等内容, 其中后两项是 可选的; 对应地, 步骤 01中所述当时已经获知的用于换出的公交信息, T, 包括: (0-Ρ-Τ-3 ) 该 agent乘上公交车辆后的实际乘车信息, 对应地, 步骤 02中所述保存所述公交参与者当时 已经获知的用于换出的公交信息, S, 包括:  Operation prototype 0-P-3: After a passenger gets on the bus, the vehicle is parked at a station, and wants to release the actual ride information; performing two steps 01-02 of the swap operation 0 described in FIG. The argument agent is a passenger, and the argument info includes actual ride information of the passenger after boarding the bus, specifically including the actual route, direction, stop station, stop station stop, and stop time , the unique identification of the vehicle, the riding condition, and the like, wherein the latter two items are optional; correspondingly, the public transportation information for the exchange that has been known at the time as described in step 01, T, includes: (0-Ρ -Τ-3) The agent rides the actual ride information after the bus, correspondingly, in step 02, saves the bus information for the bus change that the bus participant has learned at the time, S, including:
( 0-P-S-3 )若 0-P-T-3中所述实际乘车信息没有包含所乘车辆唯一标识, 则把该实际乘 车信息各字段与该 agent的会员标识一起, 构成一个无标识公交车辆的运行信息条目, 存入 所述 NPR中; 若该实际乘车信息包含所乘车辆唯一标识, 该实际乘车信息各字段与该 agent 的会员标识一起, 构成一个标识公交车辆的运行信息条目, 存入所述 IPR中;  (0-PS-3) If the actual ride information in 0-PT-3 does not include the unique identifier of the vehicle, the field of the actual ride information is combined with the member logo of the agent to form an unidentified bus. An operation information item of the vehicle is stored in the NPR; if the actual ride information includes the unique identifier of the vehicle, the actual ride information field together with the member identifier of the agent constitutes an operation information item identifying the bus , stored in the IPR;
对图 1 中公交信息换出操作 0, 考虑司乘接到调度指令时的待发车状态和运行公交车辆 的状态, 该司乘要向公交信息异步交换中心发送其获知的公交信息; 在此场景中, 所述公交 信息换出操作 0包括 2个操作原型:  For the bus information exchange operation 0 in Figure 1, consider the state of the to-be-launched vehicle and the state of the running bus when the dispatcher receives the dispatching command, the dispatcher shall send the learned bus information to the bus information asynchronous exchange center; The bus information exchange operation 0 includes two operation prototypes:
操作原型 0-C-1 : —个司乘操控的本公交车辆正在停靠一个车站, 要发布本公交车辆当 前运行信息; 执行图 1中所述换出操作 01—02, 其中, 所述变元 agent是一个司乘, 所述变 元 info包括本公交车辆当前的运行信息; 对应地, 步骤 01中所述当时已经获知的用于换出 的公交信息, T, 包括: (0-C-T-1 )该 agent运行的公交车辆当时的运行信息, 对应地, 步骤 02中的所述保存所述公交参与者当时已经获知的用于换出的公交信息, S, 包括: (0-C-S-1 ) 把 0-C-T-1中所述运行信息各字段, 还有该 agent的会员标识, 组合成一个司乘源的公交车 辆运行信息条目, 存入所述 CR中; Operation prototype 0-C-1: - The bus that is controlled by the division is docked at a station to release the current operation information of the bus; perform the swap operation 01-02 described in Figure 1, where the argument The agent is a multiplication, and the argument info includes current running information of the public transportation vehicle; correspondingly, the public transportation information for exchanging at the time as described in step 01, T, includes: (0-CT-1 The operation information of the public transportation vehicle running by the agent, correspondingly, in the step 02, the public transportation information for the exchange that the public transportation participant has learned at the time is saved, S, including: (0-CS-1) Combine the fields of the operation information described in 0-CT-1, and the member ID of the agent, into a bus of the source. An operation information item is stored in the CR;
操作原型 0-C-2: —个司乘刚接到关于本公交车辆的调度指令, 要发布该调度指令中关 于本公交车辆的调度信息; 执行图 1中所述换出操作 0的两个步骤 01—02, 其中, 所述变元 agent是一个司乘, 所述变元 info包括本公交车辆当时的调度信息; 对应地, 步骤 01中所 述当时已经获知的用于换出的公交信息, T, 包括: (0-C-T-2 )该 agent接到调度指令时关于 本公交车辆的调度信息, 对应地, 步骤 02中的所述保存所述公交参与者当时已经获知的用于 换出的公交信息, S, 包括: (0-C-S-2 )把 0-C-T-2中所述本公交车辆的调度信息各字段, 还 有该 agent的会员标识, 组合成一个司乘源的公交车辆调度信息条目, 存入所述 CD中; 操作原型 0-D-1 : —个下达调度指令的公交站场调度员, 要发布当时调度指令中的调度 信息; 执行对图 1中所述换出操作 0的两个步骤 01—02, 其中, 所述变元 agent是一个公交 站场调度员, 所述变元 info包括该调度员下达调度指令中的公交车辆调度信息; 对应地, 步 骤 01中所述当时已经获知的用于换出的公交信息, T, 包括: (0-D-T-1 ) 该 agent当时下达 调度指令中的公交车辆调度信息; 对应地, 步骤 02中所述保存所述公交参与者当时已经获知 的用于换出的公交信息, S, 包括: (0-D-S-1 )把 0-D-T-1中所述调度信息中每一条线路、 方 向、 车站、 发车车辆唯一标识及其它信息, 整理成一条调度员源的公交车辆调度信息条目, 把所述调度信息中不同线路、 方向、 车站、 发车车辆唯一标识的调度信息条目汇总起来, 得 到该调度员该次发送的一组调度信息条目, 存入所述 DD中;  Operation prototype 0-C-2: - A division just received a dispatch instruction on the bus, and will issue the dispatch information about the bus in the dispatch command; execute two of the swap operations 0 described in Figure 1. Step 01-02, wherein the argument agent is a multiplication, and the argument info includes scheduling information of the current public transportation vehicle; correspondingly, the public transportation information for exchanging at the time is known in step 01. , T, including: (0-CT-2) the dispatching information about the public transportation vehicle when the agent receives the dispatching instruction, correspondingly, the saving in the step 02 is to save the public transport participant at the time for the swapping out The public transportation information, S, includes: (0-CS-2) The various fields of the dispatching information of the public transport vehicle described in 0-CT-2, and the member identification of the agent, are combined into a bus of the source. Scheduling information items, stored in the CD; operating prototype 0-D-1: - a bus stop dispatcher that issues a dispatch instruction, to issue scheduling information in the current dispatch instruction; performing the swap out as described in FIG. Two steps of operation 0 01-02, wherein the argument agent is a bus stop dispatcher, and the argument info includes the dispatcher dispatching the dispatching vehicle in the dispatching instruction; correspondingly, the step 01 is known at the time. The bus information for the exchange, T, includes: (0-DT-1) The agent then issues the bus scheduling information in the dispatching command; correspondingly, the saving of the bus participant is known at step 02 The bus information used for exchange, S, includes: (0-DS-1) sorts each line, direction, station, unique identification of the vehicle and other information in the dispatch information described in 0-DT-1 into one The bus vehicle dispatching information item of the dispatcher source, summarizing the dispatching information items of different routes, directions, stations, and the unique identification of the starting vehicle in the dispatching information, and obtaining a set of scheduling information items sent by the dispatcher at the time, and depositing In the DD;
另外, 对上述换入操作 0的操作原型中涉及的时间信息, 包括到达计划上车站时刻、 实 际上车时刻、 进站时刻、 拟发车时刻等信息内容, 由所述通用联网设备用当前时刻代替自动 填充, 所述公交参与者可以修改这些被预置的时间值;  In addition, the time information involved in the operation prototype of the above-mentioned operation 0 includes the information content such as the scheduled station time, the actual vehicle time, the arrival time, the planned departure time, and the like, and the universal networking device replaces the current time. Automatically filling, the bus participant can modify these preset time values;
另外, 在上述公交信息换出操作原型的换出信息 T中, 所述的计划到达上车站时刻、 进 站时刻、 拟发车时刻、 实际上车时刻等信息的读数都来自不同的通用联网设备; 不同的通用 联网设备的时间值存在误差, 为提高时间精确度和一致性, 可把这些时间变量的绝对形式, 改为以从所述通用联网设备发送相应的交换请求或反馈信息的时刻为基准的相对形式, 即要 求这些时间信息分别以计划多长时间后到达上车站 (已经在站等车的, 该所需时间为 0)、 进 站时刻到交换请求发送时刻的时长 (正在停靠车站的, 该时长为 0)、 从交换请求发送时刻算 起多长时间后发车 (即刻发车的, 该时长为 0)、 实际上车时刻到实际上车信息发送时刻的时 长 (正在上车或刚上车的, 该时长为 0 ) 等形式收集和发送; 在所述公交信息异步交换中心 接收相关信息后, 再以该接收时间为基础, 重新计算相应的计划到达时刻、 进站时刻、 拟发 车时刻、 实际上车时刻等绝对时间, 存入相应信息集合中; 在上述公交信息换入操作原型的 查询操作 Q的查询结果中, 把相应的计划到达时刻、 进站时刻、 拟发车时刻、 实际上车时刻 等绝对时间, 重新转化为以当前时刻为基准的相对时间, 以此相对时间返回给通用联网设备; 所述通用联网设备发送和接收的时间信息全部是相对时间, 完全消除了不同通用联网设备的 时间不一致性问题; 对公交参与者, 相对时间比绝对时间更容易记忆和输入;  In addition, in the exchange information T of the above-mentioned bus information exchange operation prototype, the readings of the information such as the scheduled arrival time, the arrival time, the planned departure time, and the actual vehicle time are all from different general-purpose networking devices; There are errors in the time values of different universal networking devices. To improve time accuracy and consistency, the absolute form of these time variables can be changed to the time when the corresponding switching request or feedback information is sent from the universal networking device. The relative form of the time, that is, how long the time information is required to arrive at the station (which is already at the station, the required time is 0), and the time from the arrival time to the exchange request transmission time (the station is being docked) , the duration is 0), how long after the exchange request is sent, the vehicle is started (the time is 0, the duration is 0), and the time from the actual time to the actual vehicle information transmission time (on the train or just on the train) Collecting and transmitting in the form of a vehicle, the duration is 0; receiving relevant information at the bus information asynchronous switching center And based on the receiving time, recalculating the absolute time of the corresponding planned arrival time, the inbound time, the planned departure time, and the actual vehicle time, and depositing them in the corresponding information set; invoking the above-mentioned public transportation information into the operation prototype query In the query result of operation Q, the absolute time such as the planned arrival time, the arrival time, the planned departure time, and the actual vehicle time is reconverted into the relative time based on the current time, and the relative time is returned to the universal network. The time information sent and received by the universal networking device is all relative time, completely eliminating the time inconsistency problem of different universal networking devices; for the bus participants, the relative time is easier to remember and input than the absolute time;
另外, 对于一个公交参与者,若换入操作 I有新的查询请求 A及对应的查询操作 Q, 或者 或换出操作 0有新的换出信息 T及对应的储存操作 S, 则可以产生相关基本操作的一个新的 操作原型, 例如, 基于所述公交信息集合上的几乎任意可行的查询请求及相应的查询操作, 都可以产生换入操作的新的操作原型; 上述操作原型没有穷举所有的操作原型, 相应的权利 保护范围不局限在列举的操作原型, 相应的权利要求保护范围包括, 由公交信息换出操作和 换入操作按一定方式组合而成的公交信息异步交换过程,以完成公交信息的查询和收集任务, 所列举的操作原型只不过是用于说明优选实施例的一个个换入操作特例或换出操作特例。  In addition, for a bus participant, if the swap operation I has a new query request A and a corresponding query operation Q, or if the swap operation has a new swap information T and a corresponding storage operation S, then a correlation may be generated. A new operational prototype of the basic operation, for example, based on almost any feasible query request and corresponding query operation on the bus information set, can generate a new operational prototype of the swap-in operation; The operational prototype, the corresponding scope of protection of rights is not limited to the enumerated operational prototypes, and the corresponding scope of claims includes the asynchronous exchange of bus information by a combination of bus information exchange operation and exchange operation in a certain way to complete The query and collection tasks of the bus information, the enumerated operational prototypes are merely used to illustrate the specific operation of the swap-in operation or the swap-out operation of the preferred embodiment.
图 3示出了公交信息查询方法和收集方法的第一实施例包含的 9个公交信息异步交换实 例过程; 对其中的实例过程做详细说明, 只需要说明每一个实例所包括的图 1、 2中的 I、 0、 I U 0中的相关操作、 适用的组合方式, 组合中各阶段操作的启动时间, 并对该相应的操作原 型进行实例化, 所述操作原型的相关变元被更新为实例的对应信息; 下述每一个实例过程, 都省略了在普通流程图中常见的平凡环节: "开始"、 "结束"; 图 3中每个实例的公交信息异 步交换过程说明如下: FIG. 3 shows the asynchronous exchange of nine public transportation information included in the first embodiment of the public transportation information inquiry method and the collection method. The process of the example; the detailed description of the example process, only need to explain the I, 0, IU 0 related operations in Figure 1, 2, the applicable combination, the start of each phase of the operation Time, and instantiating the corresponding operational prototype, the relevant arguments of the operational prototype are updated to the corresponding information of the instance; each of the following example processes omits the ordinary links common in the ordinary flow chart: Start ", "End"; The asynchronous exchange process of bus information for each instance in Figure 3 is as follows:
31, 公交信息异步交换中心, 这是一个远程的第三方设施, 用于居间代理其他公交参与 者; 图 3的一个实例中的公交参与者, 与居间代理其它公交参与者的公交信息异步交换中心 进行信息交换, 所述居间代理的任务包括, 把先前参加交换的其它参与者的用于换出的公交 信息保存起来, 择其相关者用于应答该实例公交参与者的查询请求, 这相当于图 1中换出操 作的步骤 12的任务, 再把该实例中的公交参与者的用于换出的公交信息保存起来, 以备应答 后来的公交参与者的查询公交查询, 这相当于图 1中换入操作的步骤 02的任务; 本实施例中 每一个实例的公交参与者的交换过程中, 涉及步骤 12或 02的操作都是由所述公交信息异步 交换中心完成, 前文关于操作原型的部分已经给出具体描述;  31. Transit Information Asynchronous Exchange Center, which is a remote third-party facility for intermediation agents and other bus participants; bus participants in one example of Figure 3, and bus information asynchronous exchange centers with other intermediaries Performing information exchange, the task of the intermediary agent includes: saving the public transit information for the other participants who have previously participated in the exchange, and selecting the related party to respond to the inquiry request of the instance bus participant, which is equivalent to In Figure 1, the task of step 12 of the operation is exchanged, and the bus information for the bus participant in the example is saved, in preparation for answering the bus query of the subsequent bus participant, which is equivalent to FIG. The task of step 02 of the operation change operation; in the exchange process of the bus participant of each instance in this embodiment, the operation involving step 12 or 02 is completed by the bus information asynchronous exchange center, and the foregoing is about operating the prototype. Particular descriptions have been given;
32, 考虑一个候车前参加交换的乘客, 只有静态计划乘车信息, 乘车时间不确定, 想根 据符合其静态计划乘车信息的上游公交车辆的运行信息、 调度信息和上游乘客的候车信息, 来决定确定的到达上车站时刻, 然后发布最新的计划乘车信息; 对该乘客, 适用由公交信息 的换入操作 I与换出操作 0按串联方式组合而成的过程 1→0,具体包括(I 1— I2—I3 )→ ( 01 —02),全过程涉及到的公交信息换入操作 I和换出操作 0中的变元 agent是本实例中的乘客, 在第一阶段(Π→Ι2→Ι3), 所述变元 info包括本实例中乘客在本阶段的静态计划乘车信息、 用当前时刻代替的计划到达上车站时刻, 公交信息换入操作 I包括操作原型 I-P-1至 I-P-3 在本实例 agent和 info上的实例化: 本实例的 I I中的查询请求包括, 基于本实例中 agent 和第一阶段 info上的该三个操作原型的查询请求 I-P-A-1至 I-P-A-3, 12中的查询操作包括, 基于本实例中 agent和第一阶段 info上该三个操作原型的查询操作 I-P-Q-1至 I_P_Q_3, 13 中, 本实例的 agent操控的通用联网设备接收并显示 12的查询结果; 在该乘客确定到达上车 站时刻后, 启动第二阶段公交信息换出操作 0 ( 01—02), 所述变元 info包括最新确定的计 划乘车信息, 本阶段 01—02包括操作原型 0-P-1在本实例 agent和第二阶段 info上的实例 化: 本实例的 01中换出信息包括基于本实例中 agent和第二阶段 info上 0_P_1的换出信息 0-P-T-1 , 02中储存操作包括基于本实例中 agent和 info上 0-P-1的储存操作 0-P-Q-1 ; 在 第二阶段, 所述公交信息异步交换中心收集了新的乘客候车信息; 后面的实例说明中, 不再 具体阐释包括同一类操作的多个操作原型的 "实例化" 的这种含义;  32. Consider a passenger who participates in the exchange before waiting. Only the static planning of the ride information, the travel time is uncertain, and the operation information, dispatch information and waiting information of the upstream passengers according to the upstream bus that meets the static plan travel information are wanted. To determine the determined arrival time at the station, and then release the latest planned ride information; for the passenger, the process 1→0 of the combination of the transfer operation I of the bus information and the swap operation 0 in series is applied, including (I 1 - I2 - I3 ) → ( 01 — 02), the bus information exchange operation I and the change agent 0 in the whole process are the passengers in this example, in the first stage (Π→ Ι2→Ι3), the argument info includes the static planned ride information of the passenger at this stage in the present example, the plan to arrive at the station by the current time, and the bus information exchange operation I includes the operation prototype IP-1 to IP. -3 Instantiation on the present agent and info: The query request in II of this example includes, based on the agent in this example and the three operational prototypes on the first stage info The query operation in the query request IPA-1 to IPA-3, 12 includes, based on the query operation IPQ-1 to I_P_Q_3, in the agent and the first operation prototype on the first stage info in this example, the agent manipulation of the present example The universal networking device receives and displays the query result of 12; after the passenger determines to arrive at the station time, starts the second stage bus information exchange operation 0 (01-02), the argument info includes the newly determined plan ride Information, this stage 01-02 includes the instantiation of the operation prototype 0-P-1 in the present instance agent and the second stage info: The information exchanged in the 01 of the present example includes the agent based on the present example and the second stage info_0_1 The storage operation of the swap-out information 0-PT-1, 02 includes a storage operation 0-PQ-1 based on 0-P-1 on the agent and info in the present example; in the second stage, the bus information asynchronous exchange center collects New passenger waiting information; in the following example description, the meaning of "instantiation" of multiple operational prototypes including the same type of operation is not specifically explained;
33, 考虑一个调度先于查询的调度员, 该调度员要发布调度信息, 然后, 想查询下一个 调度的公交车辆的线路和方向上公交运行状况; 对该调度员, 适用串联方式组合 0—1, 具体 包括(01—02 ) → ( 11— 12—13), 全过程涉及到的公交信息换出操作 0和换入操作 I的变元 agent是本实例中的调度员, 在第一阶段 (01—02), 所述变元 info包括本实例中调度指令 中的调度信息, 此阶段 01—02包括操作原型 0-D-1在本实例 agent和此阶段变元 info上的 实例化, 在本阶段, 所述公交信息异步交换中心收集了新的公交车辆调度信息; 该调度员发 布完调度信息后, 想查询下一个调度的公交车辆的线路和方向上乘客候车信息和公交车辆运 行信息时, 启动第二阶段 (Π→Ι2→Ι3), 变元 info包括本实例中调度员关心的公交线路和 方向, 此阶段 I 1— I2—I3包括操作原型 I-D-1和 I-D-2在本实例 agent和此阶段变元 info 上的实例化, 所述调度员查询了公交信息;  33. Consider a dispatcher who schedules the query before the dispatcher, and then dispatches the dispatch information, and then wants to query the bus running status of the next scheduled bus and direction; for the dispatcher, the serial combination 0— 1, specifically including (01-02) → (11-12-13), the bus information exchange operation 0 and the change agent I involved in the whole process are the dispatchers in this example, in the first stage (01-02), the argument info includes the scheduling information in the scheduling instruction in this example, and the stage 01-02 includes the instantiation of the operation prototype 0-D-1 in the instance agent and the stage argument info. At this stage, the bus information asynchronous exchange center collects new bus vehicle scheduling information; after the dispatcher releases the scheduling information, the dispatcher wants to query the passenger waiting information and the bus running information of the next scheduled bus line and direction. When the second phase is started (Π→Ι2→Ι3), the argument info includes the bus route and direction that the dispatcher cares about in this example, and the phase I 1—I2—I3 includes the operation original Types I-D-1 and I-D-2 are instantiated in the present example agent and at this stage of the argument info, the dispatcher queries the public transit information;
34, 考虑一个候车时参加交换的乘客, 该乘客要发布自己的计划乘车信息, 想知道适合 其计划乘车信息的公交车辆的运行信息和调度信息; 对该乘客, 使用并联组合模块 I U 0, 如 图 2所示, 过程包括1^→1^→1^, 全过程涉及到的所述换入操作 I和所述换出 0的变元 agent是本实例中的乘客, 变元 info包括本实例中乘客的计划乘车信息, 对应地, U1—U2 → U 3包括操作原型 I-P-K I- P- 2、 0-P-1在本实例 agent和 info上的实例化: 本实例的 U 1中, Π的查询请求 A包括基于本实例的变元 agent和 info上的操作原型 I_P_1和 I_P_2的 查询请求 I-P-A-1和 I-P-A-2、 01的换出信息 T包括基于本实例的变元 agent和 info上的操 作原型 0-P-1的换出信息 0-P-T-1, U 2中 12的查询操作 Q包括基于本实例的变元 agent和 info上的操作原型 I-P-1和 I-P-2的查询请求 I-P-Q-1和 I_P-Q_1, 02的储存操作 S包括基 于本实例的变元 agent和 info上的 0_P_1的储存操作 0-P-S-l; 13中, 本实例的乘客操控的 通用联网设备接收并显示 12的查询结果; 34. Consider a passenger who participates in the exchange when waiting for the passenger. The passenger should publish his own planned ride information and want to know the operation information and dispatch information of the bus suitable for his planned ride information. For the passenger, use the parallel combination module IU 0 , Such as As shown in FIG. 2, the process includes 1^→1^→1^, and the swapping operation I involved in the whole process and the argumenting agent of the swapping out 0 are passengers in the present example, and the argument info includes the present example. The planned passenger information of the passenger, correspondingly, U1—U2 → U 3 includes the operation prototype IPK I- P- 2, 0-P-1 instantiation on the present agent and info: In the U 1 of this example, The query request A includes the query requests IPA-1 and IPA-2, 01 based on the operation prototypes I_P_1 and I_P_2 on the arguments of the present example, and the exchange information T of the IPA-2, 01 includes the arguments agent and info based on the present example. The operation information of the operation prototype 0-P-1 is 0-PT-1, and the query operation Q of 12 in U 2 includes the query requests based on the operation prototypes IP-1 and IP-2 on the argument agent and info of this example. The storage operation S of IPQ-1 and I_P-Q_1, 02 includes a storage operation 0-PS1 based on the variable agent of the present example and 0_P_1 on the info; 13 , the passenger-controlled universal networking device of the present example receives and displays 12 search result;
35, 考虑一个待发车状态参加交换的司乘, 该司乘接到并要发布调度指令, 同时想知道 本公交车辆的发车线路和发车方向上的乘客候车信息; 对该司乘, 适用并联组合模块 ιυο, 如图 2所示, 具体包括 U 1→ U 2→ U 3; 全过程涉及到的所述换入操作 I和所述换出操作 0的 变元 agent都是本实例中的司乘, 变元 info包括本公交车辆的调度信息, 对应地, U1—U2 → U 3包括操作原型 I-C-1和 0-C-2在本实例 agent和 info上的实例化: 本实例的 U 1中, II的查询请求 A包括基于本实例的 agent和 info上的操作原型 I_C_1的查询操作 I_C_A-1、 01的换出信息 T包括基于本实例中 agent和 info上的操作原型 0_C_2的换出信息 0_C-T_2; U2 中, 12 的查询操作 Q包括基于本实例 agent和 info上的操作原型 I_C_1 的查询操作 I-C-Q-K 02的换出信息 T包括基于本实例中 agent和 info上的操作原型 0_C_2的储存操作 0-C-S-2; 13中, 本实例的乘客操控的通用联网设备接收并显示 12的查询结果; 后面的实例 说明中, 不再具体阐释包括换出和换入操作的多个操作原型的 "实例化" 的这种含义; 35. Considering the passengers who are waiting to participate in the exchange, the division receives and dispatches the dispatching instructions, and at the same time wants to know the passengers' waiting information on the starting line and the starting direction of the bus; The module ιυο, as shown in FIG. 2, specifically includes U 1 → U 2 → U 3; the swapping operation I involved in the whole process and the argumenting agent of the swapping out operation 0 are all the multiplications in this example. The argument info includes the scheduling information of the public transportation vehicle. Correspondingly, U1—U2 → U 3 include the instantiation of the operation prototypes IC-1 and 0-C-2 on the present agent and info: U 1 in this example The query request A of II includes the query operation I_C_A-1, 01 based on the operation prototype I_C_1 on the agent and info of the present example, and the swap information T of the operation prototype 0_C_2 based on the agent and info in the present example 0_C -T_2 ; U2, the query operation Q of 12 includes the query operation ICQK 02 based on the operation prototype I_C_1 on the present agent and info. The swap information T includes the storage operation 0 based on the operation prototype 0_C_2 on the agent and info in this example. -CS-2; 13 of this example Off manipulation common networking device 12 receives and displays the results of the query; examples the following description, no specific explanation of this is meant to include a transducer and transducer into a plurality of operations of operation of the prototype "instance"of;
36, 考虑一个候车、 上车都参加交换的乘客, 该乘客要发布自己的计划乘车信息, 同时, 想知道适合其计划乘车信息的上游公交车辆的运行信息和调度信息, 而后, 在乘上公交车辆 时, 该乘客还向公交信息异步交换中心反馈其实际上车信息; 对该乘客, 适用组合 (IU0) →0, 由一个并联组合模块 IU0与一个所述换出操作 0按串联方式组合而成, 具体过程包括 (U1—U2—U3) → (01—02); 全过程涉及的 I和 0的变元 agent是本实例中的乘客, 对 应地, 乘客开始候车时启动第一个阶段( U 1→ U 2→ U 3), 变元 info包括本实例中乘客的计 划乘车信息, 本阶段 (IU0) 包括操作原型 I-P-l、 I-P-2, 0-P-l在本实例 agent和本阶段 info上的实例化; 当所述乘客乘上公交车辆时开始第二个阶段 (01—02), 变元 info包括本 实例中乘客的实际上车信息, 本阶段 01—02包括操作原型 0-P-2在本实例 agent和本阶段 info上的实例化;  36. Consider a passenger who is waiting to be exchanged and boarding the bus. The passenger is required to publish his own planned ride information. At the same time, he wants to know the operation information and dispatch information of the upstream public transport vehicle suitable for his planned ride information. When the bus is on the bus, the passenger also feeds back the actual car information to the bus information asynchronous exchange center; for the passenger, the applicable combination (IU0) → 0, by a parallel combination module IU0 and one of the swapping operations 0 in series Combined, the specific process includes (U1 - U2 - U3) → (01 - 02); the variable agent of I and 0 involved in the whole process is the passenger in this example, correspondingly, when the passenger starts to wait, the first one is started. Stage (U 1 → U 2 → U 3), the argument info includes the planned ride information of the passenger in this example, this stage (IU0) includes the operation prototype IPl, IP-2, 0-Pl in this example agent and this stage Instantiation on info; when the passenger gets on the bus, the second phase (01-02) is started. The argument info includes the actual car information of the passenger in this example. This stage 01-02 includes the operation. 0-P-2 type instantiated agent in the present example and the present stage of the info;
37, 考虑一个在运行状态参加交换的司乘, 该司乘操控本公交车辆每次停靠车站, 要发 布本公交车辆的运行信息, 同时还想知道计划在本公交车辆各剩余车站候车的下游乘客的候 车信息; 对该司乘, 适用组合 (IU0) → (IU0) ―…(IU0), 具体过程包括 (U1—U2 →U3)—…一(U1→U2→U3), 这是对并联组合模块 IU0的若干次串联循环; 全过程涉 及的 I和 0的变元 agent的值都是本实例中的司乘, 所述司乘开始运行本公交车辆时, 启动 第一阶段(U1—U2—U3), 变元 info包括本实例中本公交车辆当前运行信息, 本阶段( U 1→U2→U3)包括操作原型 I_C-3、 0-C-1在本实例 agent和本阶段 info上的实例化; 当所 述司乘停靠下一个车站时, 启动第二阶段, 变元 info包括本实例中以该下一个车站为停靠车 站的本公交车辆当前运行信息, 本阶段( U 1→ U 2→ U 3)包括操作原型在本实例 agent和本 阶段 info上的实例化; 每停靠一个车站, 重复前述过程, 这个过程直到本公交车辆到达终点 站后结束; 在每一阶段, 所述司乘查询了公交信息, 公交信息异步交换中心收集到了本公交 车辆的运行信息; 38, 考虑一个候车时不断刷新查询请求的乘客, 该乘客要发布自己的计划乘车信息, 想 知道适合其计划乘车信息的上游公交车辆的运行信息和调度信息, 当等车时间过长或者查询 返回的结果中信息量过少时, 该乘客在等车过程中不定时地刷新原来的查询请求; 对该乘客, 适用组合(I U 0)→1→〜→1, 过程具体包括(U 1—U 2—U 3 )→ ( I 1— I2—I3 )—…一(I I — 12—13), 这是图 2中一个并联组合模块 I U 0, 与图 1中换入操作 I的若干次串联循环的 串联; 全过程涉及的 I和 0的变元 agent都是本实例中的乘客, 对应地, 所述乘客开始候车 时, 启动第一阶段 (U 1—U 2—U 3 ), 变元 agent包括本实例中乘客的计划乘车信息, 本阶 段 U 1→ U 2→ U 3包括操作原型 I-P-l、 I-P-2、 0-P-l在本实例和本阶段 info上的实例化; 当本实例 agent要首次刷新第一阶段的查询请求时, 启动第二阶段( Π→Ι2→Ι3),变元 info 包括本实例中乘客在第一阶段的计划乘车信息, 本阶段 I 1— I2—I3 包括操作原型 I-P-l、 I-P-2在本实例 agent和 info上的实例化 (与第一阶段的实例化结果相同); 以后, 每当本 实例中乘客要刷新原来的查询时, 重复第二阶段的交换过程; 37. Consider a passenger who participates in the exchange in the running state. The division controls the bus every time it stops at the station, and wants to release the operation information of the bus. At the same time, it also wants to know the downstream passengers who are planning to wait at the remaining stations of the bus. Waiting information; For the division, apply the combination (IU0) → (IU0) ―...(IU0), the specific process includes (U1—U2 → U3)—... one (U1→U2→U3), which is the parallel combination Several serial cycles of module IU0; the values of the variable agents of I and 0 involved in the whole process are the multiplications in this example, and when the driver starts to run the bus, the first phase is started (U1—U2— U3), the argument info includes the current operation information of the public transportation vehicle in this example, and this stage (U 1→U2→U3) includes an example of the operation prototype I_C-3, 0-C-1 in the present example agent and this stage info. When the division stops at the next station, the second phase is started, and the argument info includes the current operation information of the public transportation vehicle with the next station as the stop station in this example, this stage (U 1→ U 2→ U 3) includes the operation prototype in this example age Nt and instantiation on this stage of info; each time a station is docked, the foregoing process is repeated, and the process ends until the bus arrives at the terminal; at each stage, the division inquires about the bus information, the bus information asynchronous exchange center Collected information on the operation of the bus; 38. Consider a passenger who constantly refreshes the inquiry request while waiting for the passenger. The passenger wants to publish his own planned ride information, and wants to know the operation information and dispatch information of the upstream public transport vehicle suitable for his planned travel information, when the waiting time is too long or When the amount of information returned by the query is too small, the passenger refreshes the original inquiry request from time to time while waiting for the vehicle; for the passenger, the combination (IU 0)→1→~→1 is applied, and the process specifically includes (U 1 - U 2—U 3 )→ ( I 1—I2—I3 )—... one (II — 12—13), which is a parallel combination module IU 0 in FIG. 2, and several times in series with the operation I in FIG. The series of cycles; the variable agents of I and 0 involved in the whole process are all passengers in this example, and correspondingly, when the passenger starts to wait, start the first stage (U 1 - U 2 - U 3 ), the argument The agent includes the planned passenger information of the passenger in this example. At this stage, U 1 → U 2 → U 3 includes the instantiation of the operation prototypes IP1, IP-2, 0-Pl in this example and this stage info; To refresh the first stage of the query request for the first time, start the second stage Segment ( Π → Ι 2 → Ι 3), the argument info includes the planned passenger information of the passenger in the first stage in this example. In this stage, I 1 - I2 - I3 include the operation prototype IPl, IP-2 in this example agent and info Instantiation (same as the instantiation of the first phase); later, whenever the passenger in this example wants to refresh the original query, the second phase of the exchange process is repeated;
39, 考虑一个查询先于调度的调度员, 该调度员不断查询其关心的公交线路和方向上的 乘客候车信息和公交车辆运行信息, 直到可以决定并发布调度指令; 对该调度员, 适用组合 1→1→〜→0, 过程包括 (I 1— I2—I3 ) → ( I 1— I2—I3 )—…一(01—02), 一个公交信息 换入操作 I经过若干次串联循环, 最后串联一个换出操作 0; 全过程涉及的交换操作 I和 0 的 agent都是本实例中的调度员, 在调度员开始查询其关心的线路和方向的运行状况时, 启 动第一阶段 (Π→Ι2→Ι3), 变元 info包括本实例中调度员要查询的公交线路和方向, 本阶 段 I 1— I2—I3包括操作原型 I-D-1和 I-D-2在本实例 agent和本阶段 info上的实例化; 当 本实例中调度员要刷新第一阶段的查询请求, 则启动第二阶段的操作, 第二阶段的操作完全 重复第一阶段的操作; 以后每次要刷新查询请求时, 重复第二阶段的操作; 当本实例中调度 员认为可下达所查询的线路和方向上的调度指令时, 启动最后一个阶段(01—02),变元 info 包括本实例中调度员下达的调度指令包含的调度信息,本阶段 01—02包括操作原型 0-D-1在 本实例 agent和本阶段 info上的实例化;  39. Consider a dispatcher who precedes the dispatch, and the dispatcher continuously queries the passenger waiting information and the bus running information of the bus line and direction concerned, until the dispatching instruction can be determined and issued; 1→1→~→0, the process includes (I 1 - I2 - I3 ) → ( I 1 - I2 - I3 ) - ... one (01 - 02), a bus information exchange operation I after several series cycles, and finally Connect a swap out operation 0; the agents involved in the exchange operations I and 0 in the whole process are the dispatchers in this example. When the dispatcher starts to query the running status of the line and direction of interest, the first stage is started (Π→ Ι2→Ι3), the argument info includes the bus route and direction to be queried by the dispatcher in this example. In this stage, I 1—I2—I3 includes the operation prototype ID-1 and ID-2 in the present example agent and this stage info. Instantiation; When the dispatcher in this example wants to refresh the query request of the first stage, the operation of the second stage is started, and the operation of the second stage completely repeats the operation of the first stage; When the request is requested, the second stage operation is repeated; when the dispatcher in this example considers that the scheduling instruction in the line and direction to be queried can be released, the last stage (01-02) is started, and the argument info includes the scheduling in this example. The dispatching information contained in the dispatching instruction issued by the member, this stage 01-02 includes the instantiation of the operating prototype 0-D-1 in the present example agent and the present stage info;
310,考虑一个候车、上车、乘车都参加交换的乘客,该乘客要发布自己的计划乘车信息, 计划乘车信息还包括计划下车车站, 同时, 想知道适合其计划乘车信息的上游公交车辆的运 行信息和调度信息, 而后, 该乘客还在乘上公交车辆时, 向公交信息异步交换中心反馈其实 际上车信息, 该乘客在继续乘坐公交车辆过程中, 每停靠一个车站就向公交信息异步交换中 心反馈一次实际乘车信息, 直到计划下车车站为止; 对该乘客, 适用组合(I U 0) →0→〜→ 0, 由一个并联组合模块 I U 0与一个所述换出操作 0的串联循环, 按串联方式组合而成; 具 体过程包括 (U 1—U 2—U 3 ) → ( 01—02 )—…一(01—02), 全过程涉及的换入操作 I和 换出操作 0的变元 agent的值都是本实例中的乘客, 对应地, 所述乘客开始候车时启动第一 个阶段( U 1→ U 2→ U 3), 变元 info包括本实例中乘客的计划乘车信息, 本阶段( U 1→ U 2 →U 3 ) 包括操作原型 I-P-l、 I-P-2, 0-P-l在本实例的 agent和本阶段 info上的实例化, 所述乘客查询了公交信息; 当所述乘客乘上公交车辆时开始启动第二个阶段(01—02), 变元 info 包括本实例中乘客的实际上车信息, 本阶段 01—02 包括操作原型 0-P-2 在本实例的 agent和本阶段 info上的实例化; 当所述乘客上车后该公交车辆首次停靠车站时, 开始第三 个阶段(01—02), 变元 info包括本实例中乘客的实际乘车信息, 本阶段 01—02包括操作原 型 0-P-3在本实例的 agent和本阶段 info上的实例化; 在所述乘客下车前, 所乘公交车辆每 次停靠车站, 变元 info包括本实例中乘客的当前实际乘车信息, 该阶段 01—02包括操作原 型 0-P-3在本实例的 agent和当前阶段 info上的实例化;公交信息异步交换中心在第二阶段 收集到了所述计划乘车信息, 从第三阶段开始逐次收集到了所述实际上车信息和实际乘车信 息。 310. Consider a passenger who is waiting to be exchanged, boarding, or boarding. The passenger is required to release his own planned ride information. The planned ride information also includes the planned drop-off station. At the same time, he wants to know the suitable ride information. The operation information and dispatch information of the upstream public transportation vehicle, and then the passenger is still feeding back the actual vehicle information to the bus information asynchronous exchange center while riding the bus, and the passenger stops at a station while continuing to take the bus. Returning the actual ride information to the bus information asynchronous exchange center until the scheduled drop-off station; for the passenger, the combination (IU 0) →0→~→ 0 is applied, and the parallel combination module IU 0 is swapped out with one The series cycle of operation 0 is combined in series; the specific process includes (U 1 - U 2 - U 3 ) → ( 01 - 02 ) - ... one (01 - 02), the whole process involves the swap operation I and The value of the argument agent that swaps out operation 0 is the passenger in the present example, and correspondingly, the passenger starts the first phase (U 1 → U 2 → U 3) when the vehicle starts to wait, and the argument info includes In this example, the passenger's planned ride information, this stage (U 1 → U 2 → U 3 ) includes the operation prototype IP1, IP-2, 0-Pl instantiation on the agent of this example and the present stage info, The passenger inquired about the bus information; when the passenger took the bus, the second phase (01-02) was started. The argument info included the actual car information of the passenger in this example. This stage 01-02 includes the operation prototype 0 -P-2 instantiation on the agent of this example and this stage info; when the passenger gets on the bus for the first time after the passenger gets on the bus, the third stage (01-02) is started, and the argument info includes this example. The actual passenger information of the passengers, this stage 01-02 includes the operation prototype 0-P-3 in the agent of this example and the instantiation of this stage info; before the passenger gets off the bus, the bus stops each time The station, the argument info includes the current actual ride information of the passenger in this example, and the stage 01-02 includes the instantiation of the operation prototype 0-P-3 in the agent of the present example and the current stage info; the bus information asynchronous exchange center is The second stage collects the planned ride information. From the third stage, the actual vehicle information and the actual travel information are collected one by one. Interest.
另外, 在本实施例的实例 32-37、 310的异步交换过程中, 可以象实例 38、 39那样, 在 某些必要的环节加入公交信息换入操作 I 自身串联的循环, 以满足相关的公交参与者刷新其 先前发出的公交信息查询请求。  In addition, in the asynchronous exchange process of the examples 32-37, 310 of the embodiment, as in the examples 38 and 39, the bus information can be exchanged into the series of the operation I itself in some necessary steps to satisfy the relevant public transportation. Participants refresh their previously sent bus information query request.
另外, 本发明实施例为减轻公交参与者的交互负担, 降低交互操作的工作量和复杂度, 可以对引用的图 1、 2的步骤 I I、 13、 01、 U K U 3, 由所述通用联网设备提供一个预先设 计好的交互界面; 这里以公交车辆司乘为例, 来说明交互界面的作用; 为司乘提供的交互界 面包括第一和第二显示屏幕; 所述第一显示屏幕可同时显示, 图 3中实例 35适用的并联组合 模块 I U 0的步骤 U l、 U 3, 及实例 37适用的组合 (I U 0)—…一(I U 0) 的每一个阶段中 的步骤 U 1或 U 3; 所述第一显示屏幕上, 一次可分页显示本公交车辆运行线路在一个方向上 的站列、 站次, 并为当前页上的每一个车站分配一块子显示区域; 所述第一显示屏幕还包括 一个查询按钮, 一个方向按钮、 一个解锁按钮和一个调度信息发送按钮; 每次按下所述方向 按钮, 所述第一显示屏幕将轮换显示该线路的下一个运行方向的站列、 站次, 最后一个运行 方向的下一个运行方向就是第一个运行方向; 按下调度信息发送按钮, 会弹出与本公交车辆 的当前方向有关的表单窗口, 该表单包含组合方式 I U 0实例化后的步骤 U 1 (该步骤由 01、 I I合并而成) 中, 属于 01的换出信息 0-C_T-2、 属于 I I的查询请求 I-C-A-1和 I_C_A-2, 司乘完成并发送该表单, 然后, 回到所述第一显示屏幕, 这时, 该调度信息发送按钮自动隐 去(切换一个新的运行方向时又重新显现), 进入运行状态下的公交信息交换模式(显示组合 ( I U 0)—…一(I U 0) 的过程); 与图 1中所述步骤 13对应, 所述通用联网设备接收从公 交信息异步交换中心返回的信息, 有关查询结果被自动分配到第一显示屏幕为各车站分配的 显示区域内; 在运行状态的公交信息交换模式下, 司乘在一个运行方向上, 首次发送信息查 询的初始状态是, 所述查询按钮放置在当前选定的运行方向上的首站; 若按下所述第一显示 屏幕上的解锁按钮, 则所述第一显示屏幕将在该线路的当前方向上, 除已经查询过的车站外 的每一个车站上分别设置一个查询按钮; 所述司乘运行的本公交车辆每停靠一个车站时, 所 述司乘按下第一显示屏幕中该停靠车站上的查询按钮, 转至所述第二显示屏幕;  In addition, in the embodiment of the present invention, in order to reduce the interaction burden of the bus participants and reduce the workload and complexity of the interaction operation, the universal networking device may be referenced to the referenced steps II, 13, 01, and UKU 3 of FIG. Providing a pre-designed interactive interface; here is an example of a bus vehicle ride to illustrate the role of the interactive interface; the interactive interface provided for the ride includes first and second display screens; the first display screen can be simultaneously displayed Steps U l, U 3 of the parallel combination module IU 0 applicable to the example 35 in FIG. 3, and steps U 1 or U 3 in each stage of the combination (IU 0) of the example 37 (IU 0) And displaying, on the first display screen, the station row and the station number of the bus running line in one direction at a time, and allocating a piece of sub-display area for each station on the current page; the first display screen Also includes a query button, a direction button, an unlock button, and a dispatch information sending button; each time the direction button is pressed, the first display screen will Change the station column and station number of the next running direction of the line. The next running direction of the last running direction is the first running direction. Press the dispatch information sending button, the pop-up will be related to the current direction of the bus. Form window, which contains the step U 1 after the combination mode IU 0 is instantiated (this step is merged by 01 and II), the swap information 0-C_T-2 belonging to 01, and the query request ICA-1 belonging to II And I_C_A-2, the master completes and sends the form, and then returns to the first display screen, at which time, the dispatch information sending button is automatically hidden (re-appears when switching a new running direction), enters the run Bus information exchange mode in the state (display process (IU 0) - ... one (IU 0) process); corresponding to step 13 described in FIG. 1, the universal networking device receives information returned from the bus information asynchronous switching center , the query result is automatically assigned to the display area allocated for each station on the first display screen; in the bus information exchange mode of the running state, In an operation direction, the initial state of the first information query is that the query button is placed in the first station in the currently selected running direction; if the unlock button on the first display screen is pressed, the first A display screen will be set in the current direction of the line, and each of the stations except the already inquired station is provided with a query button; when the bus is operated by the department, each time the station stops at the station, the division presses a query button on the docking station in the first first display screen, to the second display screen;
所述第二显示屏幕显示, 与以所述第一显示屏幕选择的车站为停靠车站有关的表单, 该 表单包含所述组合方式 (I U 0)—…一(I U 0) 的当前阶段步骤 U 1 中, 操作原型 o-c-1 的 换出信息 0-C-T-l、操作原型 I-C-3和 I-C-4的查询请求 I-C-A-3和 I-C-A-4; 所述公交参与 者通过所述第二显示屏幕, 完成所述查询请求表单的输入、 选择、 确认和发送, 然后, 回到 第一显示屏幕; 当接收到查询结果时, 有关查询结果被自动分配到相关车站的子显示区域, 所述查询按钮自动放置在当前被查询过的车站的下一个车站, 所述第一显示屏幕只保留一个 最近的被查询过的车站及剩余的未查询过的车站;  The second display screen displays a form related to the stop station selected by the station selected by the first display screen, the form including the current stage step U 1 of the combination mode (IU 0)-...one (IU 0) In the operation of the prototype oc-1, the exchange information 0-CT1, the operation prototypes IC-3, and the IC-4 query request ICA-3 and ICA-4; the bus participant completes the second display screen Entering, selecting, confirming, and sending the query request form, and then returning to the first display screen; when receiving the query result, the query result is automatically assigned to the sub-display area of the relevant station, and the query button is automatically placed in the The next station of the station currently being queried, the first display screen retains only one nearest station that has been queried and the remaining unqueried stations;
上述设计的交互界面可使公交信息异步交换的大部分操作由通用联网设备与公交信息异 步交换中心自动完成, 只有那些对司乘经常变动的换出公交信息或查询请求中的信息要素, 才需要司乘主动干预和输入, 这有效减轻公交参与者查询操作的负担和复杂度, 提高异步交 换的效率; 甚至, 在通用联网设备提供合适的交互界面的帮助下, 公交参与者甚至可以在同 类公交参与者的不同实例过程中自由选择,如上述界面集成了本实施例中的 2个交换实例 35、 37; 在流行的基于 android系统和 ios系统上的手机完全支持实现上述交互界面。  The interactive interface of the above design enables most of the operations of asynchronous exchange of bus information to be automatically completed by the universal networking device and the bus information asynchronous switching center, and only those information elements in the bus information or query request that are frequently changed by the manager are required. By taking the initiative to intervene and input, this effectively reduces the burden and complexity of the bus participant's query operation and improves the efficiency of asynchronous exchange; even, with the help of a universally connected device with a suitable interactive interface, the bus participants can even be in the same type of bus. The different instances of the participants are freely selected. For example, the above interface integrates two exchange instances 35 and 37 in this embodiment; the mobile phone based on the popular Android-based and iOS systems fully supports the above-mentioned interactive interface.
另外, 注意到图 1、 2中操作 I、 0、 I U 0的组合方式的多样性和现实公交活动的复杂性, 图 3并没有穷举所有可能的组合方式, 也没有穷尽所有的公交活动场景, 而是对主要的公交 参与者类型, 优选一些常见的公交活动场景, 选择相应的组合方式, 说明相应的公交信息异 步交换过程, 该优选实施例足以完成本发明的目的, 但这并不意味着本发明要求的权利保护 范围局限于图 3列举的实例所适用的交换操作的组合方式, 本发明要求权利保护范围包括, 由公交信息的所述换出操作和所述换入操作按任意方式组合, 形成公交信息异步交换过程, 并完成公交信息查询任务和收集任务; In addition, note the diversity of the combination of operations I, 0, IU 0 in Figure 1, 2 and the complexity of the actual bus activity. Figure 3 does not exhaust all possible combinations, and does not exhaust all bus activities. But for the main types of bus participants, preferably some common bus activity scenarios, select the corresponding combination mode, and explain the corresponding bus information asynchronous exchange process, the preferred embodiment is sufficient to accomplish the purpose of the present invention, but this does not mean Rights protection required by the present invention The scope is limited to the combination of the switching operations applicable to the example enumerated in FIG. 3, and the scope of the claimed invention includes that the swapping operation of the bus information and the swapping operation are combined in any manner to form an asynchronous exchange of bus information. Process, and complete the bus information query task and collection task;
图 4示出了公交参与者自主控制所参与的公交信息异步交换过程的实施例; 在本实施例 中, 所述公交参与者根据参与的公交活动、 已经获知的公交信息、 对公交信息的需求, 从图 1中公交信息的换出操作 I、 换入操作 0和并联组合模块 I U 0中自主选择合适的交换操作; 所述公交参与者参与公交信息交换的步骤包括:  FIG. 4 shows an embodiment of the bus information asynchronous exchange process in which the bus participant autonomously controls participation; in this embodiment, the bus participant according to the involved bus activity, the learned bus information, and the demand for the bus information From the swap operation I, the swap-in operation 0 and the parallel combination module IU 0 of the bus information in FIG. 1 , the appropriate exchange operation is selected autonomously; the steps of the bus participant participating in the bus information exchange include:
41 , 开始阶段, 为公交信息异步交换做准备, 包括公交参与者打开其操控的通用联网设 备, 登陆公交信息异步交换中心并与之建立连接, 识别和确认公交参与者的类型和会员身份;  41. In the initial stage, prepare for the asynchronous exchange of public transportation information, including the public transportation device to open the public networking equipment controlled by the public transportation, log in and establish a connection with the public information exchange center, and identify and confirm the type and membership of the public transportation participant;
42, 所述通用联网设备为公交参与者提供换入操作 I、 换出操作 0、 并联组合模块 U的三 个选项, 所述公交参与者根据自己的需要, 选择其中一项;  42. The universal networking device provides three options for the bus participant to perform the swap operation I, the swap out operation 0, and the parallel combination module U, and the bus participant selects one according to his own needs;
43, 对 42中选定的操作 I、 0或 U, 按照在图 1中对应的过程, 执行相应的操作过程, 并记录本次操作;  43, for the selected operation I, 0 or U in 42, according to the corresponding process in Figure 1, the corresponding operation process is performed, and the operation is recorded;
44, 当完成 43的操作后, 公交参与者决定是否继续; 当决定继续时, 转至 42, 当决定 结束当前公交信息异步交换过程时, 则转至 45;  44, when the operation of 43 is completed, the bus participant decides whether to continue; when the decision is continued, go to 42, when it is decided to end the current bus information asynchronous exchange process, then go to 45;
45, 所述通用联网设备根据 43保存的公交信息异步操作记录, 判断本轮公交信息异步交 换过程是否完整, 完整的异步交换过程至少执行一次换入操作 I和一次换出操作 0 (并联组 合模块包含了所述换入操作和所述换出操作, 属于完整的异步交换过程), 若是完整的过程, 则转至 48, 若不是完整的过程, 则转至 46;  45. The universal networking device performs an asynchronous operation record according to the saved public transportation information, and determines whether the asynchronous exchange process of the current public transportation information is complete. The complete asynchronous switching process performs at least one switching operation I and one switching operation 0 (parallel combination module). Including the swap-in operation and the swap-out operation, belonging to the complete asynchronous exchange process), if it is a complete process, then go to 48, if not the complete process, then go to 46;
46, 所述通用联网设备提醒公交参与者, 本轮异步交换过程缺少 45中发现的某种换出操 作或换入操作;  46. The universal networking device reminds the bus participant that the current round of asynchronous exchange process lacks some sort-out operation or swap-in operation found in 45;
47, 公交参与者决定是否准备执行 46中提醒的换出操作或换入操作, 若是, 则转至 42, 若否, 则转至 48; 可对长期参与不完整公交信息异步交换的公交参与者给予一定的限制, 如 一定时间内允许连接的次数不超过一个上限等;  47, the bus participant decides whether to prepare for the swap-out operation or the swap-in operation of the reminder in 46, if yes, go to 42, if not, go to 48; can be a bus participant who can participate in the asynchronous exchange of incomplete bus information for a long time. Give certain restrictions, such as the number of connections allowed within a certain period of time does not exceed an upper limit;
48, 结束本轮公交信息异步交换过程;  48, ending the asynchronous exchange process of the current bus information;
另外, 本发明实施例的步骤 43中, 可采用第一实施例定义的公交信息换入操作和换出操 作的操作原型, 为所述公交参与者提供更具体的选项; 具体步骤包括:  In addition, in step 43 of the embodiment of the present invention, the operational prototype of the bus information exchange operation and the swap-out operation defined in the first embodiment may be used to provide more specific options for the bus participant; the specific steps include:
431, 所述通用联网设备把储存的会员标识信息, 赋给变元 agent , 作为以后步骤中所有 操作原型的 agent的信息内容;  431. The universal networking device assigns the stored member identification information to the variable agent as the information content of the agent of all the operation prototypes in the later steps;
432, 根据储存的静态资料, 所述通用联网设备引导该公交参与者提供变元 info的信息 内容; 若所述公交参与者是一位乘客, 所述通用联网设备则向所述公交参与者提供确定变元 info信息内容的三种选项: 计划乘车信息、 实际上车信息或实际乘车信息, 若是一位司乘, 则提供确定 info信息内容的两种选项: 公交车辆运行信息和公交调度信息, 若是一位公交站 场调度员, 则提供确定 info信息内容的两种选项: 公交车辆调度信息、 该调度员关心的公交 线路和方向; 所述通用联网设备根据所述公交参与者的选择, 进一步提供帮助所述公交参与 者输入相关 info信息内容的表单;  432. The universal networking device directs the bus participant to provide information content of the argument info according to the stored static data. If the bus participant is a passenger, the universal networking device provides the bus participant with Three options for determining the content of the variable info: planning the ride information, the actual vehicle information or the actual ride information, if it is a ride, provide two options for determining the content of the info information: bus operation information and bus schedule Information, if it is a bus stop dispatcher, provides two options for determining the content of the info information: bus dispatch information, bus routes and directions that the dispatcher cares about; the universal connected device is selected according to the bus participant Further providing a form for assisting the bus participant to input relevant info information content;
433, 所述通用联网设备得到 info信息内容后, 向所述公交参与者提供相关的交换操作 原型的选项:当变元 agent是一个乘客,变元 info包括计划乘车信息时,提供操作原型 I_P_1 至 I-P-3、 0-P-1等 4个选项; 当变元 agent是一个乘客, 变元 info包括实际上车信息或实 际乘车信息时, 提供操作原型 0-P-1等 1个选项; 当变元 agent是一个司乘, 变元 info包括 公交车辆运行信息时, 提供操作原型 I_C-3、 I-C_4、 0-C-l等 3个选项; 当变元 agent是一 个司乘, 变元 info包括公交车辆调度信息时, 提供操作原型 I_C-1、 I-C_2、 0-C-2等 3个选 项; 当变元 agent是一个公交站场调度员, 变元 info包括公交车辆调度信息时, 提供操作原 型 I-D-l、 I-D-2、 0-C-l等 3个选项; 当变元 agent是一个公交站场调度员, 变元 info包括 该调度员关心的公交线路和方向时,提供操作原型 I_D-1、 I-D-2等 2个选项;每一种情形下, 所述公交参与者可以选其中的一项或多项; 433. After obtaining the info information content, the universal networking device provides the bus participant with an option of exchanging an operation prototype: when the argument agent is a passenger, and the argument info includes planning the ride information, providing the operation prototype I_P_1 4 options to IP-3, 0-P-1, etc.; When the argument agent is a passenger, the argument info includes the actual vehicle information or the actual ride information, and provides an operation prototype 0-P-1 and other options. When the argument agent is a multiplication, the argument info includes the bus vehicle operation information, and provides three options of operation prototypes I_C-3, I-C_4, 0-Cl, etc.; when the argument agent is a multiplication, the argument When info includes bus dispatching information, it provides three options for operation prototypes I_C-1, I-C_2, 0-C-2, etc. When the argument agent is a bus stop dispatcher, the argument info includes bus dispatch information, and provides three options: operation prototype ID1, ID-2, 0-Cl, etc.; when the argument agent is a bus stop The dispatcher, when the argument info includes the bus route and direction that the dispatcher cares about, provides two options of operation prototypes I_D-1, ID-2, etc.; in each case, the bus participant can select one of the options. Or more than one;
434, 对 433中所述公交参与者选择的操作原型在相应的变元 agent和 info上进行实例 化: 所述通用联网设备发送交换请求, 所述交换请求包括基于本实例中 agent和 info的信息 内容的所选操作原型的查询请求 A和 /或用于换出的公交信息 T, 公交信息异步交换中心接收 所述交换请求, 从中析出所述基于本实例中 agent和 info的信息内容的查询请求 A和 /或用 于换出的公交信息 T, 执行所选操作原型中相应的基于本实例中 agent和 info的信息内容的 查询操作 Q和 /或储存操作 S, 若有查询结果, 则向所述通用联网设备返回查询结果, 所述通 用联网设备接收并显示查询结果。  434. The operation prototype selected by the bus participant in the 433 is instantiated on the corresponding argument agent and info: the universal networking device sends an exchange request, and the exchange request includes information based on the agent and the info in the example. The query request A of the selected operation prototype of the content and/or the bus information T for swapping out, the bus information asynchronous exchange center receives the exchange request, and extracts the query request based on the information content of the agent and the info in the example A and/or bus information T for swapping out, performing a corresponding query operation Q and/or a storage operation S based on the information content of the agent and info in the example of the selected operation prototype, and if there is a query result, The universal networking device returns a query result, and the universal networking device receives and displays the query result.
本发明实施例与图 3示出的第一实施例, 分别代表了设计公交信息异步交换流程的两种 思路: 公交参与者自主的流程和预先规定好的流程, 它们各有一定的使用范围; 本实施例给 予公交参与者参与公交信息异步交换充分的自主性, 适用于参与公交活动不十分规则的公交 参与者; 注意到图 4示出的实施例中, 每次完成一个操作总要回到 42, 这会产生额外的操作 负担; 要有效利用公交信息异步交换操作的自主性, 就需要公交参与者对交换操作本身有更 多的耐心, 了解自己参与的公交活动与公交信息的基本换出操作和换出操作的适应关系, 这 对一部分公交参与者相对容易, 如公交调度员, 对另一部分公交参与者来说不一定适合; 对参与公交活动的程序相对固定、 过程相对短暂而定期重复性高的公交参与者, 采用预 先规定号的流程可能更合适, 例如, 对上班族的乘客来说, 每次上班会在固定上车车站乘坐 固定的可乘线路, 查询公交信息和发布计划乘车信息几乎是一体的, 等车着急时刷新一下原 有查询, 乘上公交车辆后的反馈实际上车信息, 少数下车前还反馈实际乘车信息, 这些都是 自然的进程, 他们不会介入公交信息异步交换太过深入, 针对这样的公交参与者采用图 3的 相关实例交换过程更合适。  The first embodiment of the present invention and the first embodiment shown in FIG. 3 respectively represent two ideas for designing an asynchronous exchange process for public transportation information: a process of autonomous participants of the bus and a predetermined process, each of which has a certain scope of use; This embodiment gives the bus participants sufficient autonomy to participate in the asynchronous exchange of bus information, and is suitable for bus participants who participate in the bus rules. The embodiment shown in FIG. 4 always returns to each operation. 42, this will create additional operational burden; to effectively use the autonomy of the asynchronous exchange operation of public transport information, the bus participants need to have more patience with the exchange operation itself, and understand the basic exchange of public transportation activities and public transportation information. The adaptation relationship between the operation and the swap-out operation is relatively easy for some bus participants, such as the bus dispatcher, which may not be suitable for another part of the bus participant; the procedure for participating in the bus activity is relatively fixed, the process is relatively short and the process is repeated periodically. For high-traffic bus participants, the process of using pre-defined numbers may be more appropriate Appropriate, for example, for commuter passengers, each time they go to work, they will take a fixed route at the fixed train station. The information on the bus and the information on the release plan are almost one. When the car is in a hurry, refresh the original. Inquiries, the feedback after taking the bus is actually the car information, and a few get the actual ride information before getting off the bus. These are natural processes, they will not intervene in the asynchronous exchange of bus information too deep, for such bus participants It is more appropriate to use the related example exchange process of Figure 3.
本发明的第一实施例中, 通过图 3示出的每一种实例中以图 1、 2为基础的操作按预定方 式组合而成的过程, 形成预定的公交信息异步交换过程; 在第二实施例中, 按照图 4所示的 步骤, 由公交参与者自主选择操作次序的公交信息异步交换过程; 每一个实施例都实现了前 述发明目的; 现有发达的互联网, 尤其是强大的移动通信网络, 为实现通用联网设备与公交 信息异步交换中心之间的通用连接方式提供足够的基础设施的支撑。  In the first embodiment of the present invention, the process of combining the operations based on FIGS. 1 and 2 in each of the examples shown in FIG. 3 in a predetermined manner forms a predetermined bus information asynchronous exchange process; In the embodiment, according to the steps shown in FIG. 4, the bus operator asynchronously selects the bus information asynchronous exchange process of the operation order; each embodiment realizes the foregoing object of the invention; the existing developed Internet, especially the powerful mobile communication The network provides sufficient infrastructure to support the universal connection between the universal networked equipment and the bus information asynchronous switching center.
本发明中公交信息查询方法的第三实施例中, 由乘客、 公交车辆司乘组成的公交参与者 之间进行公交信息的异步交换, 实现查询和收集公交信息的功能; 图 5、 图 6、 图 7分别示出 了乘客和司乘参加公交信息异步交换的过程, 都采用图 2所示的并联组合模块; 本实施例中, 乘客想知道关于上游发车、 各站来车、 候车乘客的最新信息, 所述公交车辆司乘想知道关于 同线路同方向的其它公交车辆的运行状况和下游乘客候车状况的最新信息; 公交信息异步交 换中心预先建立乘客候车信息集合(PW)、 司乘源的公交车辆调度信息集合(CD)和司乘源的 公交车辆运行信息集合(CR), 用于分别准备储存乘客发送的计划乘车信息、 公交车辆司乘发 送的公交车辆调度信息和运行信息, 每一个信息集合中数据组织方式、 包含的字段与第一实 施例中同名的信息集合相同;  In the third embodiment of the method for inquiring the public transportation information in the present invention, the public transportation of the passengers and the bus passengers is used to perform the asynchronous exchange of the public transportation information, thereby realizing the function of inquiring and collecting the public transportation information; FIG. 5 and FIG. Figure 7 shows the process of asynchronous exchange of passengers and passengers in bus information, respectively, using the parallel combination module shown in Figure 2. In this embodiment, the passenger wants to know the latest about the upstream departure, the arrival of each station, and the waiting passengers. Information, the bus and vehicle department wants to know the latest information about the operation status of other public transportation vehicles in the same direction of the same line and the waiting status of the downstream passengers; the bus information asynchronous exchange center pre-establishes the passenger waiting information set (PW) and the source of the passengers. The bus vehicle dispatching information set (CD) and the scaffolding bus operation information set (CR) are used to separately store the planned passenger information transmitted by the passenger, the bus vehicle dispatching information and the running information transmitted by the bus driver, each A data organization manner in a message set, a field included, and a letter of the same name in the first embodiment Same set;
图 5示出了在本发明中公交信息查询方法的第三实施例中, 所述乘客参与公交信息异步 交换的步骤, 包括:  FIG. 5 is a diagram showing the steps of the passengers participating in the asynchronous exchange of bus information in the third embodiment of the method for inquiring the bus information in the present invention, including:
51, 所述乘客乘车前通过其操控的通用联网设备, 向公交信息异步交换中心发送公交信 息交换请求, 所述交换请求包括该乘客的查询请求和当时的计划乘车信息; 所述乘客当时的 计划乘车信息中, 用计划多长时间以后到达上车站, 代替所述约定信息内容中的计划到达上 车站时刻, 计划多长时间以后到达上车站的默认值是 0, 由所述乘客操控的通用联网设备自 动提供, 所述乘客可修改; 所述乘客的查询请求要求返回, 关于适合该乘客的计划乘车信息、 有可能与所述乘客建立搭乘关系的公交车辆的调度信息, 关于适合该乘客的计划乘车信息、 在到达终点站前有可能与所述乘客建立搭乘关系的在途公交车辆的运行信息, 及等待乘坐相 同线路公交车的上游乘客人数; 51. The passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device controlled by the passenger before riding, the exchange request including the passenger's inquiry request and the planned travel information at the time; of In the planned ride information, how long does it take to arrive at the station after the schedule, instead of the schedule in the agreed information content, arrive at the station time, and the planned default time after arriving at the station is 0, which is controlled by the passenger. a universally-connected device is provided automatically, the passenger can be modified; the passenger's inquiry request is required to return, and the scheduled travel information suitable for the passenger, the dispatching information of the public transportation vehicle that is likely to establish a riding relationship with the passenger, The passenger's planned ride information, the operational information of the on-going bus that may establish a boarding relationship with the passenger before reaching the terminal, and the number of upstream passengers waiting for the same line bus;
52, 公交信息异步交换中心响应所述乘客提交的公交信息交换请求, 进行多项操作, 主 要包括 521-523 :  52. The bus information asynchronous exchange center performs a plurality of operations in response to the bus information exchange request submitted by the passenger, and mainly includes 521-523:
521, 所述公交信息异步交换中心, 从所述乘客操控的通用联网设备接收所述公交信息交 换请求, 从中析出关于该乘客的查询请求和计划乘车信息的内容, 以交换请求的接收时间为 基准, 利用析出的计划多长时间后到达上车站的数据, 计算该乘客计划到达上车站时刻; 521, the bus information asynchronous switching center receives the bus information exchange request from the passenger-controlled universal networking device, and extracts content about the passenger's inquiry request and planned passenger information, so that the receiving time of the exchange request is Benchmark, using the data of how long the precipitated plan arrives at the station, and calculating the time when the passenger plan arrives at the station;
522, 根据 521中析出的查询请求, 在相关信息集合上查询相关的公交信息, 把相应的查 询结果返回给所述乘客操控的通用联网设备; 522. Query, according to the query request that is extracted in 521, query related bus information on the related information set, and return the corresponding query result to the universal networking device controlled by the passenger;
所述在相关信息集合上查询相关的公交信息包括: 对所述乘客的每一条计划乘车线路和 方向, 在 CD、 CR、 PW上实施如下查询: 从所述 CD中查找, 包含的线路与所述乘客的计划乘 车线路相同、 不同公交车辆的拟发车时刻最晚的信息条目, 从查找到的信息条目中选择包含 的方向与所述乘客计划乘车方向一致的信息条目, 从选择的信息条目中返回拟发车时刻较晚 的信息条目, 返回的数量不超过所述乘客的计划上车车站站次 (或加 1 ) 的二分之一; 从所 述 CR中查找, 包含的线路与所述乘客的计划乘车线路相同、不同公交车辆的进站时刻最晚的 运行信息条目, 从找到的信息条目中选择包含的方向与所述乘客的计划乘车方向一致、 包含 的车站站次不大于所述乘客的计划上车车站站次的信息条目, 从选择的信息条目中, 剔除包 含的车站与所述乘客计划上车车站相同、 且进站时刻早于所述乘客计划到达上车站时刻的运 行信息条目, 返回剩余的信息条目; 从所述 PW中查找, 包含的候车状态为候车中、 包含的线 路和方向分别与所述乘客的计划乘车线路和方向一致、 包含的计划上车车站站次不大于该乘 客计划上车车站站次的候车信息条目, 返回找到的信息条目的数量; 最后没有返回任何信息 时, 返回关于暂无符合要求的公交信息的消息;  The querying related bus information on the related information set includes: performing, for each planned route and direction of the passenger, the following query on the CD, CR, PW: searching from the CD, including the line and The information items of the passengers having the same planned bus route and the latest bus time of the different bus vehicles are selected from the found information items, and the information items including the direction corresponding to the passenger plan riding direction are selected from the selected information items. The information item returns an information item with a late departure time, and the returned quantity does not exceed one-half of the passenger's planned boarding station number (or plus 1); the search from the CR, the included line and The travel information item of the passenger with the same planned passenger route and the latest arrival time of the different public transportation vehicles, and the direction of the selected information item is selected to be consistent with the passenger's planned riding direction, and the included station number is included. An information item not larger than the passenger's planned boarding station station, and the included station and the passenger are excluded from the selected information item The planned on-board station is the same, and the pit stop time is earlier than the operation information entry of the passenger plan to arrive at the station time, and the remaining information items are returned; the PW is searched, and the waiting state included is the waiting line, the included line, and The direction is respectively consistent with the planned passenger route and direction of the passenger, and the planned on-board station station is not larger than the waiting information entry of the passenger planned boarding station station, and the number of found information items is returned; When the information is returned, return a message about the public transportation information that does not meet the requirements;
523, 整理和保存在 521中析出的所述乘客的计划乘车信息的内容: 把析出的计划乘车信 息中每一条计划乘车线路、 计划乘车方向、 计划到达上车站时刻及其它相关信息, 连同设定 为候车中的候车状态和所述交换请求的接收时间信息一起, 组合为一个候车信息条目, 汇总 不同线路的候车信息条目, 得到该乘客的一组候车信息条目, 存入所述 PW中;  523. Organize and save the content of the planned passenger information of the passenger deposited in 521: each planned travel route, the planned riding direction, the planned arrival time, and other related information in the planned planned ride information And together with the waiting state in the waiting state and the receiving time information of the exchange request, combined into one waiting information item, summarizing the waiting information items of different lines, obtaining a group of waiting information items of the passenger, and depositing the PW;
53, 所述乘客操控的通用联网设备接收并显示, 从所述公交信息异步交换中心返回的结 果;  53. The passenger-controlled universal networking device receives and displays the results returned from the bus information asynchronous switching center;
图 6示出了在本发明中公交信息查询方法的第三实施例中, 公交车辆司乘接收到调度指 令时, 参与公交信息异步交换的过程, 包括- Fig. 6 is a view showing a process of asynchronously changing the bus information when the bus vehicle division receives the dispatching instruction in the third embodiment of the bus information inquiring method of the present invention, including -
61 , 公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公交 信息交换请求,该交换请求包括该司乘在待发车状态下的查询请求和本公交车辆的调度信息, 该查询请求要求返回, 关于本公交车辆适合其计划乘车信息要求、 有可能与本公交车辆在发 车之后到达终点站之前建立搭乘关系的候车信息; 在所述本公交车辆的调度信息中, 用到拟 发车时刻的剩余时长代替约定信息内容的拟发车时刻, 该时长的默认值为 0, 由所述通用联 网设备自动提供, 所述司乘可修改; 61. The public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the universal networking device controlled by the public transportation vehicle, and the exchange request includes the inquiry request of the division in the state of waiting for the vehicle and the scheduling information of the public transportation vehicle. The query request is required to return, regarding the bus vehicle suitable for its planned ride information request, and may have a waiting relationship with the bus vehicle before reaching the terminal after the departure of the bus; in the scheduling information of the public transport vehicle, The remaining time of the intended departure time is used instead of the scheduled departure time of the agreed information content, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
62, 所述公交信息异步交换中心响应所述公交车辆司乘提交的交换请求, 进行多项操作, 包括 621-623 : 621 , 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收公交信 息交换请求, 从中析出所述司乘在待发车状态下的查询请求和本公交车辆调度信息的内容, 以交换请求的接收时间为基准, 利用析出的所述到拟发车时刻的剩余时长的数据, 计算该公 交车辆的拟发车时刻; 62. The bus information asynchronous switching center performs a plurality of operations, including 621-623, in response to the exchange request submitted by the bus and vehicle department. 621. The bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request of the department in the state of waiting for the vehicle and the content of the bus vehicle scheduling information. Calculating the planned departure time of the public transportation vehicle by using the data of the remaining time of the pre-departure time to be extracted based on the receiving time of the exchange request;
622, 根据 621中析出的所述司乘在待发车状态下的查询请求, 在相关信息集合上查询相 关的公交信息, 把相应的查询结果返回给所述公交车辆司乘操控的通用联网设备;  622, according to the inquiry request in the 621, the query request in the state of the vehicle to be launched, query the relevant public transportation information on the relevant information set, and return the corresponding query result to the universal networking device controlled by the public transportation vehicle;
所述在相关信息集合上查询相关的公交信息包括: 从所述 PW中查找, 包含的候车状态为 候车中、 包含的线路和方向分别与本公交车辆的调度线路和调度方向一致的候车信息条目, 从找到的信息条目中剔除包含的车站为首站、 包含的计划到达上车站时刻晚于拟发车时刻的 条目, 返回剩余的乘客候车信息条目;  The querying the related public transportation information on the related information set includes: searching from the PW, and the waiting state included is a waiting information item in the waiting mode, including the line and the direction respectively corresponding to the dispatching line and the scheduling direction of the public transportation vehicle. , excluding the included station as the first station from the found information item, including the item that arrives at the station on the train station at a later time than the scheduled departure time, and returns the remaining passenger waiting information items;
623, 整理和保存在 621中析出的调度信息: 把 621析出的本公交车辆的调度信息, 连同 接收时间信息, 组合为一个公交车辆调度信息条目, 存入所述 CD;  623, collating and saving the scheduling information precipitated in 621: combining the scheduling information of the public transportation vehicle that is separated by 621, together with the receiving time information, into a public transportation vehicle scheduling information item, and depositing the information into the CD;
63, 所述公交车辆司乘操控的通用联网设备接收并显示, 来自所述公交信息异步交换中 心返回的消息, 结束本轮公交信息查询;  63. The public transportation device controlled by the public transportation vehicle receives and displays the message returned from the asynchronous exchange center of the public transportation information, and ends the current round of public transportation information inquiry;
图 7示出了在本发明中公交信息查询方法的第三实施例中, 公交车辆司乘开始运行本公 交车辆, 每停靠一站时参与公交信息异步交换的过程, 包括:  Fig. 7 is a view showing a third embodiment of the method for inquiring the public transportation information in the present invention, in which the bus vehicle division starts to operate the public transportation vehicle, and participates in the asynchronous exchange of the public transportation information every time one station stops, including:
71, 公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公交 信息交换请求,所述交换请求包括所述司乘在运行状态下的查询请求和本公交车辆运行信息, 该查询请求包括要求返回, 关于本公交车辆适合其计划乘车信息要求、 有可能与本公交车辆 在到达终点站之前建立搭乘关系的候车信息, 关于与本公交车辆同线路和同方向的在途的其 它公交车辆的运行信息; 所述本公交车辆运行信息包含本公交车辆正在停靠或最近一次停靠 车站时的运行信息, 其中, 用进站时刻到当前时刻的时长代替约定信息内中的进站时刻, 时 长的默认值是 0, 由所述通用联网设备自动提供, 所述司乘可修改;  71. The bus vehicle department sends a bus information exchange request to the bus information asynchronous switching center by using a universal networking device controlled by the bus, and the exchange request includes the query request of the department in the running state and the operation information of the bus The inquiry request includes a request to return, a waiting information about the bus vehicle suitable for its planned ride information request, and possibly a ride relationship with the bus vehicle before reaching the terminal station, regarding the same route and the same direction in the same direction as the public transportation vehicle The operation information of the other public transportation vehicles; the operation information of the public transportation vehicle includes the operation information when the public transportation vehicle is stopping or the last time the parking station is stopped, wherein the time of entering the station to the current time is used instead of the inbound station in the agreement information. At the moment, the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
72, 所述公交信息异步交换中心响应所述公交车辆司乘提交的交换请求, 进行多项操作, 包括 721-723 :  72. The bus information asynchronous exchange center performs a plurality of operations, including 721-723, in response to the exchange request submitted by the bus and vehicle department.
721, 所述公交信息异步交换中心从所述公交车辆司乘操控的通用联网设备接收交换请 求, 从中析出所述司乘在运行状态下的查询请求和本公交车辆运行信息, 以所述司乘查询请 求的接收时间为基准, 利用析出的运行信息中包含的进站时刻到当前时刻的时长, 计算该公 交车辆的进站时刻;  721, the bus information asynchronous switching center receives an exchange request from the public networking device controlled by the bus vehicle department, and extracts the query request and the operation information of the public transportation vehicle in the running state, and uses the bus information to The receiving time of the query request is used as a reference, and the time of entering the bus is calculated by using the time of the inbound time included in the extracted running information to the current time;
722,根据 721中析出的运行状态下的查询请求,在相关信息集合上查询相关的公交信息, 把相应的查询结果返回给所述公交车辆司乘操控的通用联网设备;  722. Query the relevant public transportation information on the relevant information set according to the query request in the operating state that is extracted in 721, and return the corresponding query result to the universal networking device controlled by the public transportation vehicle;
所述在相关信息集合上查询相关的公交信息包括: 从所述 PW中查找并返回, 包含的候车 状态为候车中、 包含的线路和方向分别与本公交车辆的运行线路和运行方向一致、 包含的车 站的站次大于本公交车辆停靠车站站次的乘客候车信息条目; 从所述 CR查找, 包含的线路与 所述本公交车辆的线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息 条目中返回, 包含的方向与所述本公交车辆的运行方向一致的运行信息条目; 每一个信息集 合上最后返回的信息条目, 构成最终的查询结果; 最后没有返回任何信息条目时, 返回关于 暂无符合要求的公交信息的消息;  The querying the related public transportation information on the related information set includes: searching and returning from the PW, including the waiting state in the waiting mode, including the line and the direction respectively corresponding to the running line and the running direction of the public transportation vehicle, including The station number of the station is greater than the passenger waiting information entry of the bus station stop station station; from the CR search, the included route is the same as the bus line, and the latest running information of the different bus vehicles An entry, returned from the found information entry, containing an operation information entry that is in the same direction as the direction in which the bus is traveling; the last returned information item on each information set constitutes the final query result; no information is returned at the end When the entry is returned, a message is returned about the public transit information that does not meet the requirements;
723, 整理和保存在 721中析出的运行信息的内容, 更新 PW中已保存的候车信息条目: 根据 721中析出的内容, 把本公交车辆的唯一标识、 运行线路、 运行方向、 停靠车站及站次、 进站时刻、 乘车条件(可选), 连同接收时间信息, 组合为一个公交车辆运行信息条目, 存入 所述 CR, 同时, 在所述 PW中找出, 候车状态为候车中, 包含的线路、 方向和计划上车车站 与该新的运行信息条目包含的线路、 方向和车站相同, 包含的计划到达上车站时刻不晚于该 新的运行信息条目包含的进站时刻的候车信息条目, 把找出的候车信息条目涉及的乘客的候 车状态为候车中的所有候车信息条目 (含这些乘客的关于其它线路的候车信息条目) 的候车 状态更新为已上车 (或者, 更准确地, 可把这些乘客的关于本线路的候车信息条目的候车状 态更新为已上车, 关于其它线路的候车信息的候车状态更新为已乘上其它线路, 但不分线路 地统一更新为已上车的做法无损于对候车中的乘客查询); 723, organize and save the content of the running information extracted in 721, and update the saved waiting information entry in the PW: according to the content of the 721, the unique identification, running line, running direction, stop station and station of the public transport vehicle Times, the arrival time, the riding condition (optional), together with the receiving time information, are combined into one bus running information item, stored in the CR, and at the same time, found in the PW, the waiting state is waiting, Including the route, direction and plan to get on the bus station Same as the line, direction and station included in the new operation information entry, including the plan to arrive at the station no later than the waiting information entry of the inbound time included in the new operation information entry, and the identified waiting information entry is involved The waiting state of the passengers is that all the waiting information items in the waiting (including the waiting information items of the other passengers) are updated to be on board (or, more accurately, the passengers can be referred to the line) The waiting state of the waiting information item is updated to be on the train. The waiting status of the waiting information for other lines is updated to have been multiplied by other lines, but the unified updating of the waiting line without the line is not detrimental to the passengers in the waiting list. );
73, 所述公交车辆司乘操控的通用联网设备接收并显示, 来自所述公交信息异步交换中 心返回的信息, 结束本轮公交信息查询;  73. The public transportation device controlled by the public transportation vehicle receives and displays information returned from the asynchronous exchange center of the public transportation information, and ends the current public transportation information inquiry;
另外, 723中, 对所述 PW中乘客候车信息条目候车状态的更新条件, 体现了 "与本公交 车辆有当时可实现的搭乘关系", 这种直接更新乘客候车信息条目的方法, 比前述第一实施例 中每次查询候车状态为候车中的候车信息条目时检查所有的公交车辆运行信息, 减少很多不 必要的重复查询操作。  In addition, in 723, the update condition of the waiting state of the passenger waiting information item in the PW embodies "the riding relationship that can be realized at the time with the public transportation vehicle", and the method for directly updating the passenger waiting information item is the same as the foregoing In one embodiment, all the bus operation information is checked each time the inquiry waiting state is the waiting information item in the waiting car, and many unnecessary repeated query operations are reduced.
另外, 本实施例中, 采用本发明第一实施例中所述公交车辆司乘的交互界面, 来帮助完 成图 6、 图 7中涉及由所述司乘完成的交换操作, 所述司乘在图 6的 61, 63中的操作动作可 通过第一显示屏幕及调度信息发送按钮来完成, 所述司乘每停靠一个车站, 在图 7的 71、 73 中的操作动作可通过运行状态下的公交信息交换模式下的第一、 第二显示屏幕来完成。  In addition, in this embodiment, the interaction interface of the bus driver in the first embodiment of the present invention is used to help complete the exchange operation in FIG. 6 and FIG. 7 involving the completion of the multiplication. The operation actions in 61, 63 of FIG. 6 can be completed by the first display screen and the dispatch information transmission button, and the operation of each of the stations in the 71, 73 of FIG. 7 can be operated by the operation state. The first and second display screens in the bus information exchange mode are completed.
在本实施例中, 图 5、 图 6和图 7所示, 乘客与公交车辆司乘参与、 所述公交信息异步 交换中心居间代理的公交信息异步交换过程, 使公交信息查询服务免于配置专门的公交信息 源设备, 具有开放性, 服务信息多样化; 单就本实施例包含的乘客与司乘之间异步交换的位 置信息而言, 这种 "一方的查询本身就是他方的查询答案" 的信息交换具有对偶性; 以包含 公交信息异步对偶交换为特征的公交信息查询技术方案, 具有最高的公交信息查询效率, 使 得公交信息查询服务占用的资源最少。  In this embodiment, as shown in FIG. 5, FIG. 6 and FIG. 7, the passenger and the bus driver are involved in the bus information asynchronous exchange process of the bus information asynchronous exchange center intermediation agent, so that the bus information inquiry service is exempted from configuration The public transportation information source equipment is open and diversified in service information; in terms of the location information of the asynchronous exchange between the passenger and the squad included in the embodiment, the "one party query itself is the answer of the other party" The information exchange has duality; the public transportation information inquiry technology scheme featuring asynchronous dual exchange of public transportation information has the highest efficiency of public transportation information inquiry, so that the public transportation information inquiry service occupies the least resources.
本发明公交信息查询方法和收集方法的第四实施例的公交参与者只有乘客一种类型, 通 过乘客之间的公交信息异步交换, 来实现查询和收集公交信息的功能; 公交信息异步交换中 心建立乘客候车信息集合 (PW)、 乘客源的无标识公交车辆运行信息集合 (NPR) 和乘客源的 有标识公交车辆运行信息集合 (IPR), 这 3个信息集合用于分别准备储存乘客发送的计划乘 车信息、 无标识公交车辆的运行信息、 有标识公交车辆的运行信息, 每一个信息集合中数据 组织方式、 包含的字段与第一实施例中同名的信息集合相同; 本实施例中, 乘客想知道关于 上游各站来车状况; 图 8示出了按照本发明中公交信息查询方法的第四实施例的乘客参与公 交信息异步交换的步骤, 包括:  The public transportation participant of the fourth embodiment of the public transportation information inquiry method and the collection method of the present invention has only one type of passenger, and realizes the function of inquiring and collecting public transportation information through the asynchronous exchange of public transportation information between passengers; Passenger Waiting Information Set (PW), Unidentified Bus Vehicle Operation Information Set (NPR) for passenger sources, and identified Bus Vehicle Operation Information Set (IPR) for passenger sources. These three sets of information are used to separately prepare plans for storing passengers. The travel information, the operation information of the unidentified public transportation vehicle, and the operation information of the identified public transportation vehicle, the data organization manner and the included field in each information set are the same as the information collection of the same name in the first embodiment; in this embodiment, the passenger It is to be noted that the steps of the passengers participating in the bus information asynchronous exchange according to the fourth embodiment of the bus information inquiry method according to the present invention include:
81, 乘客通过其操控的通用联网设备, 向公交信息异步交换中心发送公交信息交换请求, 所述公交信息交换请求包括所述乘客的查询请求和该乘客当时的计划乘车信息;  81. The passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device that the passenger controls, and the bus information exchange request includes the passenger's inquiry request and the passenger's planned travel information at the time;
所述乘客当时的计划乘车信息中, 用计划多长时间以后到达上车站代替约定信息内容中 的计划到达上车站时刻, 该计划时长的默认值是 0, 由所述乘客操控的通用联网设备自动提 供, 所述乘客可修改; 所述乘客的查询请求包括, 要求返回关于适合该乘客的计划乘车信息、 在到达终点站前有可能与所述乘客建立搭乘关系的在途公交车辆的运行信息;  In the planned travel information of the passenger at the time, how long after the planned arrival time arrives at the upper station instead of the plan in the agreed information content, the default value of the planned duration is 0, and the universal networking device controlled by the passenger Provided automatically, the passenger may modify; the passenger's inquiry request includes, requesting to return information about the planned ride information suitable for the passenger, and the in-transit bus operation information that may establish a boarding relationship with the passenger before reaching the terminal ;
82, 公交信息异步交换中心响应所述乘客提交的公交信息交换请求, 进行多项操作, 主 要包括 821-823:  82. The bus information asynchronous exchange center performs a plurality of operations in response to the bus information exchange request submitted by the passenger, and mainly includes 821-823:
821, 所述公交信息异步交换中心从所述乘客操控的通用联网设备接收交换请求, 从中析 出所述乘客的查询请求和计划乘车信息的内容, 以所述乘客查询请求的接收时间为基准, 利 用析出的计划多长时间后到达上车站的数据, 计算该乘客计划到达上车站时刻;  821. The bus information asynchronous switching center receives an exchange request from the passenger-controlled universal networking device, and extracts the query request of the passenger and the content of the planned ride information, based on the receiving time of the passenger query request. Using the data of how long the precipitated plan arrives at the station, calculate the time when the passenger plan arrives at the station;
822, 根据 821中接收的乘客查询请求, 在相关信息集合上查询相关的公交信息, 把相应 的查询结果返回给所述乘客操控的通用联网设备; 822, according to the passenger inquiry request received in 821, query related public transportation information on the relevant information set, and correspondingly The result of the query is returned to the universal networked device operated by the passenger;
所述在相关信息集合上查询相关的公交信息包括: 对所述乘客的每一条计划乘车线路和 方向, 在所述 IPR、 NPR上实施如下查询: 从 IPR查找, 包含的线路与所述乘客的计划乘车线 路相同、 包含的不同公交车辆的实际上车时刻最晚的运行信息条目, 从找到的信息条目中选 择包含的方向与所述乘客的计划乘车方向一致、 包含的车站站次不大于所述乘客的计划上车 车站站次的信息条目, 从选择的信息条目中, 剔除包含的车站与所述乘客计划上车车站相同、 且实际上车时刻早于所述乘客计划到达上车站时刻的信息条目,返回剩余的信息条目;从 NPR 找出, 包含的线路和方向分别与所述乘客的计划乘车线路和方向一致、 包含的车站站次不大 于所述乘客的计划上车车站站次的信息条目, 从找出的信息条目中选择不同线路、 方向、 车 站的进站时刻最晚的运行信息条目, 对选择的每一个信息条目, 计算新鲜指数, 从选择的信 息条目中返回新鲜指数较大的运行信息条目, 返回的数量不超过该乘客的计划上车车站站次 (或加 1 ) 的二分之一; 每一个信息集合上执行查询的最后返回的信息条目构成所述乘客查 询请求的查询结果; 若从 NPR和 IPR中没有返回任何公交信息, 则返回关于暂无符合要求的 公交信息;  The querying the relevant public transportation information on the related information set includes: performing, for each of the passengers' planned travel routes and directions, performing the following query on the IPR and the NPR: searching from the IPR, including the line and the passenger The planned travel entry with the same bus route, including the actual bus time of the different bus vehicles, and the selected information entry is selected from the same direction as the passenger's planned ride direction, including the station stop An information entry that is not greater than the passenger's planned on-board station number, from the selected information item, the excluded station is the same as the passenger planned boarding station, and in fact the vehicle time is earlier than the passenger plan arrival The information item at the station time returns the remaining information items; from the NPR, the included route and direction are respectively consistent with the passenger's planned bus route and direction, and the included station number is not greater than the passenger's planned car. Information items at the station station, select the different routes, directions, and station arrival times from the found information items. The running information item, for each selected information item, calculates a fresh index, and returns a running information item with a fresh fresh index from the selected information item, and the returned quantity does not exceed the passenger's planned boarding station station (or plus 1) one-half; the last returned information item on each information set to execute the query constitutes the query result of the passenger query request; if no public transit information is returned from the NPR and IPR, then returning no relevant requirements Bus information;
823, 整理、 保存 821中析出和计算的计划乘车信息的内容: 从析出和计算的信息中, 把 每一条计划乘车线路、 计划乘车方向、 计划到达上车站时刻及相关信息, 连同设定为候车中 的候车状态和所述交换请求的接收时间信息一起, 组合为一个候车信息条目, 汇总不同计划 乘车线路和方向的候车信息条目, 得到该乘客的一组候车信息条目, 存入所述 PW中;  823, Organize and save the contents of the planned ride information for the precipitation and calculation in 821: From the information of the precipitation and calculation, set the route of each plan, the direction of the planned ride, the time of the planned arrival to the station, and related information. The waiting state in the waiting mode and the receiving time information of the exchange request are combined into one waiting information item, and the waiting information items of different planned riding routes and directions are summarized, and a group of waiting information items of the passenger are obtained and stored. In the PW;
83, 所述乘客操控的通用联网设备接收并显示, 从所述公交信息异步交换中心返回的结 果;  83. The passenger-controlled universal networking device receives and displays a result returned from the bus information asynchronous switching center;
84, 当所述乘客乘上公交车辆时, 通过所操控的通用联网设备向所述公交信息异步交换 中心反馈其实际上车信息, 用上车时刻到查询请求发送时刻的时长替代约定信息内容中的实 际上车时刻, 该时长的默认值是 0, 由所述通用联网设备自动提供, 所述乘客可修改;  84, when the passenger rides on the public transportation vehicle, feeds back the actual vehicle information to the public transportation information asynchronous exchange center through the controlled universal networking device, and replaces the agreed information content with the duration of the inquiry request sending time. Actual vehicle time, the default value of the time is 0, automatically provided by the universal networking device, the passenger can modify;
85, 所述公交信息异步交换中心接收、 整理和保存所述乘客反馈的实际上车信息, 更新 相关信息集合中的信息条目:所述公交信息异步交换中心接收所述乘客反馈的实际上车信息, 以所述实际上车信息的接收时间为基准, 利用实际上车信息中的上车时刻到查询请求发送时 刻的时长的数据, 计算该乘客实际上车时刻; 若该实际上车信息没有包含所乘公交车辆的唯 一标识, 则把实际上车线路、 实际上车方向、 实际上车车站、 实际上车时刻、 当时的乘车条 件 (可选), 与接收时间信息一起, 组合为一个公交车辆运行信息条目, 存入所述 NPR; 若该 实际上车信息包含所乘公交车辆的唯一标识, 则把实际上车线路、 实际上车方向、 实际上车 车站、 该公交车辆的唯一标识、 实际上车时刻、 当时的乘车条件(可选), 与接收时间信息一 起, 组合为一个公交车辆运行信息条目, 存入所述 IPR; 在所述 PW中找出, 候车状态为候车 中, 包含的线路、 方向和计划上车车站与新存入 NPR或 IPR的信息条目包含的线路、 方向和 车站相同, 包含的计划到达上车站时刻不晚于新存入 NPR或 IPR的信息条目包含的实际上车 时刻的候车信息条目, 把找出的候车信息条目涉及的乘客的候车状态为候车中的所有候车信 息条目 (含这些乘客的关于其它线路的候车信息条目) 的候车状态更新为已上车;  85. The bus information asynchronous exchange center receives, organizes, and saves actual vehicle information fed back by the passenger, and updates an information item in the related information set: the bus information asynchronous exchange center receives the actual vehicle information fed back by the passenger. Calculating the actual vehicle time of the passenger using the data of the actual time of the boarding time in the vehicle information to the time of the inquiry request sending time based on the receiving time of the actual vehicle information; if the actual vehicle information is not included The unique identification of the bus, the actual car line, the actual car direction, the actual car station, the actual car time, the current riding conditions (optional), together with the receiving time information, are combined into one bus. a vehicle operation information item stored in the NPR; if the actual vehicle information includes a unique identifier of the public transportation vehicle, the actual vehicle line, the actual vehicle direction, the actual vehicle station, the unique identification of the public transportation vehicle, In fact, the car time, the current riding conditions (optional), together with the receiving time information, the group An information item is stored for a bus, and is stored in the IPR; found in the PW, the waiting state is in the waiting, the included line, the direction, and the planned on-board station and the information entry newly deposited into the NPR or IPR are included. The line, the direction, and the station are the same, and the included plan arrives at the station. The waiting information is not later than the waiting information entry of the actual car time included in the information entry newly deposited in the NPR or IPR, and the waiting state of the passenger involved in the found waiting information entry. Waiting for the waiting status of all waiting information items (including waiting information items for other lines of these passengers) in the waiting room;
在本发明公交信息查询方法的第四实施例中, 图 8所示的查询步骤实质上是在公交线路 上下游乘客之间, 由公交信息异步交换中心居间代理的公交信息异步交换过程, 可称之为公 交信息的链式异步交换, 这种交换方式实现了乘客之间的公交信息服务互助, 用于公交信息 的查询和收集, 在实现发明目的的同时, 使得公交信息服务与公交业务运营完全分离; 在图 8的 84中, 所述乘客反馈实际上车信息时, 关于公交车辆唯一标识的信息是可选的反馈信息 内容, 相应地, 在 85中分别处理反馈的包含和没有包含公交车辆唯一标识的实际上车信息; 这一机制的目的是要在公交信息的准确性与乘客反馈操作负担之间取得一种平衡; 若乘客反 馈的实际上车信息包含着公交车辆唯一标识, 则公交车辆运行信息相对准确, 但乘客每次反 馈时都要去获取并输入公交车辆唯一标识, 这增加了反馈操作的负担; 从公交运营的实际来 看, 很多公交车辆没有醒目的唯一标识, 如车辆自编号没有喷涂公交车辆的乘客最容易看到 的位置, 车辆牌照号的位置在车辆的正前方的偏下位置或正后方, 也不容易看到; 乘客在上 车过程中, 携带行李、 拥挤、 紧张等情形将严重影响反馈的注意力, 对反馈信息的操作影响 较大; 在这种情形下, 就有必要舍弃公交车辆自编号或牌照号等唯一标识, 减轻乘客反馈操 作的负担, 当然, 这在一定程度上牺牲公交车辆运行信息的准确性; 本实施例中, 在容易获 知公交车辆唯一标识信息的情况下, 可收集到较准确的公交车辆运行信息, 也使在难于获知 并反馈公交车辆自编号或牌照号的情形下收集到广泛的公交车辆运行的信息。 In the fourth embodiment of the bus information query method of the present invention, the query step shown in FIG. 8 is substantially an asynchronous exchange process of bus information between the upstream and downstream passengers of the bus line and the intermediary agent of the bus information asynchronous exchange center. This is a chain-type asynchronous exchange of public transportation information. This exchange method realizes the mutual assistance of public transportation information services between passengers, and is used for the inquiry and collection of public transportation information. At the same time of realizing the purpose of invention, the public transportation information service and the public transportation business are completely completed. Separating; in 84 of FIG. 8, when the passenger feedbacks the actual vehicle information, the information about the unique identification of the public transportation vehicle is an optional feedback information content, and accordingly, the included and/or included bus vehicles are separately processed in 85. Uniquely identified actual car information; The purpose of this mechanism is to strike a balance between the accuracy of the public transport information and the operational burden of passenger feedback; if the actual vehicle information fed back by the passenger contains the unique identification of the public transport vehicle, the bus traffic information is relatively accurate, but the passenger Every time you feed back, you need to get and enter the unique identifier of the bus. This increases the burden of feedback operation. From the actual point of view of bus operation, many buses do not have a unique identifier, such as the number of passengers who have not painted the bus. The easiest to see position, the location of the vehicle license plate is not easy to see at the position of the vehicle in front of or below the front of the vehicle; passengers carrying luggage, congestion, tension, etc. will seriously affect the feedback during the boarding process. The attention of the feedback has a great influence on the operation of the feedback information; in this case, it is necessary to abandon the unique identification of the bus number or the license plate number to alleviate the burden of passenger feedback operation. Of course, this sacrifices the bus to some extent. Accuracy of vehicle operation information; in this embodiment, it is easy to know the bus vehicle only The case of identification information can be collected buses run more accurate information, but also makes it difficult to know in buses and feedback gathered from the case number or license plate numbers to a wide range of public transport vehicles running.
分别作为一种实施方式中乘客参与公交信息异步交换的过程, 和一种实施方式中公交车 辆司乘参与公交信息异步交换的过程, 图 8示出的过程和图 6、 图 7示出的过程, 还可以用 于另外一种实施例中, 在本实施例中, 乘客采用图 8的步骤参与公交信息异步交换, 公交车 辆司乘采用图 6、 图 7的步骤参与公交信息异步交换; 本实施例中, 乘客想了解关于上游各 站来车状况, 公交车辆司乘想知道下游各站乘客候车状况; 公交信息异步交换中心预先建立 乘客候车信息集合 (PW)、 司乘源的公交车辆调度信息集合 (CD)、 乘客源的有标识公交车辆 运行信息集合(IPR)、 乘客源的无标识公交车辆运行信息集合(NPR)和司乘源的公交车辆运 行信息集合(CR),用于分别准备储存乘客和公交车辆司乘发送的不同的用于换出的公交信息; 该五种公交信息集合与本发明第一实施例中同名信息集合拥有相同的数据组织方式和字段; 在本实施例中, 乘客按照图 8的步骤参与公交信息异步交换, 包括:  The process of asynchronously exchanging bus information by passengers in an embodiment, and the process of asynchronously exchanging bus information by public transport vehicles in one embodiment, the process shown in FIG. 8 and the process shown in FIG. 6 and FIG. In another embodiment, in the embodiment, the passenger participates in the asynchronous exchange of the bus information by using the steps of FIG. 8 , and the bus vehicle department uses the steps of FIG. 6 and FIG. 7 to participate in the asynchronous exchange of the bus information; In the example, the passenger wants to know about the status of the vehicles at the upstream stations, and the bus and bus division wants to know the waiting status of the passengers at the downstream stations; the bus information asynchronous exchange center pre-establishes the passenger waiting information set (PW) and the bus routing information of the shunyuan source. Collection (CD), identified passenger vehicle operation information set (IPR) for passenger source, unidentified bus vehicle operation information set (NPR) for passenger source, and bus vehicle operation information set (CR) for Sicheng source for separate preparation Separate different bus information for the exchange of passengers and bus vehicles; the five bus information collections and In the first embodiment, the information set of the same name has the same data organization mode and field; in this embodiment, the passenger participates in the asynchronous exchange of the bus information according to the steps of FIG. 8 , including:
81, 乘客通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公交信息交换 请求, 所述交换请求包括该乘客的查询请求和当时的计划乘车信息; 所述乘客当时的计划乘 车信息中, 用计划多长时间以后到达上车站代替约定信息内容中的计划到达上车站时刻, 该 计划时长的默认值是 0, 由所述乘客操控的通用联网设备自动提供, 所述乘客可修改; 所述 乘客的查询请求包括要求返回, 关于适合该乘客的计划乘车线路、 有可能与所述乘客建立搭 乘关系的公交车辆的调度信息, 关于适合所述计划乘车信息、 在到达终点站前有可能与所述 乘客建立搭乘关系的在途公交车辆的运行信息,及等待乘坐相同线路公交车的上游乘客人数;  81. The passenger sends a bus information exchange request to the bus information asynchronous exchange center through the universal networking device that the passenger controls, the exchange request includes the passenger's inquiry request and the current planned ride information; In the vehicle information, how long after the planned arrival time arrives at the upper station instead of the plan in the agreed information content, the default value of the plan duration is 0, which is automatically provided by the universal connected device operated by the passenger, and the passenger can Modifying; the passenger's inquiry request includes request for return, scheduling information about a bus route suitable for the passenger, a bus vehicle that is likely to establish a boarding relationship with the passenger, and information about the planned ride information at the end point The operation information of the on-going bus vehicles that may establish a boarding relationship with the passengers in front of the station, and the number of upstream passengers waiting for the bus on the same line;
82, 公交信息异步交换中心响应所述乘客提交的公交信息交换请求, 进行多项操作, 主 要包括 821-823:  82. The bus information asynchronous exchange center performs a plurality of operations in response to the bus information exchange request submitted by the passenger, and mainly includes 821-823:
821, 所述公交信息异步交换中心, 从所述乘客操控的通用联网设备接收交换请求, 从中 析出所述乘客的查询请求和计划乘车信息的内容, 以所述乘客查询请求的接收时间为基准, 利用析出的计划多长时间后到达上车站的数据, 计算该乘客计划到达上车站时刻;  821, the bus information asynchronous switching center receives an exchange request from the passenger-controlled universal networking device, and extracts the query request of the passenger and the content of the planned ride information, based on the receiving time of the passenger inquiry request. , using the data of how long the precipitated plan arrives at the station, and calculating the time when the passenger plan arrives at the station;
822, 根据 821中接收的乘客查询请求, 在相关信息集合上查询相关的公交信息, 把相应 的查询结果返回给所述乘客操控的通用联网设备;  822. Query, according to the passenger inquiry request received in 821, query related public transportation information on the related information set, and return the corresponding query result to the universal networking device controlled by the passenger;
所述在相关信息集合上查询相关的公交信息包括: 对所述乘客的每一条计划乘车线路和 方向, 在所述 CD、 IPR、 NPR、 CR上实施如下查询: 从所述 CD中查找, 包含的线路与所述乘 客的计划乘车线路相同、 不同公交车辆的拟发车时刻最晚的调度信息条目, 从查找到的信息 条目中选择包含的方向与所述乘客的计划乘车方向一致的信息条目, 从选择的信息条目中返 回拟发车时刻较晚的信息条目, 返回的数量不超过所述乘客的计划上车车站站次 (或加 1 ) 的二分之一; 从 IPR中查找包含的线路与所述乘客的计划乘车线路相同、 不同公交车辆的进 站时刻最晚的运行信息条目, 从找到的信息条目中返回包含的方向与所述乘客的计划乘车方 向一致、包含的车站站次不大于所述乘客的计划上车车站站次的运行信息条目; 从 NPR找出, 包含的线路和方向分别与所述乘客的计划乘车线路和方向一致、 包含的车站站次不大于所述 乘客的计划上车车站站次的信息条目, 从找出的信息条目中选择不同线路、 方向、 车站的进 站时刻最晚的运行信息条目, 对选择的每一个信息条目, 计算新鲜指数, 从选择的信息条目 中返回新鲜指数较大的运行信息条目, 返回的数量不超过该乘客的计划上车车站站次 (或加 1 ) 的二分之一; 从所述 CR查找, 包含的线路与所述乘客的计划乘车线路相同、 不同公交车 辆的进站时刻最晚的运行信息条目, 从找到的信息条目中返回包含的方向与所述乘客的计划 乘车方向一致、 包含的车站站次不大于所述乘客的计划上车车站站次的运行信息条目; 在上 述查询返回的运行信息条目中, 把包含的车站与所述乘客计划上车车站相同、 且进站时刻早 于所述乘客计划到达上车站时刻的条目剔除; 从所述 PW中查找, 包含的候车状态为候车中、 包含的线路和方向分别与所述乘客的计划乘车线路和方向一致、 包含的计划上车车站站次不 大于该乘客计划上车车站站次的候车信息条目, 返回找到的信息条目的数量; 最后返回的调 度信息条目、 运行信息条目和候车信息条目的数量构成所述乘客查询请求的查询结果; 当查 询结果中没有任何信息时, 返回关于暂无符合要求的公交信息的消息; The querying the relevant public transportation information on the related information set includes: performing, on the CD, the IPR, the NPR, and the CR, on the CD, the IPR, the NPR, and the CR, and querying from the CD, The included route is the same as the planned passenger route of the passenger, and the latest dispatch information entry of the different bus vehicles is selected from the found information items, and the direction included is consistent with the planned passenger direction of the passenger. The information item returns the information item with the late departure time from the selected information item, and the returned quantity does not exceed one-half of the passenger's planned boarding station number (or plus 1); The route is the same as the planned passenger route of the passenger, and the latest operation information entry of the different transit time of the public transportation vehicle, and the direction included in the returned information entry is consistent with the planned riding direction of the passenger, and includes The station station is not larger than the operation information entry of the passenger's planned boarding station station; The included line and direction are respectively consistent with the planned passenger route and direction of the passenger, and the included station station is not larger than the information item of the passenger's planned boarding station station, and different lines are selected from the found information items. , direction, the latest running information entry of the station's arrival time, calculate the fresh index for each information item selected, return the running information item with the fresh fresh index from the selected information item, and the returned quantity does not exceed the passenger Planned to get on the train station station (or add 1) one-half; from the CR search, the included route is the same as the passenger's planned ride route, the latest run information of the different bus stop time An entry, returning, from the found information item, an operation information entry including a direction that is consistent with the planned passenger direction of the passenger, and a station station that is not greater than the planned passenger station of the passenger; In the operation information item, the included station is the same as the passenger plan boarding station, and the pit stop time is earlier than the passenger plan to arrive. The item at the time of the station is removed; the search status from the PW is included in the waiting state, and the included line and direction are respectively consistent with the planned passenger route and direction of the passenger, and the planned on-board station station is not included. a waiting information entry greater than the number of passengers scheduled to board the station, returning the number of information items found; the number of the last scheduled dispatch information item, the running information item, and the waiting information item constitutes the query result of the passenger query request; When there is no information in the result, return a message about the public transportation information that does not meet the requirements;
823, 整理、保存把所述乘客查询请求中包含的计划乘车信息: 从 821析出和计算的信息 中, 把每一条计划乘车线路、 计划乘车方向、 计划到达上车站时刻及相关的其它信息, 连同 设定为候车中的候车状态和所述乘客查询请求的接收时间信息一起, 组合为一个候车信息条 目, 汇总不同线路的候车信息条目, 得到该乘客的一组候车信息条目, 存入所述 PW中; 823. Organize and save the planned ride information included in the passenger inquiry request: from the information extracted and calculated from 821, take each planned ride route, plan the ride direction, plan to arrive at the station time, and other related The information, together with the waiting time information set in the waiting mode and the receiving time information of the passenger inquiry request, are combined into one waiting information item, and the waiting information items of different lines are summarized, and a group of waiting information items of the passenger are obtained and stored. In the PW;
83, 所述乘客操控的通用联网设备接收并显示, 从所述公交信息异步交换中心返回的结 果; 83. The passenger-controlled universal networking device receives and displays a result returned from the bus information asynchronous switching center;
84, 当所述乘客乘上公交车辆时, 通过所操控的通用联网设备, 向所述公交信息异步交 换中心反馈其实际上车信息, 其中, 用实际上车时刻到发送时刻的时长代替约定信息内容中 的实际上车时刻, 该时长的默认值是 0, 由所述通用联网设备自动提供, 所述乘客可修改; 84, when the passenger rides on the public transportation vehicle, feeds back the actual vehicle information to the bus information asynchronous switching center through the controlled universal networking device, wherein the actual information is replaced by the actual time from the vehicle time to the sending time The actual vehicle time in the content, the default value of the duration is 0, automatically provided by the universal networking device, the passenger can modify;
85, 所述公交信息异步交换中心接收、 整理和保存所述乘客反馈的实际上车信息, 更新 相关信息集合中的信息条目: 所述公交信息异步交换中心, 接收所述乘客反馈的实际上车信 息, 以所述实际上车信息的接收时间为基准, 利用实际上车信息中的实际上车时刻到查询请 求发送时刻的时长的数据, 计算该乘客实际上车时刻; 若该实际上车信息没有包含所乘公交 车辆唯一标识, 则把该乘客的实际上车线路、 实际上车方向、 实际上车车站、 实际上车时刻、 当时的乘车条件(可选), 与接收时间信息一起, 组合为一个公交车辆运行信息条目, 存入所 述 NPR; 若该实际上车信息中包含所乘公交车辆唯一标识, 则把实际上车线路、 实际上车方 向、 实际上车车站、 该公交车辆的唯一标识、 实际上车时刻、 当时的乘车条件(可选), 与接 收时间信息一起, 组合为一个公交车辆运行信息条目, 存入所述 IPR; 在所述 PW中找出, 候 车状态为候车中, 包含的线路、 方向和计划上车车站与新存入 NPR或 IPR的信息条目包含的 线路、 方向和车站相同, 包含的计划到达上车站时刻不晚于新存入 NPR或 IPR的信息条目包 含的实际上车时刻的候车信息条目, 把找出的候车信息条目涉及的乘客的候车状态为候车中 的所有候车信息条目 (含这些乘客的关于其它线路的候车信息条目) 的候车状态更新为已上 车; 85. The bus information asynchronous exchange center receives, organizes, and saves actual vehicle information fed back by the passenger, and updates an information item in the related information set: the bus information asynchronous switching center, and the actual car that receives the passenger feedback The information, based on the actual time of receiving the vehicle information, using the data of the actual vehicle time in the actual vehicle information to the time of the inquiry request transmission time, and calculating the actual vehicle time of the passenger; if the actual vehicle information If the passenger's unique identification is not included, then the passenger's actual car route, the actual car direction, the actual car station, the actual car time, the current ride condition (optional), together with the reception time information, Combined into a bus operation information item, stored in the NPR; if the actual vehicle information includes the unique identification of the bus, the actual vehicle line, the actual vehicle direction, the actual bus station, the bus Unique identification, actual car time, current riding conditions (optional), and receiving time Together, they are combined into a bus operation information item and stored in the IPR; found in the PW, the waiting state is waiting, including the line, direction and planned boarding station and newly deposited into the NPR or IPR. The information entry contains the same line, direction and station, and includes the plan to arrive at the station no later than the waiting information entry of the actual car time contained in the information entry newly deposited in the NPR or IPR, and the information of the waiting information entry The waiting state of the passenger is that all the waiting information items in the waiting (including the waiting information items of the other passengers) are updated to the boarding state;
在本实施例中, 公交车辆司乘在发车之前, 接到公交调度指令时按照图 6示出的步骤参 与公交信息异步交换, 包括:  In this embodiment, the bus vehicle division takes the bus dispatching instruction and refers to the steps shown in FIG. 6 to asynchronously exchange the bus information before receiving the bus dispatching instruction, including:
61 , 公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公交 信息交换请求, 该交换请求包括该司乘的查询请求和本公交车辆的调度信息, 该查询请求要 求返回, 关于本公交车辆符合其计划乘车信息要求、 有可能与本公交车辆在发车之后到达终 点站之前建立搭乘关系的候车信息, 在所述本公交车辆的调度信息中, 用到拟发车时刻的剩 余时长代替约定信息内容中的拟发车时刻, 该时长的默认值为 0, 由所述通用联网设备自动 提供, 所述司乘可修改; 61. The public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the universal networking device controlled by the public transportation vehicle, and the exchange request includes the inquiry request of the division and the scheduling information of the public transportation vehicle, and the query request request Returning, regarding the waiting information that the public transportation vehicle meets the requirements of the planned riding information, and may establish a riding relationship with the public transportation vehicle before reaching the terminal after the departure of the bus, in the scheduling information of the public transportation vehicle, the planned departure time is used. Remaining The remaining time replaces the proposed departure time in the agreed information content, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
62, 所述公交信息异步交换中心响应所述公交车辆司乘提交的交换请求, 进行多项操作, 包括 621-623:  62. The bus information asynchronous switching center performs a plurality of operations, including 621-623, in response to the exchange request submitted by the bus and vehicle department.
621 , 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收公交信 息交换请求, 从中析出所述司乘的查询请求和本公交车辆调度信息的内容, 以所述司乘查询 请求的接收时间为基准, 利用析出的所述到拟发车时刻的剩余时长的数据, 计算该公交车辆 的拟发车时刻;  621. The bus information asynchronous exchange center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request of the passenger and the content of the bus transportation scheduling information, Taking the time of receiving the query request as a reference, calculating the planned departure time of the public transportation vehicle by using the data of the remaining time to the predicted departure time;
622, 根据 621中接收的司乘查询请求, 在相关信息集合上查询相关的公交信息, 把相应 的查询结果返回给所述公交车辆司乘操控的通用联网设备;  622. Query the relevant public transportation information on the related information set according to the query request received by the 621, and return the corresponding query result to the universal networking device controlled by the public transportation vehicle;
所述在相关信息集合上查询相关的公交信息包括: 从所述 PW中查找, 包含的候车状态为 候车中、 包含的线路和方向分别与本公交车辆的调度线路和调度方向一致的乘客的候车信息 条目, 从找到的信息条目中剔除包含的车站为首站、 包含的计划到达上车站时刻晚于拟发车 时刻的条目, 返回剩余的乘客候车信息条目;  The querying the relevant public transportation information on the related information set includes: searching from the PW, and including the waiting state of the waiting passenger, waiting for the line and the direction of the passengers respectively corresponding to the dispatching line and the dispatching direction of the public transportation vehicle, respectively. The information item, excluding the included station as the first station from the found information item, including the item that arrives at the station on the station at a time later than the scheduled departure time, and returns the remaining passenger waiting information items;
623, 整理和保存在 621中析出的调度信息: 在 621中接收、 析出和计算的信息内容中, 把本公交车辆唯一标识、 发车线路、 发车方向、 拟发车时刻、 发车说明 (可选), 连同接收时 间信息, 组合为一个公交车辆调度信息条目, 存入所述 CD;  623, sorting and saving the scheduling information precipitated in 621: in the information content received, precipitated, and calculated in 621, the unique identification of the bus, the departure route, the departure direction, the scheduled departure time, and the departure description (optional), Together with the receiving time information, combined into a bus vehicle scheduling information item, stored in the CD;
63, 所述公交车辆司乘操控的通用联网设备接收并显示, 来自所述公交信息异步交换中 心返回的信息, 结束本轮公交信息查询;  63. The public transportation vehicle controlled by the public transportation vehicle receives and displays information returned from the asynchronous exchange center of the public transportation information, and ends the current round of public transportation information inquiry;
在本实施例中, 公交车辆司乘开始运行本公交车辆, 按照图 7示出的步骤参与公交信息 异步交换, 包括:  In this embodiment, the bus driver begins to operate the bus, and participates in the asynchronous exchange of bus information according to the steps shown in FIG. 7, including:
71, 公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公交 信息交换请求, 该交换请求包括该司乘的查询请求和本公交车辆的当前运行信息, 所述查询 请求要求返回, 关于本公交车辆符合其计划乘车信息要求、 有可能与本公交车辆在到达终点 站之前建立搭乘关系的候车信息, 关于与本公交车辆同线路和同方向的在途的其它公交车辆 的运行信息; 本公交车辆当前运行信息包含本公交车辆正在停靠或最近一次停靠车站时的运 行信息, 其中, 用进站时刻到当前时刻的时长代替约定信息内容中的进站时刻, 该时长的默 认值是 0, 由所述通用联网设备自动提供, 所述司乘可修改;  71. The public transportation vehicle department sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the universal networking device controlled by the public transportation vehicle, where the exchange request includes the inquiry request of the division and the current operation information of the public transportation vehicle, and the query Request to return, about the bus information that meets the requirements of the planned ride information, may have a ride relationship with the bus before reaching the terminal, and other bus vehicles on the same line and in the same direction as the bus Operation information of the public transportation vehicle; the current operation information of the public transportation vehicle includes operation information when the public transportation vehicle is docked or the last time the station is parked, wherein the duration of the arrival time to the current time is used instead of the arrival time in the agreed information content, the duration The default value is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
72, 公交信息异步交换中心响应所述公交车辆司乘提交的公交信息交换请求, 进行多项 操作, 包括 721-723:  72. The bus information asynchronous exchange center performs a plurality of operations, including 721-723, in response to the bus information exchange request submitted by the bus and vehicle department.
721, 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收公交信 息的交换请求, 从中析出所述司乘的查询请求和本公交车辆运行信息的内容, 以所述司乘查 询请求的接收时间为基准, 利用析出的进站时刻到当前时刻的时长, 计算该公交车辆的进站 时刻;  721, the bus information asynchronous switching center receives a bus information exchange request from the public network device controlled by the bus vehicle department, and extracts the query request of the master and the content of the bus operation information, The receiving time of the query request is used as a reference, and the time of arrival of the bus is calculated by using the time of the deposited inbound time to the current time;
722, 根据 721中析出的所述司乘的查询请求, 在相关信息集合上查询相关的公交信息, 把相应的查询结果返回给所述公交车辆司乘操控的通用联网设备;  722: Query, according to the inquiry request of the division multiplied in 721, query related public transportation information on the related information set, and return the corresponding query result to the universal networking device controlled by the public transportation vehicle;
所述在相关信息集合上查询相关的公交信息包括: 从所述 PW中查找并返回, 包含的候车 状态为候车中、 包含的线路和方向分别与本公交车辆的运行线路和运行方向一致、 包含的车 站站次大于本公交车辆停靠车站站次的信息条目; 从所述 CR查找, 包含的线路与所述本公交 车辆的线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息条目中返回 包含的方向与所述本公交车辆的运行方向一致的运行信息条目; 从所述 IPR查找, 包含的线 路与所述本公交车辆的线路相同、 不同公交车辆的实际上车时刻最晚的运行信息条目, 从找 到的信息条目中返回包含的方向与所述本公交车辆的运行方向一致的运行信息条目; 从所述 NPR 找出, 包含的线路和方向分别与所述本公交车辆的运行线路和方向一致的信息条目, 从 找出的信息条目中选择车站的实际上车时刻最晚的运行信息条目,对选择的每一个信息条目, 计算新鲜指数, 从选择的信息条目中返回新鲜指数较大的运行信息条目, 返回的数量不超过 本公交车辆的当前方向上总站数 (或加 1 ) 的二分之一; 从不同信息集合中最后返回的信息 条目, 构成所述乘客查询请求的查询结果; 当查询结果中没有任何信息条目时, 返回关于暂 无符合要求的公交信息的消息; The querying the related public transportation information on the related information set includes: searching and returning from the PW, including the waiting state in the waiting mode, including the line and the direction respectively corresponding to the running line and the running direction of the public transportation vehicle, including The station number of the station is greater than the information item of the bus station stop station station; from the CR search, the line containing the same as the bus line, the latest running information entry of the different bus vehicles, from The found information item returns an operation information item containing a direction that is consistent with the running direction of the public transportation vehicle; from the IPR search, the included line is the same as the bus line of the bus, and the actual vehicle of the different bus vehicle The latest running information item at the moment, from looking for Returning to the information item to return an operation information item containing a direction consistent with the running direction of the public transportation vehicle; and finding from the NPR, the included line and direction are respectively consistent with the running line and direction of the public transportation vehicle The information item selects the latest running information item of the actual vehicle time of the station from the found information items, calculates a fresh index for each selected information item, and returns a running information with a large fresh index from the selected information item. The number of entries returned does not exceed one-half of the total number of stations (or plus 1) in the current direction of the bus; the last returned information item from the different information sets constitutes the query result of the passenger query request; When there is no information item in the result, the message about the public transit information that does not meet the requirements is returned;
723, 整理和保存在 721中析出的调度信息或运行信息的内容, 更新 PW中已保存的候车 信息条目: 把 721中析出的本公交车辆的运行信息的内容, 包括本公交车辆唯一标识、 运行 线路、 运行方向、 停靠车站及站次、 乘车条件(可选), 连同计算的进站时刻, 交换请求的接 收时刻等信息, 组合为一个公交车辆运行信息条目, 存入所述 CR, 同时, 在所述 PW中找出, 候车状态为候车中, 包含的线路、 方向和计划上车车站分别与所述新的运行信息条目包含的 线路、 方向和车站相同, 包含的计划到达上车站时刻不晚于所述新的运行信息条目包含的进 站时刻的候车信息条目, 把找出的候车信息条目涉及的乘客的候车状态为候车中的所有候车 信息条目 (含这些乘客的关于其它线路的候车信息条目) 的候车状态更新为已上车;  723. Organize and save the content of the scheduling information or the running information that is precipitated in 721, and update the saved waiting information entry in the PW: the content of the running information of the public transportation vehicle that is precipitated in 721, including the unique identification and operation of the public transportation vehicle. The line, the running direction, the stopping station and the station number, the riding condition (optional), together with the calculated inbound time, the receiving time of the exchange request, etc., are combined into one bus running information item and stored in the CR, Finding in the PW, the waiting state is waiting, the included route, the direction, and the planned boarding station are respectively the same as the line, direction, and station included in the new running information item, and the included plan arrives at the station time. The waiting information of the passengers involved in the found waiting information entry is the waiting information of all the waiting information in the waiting time (including those of the passengers regarding other lines), not later than the waiting information entry of the inbound time included in the new running information entry. The waiting status of the waiting information entry is updated to be on board;
73, 所述公交车辆司乘操控的通用联网设备接收并显示, 来自所述公交信息异步交换中 心返回的信息, 结束终止本轮公交信息查询。  73. The public transportation device controlled by the public transportation vehicle receives and displays information returned from the asynchronous exchange center of the public transportation information, and ends the inquiry of the current public transportation information.
另外, 本实施例中, 采用本发明第一实施例中所述公交车辆司乘的交互界面, 来帮助完 成图 6、 图 7中涉及由所述司乘完成的交换操作, 所述司乘在图 6的 61, 63中的操作动作可 通过第一显示屏幕及调度信息发送按钮来完成, 所述司乘每停靠一个车站, 在图 7的 71、 73 中的操作动作可通过运行状态下的公交信息交换模式下的第一、 第二显示屏幕来完成。  In addition, in this embodiment, the interaction interface of the bus driver in the first embodiment of the present invention is used to help complete the exchange operation in FIG. 6 and FIG. 7 involving the completion of the multiplication. The operation actions in 61, 63 of FIG. 6 can be completed by the first display screen and the dispatch information transmission button, and the operation of each of the stations in the 71, 73 of FIG. 7 can be operated by the operation state. The first and second display screens in the bus information exchange mode are completed.
本发明实施例在本质上是公交信息链式异步交换与公交信息对偶异步交换的结合, 这种 融合一方面使公交信息的链式异步交换启动更容易, 另一方面使公交车辆司乘不必每经过一 个车站都要参加公交信息交换, 链式异步交换一旦启动, 它就会自动进行下去。  The embodiment of the present invention is essentially a combination of bus information chain asynchronous exchange and bus information dual asynchronous exchange. On the one hand, the chain asynchronous exchange of bus information is started more easily, and on the other hand, the bus driver does not have to multiply After a station has to participate in the bus information exchange, once the chain asynchronous exchange is started, it will automatically proceed.
图 9示出了本发明的公交信息系统的第一实施例, 不同的公交参与者以该公交信息系统 为平台, 可实现图 1、 2中公交信息换入操作 I、 换出操作 0、 并联组合模块 I U 0, 进而可帮 助完成公交信息异步交换过程, 实现公交信息的查询和收集的功能; 特别地, 本实施例提供 可以承载第一实施例在图 1的换入操作 I的 9种操作原型、 换出操作 0的 6种操作原型的公 交信息系统; 参照图 9, 该公交信息系统主要包括公交参与者操控的通用联网设备 91、 公交 信息异步交换中心 92;  FIG. 9 shows a first embodiment of the public transportation information system of the present invention. Different bus participants use the public transportation information system as a platform to implement the bus information exchange operation I, the exchange operation 0, and the parallel connection in FIG. The combination module IU 0, in turn, can help to complete the bus information asynchronous exchange process and realize the function of querying and collecting the bus information; in particular, the present embodiment provides nine operations that can carry the switch-in operation I of the first embodiment in FIG. Prototype, the bus information system of the six operational prototypes of operation 0; referring to FIG. 9, the public transportation information system mainly includes a universal networking device 91 operated by a bus participant, and a bus information asynchronous switching center 92;
特别地, 所述公交信息异步交换中心 92, 在完成其它任务之前, 预先创建乘客候车信息 集合(PW)、调度员源的公交车辆调度信息集合(DD)、司乘源的公交车辆调度信息集合(CD)、 乘客源的无标识公交车辆运行信息集合(NPR)、乘客源的有标识公交车辆运行信息集合(IPR) 和司乘源的公交车辆运行信息集合(CR), 用于准备储存相关的公交信息, 下文用括号里的代 码代指相应的信息集合, 这些信息集合的数据组织方式和包含的字段与前述第一实施例中同 名信息集合相同;  Specifically, the bus information asynchronous exchange center 92 pre-creates a passenger waiting information set (PW), a bus dispatching information set (DD) of the dispatcher source, and a bus vehicle scheduling information set of the Sicheng source before completing other tasks. (CD), unidentified bus operation information set (NPR) for passenger sources, identified bus operation information set (IPR) for passenger sources, and bus operation information set (CR) for Sicheng source, used to prepare storage related The public transportation information, the following code in parentheses refers to the corresponding information collection, the data organization manner and the included fields of the information collection are the same as the information collection of the same name in the foregoing first embodiment;
图 9中公交信息系统的各装置功能如下- The functions of each device of the bus information system in Figure 9 are as follows -
91, 公交参与者操控的通用联网设备, 用于帮助公交参与者完成图 1中换入操作 I的步 骤 I I、换出操作 0的步骤 01或图 2中的并联组合模块的步骤 U 1中的任务, 具体地包括公交 参与者通过该设备向公交信息异步交换中心发送公交信息交换请求, 所述公交信息交换请求 包含公交信息查询请求 (A) 或 /和公交参与者当时已经获知的用于换出的公交信息 (T), 接 收并显示来自所述公交信息异步交换中心返回的消息; 特别地, 对第一实施例中确定的图 1的换入操作 I的 9种操作原型、 换出操作 0的 6中 操作原型, 装置 91要完成 4项任务: 一是把已保存的会员标识信息, 赋予所述公交参与者涉 及到的操作原型中变元 agent, 二是根据公交参与者参与的具体的公交信息异步交换过程, 在步骤 I I、 01、 U 1中向公交参与者提供相应的表单: 对乘客, 提供输入关于当时的计划乘 车信息、 实际上车信息或实际乘车信息的表单, 对司乘, 提供输入关于本公交车辆当时的调 度信息或运行信息的表单, 对调度员, 提供输入关于当时下达的调度指令中的调度信息或要 查询的公交线路和方向的表单; 所述公交参与者完成相应的表单操作, 装置 91获得表单信息 (所需要的静态信息从该设备已保存的静态中自动调取), 赋予有关操作原型中变元 info的 信息内容; 三是向所述公交信息异步交换中心发送公交信息交换请求, 由公交参与者参与的 具体的公交信息异步交换过程确定, 所述交换请求包含以下哪些操作原型在本实施例的变元 agent和当时的变元 info上进行实例化的查询请求 A或 /和用于换出的公交信息 T:操作原型 I-P-1至 I-P-3中的查询请求 I-P-A-1至 I-P-A-3中一项或多项,或操作原型 I-C-1至 I-C-2 中的查询请求 I-C-A-1至 I-C-A-2中的一项或多项, 或操作原型 I-C-3至 I_C_4中的查询请 求 I-C-A-3至 I-C-A-4中的一项或多项, 或操作原型 I-D-1至 I-D-2中的查询请求 I_D_A_1 至 I-D-A-2中一项或多项, 操作原型 0-P-1至 0-P-3中的换出信息 0_Ρ_Τ_1至 0_Ρ_Τ_3中一 项,或操作原型 0-C-1至 0-C-2中的换出信息 0-C-T-1至 0-C-T-2中的一项,或操作原型 0-D-1 中的换出信息 I-D-T-1 ; 四是完成图 1 中公交信息换入操作 I 的步骤 13、 并联组合模块 U 3 的步骤 U 3中被赋予的接收和显示来自装置 92的公交信息的任务; 91, a universal networking device operated by a bus participant, used to assist the bus participant to complete step II of the swapping operation I in FIG. 1, step 01 of swapping out the operation 0, or step U1 of the parallel combination module in FIG. The task specifically includes the bus participant transmitting a bus information exchange request to the bus information asynchronous exchange center through the device, where the bus information exchange request includes a bus information inquiry request (A) or/and a bus participant has learned at the time for the exchange The bus information (T), receiving and displaying the message returned from the bus information asynchronous exchange center; In particular, for the nine operational prototypes of the swap-in operation I of FIG. 1 determined in the first embodiment, and the operational prototypes of the swap-out operation of the operation 0, the device 91 performs four tasks: one is to save the saved member identification. Information, the variable agent assigned to the operation prototype involved in the bus participant, and second, the specific bus information asynchronous exchange process involved by the bus participant, providing corresponding to the bus participant in steps II, 01, U1 Form: For passengers, provide a form for entering the planned ride information, actual vehicle information or actual ride information at the time, and provide a form for entering the dispatch information or operation information of the bus at the time, for the dispatcher Providing a form for inputting scheduling information in the dispatching instruction issued at the time or the bus route and direction to be queried; the bus participant completes the corresponding form operation, and the device 91 obtains form information (the required static information is from the device Automatically retrieved from the saved static), giving information about the variable info in the operation prototype; third, asynchronous exchange to the public transportation information The heart sends a bus information exchange request, which is determined by a specific bus information asynchronous exchange process in which the bus participant participates, and the exchange request includes which of the following operational prototypes are instantiated in the argument agent of the embodiment and the then-term argument info Query request A or / and bus information for swapping out T: Operation of prototypes IP-1 to IP-3 query request one or more of IPA-1 to IPA-3, or operating prototype IC-1 to IC The query in -2 requests one or more of ICA-1 to ICA-2, or the query request in the prototypes IC-3 to I_C_4 to request one or more of ICA-3 to ICA-4, or operation The query request in the prototype ID-1 to ID-2 requests one or more of I_D_A_1 to IDA-2, and operates one of the swap information 0_Ρ_Τ_1 to 0_Ρ_Τ_3 in the prototype 0-P-1 to 0-P-3, or Operate one of the exchanging information 0-CT-1 to 0-CT-2 in the prototype 0-C-1 to 0-C-2, or operate the exchanging information IDT-1 in the prototype 0-D-1 4 is the task of completing the step 13 of the bus information exchange operation I in FIG. 1 and the task of receiving and displaying the bus information from the device 92 in the step U 3 of the parallel combination module U 3 ;
92, 公交信息异步交换中心, 用于帮助公交参与者完成图 1中换入操作 I的步骤 12、 换 出操作 0的步骤 02或图 2中的并联组合模块的步骤 U 2中的任务, 具体地包括:  92, the bus information asynchronous exchange center, used to help the bus participant to complete the step 12 of the swapping operation I in FIG. 1, the step 02 of the swapping out operation 0, or the task in the step U2 of the parallel combination module in FIG. 2, specifically The ground includes:
a.与所述公交参与者操控的通用联网设备进行通讯:接收装置 91发送的公交信息交换请 求, 从中析出所述公交参与者的查询请求(A)和 /或用于换出的公交信息 (T) 的内容; 把任 务 b中查询操作的输出结果返回给所述公交参与者操控的装置 91 ; 特别地, 查询请求 (A) 和用于换出的公交信息 (T) 包括公交参与者在装置 91中选择的实例化了的操作原型中的查 询请求和用于换出的公交信息;  a. communicating with the universal networked device operated by the bus participant: a bus information exchange request sent by the receiving device 91, from which the bus participant's inquiry request (A) and/or the bus information for the exchange is extracted ( Content of T); returning the output of the query operation in task b to the device 91 operated by the bus participant; in particular, the query request (A) and the bus information (T) for swapping out include the bus participant a query request in the instantiated operational prototype selected in the device 91 and bus information for swapping out;
b.根据任务 a中析出的公交信息查询请求 (A), 构造并执行相应的查询操作 (Q); 特别 地,包括,下述操作原型中在装置 91中确定的实例化后的查询操作:操作原型 I-P-1至 I-P-3 中的查询操作 I-P-Q-1至 I-P-Q-3、 或操作原型 I-C-1 至 I-C-2 中的查询操作 I-C-Q-1 至 I-C-Q-2, 或操作原型 I-C-3至 I-C-4中的查询操作 I-C-Q-3至 I_C_Q-4、 或操作原型 I-D-1 至 I-D-2中的查询操作 I-D-Q-1至 I-D-Q-2中与任务 a中析出的查询请求相对应的实例化的 项; 把查询结果输出到任务 a: 若返回符合所述查询请求的公交信息, 则输出返回的公交信 息, 若无, 则输出关于暂无相关的该类公交信息的消息;  b. Constructing and executing a corresponding query operation (Q) according to the bus information query request (A) precipitated in task a; in particular, including the instantiated query operation determined in device 91 in the following operational prototype: Operate the query operations IPQ-1 to IPQ-3 in the prototype IP-1 to IP-3, or operate the query operations ICQ-1 to ICQ-2 in the prototypes IC-1 to IC-2, or operate the prototype IC-3 to Query operations ICQ-3 to I_C_Q-4 in IC-4, or query operations corresponding to query requests in task a in query operations IDQ-1 to IDQ-2 in operation prototypes ID-1 to ID-2 Outputting the query result to task a: If returning the bus information that meets the query request, outputting the returned bus information, if not, outputting a message about the bus information that is not relevant at present;
c.把任务 a中析出的所述公交参与者用于换出的公交信息(T)整理成信息条目, 保存整 理的公交信息条目 (S); 特别地, 包括, 下述操作原型在装置 91中确定的实例化后的储存操 作: 操作原型 0-P-1至 0-P-3中的储存操作 0-P-S-1至 0-P-S-3、或操作原型 0_C_1至 0_C_2 中的储存操作 0-C-S-1至 0-C-S-2、 或操作原型 0-C-3至 0-C-4中的储存操作 0-C-S-3至 0-C-S_4、或操作原型 0-D-1中的储存操作 I-D-S-1中与任务 a中析出的换出信息相对应的实 例化的项;  c. Organizing the public transportation information (T) used for the bus passengers in the task a into the information item, and saving the organized public transportation information item (S); in particular, including the following operation prototype in the device 91 The storage operation after the instantiation determined in the operation: the storage operation 0-PS-1 to 0-PS-3 in the operation prototype 0-P-1 to 0-P-3, or the storage operation 0 in the operation prototype 0_C_1 to 0_C_2 -CS-1 to 0-CS-2, or the storage operation 0-CS-3 to 0-C-S_4 in the operation prototypes 0-C-3 to 0-C-4, or the operation prototype 0-D-1 The stored item IDS-1 is an instantiated item corresponding to the swap out information precipitated in task a;
另外, 本发明实施例中, 如图 9所示, 所述公交信息异步交换中心 92还可以包括通讯接 口单元 921、 查询单元 922和储存单元 923, 其中, 通讯接口单元 921完成所述公交信息异步 交换中心 92的任务 a, 查询单元 922完成任务 b, 储存单元 923完成任务 c; 各单元之间的 信息传递如图 9, 921向 922传递查询请求, 922向 911返回查询结果, 921向 923传递从公 交参与者用于换出的公交信息中整理出来的公交信息条目; 这样的改进可以使本实施例中的 公交信息系统具有更清晰的结构和更好的可维护性。 In addition, in the embodiment of the present invention, as shown in FIG. 9, the bus information asynchronous switching center 92 may further include a communication interface unit 921, a query unit 922, and a storage unit 923, wherein the communication interface unit 921 completes the bus information asynchronously. Task a of switching center 92, query unit 922 completes task b, storage unit 923 completes task c; information transfer between units is as shown in FIG. 9, 921 transmits a query request to 922, 922 returns a query result to 911, and 921 passes to 923. From the public The public transportation information items compiled by the participants for the exchanged public transportation information; such improvement can make the public transportation information system in the embodiment have a clearer structure and better maintainability.
图 10示出了本发明的公交信息系统的第二个实施例,提供仅通过乘客之间的公交信息异 步交换, 可实现公交信息的查询和收集功能的信息系统; 参照图 10, 该公交信息系统包括乘 客操控的通用联网设备 101和公交信息异步交换中心 102; 所述公交信息异步交换中心预先 创建乘客候车信息集合 (PW)、 乘客源的无标识公交车辆运行信息集合 (NPR) 和乘客源的有 标识公交车辆运行信息集合 (IPR), 用于分别准备储存乘客发送的候车信息、 没有包含公交 车辆唯一标识的实际上车信息和包含公交车辆唯一标识的实际上车信息, 这 3个信息集合的 数据组织形式和包含的字段与本发明第一实施例的同名信息集合相同;图 10中各装置功能如 下:  FIG. 10 shows a second embodiment of the public transportation information system of the present invention, which provides an information system capable of realizing the inquiry and collection function of public transportation information only by asynchronous exchange of public transportation information between passengers; Referring to FIG. 10, the public transportation information The system includes a passenger-operated universal networking device 101 and a bus information asynchronous switching center 102; the bus information asynchronous switching center pre-creates a passenger waiting information set (PW), a passenger-sourced unidentified bus vehicle operation information set (NPR), and a passenger source The identified bus vehicle operation information set (IPR) is used to separately store the waiting information sent by the passenger, the actual vehicle information that does not include the unique identifier of the bus, and the actual vehicle information including the unique identifier of the bus. The data organization form of the collection and the included fields are the same as the information collection of the same name in the first embodiment of the present invention; the functions of the devices in FIG. 10 are as follows:
101 , 乘客操控的通用联网设备, 乘客通过该设备发送公交信息的交换请求, 所述交换请 求包括所述乘客的查询请求和该乘客当时的计划乘车信息; 接收并显示从公交信息异步交换 中心返回的信息; 当该乘客乘上公交车辆时, 通过该设备向公交信息异步交换中心反馈其实 际上车信息; 所述计划乘车信息中, 用计划多长时间以后到达上车站代替约定信息内容中的 计划到达上车站时刻, 该时长的默认值是 0, 由所述乘客操控的通用联网设备自动提供, 所 述乘客可修改; 所述乘客的查询请求要求返回, 关于适合该乘客的计划乘车信息、 在到达终 点站前有可能与所述乘客建立搭乘关系的在途公交车辆的运行信息, 和关于所述乘客的计划 上车线路的上游乘客数量的信息; 所述实际上车信息中, 用上车时刻到交换请求发送时刻的 时长代替实际上车时刻, 该时长的默认值是 0, 由所述通用联网设备自动提供, 所述乘客可 修改;  101. A universally-connected device operated by a passenger, wherein the passenger sends an exchange request of the public transportation information, where the exchange request includes the inquiry request of the passenger and the planned travel information of the passenger at the time; receiving and displaying the asynchronous exchange center from the public transportation information Returned information; when the passenger gets on the bus, the device feeds back the actual vehicle information to the bus information asynchronous exchange center; in the planned ride information, how long does it take to arrive at the station instead of the agreed information content? The plan in the middle arrives at the station time, the default value of the time is 0, is automatically provided by the universal networked device operated by the passenger, the passenger can modify; the passenger's inquiry request asks for return, and the plan is suitable for the passenger Vehicle information, operational information of in-transit public transport vehicles that may establish a boarding relationship with the passengers before reaching the terminal, and information on the number of upstream passengers of the passenger's planned boarding route; in the actual vehicle information, Instead of actually replacing the actual time of the exchange request with the time of the exchange request Time, the length of the default value is 0, is automatically provided by the general purpose networked device, the passenger may be modified;
102, 公交信息异步交换中心, 用于完成以下任务:  102, the bus information asynchronous exchange center, used to complete the following tasks:
a.与所述乘客操控的通用联网设备进行通讯: 接收来自装置 101的公交信息交换请求, 从中析出所述乘客的查询请求和当时的计划乘车信息的内容, 以所述交换请求的接收时间为 基准, 利用析出的计划多长时间后到达上车站的数据, 计算该乘客计划到达上车站时刻; 接 收来自装置 101的实际上车信息, 以所述实际上车信息的接收时间为基准, 利用实际上车信 息中的上车时刻到查询请求发送时刻的时长的数据, 计算该乘客的实际上车时刻; 把任务 b 中执行查询操作的输出结果返回给所述乘客操控的装置 101 ;  a. communicating with the universally-connected device operated by the passenger: receiving a bus information exchange request from the device 101, extracting the inquiry request of the passenger and the content of the scheduled travel information at the time, with the receiving time of the exchange request For the reference, the data of the arrival time of the station is calculated based on the data of the planned station for a long time, and the actual vehicle information from the device 101 is received, and the actual vehicle information is received based on the reception time of the actual vehicle information. Actually, the data of the time in the vehicle information to the time when the request is sent is calculated, and the actual vehicle time of the passenger is calculated; and the output result of the query operation performed in the task b is returned to the device 101 operated by the passenger;
b.根据任务 a中析出的所述乘客的查询请求, 选择相应的信息集合, 构建并执行如下查 询操作: 对所述乘客的每一条计划乘车线路和方向, 在所述 IPR、 NPR、 PW上实施如下查询: 从 IPR查找, 包含的线路与所述乘客的计划乘车线路相同、 包含的不同公交车辆的实际上车 时刻最晚的运行信息条目, 从找到的信息条目中选择包含的方向与所述乘客的计划乘车方向 一致、 包含的车站站次不大于所述乘客的计划上车车站站次的信息条目, 从选择的信息条目 中, 剔除包含的车站与所述乘客计划上车车站相同、 且实际上车时刻早于所述乘客计划到达 上车站时刻的信息条目, 返回剩余的信息条目; 从 NPR找出, 包含的线路和方向分别与所述 乘客的计划乘车线路和方向一致、 包含的车站站次不大于所述乘客的计划上车车站站次的信 息条目, 从找出的信息条目中选择车站的进站时刻最晚的运行信息条目, 对选择的每一个信 息条目, 计算新鲜指数, 从选择的信息条目中返回新鲜指数较大的运行信息条目, 返回的数 量不超过该乘客的计划上车车站站次 (或加 1 ) 的二分之一; 从所述 PW中查找, 包含的候车 状态为候车中、 包含的线路和方向分别与所述乘客的计划乘车线路和方向一致、 包含的计划 上车车站站次不大于所述乘客的计划上车车站站次的候车信息条目, 返回包含不同线路的找 到的信息条目的数量; 每一个信息集合中最后返回的公交信息, 构成所述乘客查询请求的查 询结果, 并输出到任务 a, 查询结果中若没有公交信息, 则输出关于暂无相关的该类公交信 息的消息; b. selecting the corresponding information set according to the query request of the passengers precipitated in task a, constructing and executing the following query operation: each planned passenger route and direction for the passenger, in the IPR, NPR, PW The following query is implemented: from the IPR search, the included route is the same as the passenger's planned passenger route, and contains the latest running information entry of the actual bus time of the different bus vehicles, and selects the direction included from the found information items. Including the information of the passenger's planned riding direction, the included station number is not greater than the information of the passenger's planned boarding station station, and the selected station and the passenger plan are removed from the selected information item. The station is the same, and in fact the vehicle is earlier than the information item of the passenger plan to arrive at the station, and the remaining information items are returned; from the NPR, the included route and direction are respectively associated with the passenger's planned route and direction. The consistent, included station number is not greater than the information entry of the passenger's planned boarding station station, from the identified information items. The latest running information item at the station entrance time, the fresh index is calculated for each information item selected, and the running information item with a large fresh index is returned from the selected information item, and the returned quantity does not exceed the passenger's plan. One-half of the pick-up station station (or plus 1); look up from the PW, including the waiting state for waiting, including the line and direction respectively corresponding to the passenger's planned ride line and direction, The included on-board station station is not larger than the waiting information of the passenger's planned boarding station station, and returns the number of found information items including different lines; the last returned bus information in each information set, the composition The query result of the passenger inquiry request is output to the task a, and if there is no bus information in the query result, the bus message of the type that is not relevant is output. Message of interest;
c.对任务 a中析出的所述乘客的计划乘车信息及计划到达上车站时刻, 或实际乘车信息 及计算的该乘客实际上车时刻, 构建并执行以下储存操作: 对任务 a析出和计算的计划乘车 信息, 把每一条计划乘车线路、 计划乘车方向及该条线路、 计划上车车站及站次、 计划到达 上车站时刻和其它相关信息,连同设定为候车中的候车状态和交换请求的接收时间信息一起, 组合为一个候车信息条目, 汇总不同线路的候车信息条目, 得到该乘客的一组候车信息条目, 存入所述 PW中; 若任务 a接收的实际上车信息中没有包含所乘公交车辆唯一标识, 则把实际 上车线路、 实际上车方向、 实际上车车站、 实际上车时刻、 当时的乘车条件(可选), 与接收 时间信息一起, 组合为一个公交车辆运行信息条目, 存入所述 NPR; 若任务 a接收的实际上 车信息内容中包含所乘公交车辆唯一标识, 则把实际上车线路、 实际上车方向、 实际上车车 站、该公交车辆的唯一标识、实际上车时刻、 当时的乘车条件(可选), 与接收时间信息一起, 组合为一个公交车辆运行信息条目, 存入所述 IPR; 当 NPR或 IPR存入一个新的信息条目时, 在所述 PW中找出, 包含的线路、方向和计划上车车站与该新存入 NPR或 IPR的信息条目包含 的线路、 方向和车站相同, 包含的计划到达上车站时刻不晚于该新存入 NPR或 IPR的信息条 目包含的实际上车时刻, 候车状态为候车中的候车信息条目, 把找出的候车信息条目涉及的 乘客的候车状态为候车中的所有候车信息条目(含这些乘客的关于其它线路的候车信息条目) 的候车状态更新为已上车。  c. Build and execute the following storage operations on the planned ride information of the passengers in the task a and the planned arrival time at the station, or the actual ride information and the calculated actual vehicle time of the passenger: Calculated plan travel information, set each plan travel route, plan travel direction and the line, plan the train station and station, plan to arrive at the station time and other relevant information, together with the waiting for waiting in the waiting The status and the receiving time information of the exchange request are combined into one waiting information item, and the waiting information items of different lines are summarized, and a group of waiting information items of the passenger are obtained and stored in the PW; if the task a receives the actual car If the information does not include the unique identification of the bus, the actual car line, the actual car direction, the actual car station, the actual car time, the current riding condition (optional), and the receiving time information are combined. Running an information item for a bus, and depositing the NPR; if the task a receives the actual car information content Including the unique identification of the bus, the actual car route, the actual car direction, the actual bus station, the unique identification of the bus, the actual car time, the current riding conditions (optional), and the receiving time Together, the information is combined into a bus operation information entry and stored in the IPR; when the NPR or IPR stores a new information item, it is found in the PW, including the route, direction, and planned boarding station. The information entry that is newly stored in the NPR or IPR contains the same line, direction, and station. The included plan arrives at the station no later than the actual car time contained in the information entry that is newly stored in the NPR or IPR. The waiting state is waiting. The waiting information entry in the middle is updated to the waiting state of all the waiting information items (including the waiting information items of the other passengers) of the waiting information of the passengers in the waiting information entry.
另外, 在本实施例中, 如图 10所示, 所述公交信息异步交换中心 102还包括通讯接口单 元 1021、 查询单元 1022和储存单元 1023等 3个装置:  In addition, in this embodiment, as shown in FIG. 10, the bus information asynchronous switching center 102 further includes three devices: a communication interface unit 1021, a query unit 1022, and a storage unit 1023:
1021 ,通讯接口单元,用于完成任务 a,向查询单元 1022传递查询请求,向储存单元 1023 传递整理好的乘客候车信息条目、 无标识公交车辆运行信息或有标识公交车辆运行信息, 从 查询 1022接收公交信息查询结果;  1021. The communication interface unit is configured to complete task a, and send a query request to the query unit 1022, and deliver the arranged passenger waiting information entry, the unidentified bus vehicle running information, or the identified bus running information to the storage unit 1023, from the query 1022 Receive bus information query results;
1022, 查询单元, 用于完成任务 b, 把查询结果传递至单元 1021 ;  1022, the query unit is configured to complete the task b, and the query result is transmitted to the unit 1021;
1023, 储存单元, 用于完成任务 c。  1023, storage unit, used to complete the task c.
在本实施例中, 图 10所示的公交信息系统, 实质上是帮助上下游乘客之间实现公交信息 异步交换的系统, 这是公交信息的链式异步交换系统, 是在没有公交运营部门及人员参与的 条件下, 乘客群体的公交信息服务自助系统, 实现前述发明目的的同时, 保持了公交信息服 务的最大程度的开放性。  In this embodiment, the public transportation information system shown in FIG. 10 is essentially a system for facilitating asynchronous exchange of public transportation information between upstream and downstream passengers. This is a chain asynchronous switching system for public transportation information, and there is no public transportation operation department and Under the conditions of personnel participation, the passenger information bus service self-service system achieves the aforementioned objectives and maintains the maximum openness of the bus information service.
图 11示出了公交信息系统的第三实施例,提供通过由乘客和公交车辆司乘组成的公交参 与者之间的公交信息异步交换, 实现查询和收集公交信息功能的信息系统; 参照图 11, 该公 交信息系统包括乘客操控的通用联网设备 111、 公交车辆司乘操控的通用联网设备 112和公 交信息异步交换中心 113;所述公交信息异步交换中心 113,预先建立乘客候车信息集合(PW)、 司乘源的公交车辆调度信息集合(CD)、 乘客源的有标识公交车辆运行信息集合(IPR)、 乘客 源的无标识公交车辆运行信息集合 (NPR) 和司乘源的公交车辆运行信息集合 (CR), 用于分 别准备储存乘客和公交车辆司乘发送的相应的公交信息, 这 5个信息集合的数据组织形式和 包含的字段与本发明第一实施例的同名信息集合相同; 各装置的功能如下:  Fig. 11 shows a third embodiment of the public transportation information system, which provides an information system for realizing the inquiry and collection of public transportation information by asynchronous exchange of public transportation information between bus participants composed of passengers and bus vehicles; The public transportation information system includes a passenger-operated universal networking device 111, a publicly-connected universal networking device 112 and a public transportation information asynchronous switching center 113; the public transportation information asynchronous switching center 113 pre-establishes a passenger waiting information set (PW) Bus source dispatch information set (CD) of Sichengyuan, identified bus operation information set (IPR) of passenger source, unmarked bus operation information set (NPR) of passenger source and bus operation information of Sichengyuan a set (CR), configured to separately store corresponding bus information transmitted by the passenger and the bus, and the data organization form and the included field of the five information sets are the same as the same name information set of the first embodiment of the present invention; The function of the device is as follows:
111 , 乘客操控的通用联网设备, 乘客通过该设备向公交信息异步交换中心发送公交信息 交换请求, 所述公交信息交换请求包括该乘客的查询请求和当时的计划乘车信息; 接收并显 示公交信息异步交换中心返回的信息; 当该乘客乘上公交车辆时, 通过该设备向公交信息异 步交换中心反馈其实际上车信息;  111. A universally-connected device operated by a passenger, wherein the passenger sends a bus information exchange request to the bus information asynchronous exchange center, where the bus information exchange request includes the passenger's inquiry request and the planned travel information at the time; and receives and displays the bus information. Information returned by the asynchronous switching center; when the passenger gets on the bus, the device transmits the actual vehicle information to the bus information asynchronous exchange center;
所述乘客的查询请求要求返回, 关于适合该乘客的计划乘车信息、 在到达终点站前有可 能与所述乘客建立搭乘关系的在途公交车辆的运行信息; 所述计划乘车信息中, 用计划多长 时间以后到达上车站代替约定信息内容中的计划到达上车站时刻, 该时长的默认值是 0, 由 所述乘客操控的通用联网设备自动提供, 所述乘客可修改; 在所述实际上车信息中, 用实际 上车时刻到所述实际上车信息的发送时刻的时长代替约定信息内容中实际上车时刻, 该时长 的默认值是 0, 由所述通用联网设备自动提供, 所述乘客可修改; The passenger's inquiry request is required to return, regarding the planned boarding information suitable for the passenger, and the running information of the in-transit bus vehicle that may establish a boarding relationship with the passenger before reaching the terminal station; in the planned boarding information, How long is the plan? After the time arrives at the station, instead of the plan in the agreement information content, the default value of the duration is 0, which is automatically provided by the universal networked device operated by the passenger, the passenger can modify; In the middle, the actual vehicle time is replaced by the actual time of the vehicle to the actual transmission time of the vehicle information, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the passenger may modify;
112, 公交车辆司乘操控的通用联网设备, 公交车辆司乘通过该设备向公交信息异步交换 中心发送公交信息交换请求; 接收并显示公交信息异步交换中心返回的信息;  112, the public transportation device controlled by the bus and vehicle department, the bus vehicle division sends a bus information exchange request to the bus information asynchronous exchange center through the device; receives and displays the information returned by the bus information asynchronous exchange center;
公交车辆司乘接到调度指令时发送待发车状态下的公交信息交换请求, 该交换请求包含 该司乘的待发车状态下的查询请求和该调度指令中涉及本公交车辆的调度信息, 该司乘的查 询请求要求返回关于本公交车辆适合其计划乘车信息要求、 有可能与本公交车辆在发车之后 到达终点站之前建立搭乘关系的候车信息; 在所述调度信息中, 用从当前时刻到拟发车时刻 的剩余时长代替约定信息内容中的拟发车时刻, 该时长的默认值为 0, 由所述通用联网设备 自动提供, 所述司乘可修改;  The bus vehicle department sends a bus information exchange request in a state to be issued when receiving the dispatching instruction, and the exchange request includes a query request in the state of the vehicle to be dispatched and a dispatching information related to the bus in the dispatching instruction, the department The multi-query request request returns a waiting information regarding the fact that the public transportation vehicle is suitable for its planned riding information request, and may establish a riding relationship with the public transportation vehicle before reaching the terminal after the departure of the bus; in the scheduling information, from the current time to The remaining duration of the proposed departure time replaces the intended departure time in the agreed information content, and the default value of the duration is 0, which is automatically provided by the universal networking device, and the multiplication can be modified;
公交车辆司乘在开始运行本公交车辆后发送运行状态下的公交信息交换请求, 该交换请 求包括该司乘的运行状态下的查询请求和本公交车辆运行信息, 该查询请求包括要求返回, 关于本公交车辆适合其计划乘车信息要求、 有可能与本公交车辆在到达终点站之前建立搭乘 关系的候车信息, 关于与本公交车辆同线路和同方向的在途的其它公交车辆的运行信息; 所 述本公交车辆的运行信息包含本公交车辆正在停靠或最近一次停靠车站时的运行信息,其中, 用进站时刻到当前时刻的时长代替约定的信息内容中的进站时刻, 该时长的默认值是 0, 由 所述通用联网设备自动提供, 所述司乘可修改;  The bus vehicle department sends a bus information exchange request in the running state after starting to run the bus, and the exchange request includes an inquiry request in the running state of the division and the current bus operation information, and the query request includes a request to return, The bus is suitable for the information of the planned travel information, the waiting information that may be established before the bus arrives at the terminal, and the information about the operation of other buses in the same line and in the same direction as the bus; The operation information of the public transportation vehicle includes the operation information when the public transportation vehicle is docked or the last time the parking station is stopped, wherein the time limit from the time of the arrival to the current time is used instead of the time of the arrival in the agreed information content, and the default value of the duration is Is 0, is automatically provided by the universal networking device, and the multiplier can be modified;
113, 所述公交信息异步交换中心, 用于完成以下任务:  113. The bus information asynchronous switching center is used to complete the following tasks:
al.与乘客操控的通用联网设备进行通讯: 接收装置 111发送的公交信息交换请求, 从中 析出所述乘客的查询请求和当时计划乘车信息的内容, 以所述乘客查询请求的接收时间为基 准, 利用析出的计划多长时间后到达上车站的数据, 计算该乘客计划到达上车站时刻; 接收 来自装置 111的实际上车信息, 以所述实际上车信息的接收时间为基准, 利用实际上车信息 中上车时刻到查询请求发送时刻的时长的数据, 计算该乘客实际上车时刻; 把任务 M中查询 输出结果返回给所述乘客操控的装置 111 ;  Al. communicating with a passenger-operated universal networking device: a bus information exchange request sent by the receiving device 111, from which the passenger's inquiry request and the content of the scheduled travel information are extracted, based on the reception time of the passenger inquiry request Using the data of how long the premature plan arrives at the station, calculating the time when the passenger plan arrives at the station; receiving the actual vehicle information from the device 111, based on the reception time of the actual vehicle information, Calculating the actual vehicle time of the passenger in the vehicle information to the time of the inquiry request sending time; returning the query output result in the task M to the device 111 operated by the passenger;
a2.与公交车辆司乘操控的通用联网设备进行通讯:接收来自装置 112的公交信息交换请 求, 从中析出该司乘的待发车状态下的查询请求和所述本公交车辆的调度信息, 或所述本公 交车辆的运行信息和运行状态下的查询请求; 以所述交换请求的接收时间为基准, 利用析出 的从当前时刻到拟发车时刻的剩余时长, 计算该公交车辆的拟发车时刻, 或利用析出的所述 进站时刻到当前时刻的时长的数据, 计算该公交车辆的进站时刻; 把任务 b2中查询输出结果 返回给所述公交车辆司乘操控的装置 111 ;  A2. Communicating with the public network device operated by the bus and vehicle department: receiving a bus information exchange request from the device 112, and extracting the inquiry request in the state of the vehicle to be dispatched and the scheduling information of the public transportation vehicle, or the Describe the operation information of the public transportation vehicle and the inquiry request in the running state; based on the receiving time of the exchange request, calculate the planned departure time of the public transportation vehicle by using the remaining time from the current time to the scheduled departure time, or Calculating the arrival time of the public transportation vehicle by using the data of the time interval from the time of the arrival to the current time; returning the query output result in the task b2 to the device 111 operated by the bus driver;
M.对任务 al中析出的所述乘客的查询请求, 构造并执行如下查询操作: 对所述乘客的 每一个计划乘车线路和方向, 在所述 CD、 IPR、 NPR、 CR、 PW上实施如下查询: 从所述 CD中 查找包含的线路与所述乘客的计划乘车线路相同、 不同公交车辆的拟发车时刻最晚的信息条 目,从查找到的信息条目中选择包含的方向与所述乘客的计划乘车方向一致的调度信息条目, 从选择的信息条目中返回拟发车时刻较晚的信息条目, 返回的数量不超过所述乘客的计划上 车车站站次 (或加 1 ) 的二分之一; 从 IPR中查找包含的线路与所述乘客的计划乘车线路相 同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息条目中返回, 包含的方向 与所述乘客的计划乘车方向一致、 包含的车站站次不大于所述乘客的计划上车车站站次的运 行信息条目; 从 NPR找出, 包含的线路和方向分别与所述乘客的计划乘车线路和方向一致、 包含的车站站次不大于所述乘客的计划上车车站站次的信息条目, 从找出的信息条目中选择 不同车站的进站时刻最晚的运行信息条目, 对选择的每一个信息条目, 计算新鲜指数, 从选 择的信息条目中返回新鲜指数较大的运行信息条目, 返回的数量不超过该乘客的计划上车车 站站次(或加 1 )的二分之一; 从所述 CR中查找包含的线路与所述乘客的计划乘车线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到的信息条目中返回包含的方向与所述 乘客的计划乘车方向一致、 包含的车站站次不大于所述乘客的计划上车车站站次的运行信息 条目; 在所有返回的运行信息条目中, 把包含的车站与所述乘客计划上车车站相同、 且进站 时刻早于所述乘客计划到达上车站时刻的运行条目剔除; 从所述 PW中查找, 包含的候车状态 为候车中、 包含的线路和方向分别与所述乘客计划乘车线路和方向一致、 包含的计划上车车 站站次不大于该乘客计划上车车站站次的候车信息条目, 返回找到的信息条目的数量; 把相 关查询结果输出到任务 al : 最后返回结果中若包含公交信息, 则输出这些公交信息, 若没有 包含任何公交信息时, 输出关于暂无符合要求的公交信息的消息; M. Querying the passengers in the task a, constructing and executing the following query operation: implementing each of the passengers' planned route and direction on the CD, IPR, NPR, CR, PW The following query is performed: searching for the information item containing the same route as the planned passenger route of the passenger and the latest departure time of the different public transportation vehicle from the CD, and selecting the included direction from the found information item and the The passenger's planned dispatching information item with the same direction of travel, and the information item with the late departure time is returned from the selected information item, and the returned quantity does not exceed the number of the passenger's planned boarding station station (or plus 1). One of the points; the last running information entry from the IPR that contains the same line as the passenger's planned passenger route, the different station bus's arrival time, returns from the found information entry, includes the direction and the The passenger's plan is in the same direction, and the station number included is not greater than the operation information entry of the passenger's planned boarding station; the NPR is found, the included line The road and direction are respectively consistent with the planned passenger route and direction of the passenger, and the included station station is not larger than the information entry of the passenger's planned boarding station station, and the selected information items are selected. The latest running information entry for the stop time of different stations, for each selected information item, the fresh index is calculated, and the running information item with the fresh fresh index is returned from the selected information item, and the returned quantity does not exceed the passenger's plan. One-half of the pick-up station station (or plus 1); find the last running information entry from the CR that contains the same line as the passenger's planned ride line, and the different station bus stop times. Returning from the found information item, the direction of the inclusion includes the running direction information of the passenger's planned riding direction, and the included station number is not greater than the passenger's planned boarding station station; in all returned running information items The selected station is the same as the passenger plan boarding station, and the running time is earlier than the time when the passenger planned to arrive at the station; the search is performed from the PW, and the waiting state is included in the waiting, The included route and direction are respectively consistent with the passenger planned bus route and direction, and the planned on-board station station is not greater than the ride. The waiting information entry of the station on the train station is returned, and the number of found information items is returned; the relevant query result is output to the task a1: If the public transportation information is included in the final return result, the public transportation information is output, if no public transportation information is included , outputting information about public transportation information that does not meet the requirements;
b2.对任务 a2中析出的所述司乘的待发车状态下的查询请求,构造并执行如下查询操作: 从所述 PW中查找, 包含的候车状态为候车中、包含的线路和方向分别与本公交车辆的调度线 路和调度方向一致的乘客的候车信息条目, 从找到的信息条目中剔除包含的车站为首站、 包 含的计划到达上车站时刻晚于拟发车时刻的信息条目, 返回剩余的乘客候车信息条目, 当没 有返回任何信息条目时, 返回关于暂无符合要求的公交信息的消息;  B2. Querying the query request in the state of the vehicle to be dispatched in the task a2, constructing and executing the following query operation: searching from the PW, including the waiting state for waiting, including the line and the direction respectively The waiting information of the passengers of the public transportation vehicle and the waiting information of the passengers in the same direction are excluded from the found information items, and the included information is the first station, and the information items including the scheduled arrival time at the station is later than the scheduled departure time, and the remaining passengers are returned. Waiting information entry, when no information entry is returned, return a message about the public transit information that does not meet the requirements;
对 a2 中析出的所述司乘的运行状态下的查询请求, 构造并执行如下查询操作: 从所述 PW中查找, 包含的候车状态为候车中、 包含的线路和方向分别与本公交车辆的运行线路和运 行方向一致、 包含的车站的站次不小于本公交车辆停靠车站站次的信息条目, 从找到的信息 条目中剔除包含的车站与所述本公交车辆的停靠车站相同、 包含的计划到达上车站时刻晚于 所述本公交车辆的进站时刻的条目, 返回剩余的乘客候车信息条目; 从所述 CR查找, 包含的 线路与所述本公交车辆的线路相同、 不同公交车辆的进站时刻最晚的运行信息条目, 从找到 的信息条目中返回, 包含的方向与所述本公交车辆的运行方向一致的运行信息条目; 从所述 IPR 查找, 包含的线路与所述本公交车辆的线路相同、 不同公交车辆的实际上车时刻最晚的 运行信息条目, 从找到的信息条目中返回包含的方向与所述本公交车辆的运行方向一致的运 行信息条目; 从所述 NPR找出, 包含的线路和方向分别与所述本公交车辆的运行线路和方向 一致的信息条目, 从找出的信息条目中选择不同线路、 方向、 车站的实际上车时刻最晚的运 行信息条目, 对选择的每一个信息条目, 计算实际上车车站距离下一站的里程数与该条目中 实际上车时刻距离当前时刻的时长之比, 称为信息条目的新鲜指数, 从选择的信息条目中返 回新鲜指数较大的运行信息条目, 返回的数量不超过本公交车辆在当前方向上总站数 (或加 1 ) 的二分之一; 把上述查询结果输出到任务 a2: 若最后的查询结果包含公交信息, 则输出 所包含的公交信息, 若没有返回任何公交信息时, 输出关于暂无符合要求的公交信息的消息;  For the query request in the running state of the division multiplied in a2, construct and execute the following query operation: searching from the PW, including the waiting state in the waiting state, including the line and direction respectively with the bus The running line and the running direction are the same, and the station number of the included station is not less than the information item of the station number of the bus stop station, and the included station is excluded from the found information station and the plan included in the bus station. Reaching the entry of the station at a time later than the arrival time of the bus, returning the remaining passenger waiting information entry; searching from the CR, including the same line as the bus, and different bus vehicles The latest running information item at the station time, returned from the found information item, containing an operation information item whose direction is consistent with the running direction of the public transportation vehicle; from the IPR search, the included line and the public transportation vehicle The line of the same, the actual running information entry of the actual bus time of different bus vehicles, from Returning to the information item to return an operation information item including a direction consistent with the running direction of the public transportation vehicle; and finding from the NPR, the included line and direction are respectively consistent with the running line and direction of the public transportation vehicle Information item, select the different line, direction, and the last running information item of the actual time of the station from the found information items. For each information item selected, calculate the actual number of the station and the next station. The ratio of the actual time of the vehicle to the current time in the entry is called the fresh index of the information item, and the running information item with the fresh fresh index is returned from the selected information item, and the returned quantity does not exceed the current direction of the public transportation vehicle. Output one-half of the total number of stations (or plus 1); output the above query result to task a2: If the last query result contains bus information, output the included bus information, if no bus information is returned, output about There is no news of the required bus information;
cl.对任务 al中析出和计算的计划乘车信息, 从中整理出每一条公交线路、 方向、 计划 上车车站及站次、 计划到达上车站时刻、 乘车说明 (可选) 及其其它相关信息, 添加设定为 候车中的候车状态和所述交换请求的接收时间, 组合为一个乘客候车信息条目, 汇总不同线 路的候车信息条目, 得到该乘客一组候车信息条目, 存入 PW中; 对任务 al中接收和计算的 实际上车信息, 若其中没有包含所乘公交车辆唯一标识, 则把实际上车线路、 实际上车方向、 实际上车车站、 实际上车时刻、 当时的乘车条件(可选), 与接收时间信息一起, 组合为一个 公交车辆运行信息条目, 存入所述 NPR; 若其中包含所乘公交车辆唯一标识, 则把实际上车 线路、 实际上车方向、 实际上车车站、 该公交车辆唯一标识、 实际上车时刻、 当时的乘车条 件 (可选), 与接收时间信息一起, 组合为一个公交车辆运行信息条目, 存入所述 IPR; c2.对任务 a2中析出和计算的关于公交车辆调度信息, 把本公交车辆唯一标识、 发车线 路、 发车方向、 拟发车时刻、 发车说明 (可选), 连同接收时间信息, 组合为一个公交车辆调 度信息条目, 存入所述 CD; 对任务 a2析出和计算的关于公交车辆运行信息, 把本公交车辆 唯一标识、 运行线路、 运行方向、 停靠车站及站次、 进站时刻、 乘车条件(可选), 连同接收 时间信息, 组合为一个公交车辆运行信息条目, 存入所述 CR; Cl. Planned ride information for the precipitation and calculation in the task a, from which to sort out each bus line, direction, planned boarding station and station number, plan to arrive at the station time, travel instructions (optional) and other related The information is added to the waiting state in the waiting mode and the receiving time of the exchange request, and is combined into one passenger waiting information item, and the waiting information items of the different lines are summarized, and the waiting information item of the passenger is obtained and stored in the PW; For the actual car information received and calculated in the task a1, if it does not contain the unique identification of the bus, the actual car route, the actual car direction, the actual car station, the actual car time, the current ride Condition (optional), together with the reception time information, is combined into a bus operation information item and stored in the NPR; if it contains the unique identification of the bus, the actual vehicle line, the actual vehicle direction, and the actual Boarding station, the unique identification of the bus, the actual car time, the current riding conditions (optional), and the connection Together with the time information, combined into a transit vehicle running information item, stored in said IPR;. C2 a2 tasks and calculations on precipitated buses scheduling information to uniquely identify this buses, starting line Road, departure direction, planned departure time, departure description (optional), together with receiving time information, combined into one bus vehicle scheduling information item, stored in the CD; for the task a2 precipitation and calculation of the bus operation information, The unique identification of the bus, the running line, the running direction, the stopping station and the station, the time of entering the station, the riding condition (optional), together with the receiving time information, are combined into one bus running information item, and stored in the CR;
c3.当所述的 CR、 NPR、 IPR存入新的信息条目时,在所述 PW中找出,候车状态为候车中, 包含的线路、 方向和计划上车车站与该新存入 CR、 NPR或 IPR的信息条目包含的线路、 方向 和车站相同, 包含的计划到达上车站时刻不晚于该新存入 CR、 NPR或 IPR的信息条目包含的 进站时刻或实际上车时刻的候车信息条目, 把找出的候车信息条目涉及的乘客的候车状态为 候车中的所有候车信息条目 (含这些乘客的关于其它线路的候车信息条目) 的候车状态更新 为已上车。  C3. When the CR, NPR, and IPR are stored in a new information item, find out in the PW that the waiting state is in the waiting mode, the included line, the direction, and the planned boarding station and the newly deposited CR, The information entry of the NPR or IPR contains the same line, direction and station, and includes the waiting information of the arrival time or the actual vehicle time included in the information entry of the newly deposited CR, NPR or IPR. In the entry, the waiting state of the passengers involved in the found waiting information entry is the waiting state of all the waiting information items (including the waiting information items of the other passengers) of the waiting vehicle, and the waiting state is updated to the boarding state.
另外, 本发明实施例中, 如图 11所示, 所述公交信息异步交换中心 113还可以包括乘客 通讯接口单元 1131、 司乘通讯接口单元 1132、 查询单元 1133、 储存单元 1134等 4个装置, 各装置的功能如下:  In addition, in the embodiment of the present invention, as shown in FIG. 11, the bus information asynchronous switching center 113 may further include four devices, such as a passenger communication interface unit 1131, a communication interface unit 1132, a query unit 1133, and a storage unit 1134. The functions of each device are as follows:
1131 , 乘客通讯接口单元, 用于完成所述公交信息异步交换中心 113的任务 al ;  1131, a passenger communication interface unit, configured to complete the task of the bus information asynchronous exchange center 113;
1132, 司乘通讯接口单元, 用于完成所述公交信息异步交换中心 113的任务 a2; 1132, a communication interface unit for completing the task a2 of the bus information asynchronous exchange center 113 ;
1133, 查询单元, 用于完成所述公交信息异步交换中心 113的任务 bl、 b2。  1133. The query unit is configured to complete tasks bl and b2 of the bus information asynchronous switching center 113.
1134, 储存单元, 用于完成所述公交信息异步交换中心 113的任务 cl、 c2、 C3。 1134. The storage unit is configured to complete the tasks cl, c2, and C3 of the bus information asynchronous switching center 113.
在本发明公交信息系统的第三实施例中,图 11所示系统实际上是融合公交信息的链式异 步交换和对偶异步交换的信息系统, 链式异步交换的启动速度被对偶异步交换加速, 对偶异 步交换的耦合性要求被链式异步交换释放了, 实际效果包括可查询的公交信息更及时更准确 更全面, 公交车辆司乘除待发车状态关于本公交车辆的调度信息, 运行状态下的首站发布关 于本公交车辆的运行信息外, 可以在运行中不必每停靠一站, 就发布一次。  In the third embodiment of the public transportation information system of the present invention, the system shown in FIG. 11 is actually an information system for chain asynchronous switching and dual asynchronous switching of bus information, and the startup speed of the chain asynchronous switching is accelerated by the dual asynchronous exchange. The coupling requirement of dual asynchronous switching is released by chain asynchronous switching. The actual effect includes more timely, more accurate and comprehensive bus information that can be queried. The bus vehicle division multiply and wait for the state of the vehicle to be dispatched. The first station publishes information about the operation of the bus, and it can be issued once every stop without having to stop at the station.
值得说明的有如下几点:  It is worth noting that there are the following points:
1、实现公交信息的异步交换是本发明所有实施例的基础, 也是本发明中公交信息的查询 和收集方法、 公交信息系统的技术特征, 处于要求权利保护的核心; 有关实施例中, 公交信 息查询和收集是否有效、 相关的技术优势是否得到体现和公交信息系统运行是否正常取决于 公交信息异步交换是否活跃;系统应想方设法鼓励首站首发车辆乘客积极参与公交信息交换, 如为他们提供一些相关线路、 方向、 车站、 时段的历史公交信息, 也可以使用其它手段给予 激励; 本质上, 本发明的实施例为公交参与者群体获益于实践人类互助合作精神, 提供一个 技术平台, 发明人对公交参与者群体的互助合作精神充满信心。  1. Realizing asynchronous exchange of public transportation information is the basis of all embodiments of the present invention, and is also a method for querying and collecting public transportation information and technical features of the public transportation information system in the present invention, and is at the core of claiming rights protection; in related embodiments, public transportation information Whether the inquiry and collection are effective, whether the relevant technical advantages are reflected and whether the public transportation information system is operating normally depends on whether the asynchronous exchange of bus information is active; the system should try to encourage the first station passengers to actively participate in the bus information exchange, such as providing them with relevant The historical bus information of the line, direction, station, and time period may also be stimulated by other means; in essence, the embodiment of the present invention provides a technical platform for the bus participant group to benefit from the practice of human mutual cooperation and cooperation, and the inventor The spirit of mutual assistance and cooperation among the bus participants is full of confidence.
2、 不同类型的公交参与者的查询请求, 可以是但不限于如列举的那样; 针对同一公交参 与者类型的不同公交参与者, 或同一个公交参与者在不同的情景下可以有不同的查询请求, 例如对于首站候车的乘客, 查询请求可以要求返回关于最近已发公交车辆的信息; 在上述所 有实施例中, 对设定的每一种查询请求, 都详细描述了对应的查询条件, 其目的并不是意图 在穷尽本发明所可能涉及的查询请求及相应的查询条件, 在于展示, 本发明在所述查询请求 的局面下, 可以通过公交信息异步交换来满足相应的查询请求, 以公交信息异步交换为基础 的公交信息查询是可行的; 本发明要求权利保护的范围包括, 以公交信息异步交换为基础的 实现公交信息查询和收集功能的所有不同过程、 方法和系统, 这些不同过程、 方法、 系统不 局限于实施例列举的查询请求及对应的查询条件。  2. The query requests of different types of bus participants may be, but are not limited to, as listed; different bus participants of the same bus participant type, or the same bus participant may have different queries in different scenarios. The request, for example, for the passenger waiting at the first station, the query request may request to return information about the recently issued bus; in all of the above embodiments, the corresponding query conditions are described in detail for each of the set query requests. The purpose is not intended to exhaust the query request and corresponding query conditions that may be involved in the present invention. In the case of the query request, the present invention can satisfy the corresponding query request by using the bus information asynchronous exchange. The information asynchronous query-based public transportation information inquiry is feasible; the scope of the claimed invention includes all the different processes, methods and systems for realizing the public transportation information inquiry and collection function based on the asynchronous exchange of public transportation information, these different processes, Method, system is not limited to the embodiment Listed query requests and corresponding query conditions.
3、所述通用联网设备包括但不限于是可以联网的手机, 也可以是能够联网的其它固定或 便携设备如联网的电脑、 上网本、 平板电脑等设备。  3. The universal networking device includes, but is not limited to, a mobile phone that can be networked, or other fixed or portable devices that can be networked, such as a networked computer, a netbook, a tablet computer, and the like.
4、在包含公交车辆唯一标识的关于公交车辆运行信息的集合(如 CR、 IPR)中, 查询"在 途"公交车辆, 是通过 "不同线路不同公交车辆的进站时刻或实际上车时刻最晚的运行信息 条目" 的条件来找到的; 只要当时涉及有关车辆的公交信息异步交换是及时无误的, 除了涉 及末尾 2站的信息条目(几乎没有乘客取查询关于末尾 2站的公交车辆的状况)夕卜,这种"理 论上" 的在途与实际上的在途之间的误差较小; 在没有包含公交车辆唯一标识的关于公交车 辆运行信息的集合 (如 NPR) 中, "在途 "公交车辆是通过相关信息条目的新鲜指数的计算来 估计的, 查询的准确性不如包含车辆唯一标识的信息集合; 关于乘客候车信息查询中, 查询 条件中 "候车状态为候车中" 的准确性取决于相关的乘客反馈信息和司乘参与公交信息异步 交换的及时性; 本发明的实施例中, 对涉及 "搭乘关系" 的查询, 但并不保证所述乘客就一 定能搭乘上相应的公交车辆, 只是排除了在公交车辆的一个运行周期内不具有搭乘关系后剩 余对应关系; 4. In the collection of bus traffic information (such as CR, IPR) containing the unique identifier of the bus, query "in the The "bus" is found by the conditions of "the arrival time of different bus lines of different lines or the latest operation information item of the actual vehicle time"; as long as the asynchronous exchange of bus information concerning the vehicle at that time is timely, Except for the information items related to the last 2 stations (almost no passengers take the inquiry about the status of the bus stations at the end 2 stations), the error between this "theoretical" in transit and the actual in transit is small; In the collection of bus vehicle operation information (such as NPR) uniquely identified by the bus, the "in transit" bus is estimated by the calculation of the fresh index of the relevant information item, and the accuracy of the inquiry is not as good as the information set containing the unique identifier of the vehicle; Regarding the passenger waiting information inquiry, the accuracy of the "waiting state is waiting in the vehicle" in the inquiry condition depends on the relevant passenger feedback information and the timeliness of the asynchronous exchange of the participating bus information; in the embodiment of the present invention, the "inquiry", but there is no guarantee that the passenger will be able to board the corresponding bus, only It does not exclude residual correspondence relationship having in relation ride after a running period of buses;
每个参与公交信息异步交换的公交参与者既是公交信息的消费者, 又是公交信息的生产 者, 他们理解查询到的公交信息的产生过程; 随着公交参与者使用本发明的公交信息查询、 收集方法和公交信息系统经验的增加, 很容易适应公交信息异步交换的这种 "误差"或 "柔 性", 这种系统中的互动特性表明, 通过公交信息异步交换实现公交信息的查询和收集是本发 明技术方案的特征。  Each bus participant participating in the asynchronous exchange of bus information is both a consumer of bus information and a producer of bus information. They understand the process of generating the bus information that is queried; as the bus participants use the bus information of the present invention to query, The increase in experience in collection methods and public transport information systems can easily adapt to the "error" or "flexibility" of asynchronous exchange of public transport information. The interactive characteristics of such systems indicate that the query and collection of public transport information through the asynchronous exchange of public transport information is Features of the technical solution of the present invention.
5、 本发明上述所有实施例中, 所述乘车条件, 包括: 关于公交车辆车内的卫生状况的信 息、 关于公交车辆车内剩余空座位的信息、 关于公交车辆车内拥挤状况的信息、 关于公交车 辆车内的视觉感知感受的信息、 关于公交车辆车内的嗅觉感知感受的信息、 关于公交车辆的 所在线路沿途路况的信息、关于公交车辆车内安全状况的信息; 在述及乘车条件的实施例中, 乘车条件作为相应公交信息的可选信息内容, 这样设计主要是考虑到一部分公交参与者, 因 所参与的公交活动比较紧张(如车内乘客较多的司乘、 带着小孩或行李的乘客等), 无暇返回 更详细的乘车条件,作为可选内容可使他们在不提供乘车条件信息的条件正常参加信息交换; 本发明实施例可以有效地查询和收集关于乘车条件的信息, 体现本发明的公交信息服务人性 化的技术特色。  5. In all the above embodiments of the present invention, the riding condition includes: information about a sanitary condition in a bus of the bus, information about a remaining empty seat in the bus, and information about a crowded condition of the bus in the bus, Information about the visual perception of the vehicle in the bus, information about the sense of smell in the bus, the information about the road condition along the route of the bus, information about the safety situation of the bus in the bus; In the embodiment of the condition, the riding condition is used as the optional information content of the corresponding public transportation information, and the design is mainly considering a part of the public transportation participant, because the participating public transportation activities are relatively tight (such as the passengers and passengers with more passengers in the vehicle) The passengers or the passengers of the luggage, etc., return to the more detailed riding conditions, as an optional content, so that they can participate in the information exchange without providing the driving condition information; the embodiment of the present invention can effectively query and collect relevant information. The information of the riding conditions, embodying the humanized technology of the public transportation information service of the present invention color.
6、 图 5、 6、 7、 8中每一张图示出的公交信息异步交换过程中, 都包含一个并联组合模 块 I U 0; 在图 5、 6、 7中, 可以把模块 I U 0中的公交信息换入操作 I (包括相应的步骤 I I — 12—13)在该模块的过程结束后重复若干次,图 8中模块 I U 0中的公交信息换入操作 1 (包 括相应的步骤 Π— Ι2—Ι3) 可以在步骤 84之前重复若干次, 以满足该公交参与者要刷新原 来的查询请求的需求; 为减轻公交信息异步交换中心的运行负荷, 可以对这些公交信息换入 操作的重复进行多种形式的限制, 例如重复的总次数不超过某个数值、 相邻向此的操作重复 最小间隔时间不低于事先指定的一个时长。  6. In the asynchronous exchange process of bus information shown in each of Figures 5, 6, 7, and 8, all of the parallel combination modules IU 0 are included; in Figures 5, 6, and 7, the module IU 0 can be The bus information exchange operation I (including the corresponding step II-12-13) is repeated several times after the end of the process of the module, and the bus information in the module IU 0 in Fig. 8 is switched into operation 1 (including the corresponding steps Π - Ι 2 - Ι 3) can be repeated several times before step 84 to meet the needs of the bus participant to refresh the original query request; in order to reduce the operational load of the bus information asynchronous switching center, the bus information exchange operation can be repeated repeatedly The limitation of the form, for example, the total number of repetitions does not exceed a certain value, and the interval of adjacent operations to the minimum interval is not less than a predetermined length of time.
7、 在本发明实施例中, 在关于公交车辆调度信息或运行信息的查询结果中, 包括了来源 于调度员、 乘客(还分包含公交车辆唯一标识和没有包含公交车辆唯一标识)、 司乘等不同公 交参与者的信息, 这些信息的产生过程相对独立, 不同信息集合同类信息未必完全相同, 不 同源的查询结果可以相互补充和交叉确认;  7. In the embodiment of the present invention, the query result about the bus dispatching information or the running information includes the dispatcher and the passenger (including the unique identifier of the public transport vehicle and the unique identifier of the public transport vehicle), The information generated by different bus participants is relatively independent. The information of different information collections may not be identical. The results of different sources may be complemented and cross-checked.

Claims

权利要求书 claims
1. 一种公交信息查询和收集的方法, 其特征在于, 公交参与者通过参与公交信息的异步 交换来完成公交信息查询, 公交信息异步交换中心在协助公交信息异步交换的过程中收集公 交信息; 所述公交参与者参与公交信息异步交换的操作, 包括公交信息的换出操作和换入操 作, 所述换出操作包括步骤 -01和步骤 -02: 1. A method for public transportation information inquiry and collection, characterized in that public transportation participants complete public transportation information inquiry by participating in asynchronous exchange of public transportation information, and the public transportation information asynchronous exchange center collects public transportation information in the process of assisting in the asynchronous exchange of public transportation information; The bus participants participate in the asynchronous exchange of bus information, including the swap-out operation and the swap-in operation of the bus information. The swap-out operation includes step-01 and step-02:
步骤 -01 : 所述公交参与者通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者当时已经获知的用于换出的公交信 息; Step-01: The bus participant sends a bus information exchange request to the bus information asynchronous exchange center through the general networking device controlled by the bus participant. The exchange request includes the bus information that the bus participant has learned at that time for swapping out. public transportation information;
步骤 -02:所述公交信息异步交换中心,接收来自所述通用联网设备的公交信息交换请求, 析出所述公交参与者当时已经获知的用于换出的公交信息, 保存该析出的公交信息; Step-02: The public transportation information asynchronous exchange center receives the public transportation information exchange request from the general networking device, parses out the public transportation information for swapping out that the public transportation participant has learned at that time, and saves the parsed public transportation information;
所述换入操作包括步骤 -II至步骤 -13: The swap-in operation includes step-II to step-13:
步骤 -II : 所述公交参与者通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者的公交信息查询请求; Step -II: The public transportation participant sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the general networking device controlled by the public transportation participant, and the exchange request includes the public transportation information query request of the public transportation participant;
步骤 -12:所述公交信息异步交换中心,接收来自所述通用联网设备的公交信息交换请求, 析出所述公交参与者的公交信息查询请求; 根据析出的公交信息查询请求, 从已经保存的其 它公交参与者用于换出的公交信息中查询相关的公交信息, 把相应的查询结果返回给所述公 交参与者操控的通用联网设备; Step-12: The public transportation information asynchronous exchange center receives the public transportation information exchange request from the general networking device, and parses the public transportation information query request of the public transportation participant; according to the parsed public transportation information query request, from other saved public transportation information query requests The bus participant is used to query the relevant bus information from the swapped out bus information, and returns the corresponding query results to the general networking device controlled by the bus participant;
步骤 -B: 所述公交参与者操控的通用联网设备, 接收所述公交信息异步交换中心返回的 信息, 显示所述查询结果; Step -B: The general networking device controlled by the public transportation participant receives the information returned by the public transportation information asynchronous exchange center and displays the query result;
对此两种操作按照一定方式进行组合, 形成相应的公交信息异步交换过程, 所述公交参 与者按该交换过程参与公交信息异步交换, 实现公交信息查询任务, 所述公交信息异步交换 中心收集到新的公交信息。 These two operations are combined in a certain way to form a corresponding asynchronous exchange process of public transportation information. The public transportation participants participate in the asynchronous exchange of public transportation information according to this exchange process and realize the public transportation information query task. The public transportation information asynchronous exchange center collects New bus information.
2. 如权利要求 1所述的公交信息查询和收集的方法, 其特征在于, 所述对此两种操作以 一定方式进行组合, 包括, 对此两种操作按照以下两种方式进行组合: 2. The method of querying and collecting public transportation information as claimed in claim 1, characterized in that the two operations are combined in a certain way, including the two operations are combined in the following two ways:
并联方式: 对所述换出操作和所述换入操作, 按照让该两种操作在同一时间开始执行的 方式进行组合; Parallel mode: The swap-out operation and the swap-in operation are combined in such a way that the two operations start to be executed at the same time;
串联方式: 对所述换出操作和所述换入操作, 按照让其中一种操作在另一种操作结束时 间之后的某个时间开始执行的方式进行组合。 Series mode: The swap-out operation and the swap-in operation are combined in such a way that one operation starts to be executed at a certain time after the end time of the other operation.
3. 如权利要求 2所述的公交信息查询和收集的方法, 其特征在于, 对一次所述换出操作 和一次所述换入操作按并联方式进行组合, 形成并联组合模块, 按照并联组合模块, 公交参 与者参与公交信息异步交换的过程包括以下步骤: 3. The method for querying and collecting public transportation information as claimed in claim 2, characterized in that, one of the swap-out operations and one of the swap-in operations are combined in a parallel manner to form a parallel combination module, according to the parallel combination module , the process of public transportation participants participating in the asynchronous exchange of public transportation information includes the following steps:
步骤 U 1 : 所述公交参与者通过其操控的通用联网设备, 向所述公交信息异步交换中心发 送公交信息交换请求, 所述交换请求包含所述公交参与者的公交信息查询请求和当时已经获 知的用于换出的公交信息; Step U1: The public transportation participant sends a public transportation information exchange request to the public transportation information asynchronous exchange center through the general networking device controlled by the public transportation participant. The exchange request includes the public transportation information query request of the public transportation participant and the public transportation information that has been learned at that time. for swapping out bus information;
步骤 U 2:所述公交信息异步交换中心,接收来自所述通用联网设备的公交信息交换请求, 析出所述公交参与者的公交信息查询请求和当时已经获知的用于换出的公交信息; 根据所述 公交信息查询请求, 从已经保存的其它公交参与者用于换出的公交信息中查询相关的公交信 息, 把相应的查询结果返回给所述公交参与者操控的通用联网设备; 保存所述公交参与者当 时已经获知的用于换出的公交信息; Step U2: The public transportation information asynchronous exchange center receives the public transportation information exchange request from the general networking device, and parses the public transportation information query request of the public transportation participant and the public transportation information that has been learned at that time for swapping out; According to The public transportation information query request queries relevant public transportation information from the public transportation information that has been saved by other public transportation participants for swapping out, and returns the corresponding query results to the general networking device controlled by the public transportation participant; save the The bus information for swap out that the bus participant already knew at that time;
步骤 U 3: 所述公交参与者操控的通用联网设备, 接收所述公交信息异步交换中心返回的 信息, 显示所述查询结果。 Step U 3: The general networking device controlled by the public transportation participant receives the information returned by the public transportation information asynchronous exchange center. Information, displaying the query results.
4. 如权利要求 3所述的公交信息查询和收集的方法, 其特征在于, 所述公交参与者参与 的一轮公交信息异步交换,包含一次 /多次所述换出操作和一次 /多次所述换入操作; 对所包含 的所述换入操作、 所述换出操作, 若有并联组合方式, 则先按所述并联方式把相关的操作组 合成并联操作模块; 预先确定一定次序, 按照该次序, 把一个操作或操作模块的最先开始时 间放在另一个操作或操作模块的最后结束时间之后, 进行最后组合, 形成该轮公交信息异步 交换的一种过程, 所述公交参与者根据此过程参与公交信息异步交换, 完成公交信息查询任 务, 所述公交信息交换中心收集到新的公交信息。 4. The method for querying and collecting public transportation information as claimed in claim 3, characterized in that the round of asynchronous exchange of public transportation information in which the public transportation participants participate includes one/multiple times of the swap-out operation and one/multiple times. The swap-in operation; For the swap-in operation and the swap-out operation included, if there is a parallel combination mode, first combine the relevant operations into a parallel operation module according to the parallel mode; determine a certain order in advance, According to this order, the first start time of one operation or operation module is placed after the last end time of another operation or operation module, and the final combination is performed to form a process of asynchronous exchange of bus information in this round. The bus participants According to this process, the bus information exchange is participated in asynchronously, the bus information query task is completed, and the bus information exchange center collects new bus information.
5. 如权利要求 3所述的公交信息查询和收集的方法, 其特征在于, 所述公交参与者参与 的一轮公交信息异步交换,包含一次 /多次所述换出操作和一次 /多次换入操作; 所述公交参与 者在参与不同公交活动的不同阶段, 根据当时的具体场景, 每次从所述换入操作、 所述换出 操作或所述并联组合模块中, 自主选择合适的公交信息交换操作。 5. The method for querying and collecting public transportation information as claimed in claim 3, characterized in that the round of asynchronous exchange of public transportation information in which the public transportation participants participate includes one/multiple times of the swap-out operation and one/multiple times. Switch-in operation; The bus participants, at different stages of participating in different bus activities, independently select the appropriate one from the switch-in operation, the switch-out operation or the parallel combination module each time according to the specific scene at that time. Bus information exchange operations.
6. 如权利要求 4所述的公交信息查询和收集的方法, 其特征在于, 所述公交参与者包括 乘客和公交车辆司乘两个类型; 所述公交信息异步交换中心预先创建乘客候车信息集合、 司 乘源的公交车辆调度信息集合和司乘源的公交车辆运行信息集合, 用于分别准备保存乘客的 候车信息条目、 公交车辆司乘在待发车状态下发送的公交车辆调度信息、 在运行状态下发送 的公交车辆运行信息; 6. The method of querying and collecting public transportation information as claimed in claim 4, wherein the public transportation participants include two types: passengers and public transportation vehicle drivers; the public transportation information asynchronous exchange center pre-creates a passenger waiting information collection , the bus dispatching information set of the driver's source and the bus operating information collection of the driver's source are used to respectively prepare and save the passengers' waiting information entries, the bus dispatching information sent by the bus driver in the waiting state, and the bus dispatching information in the running state. Bus operation information sent under status;
所述乘客乘车前参与一轮公交信息异步交换, 包括一次所述换出操作和一次所述换入操 作, 该两项操作按并列方式组合, 形成所述乘客参与一轮公交信息异步交换的过程, 包括步 骤 6-P1至步骤 6-P3, The passenger participates in a round of asynchronous exchange of bus information before taking the bus, including one of the swap-out operation and one of the swap-in operation. The two operations are combined in a parallel manner to form a round of asynchronous exchange of bus information for the passenger. Process, including step 6-P1 to step 6-P3,
步骤 6-P1 : 所述乘客乘车前通过其操控的通用联网设备, 向所述公交信息异步交换中心 发送公交信息交换请求, 所述交换请求包含该乘客的查询请求和当时的计划乘车信息; Step 6-P1: The passenger sends a bus information exchange request to the bus information asynchronous exchange center through the general networking device controlled by the passenger before taking the bus. The exchange request includes the passenger's query request and the planned ride information at that time. ;
步骤 6-P2: 所述公交信息异步交换中心, 从所述乘客操控的通用联网设备接收公交信息 交换请求, 从中析出该乘客的查询请求和当时的计划乘车信息; 根据所述乘客的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把相应的查询结果返回给所述乘客操控的通 用联网设备; 把所述计划乘车信息整理成乘客候车信息条目, 设定候车状态为候车中, 存入 乘客候车信息集合中; Step 6-P2: The bus information asynchronous exchange center receives the bus information exchange request from the general networking device controlled by the passenger, and parses out the passenger's query request and the current planned ride information; according to the passenger's query request , query relevant bus information from the corresponding bus information collection, return the corresponding query results to the general networking device controlled by the passenger; organize the planned ride information into passenger waiting information entries, and set the waiting status to waiting , stored in the passenger waiting information collection;
步骤 6-P3 : 所述乘客操控的通用联网设备接收并显示, 从所述公交信息异步交换中心返 回的结果; Step 6-P3: The general networking device controlled by the passenger receives and displays the results returned from the bus information asynchronous exchange center;
所述公交车辆司乘接到调度指令时参与一轮公交信息异步交换, 包括一次所述换出操作 和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮公交信息异步交换的过程, 包括步骤 6-D1至步骤 6-D3, When the driver of the bus vehicle receives the dispatching instruction, he or she participates in a round of asynchronous exchange of bus information, which includes one of the swap-out operations and one of the swap-in operations. The two operations are combined in a parallel manner to form a round of asynchronous exchange of bus information. The exchange process includes step 6-D1 to step 6-D3,
步骤 6-D1 : 所述公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中 心发送公交信息交换请求, 所述交换请求包含该公交车辆司乘在待发车状态下的查询请求和 本公交车辆当时的调度信息; Step 6-D1: The bus driver sends a bus information exchange request to the bus information asynchronous exchange center through the general networking device controlled by the bus driver. The exchange request includes the bus driver's query in the waiting state. Request and the current dispatch information of this bus vehicle;
步骤 6-D2: 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求, 从中析出待发车状态下的查询请求和本公交车辆当时的调度信息; 根据 所述待发车状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把相应的查 询结果返回给所述公交车辆司乘操控的通用联网设备; 把所述本公交车辆当时的调度信息, 整理成调度信息条目, 存入所述司乘源的公交车辆调度信息集合中; 步骤 6-D3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果; Step 6-D2: The bus information asynchronous exchange center receives the bus information exchange request from the general networking device controlled by the driver of the bus vehicle, and parses out the query request in the waiting state and the dispatch information of the bus vehicle at that time; according to The query request in the waiting state queries the relevant bus information from the corresponding bus information collection, and returns the corresponding query results to the general networking device controlled by the driver of the bus vehicle; The dispatch information is organized into dispatch information items and stored in the bus vehicle dispatch information set of the driver source; Step 6-D3: The general networking device controlled by the bus driver receives and displays the results returned from the bus information asynchronous exchange center;
所述公交车辆司开始运行本公交车辆, 每停靠一个车站, 参与一轮公交信息异步交换, 包括一次所述换出操作和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮公 交信息异步交换的过程, 包括步骤 6-C1至步骤 6-C3, The bus vehicle department starts operating the bus vehicle. Each time it stops at a station, it participates in a round of asynchronous exchange of bus information, including one swap-out operation and one swap-in operation. The two operations are combined in a parallel manner to form a participation A round of asynchronous bus information exchange process, including step 6-C1 to step 6-C3,
步骤 6-C1 : 所述公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中 心发送公交信息交换请求, 所述交换请求包含该司乘在运行状态下的查询请求和本公交车辆 的当时的运行信息; Step 6-C1: The bus driver sends a bus information exchange request to the bus information asynchronous exchange center through the general networking device controlled by the bus driver. The exchange request includes the driver's query request and current bus information in the running state. Current operating information of public transportation vehicles;
步骤 6-C2: 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求, 从中析出该司乘的运行状态下的查询请求和本公交车辆当时运行信息; 根据所述司乘在运行状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把 相应的查询结果返回给所述公交车辆司乘操控的通用联网设备; 把本公交车辆运行信息整理 成公交车辆运行信息条目, 存入所述司乘源的公交车辆运行信息集合中, 在所述乘客候车信 息集合中, 查找候车状态为候车中、与本公交车辆有当时可实现的搭乘关系的候车信息条目, 把找到的信息条目所涉及的乘客的候车状态为候车中的所有候车信息条目的候车状态更新为 已上车; Step 6-C2: The bus information asynchronous exchange center receives the bus information exchange request from the general networking device controlled by the driver of the bus vehicle, and parses out the query request in the operating status of the driver and the current operation information of the bus vehicle. ; According to the query request of the driver in the running state, query the relevant bus information from the corresponding bus information collection, and return the corresponding query results to the general networking device controlled by the driver of the bus vehicle; The operation information is organized into bus vehicle operation information entries and stored in the bus vehicle operation information collection of the driver source. In the passenger waiting information collection, the waiting status is found to be waiting for the bus, and there are currently achievable conditions for the bus vehicle. For the waiting information entry of the boarding relationship, update the waiting status of all waiting information entries of the passenger involved in the found information entry to boarded;
步骤 6-C3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果。 Step 6-C3: The general networking device controlled by the bus driver receives and displays the results returned from the bus information asynchronous exchange center.
7. 如权利要求 4所述的公交信息查询和收集的方法, 其特征在于, 所述公交参与者包括 乘客一种类型; 所述公交信息异步交换中心预先创建乘客候车信息集合、 乘客源的无标识公 交车辆运行信息集合和乘客源的有标识公交车辆运行信息集合, 用于分别准备保存乘客发送 的计划乘车信息、 没有包含公交车辆唯一标识的实际上车信息和包含公交车辆唯一标识的实 际上车信息; 7. The method of querying and collecting public transportation information as claimed in claim 4, wherein the public transportation participants include one type of passenger; the public transportation information asynchronous exchange center pre-creates a passenger waiting information collection and a passenger source without Identified bus vehicle operation information set and passenger source identified bus vehicle operation information set, used to respectively prepare and save the planned ride information sent by passengers, the actual bus information that does not contain the unique identification of the bus vehicle, and the actual bus information that contains the unique identification of the bus vehicle. boarding information;
所述乘客参与一轮公交信息异步交换, 包括两次所述换出操作和一次所述换入操作, 其 中, 第一次换出操作与一次换入操作按并列方式组合成一个操作模块, 再与第二次换出操作 按串联方式组合, 形成所述乘客参与公交信息异步交换的过程, 包括步骤 7-P1至步骤 7-P5 : 步骤 7-P1 : 所述乘客乘车前通过其操控的通用联网设备, 向所述公交信息异步交换中心 发送公交信息交换请求, 所述交换请求包含该乘客的查询请求和当时的计划乘车信息; The passengers participate in a round of asynchronous exchange of bus information, including two swap-out operations and one swap-in operation. The first swap-out operation and the swap-in operation are combined into one operation module in a parallel manner, and then Combined with the second swap-out operation in series, it forms a process in which the passenger participates in the asynchronous exchange of bus information, including steps 7-P1 to 7-P5: Step 7-P1: The passenger controls the bus before boarding the bus. A general networking device that sends a public transportation information exchange request to the public transportation information asynchronous exchange center, where the exchange request includes the passenger's query request and the current planned ride information;
步骤 7-P2: 所述公交信息异步交换中心, 从所述乘客操控的通用联网设备接收公交信息 交换请求, 从中析出该乘客的查询请求和当时的计划乘车信息; 根据该乘客的查询请求, 从 相应的公交信息集合中查询相关的公交信息, 把相应的查询结果返回给所述乘客操控的通用 联网设备; 把所述计划乘车信息, 整理成乘客候车信息条目, 添加设定为候车中的候车状态, 存入乘客候车信息集合中; Step 7-P2: The bus information asynchronous exchange center receives the bus information exchange request from the general networking device controlled by the passenger, and parses out the passenger's query request and the current planned ride information; according to the passenger's query request, Query the relevant public transportation information from the corresponding public transportation information collection, and return the corresponding query results to the general networking device controlled by the passenger; organize the planned ride information into passenger waiting information entries, and add and set them as waiting for the bus The waiting status is stored in the passenger waiting information collection;
步骤 7-P3 :所述乘客操控的通用联网设备接收,所述公交信息异步交换中心返回的消息; 步骤 7-P4: 当所述乘客乘上公交车辆时, 通过所操控的通用联网设备, 向所述公交信息 异步交换中心反馈其实际上车信息; Step 7-P3: The universal networking device controlled by the passenger receives the message returned by the bus information asynchronous exchange center; Step 7-P4: When the passenger gets on the bus vehicle, through the universal networking device controlled, The bus information asynchronous exchange center feeds back its actual bus information;
步骤 7-P5 : 所述公交信息异步交换中心接收所述乘客反馈的实际上车信息; 若所述乘客 反馈的实际上车信息中没有包含所乘公交车辆的唯一标识, 则把所述乘客反馈的实际上车信 息整理成无标识公交车辆运行信息条目, 存入所述乘客源的无标识公交车辆运行信息集合; 若所述乘客反馈的实际上车信息中包含所乘公交车辆的唯一标识, 则把所述乘客反馈的实际 上车信息整理成有标识公交车辆运行信息条目, 存入所述乘客源的有标识公交车辆运行信息 集合; 当乘客源的无标识公交车辆运行信息集合或乘客源的有标识公交车辆运行信息集合存 入新的信息条目时, 在所述乘客候车信息集合中, 找出候车状态为候车中、 与所述新存入的 信息条目中所涉及的公交车辆有当时可实现的搭乘关系的候车信息条目, 把找到的候车信息 条目所涉及的乘客的候车状态为候车中的所有候车信息条目的候车状态更新为已上车。 Step 7-P5: The bus information asynchronous exchange center receives the actual bus information fed back by the passenger; if the actual bus information fed back by the passenger does not contain the unique identification of the bus vehicle, then the passenger feedback The actual bus information is sorted into unmarked bus vehicle operation information items, and stored in the unmarked bus vehicle operation information collection of the passenger source; if the actual bus information fed back by the passenger contains the unique identification of the bus vehicle, Then the actual feedback from the passenger is The boarding information is organized into marked bus vehicle operation information items, and stored in the marked bus vehicle operation information set from the passenger source; when the unmarked bus vehicle operation information set from the passenger source or the marked bus vehicle operation information set from the passenger source When storing a new information item, find out in the passenger waiting information set the waiting information whose waiting status is waiting and which has a currently achievable boarding relationship with the bus vehicle involved in the newly stored information item. entry, the waiting status of the passenger involved in the found waiting information entry is updated to the waiting status of all waiting information entries in waiting to board the bus.
8. 如权利要求 7所述的公交信息查询和收集的方法, 其特征在于, 所述公交参与者还包 括公交车辆司乘类型; 所述公交信息异步交换中心还要预先创建, 司乘源的公交车辆调度信 息集合和司乘源的公交车辆运行信息集合, 用于分别准备公交车辆司乘发送的本公交车辆的 调度信息和运行信息; 8. The method of querying and collecting public transportation information as claimed in claim 7, characterized in that, the public transportation participants also include bus vehicle driver types; the public transportation information asynchronous exchange center is also pre-created, and the driver source The bus vehicle dispatching information set and the bus vehicle operating information set from the driver source are used to respectively prepare the dispatching information and operating information of the bus vehicle sent by the bus driver;
所述公交车辆司乘接到调度指令时, 在发车之前参与一轮公交信息异步交换, 包括一次 所述换出操作和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮公交信息异 步交换的过程, 包括步骤 8-D1至步骤 8-D3 : When the driver of the bus vehicle receives the dispatching instruction, he participates in a round of asynchronous exchange of bus information before departure, including one of the swap-out operation and one of the swap-in operation. The two operations are combined in a parallel manner to form a round of participation. The process of asynchronous exchange of bus information includes steps 8-D1 to 8-D3:
步骤 8-D1 : 所述公交车辆司乘通过其操控的通用联网设备, 向所述公交信息异步交换中 心发送公交信息交换请求, 所述交换请求包含该公交车辆司乘在待发车状态下的查询请求和 本公交车辆当时的调度信息; Step 8-D1: The bus driver sends a bus information exchange request to the bus information asynchronous exchange center through the general networking device controlled by the bus driver. The exchange request includes the bus driver's query in the waiting state. Request and the current dispatch information of this bus vehicle;
步骤 8-D2: 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求,从中析出该司乘待发车状态下的查询请求和本公交车辆当时的调度信息; 根据所述公交车辆司乘在待发车状态下的查询请求, 从相应的公交信息集合中查询相关的公 交信息, 把相应的查询结果返回给所述公交车辆司乘操控的通用联网设备; 把本公交车辆调 度信息整理成调度信息条目, 存入所述司乘源的公交车辆调度信息集合中; Step 8-D2: The bus information asynchronous exchange center receives the bus information exchange request from the general networking device controlled by the driver of the bus vehicle, and parses out the query request of the driver and passenger in the waiting state and the current dispatch of the bus vehicle. Information; According to the query request of the bus vehicle driver in the waiting state, query relevant bus information from the corresponding bus information collection, and return the corresponding query results to the general networking device controlled by the bus vehicle driver; Organize the bus dispatch information into dispatch information items and store them in the bus dispatch information set of the driver source;
步骤 8-D3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果; Step 8-D3: The general networking device controlled by the bus driver receives and displays the results returned from the bus information asynchronous exchange center;
所述公交车辆司乘开始运行本公交车辆, 每次停靠车站, 参与一轮公交信息异步交换, 包括一次所述换出操作和一次所述换入操作, 该两项操作按并列方式组合, 形成参与一轮参 与公交信息异步交换的过程, 包括步骤 8-C1至步骤 8-C3, The driver of the bus vehicle starts running the bus, and each time it stops at a station, it participates in a round of asynchronous exchange of bus information, including one swap-out operation and one swap-in operation. The two operations are combined in a parallel manner to form Participate in a round of asynchronous exchange of public transportation information, including steps 8-C1 to 8-C3.
步骤 8-C1 : 所述司乘通过其操控的通用联网设备, 向所述公交信息异步交换中心发送公 交信息交换请求, 所述交换请求包含该司乘的运行状态下的查询请求和本公交车辆当时的运 行信息; Step 8-C1: The driver sends a bus information exchange request to the bus information asynchronous exchange center through the general networking device controlled by the driver. The exchange request includes the query request in the running state of the driver and the bus vehicle. Operating information at that time;
步骤 8-C2: 所述公交信息异步交换中心, 从所述公交车辆司乘操控的通用联网设备接收 公交信息交换请求,从中析出该司乘的运行状态下的查询请求和本公交车辆当时的运行信息; 根据所述运行状态下的查询请求, 从相应的公交信息集合中查询相关的公交信息, 把相应的 查询结果返回给所述公交车辆司乘操控的通用联网设备;把本公交车辆运行信息的有关内容, 整理成公交车辆运行信息条目, 存入所述司乘源的公交车辆运行信息集合中, 在所述乘客候 车信息集合中, 查找候车状态为候车中、 与该新存入的运行信息条目涉及的公交车辆有当时 可实现的搭乘关系的候车信息条目, 把找到的信息条目所涉及的乘客的候车状态为候车中的 候车信息条目的候车状态更新为已上车; Step 8-C2: The bus information asynchronous exchange center receives the bus information exchange request from the general networking device controlled by the driver of the bus vehicle, and parses out the query request of the driver's operating status and the current operation of the bus vehicle. Information; According to the query request in the operating state, query relevant bus information from the corresponding bus information collection, and return the corresponding query results to the general networking device controlled by the driver of the bus vehicle; send the operation information of the bus vehicle The relevant content of is organized into bus vehicle operation information entries and stored in the bus vehicle operation information collection of the driver source. In the passenger waiting information collection, the waiting status is found to be waiting, and the newly stored running information is searched. The bus vehicle involved in the information entry has a waiting information entry with a boarding relationship that can be realized at that time, and the waiting status of the passenger involved in the found information entry is updated to "Waiting" and the waiting status of the waiting information entry is "on board";
步骤 8-C3 : 所述公交车辆司乘操控的通用联网设备接收并显示, 从所述公交信息异步交 换中心返回的结果; 终止本轮公交信息的异步交换过程。 Step 8-C3: The general networking device controlled by the bus driver receives and displays the results returned from the bus information asynchronous exchange center; terminates the asynchronous exchange process of this round of bus information.
9. 如权利要求 6、 7或 8所述的公交信息查询和收集的方法, 其特征在于, 所述乘客的 计划乘车信息包括计划乘车线路、 计划乘车方向、 计划上车车站、 计划下车车站、 计划到达 上车站时刻、 乘车说明, 其中, 乘车说明、 计划下车车站是可选的信息内容; 若有述及乘客反馈的实际上车信息, 则该实际上车信息包含, 关于该乘客的实际上车线 路、 实际上车方向、 实际上车车站、 实际上车时刻、 该乘客所乘公交车辆的唯一标识、 所乘 车辆的乘车条件的信息, 其中, 所述唯一标识和实际乘车条件是可选的信息内容; 9. The method for querying and collecting public transportation information as claimed in claim 6, 7 or 8, characterized in that the passenger's planned ride information includes planned ride route, planned ride direction, planned boarding station, planned ride Get off at the station and plan to arrive Boarding station time and boarding instructions. Among them, boarding instructions and planned alighting station are optional information content; if there is actual boarding information reported by passengers, the actual boarding information includes the actual boarding information about the passenger. Information about the boarding route, the actual boarding direction, the actual boarding station, the actual boarding time, the unique identification of the bus the passenger is riding on, and the riding conditions of the vehicle, where the unique identification and the actual riding conditions are is optional information content;
若有述及本公交车辆当时的调度信息, 则该调度信息包含关于本公交车辆的唯一标识、 发车线路、 发车方向、 拟发车时间、 发车说明的信息, 其中, 发车说明为可选的信息内容; 若有述及所述本公交车辆当时的运行信息的, 则该运行信息包括, 关于该车辆正要停靠车站 或最晚一次停靠车站时的运行信息, 具体包含关于本公交车辆唯一标识、 运行线路、 运行方 向、 停靠车站及站次、 进站时刻及乘车条件的信息, 其中, 乘车条件是可选的信息内容; 所述乘车条件包括如下至少一种信息内容: If the dispatch information of the bus vehicle at that time is mentioned, the dispatch information includes information about the bus vehicle's unique identification, departure route, departure direction, planned departure time, and departure instructions. Among them, the departure instructions are optional information content. ; If there is mention of the operation information of the bus vehicle at that time, the operation information includes the operation information about the vehicle when it is about to stop at the station or the last time it stops at the station, specifically including the unique identification and operation of the bus vehicle. Information about the route, running direction, stops and stops, arrival time and riding conditions, where the riding conditions are optional information contents; the riding conditions include at least one of the following information contents:
( 1 ) 关于公交车辆内的卫生状况的信息, (1) Information about the sanitary conditions in public transportation vehicles,
(2) 关于公交车辆车内剩余空座位的信息, (2) Information about the remaining empty seats in public transportation vehicles,
( 3 ) 关于公交车辆车内拥挤状况的信息, (3) Information about crowding conditions on public buses,
(4) 关于公交车辆车内的视觉感知感受的信息, (4) Information about the visual perception inside the bus vehicle,
( 5 ) 关于公交车辆车内的嗅觉感知感受的信息, (5) Information about the olfactory perception inside the bus vehicle,
( 6) 关于公交车辆的运行线路沿途路况的信息, (6) Information about road conditions along the bus routes,
( 7) 关于公交车辆车内安全状况的信息, (7) Information about the safety conditions inside public transportation vehicles,
所述乘客的查询请求包括要求返回, 关于适合所述乘客的计划乘车信息、 在到达终点站 之前有可能与所述乘客建立搭乘关系的在途公交车辆的运行信息; The passenger's query request includes a request to return information on planned rides suitable for the passenger and operating information on transit buses that may establish a ride relationship with the passenger before arriving at the terminal;
若有述及待发车状态下的查询请求, 则该查询请求包括要求返回, 关于本公交车辆适合 其计划乘车信息要求、 有可能与本公交车辆在发车之后到达终点站之前建立搭乘关系的候车 信息; If there is a query request in the waiting state, the query request includes a request to return information about the bus vehicle that is suitable for its planned ride, and it is possible to establish a ride relationship with the bus vehicle after departure and before arriving at the terminal. information;
若有述及运行状态下的查询请求, 则该查询请求包括以下查询请求中至少一种: If there is a query request in the running state, the query request includes at least one of the following query requests:
( 1 )要求返回关于本公交车辆符合其计划乘车信息要求、有可能与本公交车辆在到达终 点站之前建立搭乘关系的候车信息; (1) Requesting the return of waiting information that this bus meets its planned ride information requirements and is likely to establish a ride relationship with this bus before arriving at the terminal;
(2) 要求返回关于与本公交车辆同线路和同方向的在途的其它公交车辆的运行信息。 (2) Request the return of operating information about other bus vehicles on the same route and in the same direction as this bus vehicle.
10. 如权利要求 6或 8所述的公交信息查询方法和收集方法, 其特征在于, 所述公交车 辆司乘操控的通用联网设备保存与本公交车辆有关的静态信息; 所述公交车辆司乘开始运行 本公交车辆, 通过该设备参与公交信息异步交换的界面, 被配置成包括第一、 第二显示屏幕 的一个层级; 所述第一显示屏幕, 一次可分页显示该公交车辆运行线路在一个方向上的站列, 并为当前页中的每一个车站分配一块子显示区域; 所述第一显示屏幕还包括一个方向按钮, 一个查询按钮和一个解锁按钮; 每次按下所述方向按钮, 所述第一显示屏幕将轮换显示所述 线路下一个运行方向的站列、 站次; 在一个运行方向上, 所述公交车辆司乘开始运行本公交 车辆时, 所述查询按钮放置在首站; 若按下所述第一显示屏幕上的解锁按钮, 则所述第一显 示屏幕将在该线路的当前方向上, 除已经查询过的车站外的每一个车站上分别设置一个查询 按钮; 每当本公交车辆停靠一个车站, 所述公交车辆司乘按下第一显示屏幕中该停靠车站上 的查询按钮, 弹出第二显示屏幕; 10. The bus information query method and collection method according to claim 6 or 8, characterized in that the general networking device controlled by the bus driver saves static information related to the bus vehicle; the bus driver Start running the bus vehicle, and participate in the asynchronous exchange of bus information through the device. The interface is configured to include a first and second display screens at a level; the first display screen can display the running route of the bus vehicle in one page at a time. station column in the direction, and allocates a sub-display area to each station in the current page; the first display screen also includes a direction button, a query button and an unlock button; each time the direction button is pressed, The first display screen will alternately display the station column and station number in the next running direction of the line; in one running direction, when the bus driver starts running the bus, the query button is placed at the first station ; If the unlock button on the first display screen is pressed, the first display screen will set a query button on each station in the current direction of the line except the stations that have been queried; Each When the bus stops at a station, the bus driver presses the query button on the stop at the first display screen to pop up the second display screen;
所述第二显示屏幕显示, 以第一显示屏幕选择的车站为停靠车站的本公交车辆当前运行 信息和查询请求的表单, 其中涉及的静态信息来自所述通用联网设备保存的静态信息; 所述 公交车辆司乘通过所述第二显示屏幕, 完成所述本公交车辆当前运行信息和查询请求表单的 操作, 所述通用联网设备向公交信息异步交换中心发送表单内容, 然后, 回到第一显示屏幕, 所述查询结果中相关信息, 被自动分配到第一显示屏幕当前页上每一个车站的子显示区域, 所述查询按钮自动放置在当前被查询过的车站的下一个车站, 所述第一显示屏幕只保留一个 最近的被查询过的车站及剩余的未查询过的车站。 The second display screen displays the current operating information and query request form of the bus vehicle at the station selected by the first display screen, where the static information involved comes from the static information saved by the general networking device; The driver of the bus vehicle completes the operation of the current operation information of the bus vehicle and the query request form through the second display screen, the general networking device sends the form content to the bus information asynchronous exchange center, and then returns to the first display screen, the relevant information in the query results is automatically assigned to the sub-display area of each station on the current page of the first display screen, the query button is automatically placed at the next station to the currently queried station, the third A display screen only retains the most recently queried station and the remaining unqueried stations.
11 . 一种公交信息系统, 其特征在于, 该系统帮助公交参与者实现他们之间的公交信息 异步交换, 所述系统包括: 11. A public transportation information system, characterized in that the system helps public transportation participants realize asynchronous exchange of public transportation information between them. The system includes:
( 1 )公交参与者操控的通用联网设备: 公交参与者通过该设备向公交信息异步交换中心 发送公交信息交换请求, 所述公交信息交换请求包含所述公交参与者当时已经获知的用于换 出的公交信息或 /和公交信息查询请求; 接收并显示来自所述公交信息异步交换中心返回的消 息; (1) A general networking device controlled by public transportation participants: The public transportation participants send a public transportation information exchange request to the public transportation information asynchronous exchange center through this device. The public transportation information exchange request contains the information for swap-out that the public transportation participant has learned at that time. public transportation information or/and public transportation information query request; receiving and displaying the message returned from the public transportation information asynchronous exchange center;
(2) 公交信息异步交换中心, 用于完成以下任务: (2) Public transportation information asynchronous exchange center, used to complete the following tasks:
a.与公交参与者操控的通用联网设备进行通讯: 接收所述公交参与者通过其操控的通用 联网设备发送的公交信息交换请求, 析出所述交换请求中包含的所述公交参与者当时已经获 知的用于换出的公交信息或 /和公交信息查询请求; 把任务 b中查询结果返回给所述公交参与 者操控的通用联网设备; a. Communicate with the general networking device controlled by the public transportation participant: Receive the public transportation information exchange request sent by the public transportation participant through the general networking device controlled by the public transportation participant, and parse out the information contained in the exchange request that the public transportation participant has already known at that time used to swap out the public transportation information or/and public transportation information query request; return the query results in task b to the general networking device controlled by the public transportation participant;
b.根据任务 a 中析出的公交信息查询请求, 从已保存的其它公交参与者用于换出的公交 信息中查询相关公交信息, 把相关的查询结果输出到任务 a; b. According to the public transportation information query request parsed in task a, query the relevant public transportation information from the saved public transportation information used for swapping out by other public transportation participants, and output the relevant query results to task a;
c.保存任务 a中析出的所述公交参与者当时已经获知的用于换出的公交信息。 c. Save the bus information extracted in task a that the bus participant has learned at that time for swapping out.
12.如权利要求 11所述的公交信息系统,其特征在于,所述公交信息异步交换中心包括: 12. The public transportation information system as claimed in claim 11, characterized in that the public transportation information asynchronous exchange center includes:
( 1 ) 通讯接口单元, 用于完成所述任务 a; (1) Communication interface unit, used to complete the task a;
(2) 查询单元, 用于完成所述任务 b; (2) Query unit, used to complete the task b;
( 3 ) 储存单元, 用于完成所述任务 c。 (3) Storage unit, used to complete the task c.
13. 如权利要求 11所述的公交信息系统, 其特征在于, 所述公交参与者只有乘客一种类 型, 所述公交信息系统包括: 13. The public transportation information system according to claim 11, characterized in that the public transportation participants have only one type of passengers, and the public transportation information system includes:
( 1 )乘客操控的通用联网设备: 乘客通过该设备向所述公交信息异步交换中心发送交换 请求, 接收并显示所述公交信息异步交换中心返回的消息, 所述交换请求包含该乘客当时的 计划乘车信息和查询请求; 当所述乘客乘上公交车辆时, 通过该设备向所述公交信息异步交 换中心反馈其实际上车信息; (1) General networking equipment controlled by passengers: Passengers send exchange requests to the public transportation information asynchronous exchange center through this equipment, receive and display messages returned by the public transportation information asynchronous exchange center, and the exchange requests include the passenger's current plan Ride information and query request; When the passenger gets on the bus, the device feeds back the actual bus information to the bus information asynchronous exchange center;
(2)所述公交信息异步交换中心: 在完成其他任务前, 预先创建乘客候车信息集合、 乘 客源的无标识公交车辆运行信息集合和乘客源的有标识公交车辆运行信息集合, 用于分别准 备储存乘客发送的计划乘车信息、 没有包含公交车辆唯一标识的实际上车信息和包含公交车 辆唯一标识的实际上车信息; 该中心还要完成以下任务: (2) The bus information asynchronous exchange center: before completing other tasks, pre-create a passenger waiting information collection, a passenger-source unmarked bus vehicle operation information collection and a passenger-source labeled bus vehicle operation information collection for respectively preparing Stores the planned ride information sent by passengers, the actual bus information that does not contain the unique identification of the bus vehicle, and the actual bus information that contains the unique identification of the bus vehicle; the center also needs to complete the following tasks:
所述任务 a, 包括: 接收所述乘客通过其操控的通用联网设备发送的交换请求, 从所述 交换请求中析出该乘客当时的计划乘车信息和查询请求, 接收所述乘客乘上公交车辆时通过 其操控的通用联网设备反馈的实际上车信息; 把所述任务 b中的查询结果返回给所述乘客操 控的通用联网设备; The task a includes: receiving the exchange request sent by the passenger through the general networking device controlled by the passenger, extracting the passenger's planned ride information and query request at the time from the exchange request, receiving the passenger's boarding of the bus The actual bus information fed back by the universal networking device controlled by the passenger; Return the query result in task b to the universal networking device controlled by the passenger;
所述任务!), 包括: 根据所述任务 a中析出的该乘客的查询请求, 从相关的信息集合, 查询相关的公交信息, 并把相关的查询结果输出到所述任务 a; 所述任务(;, 包括: 把所述任务 a中析出的计划乘车信息, 与设定为候车中的候车状态一 起, 组合为候车信息条目, 存入所述乘客候车信息集合中; 对所述任务 a中接收的所述乘客 反馈的实际上车信息, 在所述乘客候车信息集合中, 找出候车状态为候车中、 与该实际上车 信息所涉及的公交车辆有当时可实现的搭乘关系的候车信息条目, 把找到的信息条目所涉及 的该乘客的候车状态为候车中的所有候车信息条目的候车状态更新为已上车; 若所述乘客反 馈的实际上车信息中没有包含所乘公交车辆的唯一标识, 则把该实际上车信息整理成无标识 公交车辆运行条目, 存入所述乘客源的无标识公交车辆运行信息集合; 若所述乘客反馈的实 际上车信息中包含所乘公交车辆的唯一标识, 则把该实际上车信息整理成有标识公交车辆运 行信息条目, 存入所述乘客源的有标识公交车辆运行信息集合中。 Said mission! ), including: querying the relevant bus information from the relevant information collection according to the passenger's query request extracted from the task a, and outputting the relevant query results to the task a; The task (;, includes: combining the planned ride information extracted in the task a, together with the waiting status set as waiting, into a waiting information entry, and storing it in the passenger waiting information set; for all Based on the actual boarding information received from the passenger feedback received in the above task a, in the passenger waiting information set, find out that the waiting status is waiting, and the bus vehicle involved in the actual boarding information has a ride that can be achieved at that time For the relevant waiting information entry, update the waiting status of all waiting information entries of the passenger involved in the found information entry to boarding; if the actual boarding information fed back by the passenger does not contain all the waiting information, If the unique identification of the bus vehicle is taken, the actual bus information is organized into an unidentified bus operation entry, and stored in the unidentified bus operation information set of the passenger source; if the actual bus information fed back by the passenger contains If the unique identification of the bus vehicle is taken, the actual bus information is organized into marked bus vehicle operation information entries, and stored in the passenger source's marked bus vehicle operation information set.
14.如权利要求 13所述的公交信息系统,其特征在于,所述公交信息异步交换中心包括: 14. The public transportation information system as claimed in claim 13, characterized in that the public transportation information asynchronous exchange center includes:
( 1 ) 乘客端通讯接口单元, 用于完成所述任务 a; (1) Passenger communication interface unit, used to complete the task a;
(2) 查询单元, 用于完成所述任务 b; (2) Query unit, used to complete the task b;
( 3 )储存单元, 该单元预先创建乘客候车信息集合、 乘客源的无标识公交车辆运行信息 集合和乘客源的有标识公交车辆运行信息集合,用于分别准备储存乘客发送的计划乘车信息、 没有包含公交车辆唯一标识的实际上车信息和包含公交车辆唯一标识的实际上车信息; 该单 元还要用于完成所述任务 c。 (3) Storage unit, which pre-creates a passenger waiting information collection, a passenger-source unmarked bus vehicle operation information collection and a passenger-source identified bus vehicle operation information collection, and is used to respectively prepare and store the planned ride information sent by passengers, There is no actual bus information containing the unique identifier of the bus vehicle and no actual bus information containing the unique identifier of the bus vehicle; this unit is also used to complete the task c.
15. 如权利要求 11所述的公交信息系统, 其特征在于, 所述公交参与者只有乘客和公交 车辆司乘等两种类型, 所述公交信息系统包括: 15. The public transportation information system as claimed in claim 11, characterized in that the public transportation participants have only two types: passengers and bus vehicle drivers. The public transportation information system includes:
( 1 )乘客操控的通用联网设备: 乘客通过该设备向所述公交信息异步交换中心发送交换 请求, 接收并显示所述公交信息异步交换中心返回的消息, 所述交换请求包含该乘客当时的 计划乘车信息和查询请求; 当所述乘客乘上公交车辆时, 通过该设备向所述公交信息异步交 换中心反馈其实际上车信息; (1) General networking equipment controlled by passengers: Passengers send exchange requests to the public transportation information asynchronous exchange center through this equipment, receive and display messages returned by the public transportation information asynchronous exchange center, and the exchange requests include the passenger's current plan Ride information and query request; When the passenger gets on the bus, the device feeds back the actual bus information to the bus information asynchronous exchange center;
(2)公交车辆司乘操控的通用联网设备:公交车辆司乘接到关于本公交车辆调度指令时, 通过该设备向所述公交信息异步交换中心发送公交信息交换请求, 该交换请求包含待发车状 态下的查询请求和关于当时本公交车辆调度信息; 当公交车辆司乘开始运行本公交车辆后, 每停靠一个车站, 通过该设备向所述公交信息异步交换中心发送公交信息交换请求, 该交换 请求包含所述司乘的运行状态下的查询请求和关于当时本公交车辆运行信息; 接收并显示公 交信息异步交换中心返回的消息; (2) General networking equipment controlled by bus drivers and passengers: When the bus vehicle drivers receive dispatching instructions about this bus vehicle, they send a bus information exchange request to the bus information asynchronous exchange center through this device. The exchange request includes the bus to be departed. Query request in the status and the dispatching information about the bus vehicle at that time; When the bus driver starts running the bus vehicle, every time it stops at a station, the bus information exchange request is sent to the bus information asynchronous exchange center through the device, and the exchange The request includes a query request for the operating status of the driver and information about the operation of the bus vehicle at that time; Receive and display the message returned by the bus information asynchronous exchange center;
( 3 )公交信息异步交换中心, 该中心预先创建乘客候车信息集合、 司乘源的公交车辆调 度信息集合、 乘客源的无标识公交车辆运行信息集合、 乘客源的有标识公交车辆运行信息集 合和司乘源的公交车辆运行信息集合, 用于分别准备保存乘客和公交车辆司乘发送的相应的 用于换出的公交信息; (3) Bus information asynchronous exchange center, which pre-creates a collection of passenger waiting information, a collection of bus dispatching information from driver sources, a collection of unmarked bus vehicle operation information from passenger sources, a collection of marked bus vehicle operation information from passenger sources, and The collection of bus operation information from the driver source is used to prepare and save the corresponding bus information sent by passengers and bus drivers for swapping out;
所述任务&, 包括: The tasks & include:
al .与乘客操控的通用联网设备进行通讯: 从乘客操控的通用联网设备接收交换请求, 析 出所述乘客的查询请求和计划乘车信息,接收所述乘客乘上公交车辆时反馈的实际上车信息; 把任务 bl中输出的查询结果返回给所述乘客操控的通用联网设备; al. Communicate with the general networking device controlled by the passenger: receive the exchange request from the general networking device controlled by the passenger, analyze the passenger's query request and planned ride information, and receive the actual bus feedback from the passenger when boarding the bus. Information; Return the query results output in task bl to the general networking device controlled by the passenger;
a2.与公交车辆司乘操控的通用联网设备进行通讯: 从公交车辆司乘操控的通用联网设备 接收所述司乘接到调度指令时的交换请求, 或本公交车辆开始运行后每停靠一个车站时的交 换请求, 析出待发车状态下的查询请求和本公交车辆当时的调度信息, 或者运行状态下的查 询请求和本公交车辆当时的运行信息;把任务 b2中输出的查询结果返回给所述公交车辆司乘 操控的通用联网设备; a2. Communicate with the universal networking device controlled by the driver of the bus vehicle: Receive from the universal networking device controlled by the driver of the bus vehicle the exchange request when the driver receives the dispatching instruction, or every time the bus stops at a station after it starts running exchange requests at the time, analyze the query request in the waiting state and the current dispatch information of the bus vehicle, or the query request in the running state and the current operating information of the bus vehicle; return the query results output in task b2 to the above Bus driver Universal Internet-connected devices that can be controlled;
所述任务!), 包括: Said mission! ), include:
bl .根据任务 al中析出的该乘客的查询请求, 从相应的信息集合中查询相关的公交信息, 把查询结果输出到任务 al ; bl. According to the passenger's query request parsed out in task al, query the relevant bus information from the corresponding information collection, and output the query results to task al;
b2.根据任务 a2中析出的该司乘的查询请求, 从相应的信息集合中查询相关的公交信息, 把查询结果输出到任务 a2; b2. According to the query request of the driver analyzed in task a2, query the relevant bus information from the corresponding information collection, and output the query results to task a2;
所述任务;, 包括: The tasks include:
cl .对任务 al中析出所述乘客的计划乘车信息,把该计划乘车信息与设定为候车中的候车 状态一起, 整理成一个或一组乘客候车信息条目, 把整理的信息条目存入所述乘客候车信息 集合; 若任务 al中接收的实际上车信息中没有包含所乘公交车辆的唯一标识, 则把该实际上 车信息整理成无标识公交车辆的运行信息条目, 存入所述乘客源的无标识公交车辆运行信息 集合; 若所述实际上车信息中包含所乘公交车辆的唯一标识, 则把该实际上车信息整理有标 识公交车辆的运行信息条目, 存入所述乘客源的有标识公交车辆运行信息集合; cl. Extract the planned ride information of the passenger in task al, organize the planned ride information together with the waiting status set as waiting, into one or a group of passenger waiting information items, and store the organized information items. Enter the passenger waiting information set; if the actual bus information received in task al does not contain the unique identification of the bus vehicle, then the actual bus information is sorted into the operation information entry of the unidentified bus vehicle, and stored in the A collection of unidentified bus vehicle operation information from the passenger source; if the actual bus information contains the unique identification of the bus vehicle, then the actual bus information is sorted into the operation information entry of the identified bus vehicle, and stored in the A collection of labeled bus vehicle operation information from passenger sources;
c2.把任务 a2析出的本公交车辆调度信息,整理成调度信息条目,存入所述司乘源的公交 车辆调度信息集合中; 把任务 a2中析出的本公交车辆当时的运行信息, 整理成信息条目, 存 入司乘源的公交车辆运行信息集合中; c2. Organize the bus vehicle dispatching information extracted from task a2 into scheduling information items and store them in the bus vehicle dispatching information collection of the driver source; organize the current operating information of the bus vehicle extracted from task a2 into Information entries are stored in the bus vehicle operation information collection from the driver's source;
c3.当乘客源的无标识公交车辆运行信息集合、 乘客源的有标识公交车辆运行信息集合或 司乘源的公交车辆运行信息集合存入新的信息条目时, 在所述乘客候车信息集合中, 找出候 车状态为候车中、 与该新的信息条目所涉及的公交车辆有可当时实现的搭乘关系的候车信息 条目, 把找到的候车信息条目涉及的乘客的候车状态为候车中的所有候车信息条目的候车状 态更新为已上车。 c3. When a new information entry is stored in the unmarked bus vehicle operation information set from the passenger source, the marked bus vehicle operation information set from the passenger source, or the bus vehicle operation information set from the driver source, in the passenger waiting information set , find out the waiting information items whose waiting status is waiting and have a ride relationship that can be realized at that time with the bus vehicle involved in the new information item, and set the waiting status of the passengers involved in the found waiting information item to waiting for all waiting buses. The waiting status of the information entry is updated to Boarded.
16.如权利要求 15所述的公交信息系统,其特征在于,所述公交信息异步交换中心包括: 16. The public transportation information system as claimed in claim 15, characterized in that the public transportation information asynchronous exchange center includes:
( 1 ) 乘客端通讯接口单元, 用于完成所述任务 al ; (1) Passenger communication interface unit, used to complete the tasks al;
(2) 司乘端通讯接口单元, 用于完成所述任务 a2; (2) Driver-side communication interface unit, used to complete the task a2 ;
( 3 ) 查询单元, 用于完成所述任务 bl和所述任务 b2; (3) Query unit, used to complete the task bl and the task b2;
(4) 储存单元, 该单元预先创建乘客候车信息集合、 司乘源的公交车辆调度信息集合、 乘客源的无标识公交车辆运行信息集合、 乘客源的有标识公交车辆运行信息集合和司乘源的 公交车辆运行信息集合,用于分别准备保存乘客和公交车辆司乘发送的用于换出的公交信息; 该单元还要完成以下所述的任务 cl、 任务 c2和任务 c3。 (4) Storage unit, which pre-creates a collection of passenger waiting information, a collection of bus dispatching information from driver sources, a collection of unmarked bus operation information from passenger sources, a collection of labeled bus vehicle operation information from passenger sources, and a collection of driver source information. The collection of bus operation information is used to prepare and save the bus information sent by passengers and bus drivers for swapping out; this unit also needs to complete the tasks cl, task c2 and task c3 described below.
17. 如权利要求 13至 16中任一项所述的公交信息系统, 其特征在于, 所述计划乘车信 息包含关于计划乘车线路、 计划乘车方向、 计划上车车站、 计划下车车站、 计划到达上车站 时刻、 乘车说明的信息, 其中, 乘车说明、 计划下车车站是可选的信息内容; 所述实际上车 信息包含关于实际上车线路、 实际上车方向、 实际上车车站、 实际上车时刻、 该乘客所乘公 交车辆的唯一标识、 乘车条件的信息, 所述唯一标识和实际乘车条件是可选的信息内容; 若有述及本公交车辆当时的调度信息, 则所述本公交车辆当时的调度信息包含关于本公 交车辆的唯一标识、 发车线路、 发车方向、 拟发车时间、 发车说明的信息, 其中, 发车说明 为可选的信息内容; 所述本公交车辆的运行信息包括关于该车辆正要停靠车站或最晚一次停 靠车站时的运行信息, 该运行信息包含关于本公交车辆的唯一标识、 运行线路、 运行方向、 停靠车站及站次、 进站时刻及乘车条件的信息, 其中, 乘车条件是可选的信息内容。 所述乘车条件包括以下至少一种信息: 17. The public transportation information system according to any one of claims 13 to 16, characterized in that the planned ride information includes information about the planned ride route, the planned ride direction, the planned boarding station, and the planned alighting station. , information about the planned arrival time at the station and boarding instructions. Among them, the boarding instructions and the planned boarding station are optional information content; the actual boarding information includes information about the actual boarding route, actual boarding direction, actual boarding direction, and actual boarding information. Information about the bus station, actual boarding time, unique identification of the bus the passenger is riding on, and boarding conditions. The unique identification and actual boarding conditions are optional information content; if there is mention of the dispatch of the bus vehicle at that time information, then the dispatch information of the bus vehicle at that time includes information about the bus vehicle's unique identification, departure route, departure direction, intended departure time, and departure instructions, where the departure instructions are optional information content; The operation information of a bus vehicle includes the operation information about the bus when it is about to stop at the station or the last time it stops at the station. The operation information includes the unique identification of the bus vehicle, the operation route, the operation direction, the stop station and the station number, and the entry station. Information about time and riding conditions, where the riding conditions are optional information content. The riding conditions include at least one of the following information:
( 1 ) 关于公交车辆车内的卫生状况的信息, (1) Information about the sanitary conditions inside public transportation vehicles,
(2) 关于公交车辆车内剩余空座位的信息, (2) Information about the remaining empty seats in public transportation vehicles,
( 3 ) 关于公交车辆车内拥挤状况的信息, (3) Information about crowding conditions on public buses,
(4) 关于公交车辆车内的视觉感知感受的信息, (4) Information about the visual perception inside the bus vehicle,
( 5 ) 关于公交车辆车内的嗅觉感知感受的信息, (5) Information about the olfactory perception inside the bus vehicle,
( 6) 关于公交车辆的所在线路沿途路况的信息, (6) Information about road conditions along the route where the bus vehicle is located,
( 7) 关于公交车辆车内安全状况的信息; (7) Information about the safety conditions inside public transportation vehicles;
所述乘客的查询请求包括要求返回, 关于适合所述乘客的计划乘车信息、 在到达终点站 前有可能与所述乘客建立搭乘关系的在途公交车辆的运行信息; The passenger's query request includes a request to return information on planned rides suitable for the passenger and operating information on transit buses that may establish a ride relationship with the passenger before arriving at the terminal;
若有述及司乘的待发车状态下的查询请求, 则所述司乘的待发车状态下的查询请求包括 要求返回, 关于本公交车辆符合其计划乘车信息要求、 有可能与本公交车辆在发车之后到达 终点站之前建立搭乘关系的候车信息; If there is an inquiry request that refers to the driver's and passengers' status of waiting for departure, the inquiry request of the driver's and passengers' status of waiting for departure includes a request to return that the bus vehicle meets the requirements for its planned ride information and may be related to the bus vehicle. Waiting information to establish a boarding relationship after departure and before arriving at the terminal;
若有述及司乘的运行状态下的查询请求, 则所述司乘的运行状态下的查询请求包括以下 查询请求中至少一种: If there is a query request regarding the operating status of the driver and passengers, the query request for the operating status of the driver and passengers includes at least one of the following query requests:
a.要求返回关于本公交车辆符合其计划乘车信息要求、 有可能与本公交车辆在到达终点 站之前建立搭乘关系的乘客的候车信息; a. Requesting the return of waiting information about passengers whose bus meets its planned ride information requirements and who may establish a ride relationship with this bus before arriving at the terminal;
b.要求返回关于与本公交车辆同线路和同方向的在途的其它公交车辆的运行信息。 b. Request the return of operating information about other bus vehicles on the same route and in the same direction as this bus vehicle.
PCT/CN2013/082613 2012-09-27 2013-08-29 Public traffic information inquiry method, collection method and public traffic information system WO2014048217A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210363380.6A CN103020104B (en) 2012-09-27 2012-09-27 Bus information inquiry method, collection method and public traffic information system
CN201210363380.6 2012-09-27

Publications (1)

Publication Number Publication Date
WO2014048217A1 true WO2014048217A1 (en) 2014-04-03

Family

ID=47968711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082613 WO2014048217A1 (en) 2012-09-27 2013-08-29 Public traffic information inquiry method, collection method and public traffic information system

Country Status (2)

Country Link
CN (2) CN103020104B (en)
WO (1) WO2014048217A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015161663A1 (en) * 2014-04-22 2015-10-29 北京百度网讯科技有限公司 Bus information displaying method, apparatus and equipment
CN112133121A (en) * 2020-09-23 2020-12-25 安徽蒂姆自动化科技有限公司 Intelligent urban bus dispatching system
CN112863223A (en) * 2018-07-11 2021-05-28 北京嘀嘀无限科技发展有限公司 Bus information prompting method, device, storage medium and program product

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020104B (en) * 2012-09-27 2019-03-26 贵阳移动金融发展有限公司 Bus information inquiry method, collection method and public traffic information system
CN106604235B (en) * 2015-10-19 2020-09-04 中国移动通信集团公司 Information processing method and device
CN105719475B (en) * 2016-03-21 2018-01-05 广州地理研究所 A kind of elastic public bus network is set and running scheduling method
CN106302756A (en) * 2016-08-19 2017-01-04 福建天晴数码有限公司 The sharing method of vehicles remaining seat number and system thereof
CN106128107A (en) * 2016-08-19 2016-11-16 福建天晴数码有限公司 The sharing method of bus remaining seat number and system thereof
CN106484786B (en) * 2016-09-19 2019-05-14 郑州云海信息技术有限公司 A kind of vehicle query method, apparatus and system
CN112542057B (en) * 2020-11-30 2021-11-02 东南大学 Intelligent bus station-jumping method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0923061A1 (en) * 1997-12-12 1999-06-16 Precimation AG Method and device for automatically displaying the probable waiting time until the arrival of the next vehicle at public transport stops
CN1579836A (en) * 2003-08-15 2005-02-16 株式会社日立制作所 Bus, stop and center system with information exchange
CN102376161A (en) * 2010-08-24 2012-03-14 北京牡丹视源电子有限责任公司 Method and system for inquiring public traffic information
CN102610118A (en) * 2011-01-22 2012-07-25 黄祖峰 Bus information acquiring device, bus positioning system and method
CN103020104A (en) * 2012-09-27 2013-04-03 韩金山 Bus information inquiry method, collection method and bus information system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050137754A1 (en) * 2002-10-21 2005-06-23 Bartlett Alan L. Transportation notification, emergency response, and surveillance system
CN101122989A (en) * 2006-08-11 2008-02-13 孙学群 System and method for obtaining public transport information
CN101329814A (en) * 2007-06-18 2008-12-24 肖宁 Wireless system for enquiring public transport information
CN102681997A (en) * 2011-03-07 2012-09-19 中兴通讯股份有限公司 Bus information inquiry system and method for inquiring bus information with same
CN102436466A (en) * 2011-09-09 2012-05-02 中国航天科工集团第三研究院第八三五八研究所 Bus transfer inquiry method based on geographic information system (GIS) classification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0923061A1 (en) * 1997-12-12 1999-06-16 Precimation AG Method and device for automatically displaying the probable waiting time until the arrival of the next vehicle at public transport stops
CN1579836A (en) * 2003-08-15 2005-02-16 株式会社日立制作所 Bus, stop and center system with information exchange
CN102376161A (en) * 2010-08-24 2012-03-14 北京牡丹视源电子有限责任公司 Method and system for inquiring public traffic information
CN102610118A (en) * 2011-01-22 2012-07-25 黄祖峰 Bus information acquiring device, bus positioning system and method
CN103020104A (en) * 2012-09-27 2013-04-03 韩金山 Bus information inquiry method, collection method and bus information system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015161663A1 (en) * 2014-04-22 2015-10-29 北京百度网讯科技有限公司 Bus information displaying method, apparatus and equipment
CN112863223A (en) * 2018-07-11 2021-05-28 北京嘀嘀无限科技发展有限公司 Bus information prompting method, device, storage medium and program product
CN112133121A (en) * 2020-09-23 2020-12-25 安徽蒂姆自动化科技有限公司 Intelligent urban bus dispatching system

Also Published As

Publication number Publication date
CN103020104B (en) 2019-03-26
CN108875094A (en) 2018-11-23
CN108875094B (en) 2021-12-03
CN103020104A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
WO2014048217A1 (en) Public traffic information inquiry method, collection method and public traffic information system
CN107067707B (en) Bus operation and passenger trip optimization system
CN102637359B (en) Taxi sharing cluster optimization system based on complex road network and optimization method thereof
US11288603B2 (en) System for real-time optimal matching of ride sharing requests
CN100483476C (en) Method and system for vehicle scheduling
CN110431597A (en) System and method for optimizing online on-demand service
CN105894847A (en) Unsupervised learning real-time public transport dynamic scheduling system and unsupervised learning real-time public transport dynamic scheduling method in cloud platform environment
CN105913653A (en) Public transport intelligent vehicle planning and scheduling system and public transport intelligent vehicle planning and scheduling method under cloud platform environment
CN111144618A (en) Demand response type customized bus network planning method based on two-stage optimization model
Chen et al. Deep Q-learning for same-day delivery with a heterogeneous fleet of vehicles and drones
Nasim et al. Distributed architectures for intelligent transport systems: A survey
CN108288113A (en) A kind of airport traffic above-ground intelligent recommendation method
Rieser Adding transit to an agent-based transportation simulation
CN106250995A (en) A kind of electric motor coach operation system based on global optimization and method
Zhang et al. Optimizing single-depot vehicle scheduling problem: fixed-interval model and algorithm
CN109685577A (en) A kind of self-service charging method of public transport and device
Guo et al. A scientometric review of mobility-on-demand car-sharing systems
US20210278224A1 (en) Coordinating trips by vehicles in an on-demand environment
CN110657817A (en) Method and device for recommending travel route
CN103067526A (en) Server, terminal and method for displaying task scheduling data
CN116386305A (en) Riding method based on information feedback
CN112116114A (en) Taxi appointment order issuing method, taxi appointment order issuing device, taxi appointment order issuing equipment and storage medium
CN109493629A (en) A kind of information processing method and device being had the records of distance by the log based on public bus
CN116307469A (en) Automatic scheduling and scheduling generation method for public service vehicle
Kim Model and algorithm for solving real time dial-a-ride problem

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13841679

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/07/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13841679

Country of ref document: EP

Kind code of ref document: A1