CN105118296A - Method and device for acquiring number of passengers - Google Patents

Method and device for acquiring number of passengers Download PDF

Info

Publication number
CN105118296A
CN105118296A CN201510626844.1A CN201510626844A CN105118296A CN 105118296 A CN105118296 A CN 105118296A CN 201510626844 A CN201510626844 A CN 201510626844A CN 105118296 A CN105118296 A CN 105118296A
Authority
CN
China
Prior art keywords
vehicle seat
status information
passengers
occupied
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510626844.1A
Other languages
Chinese (zh)
Inventor
谷喜楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510626844.1A priority Critical patent/CN105118296A/en
Publication of CN105118296A publication Critical patent/CN105118296A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method and a device for acquiring the number of passengers, relates to an information processing technology, and can improve the accuracy of vehicle allocation. The method for acquiring the number of passengers comprises the following steps: receiving passenger number detection information sent by a vehicle dispatching center; acquiring seat state information from a seat state detection device arranged on a seat according to the passenger number detection message, wherein the seat state information is used for indicating whether the seat is occupied or not; and sending a passenger number detection response message to the vehicle dispatching center, wherein the passenger number detection response message comprises the seat state information, so that the passenger number is determined according to the seat state information by the vehicle dispatching center. The invention is mainly used in a vehicle dispatching system.

Description

A kind of method and device obtaining number of passengers
Technical field
The present invention relates to the information processing technology, particularly relate to a kind of method and the device that obtain number of passengers.
Background technology
Along with the raising of people's environmental protection consciousness, increasing people selects to take public transport trip.Therefore, the dispatching center of public transport company wishes the seating capacity that can understand each vehicle accurately, thus more reasonably allocates public transit vehicle.At present, dispatching center is mainly through contacting directly the mode of vehicle drivers to obtain the seating capacity of vehicle.But, in this fashion due to the carrying situation that needs vehicle drivers to check vehicles and then confirm seating capacity, therefore, the carrying situation of the acquisition vehicle that dispatching center cannot be real-time, thus cannot car spotting accurately.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and the device that obtain number of passengers, can improve the accuracy of vehicle deploying.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, the embodiment of the present invention provides a kind of method obtaining number of passengers, comprising:
Receive the number of passengers detect-message that car transfer center sends;
Obtain vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, described vehicle seat status information is for representing that whether vehicle seat is occupied;
Send number of passengers to described car transfer center and detect response message, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.
As another embodiment, described vehicle seat condition checkout gear is infrared inductor or pressure sensitive device; Describedly obtain vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear that is arranged on vehicle seat and comprise:
According to described number of passengers detect-message, enable described infrared inductor or pressure sensitive device detects vehicle seat state;
Receive the vehicle seat state-detection object information of described infrared inductor or the transmission of pressure sensitive device, comprise vehicle seat status information in described vehicle seat testing result information;
According to described vehicle seat state-detection results messages, obtain described vehicle seat status information.
As another embodiment, further, described method also comprises:
When the state of vehicle seat changes, vehicle seat state updating message is sent to described car transfer center, vehicle seat status information after described vehicle seat state updating message comprises the renewal of described vehicle seat, makes to redefine number of passengers according to described car transfer center according to the vehicle seat status information after described renewal.
Second aspect, the embodiment of the present invention provides a kind of method obtaining number of passengers, comprising:
Number of passengers detect-message is sent to vehicle;
Receive the number of passengers detection response message that described vehicle sends according to described number of passengers detect-message, the vehicle seat status information of vehicle seat is comprised at described number of passengers detection response message, described vehicle seat status information obtains from the vehicle seat condition checkout gear of described vehicle seat, for representing that whether vehicle seat is occupied;
The number of passengers of described vehicle is determined according to described vehicle seat status information.
As another embodiment, describedly determine that the number of passengers of described vehicle comprises according to described vehicle seat status information:
Resolve described vehicle seat status information, determine that whether described vehicle seat is occupied;
According to the quantity determination number of passengers of the occupied vehicle seat status information of the expression received.
As another embodiment, the quantity determination number of passengers of the occupied vehicle seat status information of the expression that described basis receives comprises:
When described vehicle seat status information represents that vehicle seat is occupied, vehicle seat mark corresponding for the occupied vehicle seat status information of expression is expressed as occupied;
When described vehicle seat status information represents that vehicle seat is unoccupied, the mark of described vehicle seat is expressed as unoccupied.
As another embodiment, further, described method also comprises:
Receive the vehicle seat state updating message that described vehicle sends, the vehicle seat status information after described vehicle seat state updating message comprises renewal;
Resolve the vehicle seat status information after described renewal;
When the vehicle seat status information after described renewal represents that vehicle seat is occupied, the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied.
As another embodiment, described when the vehicle seat status information after described renewal represents that vehicle seat is occupied, the mark of described vehicle seat is expressed as occupied, comprises:
When the vehicle seat status information after described renewal represents that vehicle seat is occupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as occupied;
When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied, comprises:
When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is occupied, then the mark of described vehicle seat is expressed as unoccupied.
The third aspect, the embodiment of the present invention provides a kind of device obtaining number of passengers, comprising:
Receiving element, for receiving the number of passengers detect-message that car transfer center sends;
Processing unit, for obtaining vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, described vehicle seat status information is for representing that whether vehicle seat is occupied;
Transmitting element, response message is detected for sending number of passengers to described car transfer center, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.
As another embodiment, described vehicle seat condition checkout gear is infrared inductor or pressure sensitive device that vehicle seat is arranged; Described processing unit comprises:
Detection module, for according to described number of passengers detect-message, enables described infrared inductor or pressure sensitive device detects vehicle seat state;
Receiver module, for receiving the vehicle seat state-detection object information of described infrared inductor or the transmission of pressure sensitive device, comprises vehicle seat status information in described vehicle seat testing result information;
Processing module, for according to described vehicle seat state-detection results messages, obtains described vehicle seat status information.
As another embodiment, described transmitting element, also for when the state of vehicle seat changes, vehicle seat state updating message is sent to described car transfer center, vehicle seat status information after described vehicle seat state updating message comprises the renewal of described vehicle seat, makes to redefine number of passengers according to described car transfer center according to the vehicle seat status information after described renewal.
Fourth aspect, the embodiment of the present invention four provides a kind of device obtaining number of passengers, comprising:
Transmitting element, for sending number of passengers detect-message to vehicle;
Receiving element, the number of passengers sent according to described number of passengers detect-message for receiving described vehicle detects response message, the vehicle seat status information of vehicle seat is comprised at described number of passengers detection response message, described vehicle seat status information obtains from the vehicle seat condition checkout gear of described vehicle seat, for representing that whether vehicle seat is occupied;
Processing unit, for determining the number of passengers of described vehicle according to described vehicle seat status information.
As another embodiment, described processing unit comprises:
Parsing module, for resolving described vehicle seat status information, determines that whether described vehicle seat is occupied;
Processing module, for when described vehicle seat status information represents that vehicle seat is occupied, is expressed as occupied by vehicle seat mark corresponding for the occupied vehicle seat status information of expression; According to the quantity determination number of passengers of mark being expressed as occupied vehicle seat.
As another embodiment, described processing module also for:
When described vehicle seat status information represents that vehicle seat is unoccupied, the mark of described vehicle seat is expressed as unoccupied.
As another embodiment, described receiving element also for, receive described vehicle send vehicle seat state updating message, the vehicle seat status information after described vehicle seat state updating message comprises renewal;
Described processing unit also for, resolve the vehicle seat status information after described renewal; When the vehicle seat status information after described renewal represents that vehicle seat is occupied, the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied.
As another embodiment, described processing unit specifically for:
When the vehicle seat status information after described renewal represents that vehicle seat is occupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is occupied, then the mark of described vehicle seat is expressed as unoccupied.
In embodiments of the present invention, car transfer center sends number of passengers detect-message to vehicle, vehicle obtains vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, and send number of passengers detection response message to described car transfer center, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.This shows, utilize the scheme of the embodiment of the present invention to avoid in prior art to need the carrying situation checked vehicles by vehicle drivers to confirm seating capacity and the delayed situation of the feedback information produced, therefore utilize the scheme vehicle of the embodiment of the present invention can timely to car transfer center vehicle seat status information, and then make car transfer center can determine number of passengers accurately, thus the scheme of the embodiment of the present invention is utilized to improve the accuracy of car plate allotment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method for the acquisition number of passengers of the embodiment of the present invention one;
Fig. 2 is the process flow diagram of the method for the acquisition number of passengers of the embodiment of the present invention two;
Fig. 3 is the process flow diagram of the method for the acquisition number of passengers of the embodiment of the present invention three;
Fig. 4 is the schematic diagram of the device of the acquisition number of passengers of the embodiment of the present invention four;
Fig. 5 is the schematic diagram of the device of the acquisition number of passengers of the embodiment of the present invention five.
Embodiment
Below in conjunction with accompanying drawing to the embodiment of the present invention a kind of obtain number of passengers method and device be described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the method for the acquisition number of passengers of the embodiment of the present invention one, is performed by the control device be positioned on vehicle, comprising:
The number of passengers detect-message that step 11, reception car transfer center send.
When car transfer center needs the number of passengers obtaining vehicle, car transfer center sends number of passengers detect-message to the control device on vehicle, and the control device be used to indicate on vehicle obtains the state of vehicle seat.Wherein said control device can be that vehicle can carry out any device of communication with car transfer center.
Step 12, obtain vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear that is arranged on vehicle seat, described vehicle seat status information is for representing that whether vehicle seat is occupied.
In embodiments of the present invention, vehicle seat condition checkout gear can be provided with on each vehicle seat, such as infrared inductor or pressure sensitive device etc.Therefore, in this step, described infrared inductor can be enabled or pressure sensitive device carries out vehicle seat state-detection according to described number of passengers detect-message, the occupied state of vehicle seat is detected by infrared inductor or pressure sensitive device, and send vehicle seat state-detection object information according to testing result to described control device, comprise vehicle seat status information at described vehicle seat state-detection object information.Then, according to described vehicle seat state-detection results messages, described vehicle seat status information is obtained.
For infrared inductor, infrared inductor can be arranged on the back of vehicle seat.Accordingly, control device can be provided with infrared receiving device.When receiving number of passengers detect-message, control device sends number of passengers detect-message to infrared inductor, controls infrared inductor and starts working.When vehicle seat is occupied, human body will block infrared inductor, and therefore, the infrared signal that infrared receiving device will not receive infrared inductor and launches, therefore, can judge that this vehicle seat is occupied.And when not having human body to block infrared inductor, infrared receiving device will receive the infrared signal that infrared inductor is launched, therefore, can judge that this vehicle seat is unoccupied.
For pressure sensitive device, this pressure sensitive device can be arranged on the seat support of vehicle seat.When receiving number of passengers detect-message, control device sends number of passengers detect-message to pressure sensitive device, and controlled pressure induction installation is started working.When vehicle seat is occupied, the human body strength be sitting on seat support makes pressure sensitive device produce Piezoelectric Impedance effect, makes the change of impedance convert electric signal to.And when vehicle seat is unoccupied, the electric signal that pressure transducer can not produce electric signal or generation is more weak.Therefore, the electric signal that pressure sensitive device can be produced sends to control device, determines that whether vehicle seat is occupied by control device according to the power of this electric signal.If the intensity of the electric signal received is more than the first preset value, then illustrate that vehicle seat is occupied; Otherwise illustrate that vehicle seat is unoccupied.Wherein, described first preset value can be determined according to practical experience.
Step 13, send number of passengers to described car transfer center and detect response message, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.
As seen from the above, utilize the scheme of the embodiment of the present invention to avoid in prior art to need the carrying situation checked vehicles by vehicle drivers to confirm seating capacity and the delayed situation of the feedback information produced, therefore utilize the scheme vehicle of the embodiment of the present invention can timely to car transfer center vehicle seat status information, and then make car transfer center can determine number of passengers accurately, thus the scheme of the embodiment of the present invention is utilized to improve the accuracy of car plate allotment.
As shown in Figure 2, the method for the acquisition number of passengers of the embodiment of the present invention two, is performed by car transfer center, comprising:
Step 21, send number of passengers detect-message to vehicle.
When car transfer center needs the number of passengers obtaining vehicle, car transfer center sends number of passengers detect-message to the control device on vehicle, and the control device be used to indicate on vehicle obtains the state of vehicle seat.Wherein said control device can be that vehicle can carry out any device of communication with car transfer center.
Step 21, receive the number of passengers that described vehicle sends according to described number of passengers detect-message and detect response message, the vehicle seat status information of vehicle seat is comprised at described number of passengers detection response message, described vehicle seat status information obtains from the vehicle seat condition checkout gear of described vehicle seat, for representing that whether vehicle seat is occupied.
Step 23, determine the number of passengers of described vehicle according to described vehicle seat status information.
In this step, first described vehicle seat status information can be resolved, determine that whether described vehicle seat is occupied, then, when described vehicle seat status information represents that vehicle seat is occupied, to represent that vehicle seat mark corresponding to occupied vehicle seat status information is expressed as occupied, then, according to the quantity determination number of passengers of mark being expressed as occupied vehicle seat.
Such as, when described vehicle seat status information represents that vehicle seat is occupied, will represent the vehicle seat mark that occupied vehicle seat status information is corresponding, the seat number of such as vehicle seat, represents by redness, to represent that this is as occupied.Can be determined the quantity of occupied vehicle seat by the quantity being expressed as red vehicle seat mark, be also number of passengers.Except can being identified and represent by color, also can be identified and be highlighted process, such as, be labeled as gray shade etc.
As seen from the above, utilize the scheme of the embodiment of the present invention to avoid in prior art to need the carrying situation checked vehicles by vehicle drivers to confirm seating capacity and the delayed situation of the feedback information produced, therefore utilize the scheme vehicle of the embodiment of the present invention can timely to car transfer center vehicle seat status information, and then make car transfer center can determine number of passengers accurately, thus the scheme of the embodiment of the present invention is utilized to improve the accuracy of car plate allotment.
As shown in Figure 3, the method for the acquisition number of passengers of the embodiment of the present invention three, comprising:
Step 31, car transfer center send number of passengers detect-message to the control device of vehicle.
Step 32, control device obtain vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, and described vehicle seat status information is for representing that whether vehicle seat is occupied.
Step 33, control device send number of passengers to described car transfer center and detect response message, detect response message comprise described vehicle seat status information at described number of passengers.
Step 34, car transfer center determine the number of passengers of described vehicle according to described vehicle seat status information.
In this step, when described vehicle seat status information represents that vehicle seat is occupied, vehicle seat mark corresponding for the occupied vehicle seat status information of expression is expressed as occupied.When described vehicle seat status information represents that vehicle seat is unoccupied, the mark of described vehicle seat is expressed as unoccupied.Such as, the mark of occupied vehicle seat is represented by redness, the mark of unappropriated vehicle seat is represented by green.Then, according to the quantity determination number of passengers of mark being expressed as occupied vehicle seat.
Step 35, when the state of vehicle seat changes, control device sends vehicle seat state updating message to described car transfer center, described vehicle seat state updating message comprise described vehicle seat upgrade after vehicle seat status information.
Step 36, car transfer center redefine the number of passengers of described vehicle according to described vehicle seat state updating message.
Concrete, first car transfer center resolves the vehicle seat status information after described renewal.When the vehicle seat status information after described renewal represents that vehicle seat is occupied, the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied.
Concrete, when the vehicle seat status information after described renewal represents that vehicle seat is occupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as occupied.When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is occupied, then the mark of described vehicle seat is expressed as unoccupied.
Such as, current vehicle seat 1 is occupied, and its mark redness represents; Vehicle seat 2 is unoccupied, and its mark green represents.After after a while, vehicle seat 1 is unoccupied after testing, and vehicle seat 2 is occupied.Therefore, according to the vehicle seat state updating message that control device sends, the mark of described vehicle seat 1 is represented by green, the mark of vehicle seat 2 is represented by redness.
Then, car transfer center redefines number of passengers according to the quantity of the mark being expressed as occupied vehicle seat, and shows number of passengers.In the process of display number of passengers, the number of passengers maximal value of occupied number of passengers and regulation can be shown.Such as, occupied number of passengers is 15, and the number of passengers maximal value of regulation is 35.Therefore, the display mode of number of passengers can be 15/35.
As seen from the above, utilize the scheme of the embodiment of the present invention to avoid in prior art to need the carrying situation checked vehicles by vehicle drivers to confirm seating capacity and the delayed situation of the feedback information produced, therefore utilize the scheme vehicle of the embodiment of the present invention can timely to car transfer center vehicle seat status information, and then make car transfer center can determine number of passengers accurately, thus the scheme of the embodiment of the present invention is utilized to improve the accuracy of car plate allotment.
As shown in Figure 4, the device of the acquisition number of passengers of the embodiment of the present invention four, comprising:
Receiving element 41, for receiving the number of passengers detect-message that car transfer center sends; Processing unit 42, for obtaining vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, described vehicle seat status information is for representing that whether vehicle seat is occupied; Transmitting element 43, response message is detected for sending number of passengers to described car transfer center, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.
Wherein, described vehicle seat condition checkout gear is infrared inductor or pressure sensitive device that vehicle seat is arranged.Concrete, described processing unit 42 can comprise: detection module, for according to described number of passengers detect-message, enables described infrared inductor or pressure sensitive device detects vehicle seat state; Receiver module, for receiving the vehicle seat state-detection object information of described infrared inductor or the transmission of pressure sensitive device, comprises vehicle seat status information in described vehicle seat testing result information; Processing module, for according to described vehicle seat state-detection results messages, obtains described vehicle seat status information.
In addition, the information obtained to make car transfer center is more accurate, described transmitting element 43, also for when the state of vehicle seat changes, vehicle seat state updating message is sent to described car transfer center, vehicle seat status information after described vehicle seat state updating message comprises the renewal of described vehicle seat, makes to redefine number of passengers according to described car transfer center according to the vehicle seat status information after described renewal.
The principle of work of embodiment of the present invention device can refer to the description of preceding method embodiment.
As seen from the above, utilize the scheme of the embodiment of the present invention to avoid in prior art to need the carrying situation checked vehicles by vehicle drivers to confirm seating capacity and the delayed situation of the feedback information produced, therefore utilize the scheme vehicle of the embodiment of the present invention can timely to car transfer center vehicle seat status information, and then make car transfer center can determine number of passengers accurately, thus the scheme of the embodiment of the present invention is utilized to improve the accuracy of car plate allotment.
As shown in Figure 5, the device of the acquisition number of passengers of the embodiment of the present invention five, comprising:
Transmitting element 51, for sending number of passengers detect-message to vehicle; Receiving element 52, the number of passengers sent according to described number of passengers detect-message for receiving described vehicle detects response message, the vehicle seat status information of vehicle seat is comprised at described number of passengers detection response message, described vehicle seat status information obtains from the vehicle seat condition checkout gear of described vehicle seat, for representing that whether vehicle seat is occupied; Processing unit 53, for determining the number of passengers of described vehicle according to described vehicle seat status information.
Wherein, described processing unit 53 comprises: parsing module, for resolving described vehicle seat status information, determines that whether described vehicle seat is occupied.Processing module, for when described vehicle seat status information represents that vehicle seat is occupied, is expressed as occupied by vehicle seat mark corresponding for the occupied vehicle seat status information of expression; According to the quantity determination number of passengers of mark being expressed as occupied vehicle seat.
In addition, in order to make staff understand the occupied situation of vehicle seat more accurately, described processing module also for: when described vehicle seat status information represents that vehicle seat is unoccupied, the mark of described vehicle seat is expressed as unoccupied.
In addition, in order to make vehicle scheduling more accurate, described receiving element 52 also for, receive described vehicle send vehicle seat state updating message, the vehicle seat status information after described vehicle seat state updating message comprises renewal; Described processing unit 53 also for, resolve the vehicle seat status information after described renewal; When the vehicle seat status information after described renewal represents that vehicle seat is occupied, the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied.
Now, concrete, described processing unit 53 specifically for: when the vehicle seat status information after described renewal represents that vehicle seat is occupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is occupied, then the mark of described vehicle seat is expressed as unoccupied.
The principle of work of embodiment of the present invention device can refer to the description of preceding method embodiment.
As seen from the above, utilize the scheme of the embodiment of the present invention to avoid in prior art to need the carrying situation checked vehicles by vehicle drivers to confirm seating capacity and the delayed situation of the feedback information produced, therefore utilize the scheme vehicle of the embodiment of the present invention can timely to car transfer center vehicle seat status information, and then make car transfer center can determine number of passengers accurately, thus the scheme of the embodiment of the present invention is utilized to improve the accuracy of car plate allotment.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), erasablely edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanning to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
For convenience of description, describing above device is be divided into various units/modules to describe respectively with function.Certainly, the function of each units/modules can be realized in same or multiple software and/or hardware when implementing of the present invention.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

1. obtain a method for number of passengers, it is characterized in that, comprising:
Receive the number of passengers detect-message that car transfer center sends;
Obtain vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, described vehicle seat status information is for representing that whether vehicle seat is occupied;
Send number of passengers to described car transfer center and detect response message, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.
2. method according to claim 1, is characterized in that, described vehicle seat condition checkout gear is infrared inductor or pressure sensitive device; Describedly obtain vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear that is arranged on vehicle seat and comprise:
According to described number of passengers detect-message, enable described infrared inductor or pressure sensitive device detects vehicle seat state;
Receive the vehicle seat state-detection object information of described infrared inductor or the transmission of pressure sensitive device, comprise vehicle seat status information in described vehicle seat testing result information;
According to described vehicle seat state-detection results messages, obtain described vehicle seat status information.
3. method according to claim 1 and 2, is characterized in that, described method also comprises:
When the state of vehicle seat changes, vehicle seat state updating message is sent to described car transfer center, vehicle seat status information after described vehicle seat state updating message comprises the renewal of described vehicle seat, makes to redefine number of passengers according to described car transfer center according to the vehicle seat status information after described renewal.
4. obtain a method for number of passengers, it is characterized in that, comprising:
Number of passengers detect-message is sent to vehicle;
Receive the number of passengers detection response message that described vehicle sends according to described number of passengers detect-message, the vehicle seat status information of vehicle seat is comprised at described number of passengers detection response message, described vehicle seat status information obtains from the vehicle seat condition checkout gear of described vehicle seat, for representing that whether vehicle seat is occupied;
The number of passengers of described vehicle is determined according to described vehicle seat status information.
5. method according to claim 4, is characterized in that, describedly determines that the number of passengers of described vehicle comprises according to described vehicle seat status information:
Resolve described vehicle seat status information, determine that whether described vehicle seat is occupied;
When described vehicle seat status information represents that vehicle seat is occupied, vehicle seat mark corresponding for the occupied vehicle seat status information of expression is expressed as occupied;
According to the quantity determination number of passengers of mark being expressed as occupied vehicle seat.
6. method according to claim 5, is characterized in that, described method also comprises:
When described vehicle seat status information represents that vehicle seat is unoccupied, the mark of described vehicle seat is expressed as unoccupied.
7. the method according to claim 5 or 6, is characterized in that, described method also comprises:
Receive the vehicle seat state updating message that described vehicle sends, the vehicle seat status information after described vehicle seat state updating message comprises renewal;
Resolve the vehicle seat status information after described renewal;
When the vehicle seat status information after described renewal represents that vehicle seat is occupied, the mark of described vehicle seat is expressed as occupied; When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied.
8. method according to claim 7, is characterized in that, described when the vehicle seat status information after described renewal represents that vehicle seat is occupied, is expressed as occupied, comprises the mark of described vehicle seat:
When the vehicle seat status information after described renewal represents that vehicle seat is occupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as occupied;
When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, then the mark of described vehicle seat is expressed as unoccupied, comprises:
When the vehicle seat status information after described renewal represents that vehicle seat is unoccupied, obtain the current state of the mark of described vehicle seat; If the current state of the mark of described vehicle seat is occupied, then the mark of described vehicle seat is expressed as unoccupied.
9. obtain a device for number of passengers, it is characterized in that, comprising:
Receiving element, for receiving the number of passengers detect-message that car transfer center sends;
Processing unit, for obtaining vehicle seat status information according to described number of passengers detect-message from the vehicle seat condition checkout gear be arranged on vehicle seat, described vehicle seat status information is for representing that whether vehicle seat is occupied;
Transmitting element, response message is detected for sending number of passengers to described car transfer center, detect response message at described number of passengers and comprise described vehicle seat status information, make according to described car transfer center according to described vehicle seat status information determination number of passengers.
10. device according to claim 9, is characterized in that, described vehicle seat condition checkout gear is infrared inductor or pressure sensitive device that vehicle seat is arranged; Described processing unit comprises:
Detection module, for according to described number of passengers detect-message, enables described infrared inductor or pressure sensitive device detects vehicle seat state;
Receiver module, for receiving the vehicle seat state-detection object information of described infrared inductor or the transmission of pressure sensitive device, comprises vehicle seat status information in described vehicle seat testing result information;
Processing module, for according to described vehicle seat state-detection results messages, obtains described vehicle seat status information.
CN201510626844.1A 2015-09-28 2015-09-28 Method and device for acquiring number of passengers Pending CN105118296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510626844.1A CN105118296A (en) 2015-09-28 2015-09-28 Method and device for acquiring number of passengers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510626844.1A CN105118296A (en) 2015-09-28 2015-09-28 Method and device for acquiring number of passengers

Publications (1)

Publication Number Publication Date
CN105118296A true CN105118296A (en) 2015-12-02

Family

ID=54666264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510626844.1A Pending CN105118296A (en) 2015-09-28 2015-09-28 Method and device for acquiring number of passengers

Country Status (1)

Country Link
CN (1) CN105118296A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273819A (en) * 2017-05-26 2017-10-20 毛亦炜 A kind of bus passenger number statistics application method
CN111724082A (en) * 2020-07-06 2020-09-29 福建票付通信息科技有限公司 Method for calculating number of dynamically scheduled vehicles in no-load mode of sightseeing vehicle in scenic spot
CN115017962A (en) * 2022-08-08 2022-09-06 北京阿帕科蓝科技有限公司 Riding number detection method, target characteristic sequence determination method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273819A (en) * 2017-05-26 2017-10-20 毛亦炜 A kind of bus passenger number statistics application method
CN111724082A (en) * 2020-07-06 2020-09-29 福建票付通信息科技有限公司 Method for calculating number of dynamically scheduled vehicles in no-load mode of sightseeing vehicle in scenic spot
CN115017962A (en) * 2022-08-08 2022-09-06 北京阿帕科蓝科技有限公司 Riding number detection method, target characteristic sequence determination method and device
CN115017962B (en) * 2022-08-08 2022-10-21 北京阿帕科蓝科技有限公司 Riding number detection method, target characteristic sequence determination method and device

Similar Documents

Publication Publication Date Title
CN102354209B (en) Test device and method for train control system
US9960624B2 (en) Method for configurable aircraft USB power level management
KR101556058B1 (en) charging apparatus with multiple charging port and charging method thereof
US7999667B2 (en) Vehicle health management system
CN106548555A (en) A kind of method for unlocking and user terminal of intelligent bicycle lock
CN104859489A (en) Apparatus And Method To Monitor The Occupancy Of Seating
CN104076806B (en) A kind of electric control gear to automobile carries out the method and apparatus of automatic test
CN103986502B (en) Information processing method, electronic device and system
CN106034127A (en) Method and system for providing vehicle security service
CN110520742A (en) Multichannel bidirectional battery management system
EP3272104B1 (en) A distributed network of a structure that provides location-based human interaction and intelligence
CN105118296A (en) Method and device for acquiring number of passengers
CN109407656A (en) The scan method and its automotive diagnostic installation of electronic control unit in vehicle
CN104954334A (en) Vehicle designated driving service system and implementation method for vehicle designated driving service
CN106464694A (en) Security adjustments in mobile devices
CN109030994A (en) A kind of test method and system
CN1833394B (en) Method and device for bi-directional single-wire data transmission
CN108832213A (en) A kind of battery monitor method, apparatus and system
KR20180134607A (en) Communication monitoring device of railway vehicle
CN102621955A (en) System and method for realizing synchronous writing of rating data of multiple controllers based on CAN (controller area network) bus
CN106383511B (en) The emulation test method of entire car controller, device and system
JP5648846B2 (en) Identification code automatic setting system and method
KR20180049734A (en) Battery management system and method for assigning communication id
CN112134946A (en) Test method, device, storage medium, terminal and system of elevator Internet of things
CN102371785B (en) Printing device, control method and printing system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication