CN111259103A - Method, device, storage medium and equipment for recognizing riding state - Google Patents

Method, device, storage medium and equipment for recognizing riding state Download PDF

Info

Publication number
CN111259103A
CN111259103A CN202010031033.8A CN202010031033A CN111259103A CN 111259103 A CN111259103 A CN 111259103A CN 202010031033 A CN202010031033 A CN 202010031033A CN 111259103 A CN111259103 A CN 111259103A
Authority
CN
China
Prior art keywords
position information
passenger
time
vehicle owner
real
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
CN202010031033.8A
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.)
Shanghai Junzheng Network Technology Co Ltd
Original Assignee
Shanghai Junzheng Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Junzheng Network Technology Co Ltd filed Critical Shanghai Junzheng Network Technology Co Ltd
Priority to CN202010031033.8A priority Critical patent/CN111259103A/en
Publication of CN111259103A publication Critical patent/CN111259103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • G06Q50/40

Abstract

The invention discloses a method, a device, a storage medium and equipment for recognizing a riding state. The method comprises the following steps: if a passenger position information acquisition trigger event is detected, acquiring the position information of a passenger according to a preset time period; if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger; determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance; and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state. By adopting the technical scheme, the passenger position information and the vehicle owner position information can be set according to the acquisition rule, and the distance is calculated according to the acquired position, so that whether the passenger is in the riding state is determined, and the purpose of determining the riding state of the passenger is achieved.

Description

Method, device, storage medium and equipment for recognizing riding state
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device, a storage medium and equipment for recognizing a riding state.
Background
With the rapid development of internet technology, it is seen everywhere in large and medium-sized urban networks in China. The network appointment vehicle is a vehicle which is reserved on the network by the passenger through the intelligent terminal, and the passenger takes the bus to travel after the reservation time is reached. For passengers, the demand of the reserved vehicle can be issued to the platform in a mode of issuing order information, a vehicle owner can determine whether to move along the same route or not by checking the order information, and if so, the vehicle owner can receive the order, so that one-time network vehicle reservation operation is formed. However, the network appointment platform provides services for the car owner and the passengers, and simultaneously judges the states of the passengers and the car owner, judges whether the passengers are on the car of the car owner, and provides corresponding services for the passengers and the car owner according to the states of the car owner and the passengers.
Disclosure of Invention
In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is that after a passenger makes a network appointment, it is impossible to determine whether the owner of the vehicle has arrived at the passenger position and whether the passenger is already in a riding state. In order to solve the problems, the scheme establishes a method that after a passenger issues a network appointment order on a platform, the passenger can obtain and report the position information of the passenger in real time after matching is successful, and after the owner triggers and receives the passenger operation, the passenger can obtain and report the position information of the vehicle in real time, and the position information in the data reported by the two ends is compared, so that whether the passenger and the owner are in the same line or not is determined.
In order to achieve the purpose, the invention provides a method, a device, a storage medium and equipment for recognizing a riding state.
In a preferred embodiment of the present invention, a method for identifying a riding state is provided in an embodiment of the present application, where the method includes:
if a passenger position information acquisition trigger event is detected, acquiring the position information of a passenger according to a preset time period;
if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger;
determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance;
and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state.
Optionally, the method further includes:
and if the real-time distance does not meet the preset distance condition within the preset time length, determining that the passenger is in a non-riding state.
Optionally, the location information of the passenger includes a geographic location longitude and latitude, a timestamp, an order number, and passenger identity information.
Optionally, determining the position information of the passenger corresponding to the time of acquiring the position information of the vehicle owner, and calculating the real-time distance includes:
acquiring real-time position information of a vehicle owner, wherein the position information comprises the longitude and latitude of the geographic position of the vehicle owner, a timestamp and vehicle owner identity information;
determining the position information of the passenger corresponding to the real-time position information time of the owner according to the time stamp of the real-time position information of the owner and the time stamp of the position information of the passenger;
and calculating the real-time distance according to the longitude and latitude of the geographic position of the position information of the passenger corresponding to the time and the longitude and latitude of the real-time position information of the vehicle owner.
Optionally, if a passenger position information acquisition trigger event is detected, acquiring passenger position information according to a preset time period, including:
if the order issuing event of the passenger is detected, the position information of the passenger is obtained through the intelligent terminal of the passenger every other preset time period;
and receiving the position information of the passenger reported by the intelligent terminal of the passenger.
Optionally, the receiving the passenger location information reported by the passenger intelligent terminal includes:
when the acquired position information of the passengers reaches a preset number, acquiring a position information array with the preset number;
and receiving a position information array obtained by the intelligent terminal of the passenger in a preset time period of a preset number.
Optionally, if the vehicle owner location information acquisition trigger event is detected, acquiring the location information of the vehicle owner, including:
if an operation instruction that the owner clicks to reach the starting position of the passenger is received, acquiring position information of the owner;
alternatively, the first and second electrodes may be,
and if the current time is within the preset time before the passenger car appointment time, acquiring the position information of the car owner.
In another preferred embodiment of the present invention, there is provided a riding state recognition apparatus including:
the passenger position information acquisition module is used for acquiring the position information of the passenger according to a preset time period if a passenger position information acquisition trigger event is detected;
the vehicle owner position information acquisition module is used for acquiring the position information of a vehicle owner and extracting the acquired position information of passengers if a vehicle owner position information acquisition trigger event is detected;
the real-time distance calculation module is used for determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner and calculating the real-time distance;
and the riding state recognition module is used for determining that the passenger is in a riding state if the real-time distance meets a preset distance condition within a preset time length.
Optionally, the apparatus is further configured to:
and if the real-time distance does not meet the preset distance condition within the preset time length, determining that the passenger is in a non-riding state.
Optionally, the location information of the passenger includes a geographic location longitude and latitude, a timestamp, an order number, and passenger identity information.
Optionally, determining the position information of the passenger corresponding to the time of acquiring the position information of the vehicle owner, and calculating the real-time distance includes:
acquiring real-time position information of a vehicle owner, wherein the position information comprises the longitude and latitude of the geographic position of the vehicle owner, a timestamp and vehicle owner identity information;
determining the position information of the passenger corresponding to the real-time position information time of the owner according to the time stamp of the real-time position information of the owner and the time stamp of the position information of the passenger;
and calculating the real-time distance according to the longitude and latitude of the geographic position of the position information of the passenger corresponding to the time and the longitude and latitude of the real-time position information of the vehicle owner.
Optionally, if a passenger position information acquisition trigger event is detected, acquiring passenger position information according to a preset time period, including:
if the order issuing event of the passenger is detected, the position information of the passenger is obtained through the intelligent terminal of the passenger every other preset time period;
and receiving the position information of the passenger reported by the intelligent terminal of the passenger.
Optionally, the receiving the passenger location information reported by the passenger intelligent terminal includes:
when the acquired position information of the passengers reaches the preset number, obtaining a position information array 2 with the preset number
And receiving a position information array obtained by the intelligent terminal of the passenger in a preset time period of a preset number.
Optionally, if the vehicle owner location information acquisition trigger event is detected, acquiring the location information of the vehicle owner, including:
if an operation instruction that the owner clicks to reach the starting position of the passenger is received, acquiring position information of the owner;
alternatively, the first and second electrodes may be,
and if the current time is within the preset time before the passenger car appointment time, acquiring the position information of the car owner.
In another preferred embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements a method for identifying a riding status according to an embodiment of the present application.
In another preferred embodiment of the present invention, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and when the processor executes the computer program, the method for recognizing a riding state according to an embodiment of the present application is implemented.
The technical scheme provided by the invention has the following technical effects:
the method is suitable for the recognition operation of the riding state of the network appointment vehicle, and the recognition of whether the passenger is in the riding state or not is determined by setting the acquisition rules of the passenger position information and the vehicle owner position information and calculating the distance according to the acquired positions so as to achieve the purpose of determining the riding state recognition of the passenger.
The conception, the specific structure and the technical effects of the present invention will be further described with reference to the accompanying drawings to fully understand the objects, the features and the effects of the present invention.
Drawings
Fig. 1 is a schematic view of a method for identifying a riding state according to an embodiment of the present application;
fig. 2 is a schematic view of a riding state recognition device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Some exemplary embodiments of the invention have been described for illustrative purposes, and it is to be understood that the invention may be practiced otherwise than as specifically described.
Fig. 1 is a schematic diagram of a method for recognizing a riding state according to an embodiment of the present invention, where the present embodiment is applicable to a situation of recognizing a riding state of a networked appointment car, and the method may be executed by a device for recognizing a riding state according to an embodiment of the present invention, where the device may be implemented by software and/or hardware, and may be integrated in an electronic device such as a server.
As shown in fig. 1, the method for identifying a riding state includes:
and S110, if the passenger position information acquisition trigger event is detected, acquiring the passenger position information according to a preset time period.
The position information of the passenger may include the current position of the passenger, and the specific position may be embodied in a form of combining with map data to obtain position information such as a certain street or a certain cell gate, and may also be position longitude and latitude information. The passenger position information acquisition triggering event may be that the user position information is acquired after a request for reserving the network car appointment is sent out, or the user information is acquired when the current time is closer to the user travel time.
In this embodiment, optionally, the location information of the passenger includes a geographic location longitude and latitude, a timestamp, an order number, and passenger identity information. The distance between the user and the vehicle can be accurately calculated by adopting the longitude and latitude of the geographic position, and the timestamp can be used for determining that the position information of the user and the position information of the vehicle owner are in the same or corresponding time, so that the effectiveness and the accuracy of the position information calculation of the user and the vehicle owner are ensured. The order number may be information including a network car booking order of the user, where the order number may be used to distinguish when the user issues network car booking information for multiple times. For example, a user appoints to go out of an office building at 9:00 a.m., and returns to home from the office building at 15:00 a.m., the user can distinguish the order number of the order, so that more network overhead and resource waste caused by calculation of unnecessary vehicle information are avoided.
And S120, if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger.
The location information of the vehicle owner may be location information acquired in real time, and may specifically be acquired through an intelligent terminal of the vehicle owner, for example, the real-time location information of the vehicle owner is determined through location information in the intelligent terminal of the vehicle owner, and may also be acquired through a location device of the vehicle, for example, a vehicle bound by the vehicle owner may be determined through the information of the vehicle owner, and the real-time location of the vehicle may be acquired through a server connected to the vehicle. If the position information of the owner meets the format requirement, the position information can be directly used, and if the position information does not meet the format requirement, the position information can be converted into a format consistent with the format of the position information of the user, for example, the original local area coordinate format can be converted into a format of the longitude and latitude of the geographic position.
In the technical scheme, since the position information of the user is acquired, corresponding calculation can be performed after the position information of the owner is acquired. Before the calculation, the position information of the user acquired before needs to be called up, and specifically, the position information of the user can be read out from the stored position. In the technical scheme, the position information of the user is acquired in advance, and the time period possibly included far exceeds the time period of the position information of the vehicle owner, so that preliminary screening can be performed through the time stamp in the position information of the user, the extracted position information can be determined and used for calculation, and the burden of data processing is reduced.
In this embodiment, optionally, if the vehicle owner location information acquisition trigger event is detected, acquiring the location information of the vehicle owner includes: if an operation instruction that the owner clicks to reach the starting position of the passenger is received, acquiring position information of the owner; or if the current time is within the preset time before the passenger car appointment time, acquiring the position information of the car owner. The trigger event can be determined to be detected by detecting an operation instruction of the vehicle owner clicking to reach the starting position of the passenger, or the trigger event can be determined to be detected by determining that only a preset time interval exists between the current time and the passenger appointment time. Wherein the predetermined time period may be 15 minutes, 10 minutes, and other longer or shorter times. According to the technical scheme, unnecessary calculation operation can be avoided by detecting the trigger event of the acquisition of the position information of the vehicle owner, meanwhile, the position information of the vehicle owner can be acquired under the condition of need, and the acquired position information of the user stored in the fixed position is extracted.
And S130, determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance.
The position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner is determined, and the real-time distance is calculated. Wherein whether to belong to the corresponding time can be determined according to the time stamp of each position information. The corresponding time may be the same time, or may be time within a certain range, for example, the time stamp of the owner location information is 8 o 'clock 45 minutes 15 seconds, and may be considered as corresponding time within 5 seconds before and after the time, that is, the time of the user's time stamp is within a period of time from 8 o 'clock 45 minutes 10 seconds to 8 o' clock 45 minutes 20 seconds. If a plurality of pieces of location information are included therein, one having a time closest to the time stamp of the owner location information may be taken as the location information of the user who performs the calculation. The real-time distance may be calculated by a conventional distance calculation method, for example, the actual distance between two locations may be determined according to longitude and latitude coordinates of the two locations.
In this embodiment, optionally, determining the position information of the passenger corresponding to the time of acquiring the position information of the vehicle owner, and calculating the real-time distance includes: acquiring real-time position information of a vehicle owner, wherein the position information comprises the longitude and latitude of the geographic position of the vehicle owner, a timestamp and vehicle owner identity information; determining the position information of the passenger corresponding to the real-time position information time of the owner according to the time stamp of the real-time position information of the owner and the time stamp of the position information of the passenger; and calculating the real-time distance according to the longitude and latitude of the geographic position of the position information of the passenger corresponding to the time and the longitude and latitude of the real-time position information of the vehicle owner. The location information of the vehicle owner can be obtained in real time, namely continuous location information, wherein the location information can include the longitude and latitude of the geographic location of the vehicle owner, a timestamp, the identity information of the vehicle owner and the like. The position information of the passenger corresponding to the time can be determined according to the time stamp in the position information, and then the distance calculation is carried out. The technical scheme has the advantages that accurate matching can be carried out through the timestamps of the two pieces of position information, and then accurate real-time distance calculation results are obtained.
And S140, if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state.
The preset time length may be a fixed time length, for example, 2 minutes, or may be the number of calculated position information arrays, for example, if both arrays are calculated to be qualified, it is determined that the passenger is in a riding state. The distance satisfies a preset distance condition, and the distance between the passenger and the vehicle owner is less than 1 kilometer, 500 meters or 200 meters in a preset time.
After a user issues a network appointment order on a platform and matching is successful, if the user has an in-transit order (in the states of arrival of a vehicle owner, getting on of a passenger and on-going of a journey), the user position is obtained in real time (no matter on any page) in the foreground when the APP calls out, or when the APP runs in the background, the user position is reported, a reporting mechanism obtains position information once every 10s and puts the position information into a position array, full n (n is configurable) times of data are collected, namely n x 10s of data are reported to the platform server, the reported data comprise longitude and latitude, a timestamp, an order number and a user ID of the current geographic position of the user, the platform server records the data in a platform server database after receiving the data reported by the user, and when a driver arrives at a passenger start button, or when the distance from the departure time is 15 minutes, the server starts to take out longitude and latitude position information reported by the current time of the corresponding user from the database, then calculates the distance between the driver and the passenger according to the taken-out position information, and judges that the driver and the passenger meet the same-row state if the distance is less than 1km for n times continuously (n is configured according to the actual condition).
According to the technical scheme provided by the embodiment of the invention, if a passenger position information acquisition trigger event is detected, the position information of the passenger is acquired according to a preset time period; if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger; determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance; and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state. By adopting the technical scheme, the passenger position information and the vehicle owner position information can be set according to the acquisition rule, and the distance is calculated according to the acquired position, so that whether the passenger is in the riding state is determined, and the purpose of determining the riding state of the passenger is achieved.
On the basis of the above technical solution, optionally, if a passenger position information acquisition trigger event is detected, acquiring passenger position information according to a preset time period, including: if the order issuing event of the passenger is detected, the position information of the passenger is obtained through the intelligent terminal of the passenger every other preset time period; and receiving the position information of the passenger reported by the intelligent terminal of the passenger. The preset time period can be 10 seconds, the intelligent terminal of the passenger can acquire and report the position information once every 10 seconds, and through the setting, the position information of the user can be acquired intermittently, so that the position information of the user can be acquired, and excessive resource overhead can not be caused at the same time of acquiring the position information of the user.
In this embodiment, optionally, the receiving the passenger location information reported by the passenger intelligent terminal includes: when the acquired position information of the passengers reaches a preset number, acquiring a position information array with the preset number; and receiving a position information array obtained by the intelligent terminal of the passenger in a preset time period of a preset number. In the technical solution, after the position information is obtained to a certain amount, for example, to 6 position information data or 10 position information data, a position information array may be formed and reported to the server. Through the arrangement, the problems that the power consumption of the intelligent terminal is high, the network overhead is serious and the like due to the fact that the user terminal frequently uses network resources to transmit the position information data can be avoided. According to the technical scheme, the intelligent terminal is used for storing the information temporarily after being acquired, the information is uniformly reported to the server after reaching a certain amount, and the communication efficiency of the intelligent terminal is improved.
Fig. 2 is a schematic diagram of a riding state recognition device provided in an embodiment of the present application, and as shown in fig. 2, the riding state recognition device includes:
a passenger position information obtaining module 210, configured to obtain position information of a passenger according to a preset time period if a passenger position information obtaining trigger event is detected;
the vehicle owner position information acquiring module 220 is configured to acquire vehicle owner position information and extract acquired passenger position information if a vehicle owner position information acquisition trigger event is detected;
a real-time distance calculation module 230 for determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner and calculating a real-time distance;
and a riding state identification module 240, configured to determine that the passenger is in a riding state if the real-time distance meets a preset distance condition within a preset time duration.
Optionally, the apparatus is further configured to:
and if the real-time distance does not meet the preset distance condition within the preset time length, determining that the passenger is in a non-riding state.
Optionally, the location information of the passenger includes a geographic location longitude and latitude, a timestamp, an order number, and passenger identity information.
Optionally, determining the position information of the passenger corresponding to the time of acquiring the position information of the vehicle owner, and calculating the real-time distance includes:
acquiring real-time position information of a vehicle owner, wherein the position information comprises the longitude and latitude of the geographic position of the vehicle owner, a timestamp and vehicle owner identity information;
determining the position information of the passenger corresponding to the real-time position information time of the owner according to the time stamp of the real-time position information of the owner and the time stamp of the position information of the passenger;
and calculating the real-time distance according to the longitude and latitude of the geographic position of the position information of the passenger corresponding to the time and the longitude and latitude of the real-time position information of the vehicle owner.
Optionally, if a passenger position information acquisition trigger event is detected, acquiring passenger position information according to a preset time period, including:
if the order issuing event of the passenger is detected, the position information of the passenger is obtained through the intelligent terminal of the passenger every other preset time period;
and receiving the position information of the passenger reported by the intelligent terminal of the passenger.
Optionally, the receiving the passenger location information reported by the passenger intelligent terminal includes:
when the acquired position information of the passengers reaches a preset number, acquiring a position information array with the preset number;
and receiving a position information array obtained by the intelligent terminal of the passenger in a preset time period of a preset number.
Optionally, if the vehicle owner location information acquisition trigger event is detected, acquiring the location information of the vehicle owner, including:
if an operation instruction that the owner clicks to reach the starting position of the passenger is received, acquiring position information of the owner;
alternatively, the first and second electrodes may be,
and if the current time is within the preset time before the passenger car appointment time, acquiring the position information of the car owner.
According to the technical scheme provided by the embodiment of the invention, if a passenger position information acquisition trigger event is detected, the position information of the passenger is acquired according to a preset time period; if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger; determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance; and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state. By adopting the technical scheme, the passenger position information and the vehicle owner position information can be set according to the acquisition rule, and the distance is calculated according to the acquired position, so that whether the passenger is in the riding state is determined, and the purpose of determining the riding state of the passenger is achieved.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Embodiments of the present application also provide a storage medium containing computer-executable instructions that, when executed by a computer processor, perform a method for providing power based on a solar panel, the method comprising:
if a passenger position information acquisition trigger event is detected, acquiring the position information of a passenger according to a preset time period;
if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger;
determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance;
and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method for identifying a riding state described above, and may also perform related operations in the method for identifying a riding state provided in any embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring now to FIG. 3, shown is a schematic diagram of an electronic device 300 suitable for use in implementing embodiments of the present application. The electronic device in the embodiment of the present application may be an electronic device for providing an information presentation function. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present application.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform:
if a passenger position information acquisition trigger event is detected, acquiring the position information of a passenger according to a preset time period;
if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger;
determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance;
and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the passenger computer, partly on the passenger computer, as a stand-alone software package, partly on the passenger computer and partly on a remote computer or entirely on the remote computer or electronic device. In the case of a remote computer, the remote computer may be connected to the passenger computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The names of the modules and units do not limit the modules and units in some cases.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A method for recognizing riding conditions is characterized by comprising the following steps:
if a passenger position information acquisition trigger event is detected, acquiring the position information of a passenger according to a preset time period;
if the vehicle owner position information acquisition trigger event is detected, acquiring the position information of the vehicle owner and extracting the acquired position information of the passenger;
determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner, and calculating the real-time distance;
and if the real-time distance meets a preset distance condition within a preset time length, determining that the passenger is in a riding state.
2. The method of claim 1, wherein the method further comprises:
and if the real-time distance does not meet the preset distance condition within the preset time length, determining that the passenger is in a non-riding state.
3. The method of claim 1, wherein the passenger's location information includes geographic location latitude and longitude, a timestamp, an order number, and passenger identity information.
4. The method of claim 3, wherein the determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner and calculating the real-time distance comprises:
acquiring real-time position information of a vehicle owner, wherein the position information comprises the longitude and latitude of the geographic position of the vehicle owner, a timestamp and vehicle owner identity information;
determining the position information of the passenger corresponding to the real-time position information time of the owner according to the time stamp of the real-time position information of the owner and the time stamp of the position information of the passenger;
and calculating the real-time distance according to the longitude and latitude of the geographic position of the position information of the passenger corresponding to the time and the longitude and latitude of the real-time position information of the vehicle owner.
5. The method of claim 1, wherein if a passenger position information acquisition triggering event is detected, acquiring the passenger position information according to a preset time period comprises:
if the order issuing event of the passenger is detected, the position information of the passenger is obtained through the intelligent terminal of the passenger every other preset time period;
and receiving the position information of the passenger reported by the intelligent terminal of the passenger.
6. The method of claim 5, wherein the receiving the passenger's location information reported by the passenger's smart terminal comprises:
when the acquired position information of the passengers reaches a preset number, acquiring a position information array with the preset number;
and receiving a position information array obtained by the intelligent terminal of the passenger in a preset time period of a preset number.
7. The method of claim 1, wherein if the vehicle owner position information acquisition triggering event is detected, acquiring the position information of the vehicle owner comprises:
if an operation instruction that the owner clicks to reach the starting position of the passenger is received, acquiring position information of the owner;
alternatively, the first and second electrodes may be,
and if the current time is within the preset time before the passenger car appointment time, acquiring the position information of the car owner.
8. A riding status recognition apparatus, comprising:
the passenger position information acquisition module is used for acquiring the position information of the passenger according to a preset time period if a passenger position information acquisition trigger event is detected;
the vehicle owner position information acquisition module is used for acquiring the position information of a vehicle owner and extracting the acquired position information of passengers if a vehicle owner position information acquisition trigger event is detected;
the real-time distance calculation module is used for determining the position information of the passenger corresponding to the acquisition time of the position information of the vehicle owner and calculating the real-time distance;
and the riding state recognition module is used for determining that the passenger is in a riding state if the real-time distance meets a preset distance condition within a preset time length.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method of identifying a riding status according to any one of claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for identifying a riding status according to any one of claims 1 to 7 when executing the computer program.
CN202010031033.8A 2020-01-10 2020-01-10 Method, device, storage medium and equipment for recognizing riding state Pending CN111259103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010031033.8A CN111259103A (en) 2020-01-10 2020-01-10 Method, device, storage medium and equipment for recognizing riding state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010031033.8A CN111259103A (en) 2020-01-10 2020-01-10 Method, device, storage medium and equipment for recognizing riding state

Publications (1)

Publication Number Publication Date
CN111259103A true CN111259103A (en) 2020-06-09

Family

ID=70946909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010031033.8A Pending CN111259103A (en) 2020-01-10 2020-01-10 Method, device, storage medium and equipment for recognizing riding state

Country Status (1)

Country Link
CN (1) CN111259103A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669397A (en) * 2020-06-15 2020-09-15 北京趣拿信息技术有限公司 Target event processing method and device, storage medium and electronic device
CN112966218A (en) * 2021-02-26 2021-06-15 佳都新太科技股份有限公司 Real-time calculation method and device for number of passengers in carriage
CN113761088A (en) * 2020-07-01 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for processing position data
CN114566035A (en) * 2022-02-11 2022-05-31 上海益航网络科技有限公司 Riding reminding method, device and system for public transport means and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520950A (en) * 2008-03-31 2009-09-02 杭州义盛祥通信技术有限公司 Immediate taxi calling assignment managing system and calling assignment managing method
CN102567933A (en) * 2011-12-06 2012-07-11 姚唐仁 System and method for identifying illegal taxies
CN108830396A (en) * 2018-06-14 2018-11-16 武汉斑马快跑科技有限公司 A kind of passenger loading Activity recognition method and device
KR101939350B1 (en) * 2018-01-15 2019-01-16 주식회사 핀텔 Method and apparatus for detecting free riding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520950A (en) * 2008-03-31 2009-09-02 杭州义盛祥通信技术有限公司 Immediate taxi calling assignment managing system and calling assignment managing method
CN102567933A (en) * 2011-12-06 2012-07-11 姚唐仁 System and method for identifying illegal taxies
KR101939350B1 (en) * 2018-01-15 2019-01-16 주식회사 핀텔 Method and apparatus for detecting free riding
CN108830396A (en) * 2018-06-14 2018-11-16 武汉斑马快跑科技有限公司 A kind of passenger loading Activity recognition method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669397A (en) * 2020-06-15 2020-09-15 北京趣拿信息技术有限公司 Target event processing method and device, storage medium and electronic device
CN113761088A (en) * 2020-07-01 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for processing position data
CN112966218A (en) * 2021-02-26 2021-06-15 佳都新太科技股份有限公司 Real-time calculation method and device for number of passengers in carriage
CN114566035A (en) * 2022-02-11 2022-05-31 上海益航网络科技有限公司 Riding reminding method, device and system for public transport means and storage medium

Similar Documents

Publication Publication Date Title
CN111259103A (en) Method, device, storage medium and equipment for recognizing riding state
WO2018233535A1 (en) Location positioning method, device and system, and computer readable storage medium
WO2015096400A1 (en) Bus planning method using mobile communication data mining
CN106097730A (en) The method of estimation of a kind of section vehicle queue length, Apparatus and system
CN110689804B (en) Method and apparatus for outputting information
Ram et al. SMARTBUS: A web application for smart urban mobility and transportation
CN110798807B (en) Method, apparatus, computer device and medium for recording vehicle trajectory
JP2013210870A (en) Traffic line information measuring system and method and information processing apparatus
WO2019065328A1 (en) Parking space estimation device and parking space estimation method
CN114919461A (en) Electric vehicle charging reminding method and device, electronic equipment and storage medium
CN106156207A (en) Reminder time amending method and device
CN111091222A (en) People flow prediction method, device and system
CN104599161A (en) Method and device for pricing orders based on GPS (global positioning system) coordinate points of client
US20040111241A1 (en) Communication terminal and information processing apparatus of a payment system
CN112669604B (en) Urban traffic scheduling method and device
CN113160542A (en) Riding method and device based on information feedback
CN111624550B (en) Vehicle positioning method, device, equipment and storage medium
JP2002117491A (en) System and method for providing movable body plying information and movable body plying information service center
CN110223514B (en) Urban traffic running state analysis method and device and electronic equipment
Hakeem et al. IoT bus monitoring system via mobile application
CN112750328B (en) Driving path recommendation method, device, equipment and medium
CN114862491A (en) Vehicle position determining method, order dispatching method, device, server and storage medium
CN113065803A (en) Inter-station driving data processing method and device, electronic equipment and storage medium
CN115808178A (en) Updating method and device of navigation map and automatic driving system
CN111523529A (en) Rail transit epidemic prevention and control system and method based on passenger travel track

Legal Events

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

Application publication date: 20200609

RJ01 Rejection of invention patent application after publication