Method and device for determining driving behavior, equipment and storage medium
By obtaining the geographical location information of the vehicle and reference information on the server, determining its driving behavior, and issuing an alarm through the on-board equipment or user equipment, the problem of vehicles running red lights cannot be detected and traffic safety is improved.
Patent Information
- Application Number
- CN202311542320.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2025-05-20
AI Technical Summary
Because some vehicles (such as bicycles) cannot be detected in their red lights, traffic accidents have increased and traffic safety has affected.
By obtaining the geographical location information of the vehicle, combining reference information on the server (such as the periodic information of the traffic light), the driving behavior of the vehicle is determined, and an alarm is issued to the relevant indicator components of the vehicle through the vehicle equipment or user equipment.
It realizes rapid detection of the driving behavior of various types of vehicles, promptly reminds drivers or users to avoid illegal driving, and improves traffic safety.
Smart Images

Figure CN120020922A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and particularly to methods, apparatuses, devices, and computer-readable storage media for determining driving behaviors. Background Art
[0002] With the continuous development of social economy and vehicle technologies, vehicles have become essential transportation devices in people's lives. Since the red-light running behaviors of some vehicles (such as bicycles) cannot be detected and thus cannot be controlled by traffic rules, the number of traffic accidents caused by these vehicles running red lights without permission has gradually increased, greatly affecting people's traffic safety. It is desirable to conveniently and quickly detect the driving behaviors of various types of vehicles to ensure traffic safety. Summary of the Invention
[0003] In a first aspect of the present disclosure, a method for determining a driving behavior is provided. The method includes: obtaining geographical location information indicating the geographical location where a transportation means is located; determining status information from reference information, the status information indicating the status of a target traffic light within at least a region range matching the geographical location; determining a driving behavior related to the transportation means according to the status information and the geographical location information; and based on the determined driving behavior, causing an indicating component associated with the transportation means to indicate the driving behavior in a predetermined manner.
[0004] In a second aspect of the present disclosure, a method for determining a driving behavior is provided. The method includes: obtaining geographical location information indicating the geographical location where a transportation means is located; sending the geographical location information to a server; obtaining information indicating the driving behavior of the transportation means from the server; and based on the information, causing an indicating component associated with the transportation means to indicate the driving behavior in a predetermined manner.
[0005] In a third aspect of the present disclosure, an apparatus for determining a driving behavior is provided. The apparatus includes: a location information obtaining module configured to obtain geographical location information indicating the geographical location where a transportation means is located; a status information determining module configured to determine status information from reference information, the status information indicating the status of a target traffic light within at least a region range matching the geographical location; a driving behavior determining module configured to determine a driving behavior related to the transportation means according to the status information and the geographical location information; and a driving behavior indicating module configured to, based on the determined driving behavior, cause an indicating component associated with the transportation means to indicate the driving behavior in a predetermined manner.
[0006] In a fourth aspect of the present disclosure, there is provided an apparatus for determining a driving behavior. The apparatus includes: an information acquisition module configured to acquire geographical location information indicating the geographical location where a vehicle is located; an information sending module configured to send the geographical location information to a server; an information receiving module configured to acquire from the server information indicating the driving behavior of the vehicle; and a behavior indication module configured to, based on the information, cause an indication component associated with the vehicle to indicate the driving behavior in a predetermined manner.
[0007] In a fifth aspect of the present disclosure, there is provided an electronic device. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to execute the method of the first aspect or execute the method of the second aspect.
[0008] In a sixth aspect of the present disclosure, there is provided a computer-readable storage medium. A computer program is stored on the computer-readable storage medium and can be executed by a processor to implement the method of the first aspect or implement the method of the second aspect.
[0009] It should be understood that the content described in the present invention content section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In combination with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent. In the drawings, the same or similar reference numerals represent the same or similar elements, where:
[0011] Figure 1 A schematic diagram showing an example environment in which the embodiments of the present disclosure can be implemented;
[0012] Figure 2 A schematic diagram showing an example framework for determining a driving behavior according to some embodiments of the present disclosure;
[0013] Figure 3 A flowchart showing the information flow for determining a driving behavior according to some embodiments of the present disclosure;
[0014] Figure 4 A flowchart showing the process of determining a driving behavior according to some embodiments of the present disclosure;
[0015] Figure 5 A flowchart showing the process of determining a driving behavior according to some embodiments of the present disclosure;
[0016] Figure 6 shows a schematic structural block diagram of a device for determining driving behavior according to some embodiments of the present disclosure;
[0017] Figure 7 shows a schematic structural block diagram of a device for determining driving behavior according to some embodiments of the present disclosure; and
[0018] Figure 8 shows a block diagram of an electronic device in which one or more embodiments of the present disclosure can be implemented. Detailed implementation manners
[0019] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0020] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. In addition, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different sections / subsections in any manner.
[0021] In the description of the embodiments of the present disclosure, the term "including" and its like should be understood as an open inclusion, that is, "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". There may also be other explicit and implicit definitions hereinafter. The terms "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions hereinafter.
[0022] Embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. All of these aspects comply with corresponding laws, regulations and related provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are carried out on the premise that the user is aware and confirms. Accordingly, when implementing the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained through appropriate means in accordance with relevant laws and regulations. The specific informing and / or authorization methods may vary according to the actual situation and application scenarios, and the scope of the present disclosure is not limited in this regard.
[0023] For the solutions described in this specification and embodiments, if they involve personal information processing, they will be processed on the premise of having a legal basis (such as obtaining the consent of the personal information subject, or being necessary for performing a contract), and will only be processed within the specified or agreed scope. If a user refuses to process personal information other than the necessary information required for basic functions, it will not affect the user's use of basic functions.
[0024] As used herein, the term "vehicle" may include any type of land vehicle that carries people and / or objects and moves by an engine or human power, such as cars, bicycles, trucks, motorhomes, etc.
[0025] As discussed above, with the continuous development of social economy and vehicle technology, vehicles have become an essential transportation device in people's lives. In daily life, traffic lights play an important role in road traffic management, which can control traffic flow, reduce the occurrence of traffic accidents, and improve road traffic efficiency.
[0026] Since the red-light running behavior of some vehicles (such as bicycles) cannot be detected and thus cannot be controlled by traffic rules, the number of traffic accidents caused by these vehicles running red lights without permission has gradually increased, greatly affecting people's traffic safety. Traditionally, it often relies solely on the vehicle driver to manually judge whether this type of vehicle has committed a violation. The vehicle or the driver's terminal cannot timely remind the driver. It is expected that the driving behavior of various types of vehicles can be detected conveniently and quickly to ensure traffic safety.
[0027] In view of this, embodiments of the present disclosure provide a method for determining a driving behavior. The method includes: an in-vehicle device and / or a user device can obtain geographical location information of the geographical location where the transportation means is located, and provide the geographical location information to the server. The server can determine status information indicating the status of a target traffic light within at least a range of an area matching the geographical location based on reference information indicating at least the cycle information of the traffic light. The server can determine a driving behavior related to the transportation means according to the status information and the geographical location information, and send information indicating the driving behavior of the transportation means to the in-vehicle device and / or the user device, so that the in-vehicle device and / or the user device can make an indication component associated with the transportation means indicate the driving behavior in a predetermined manner based on the information. In this way, it is possible to determine whether there is an illegal driving behavior of the current transportation means based on the trajectory data of multiple traffic data, and in the case of an illegal driving behavior, an alarm is issued to the user, which helps to ensure traffic safety.
[0028] Example scenario
[0029] First, refer to Figure 1 , which schematically shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As Figure 1 shown, the environment 100 may include a transportation means 101, a server 120, and a user device 130.
[0030] As Figure 1 shown, the transportation means 101 may include various types of vehicles. Hereinafter, the vehicle is used as an example to describe the transportation means 101. The vehicle may be, for example, a motor vehicle (for example, it may include a sedan, a taxi, a van, etc.) and a non-motor vehicle (for example, it may include a shared bicycle, a private bicycle, etc.). The present disclosure does not limit the specific type of the vehicle. An in-vehicle device 110 may be installed in the vehicle, which is an electronic device associated with the vehicle. In some embodiments, the in-vehicle device 110 may be an electronic device installed in the vehicle that can control the vehicle, and it may be, for example, a car machine. In some embodiments, the in-vehicle device 110 further includes at least one information presentation component, for example, it may include a display device (such as a display screen) and an audio device (such as a speaker), etc.
[0031] In some embodiments, a traffic travel application may be installed in the in-vehicle device 110, such as a taxi application, a navigation application, etc. Correspondingly, in some embodiments, a traffic travel application may also be installed in the user device 130. Both the in-vehicle device 110 and the user device 130 may include any computing system with computing capabilities, such as various computing devices / systems, terminal devices, server devices, etc.
[0032] In some embodiments, the in-vehicle device 110 and the user device 130 can communicate with the server 120 respectively. Communication connections can be established between the server 120 and the in-vehicle device 110 and the user device 130 respectively. The communication connections can be established by wired or wireless means. The communication connections can include but are not limited to Bluetooth connections, mobile network connections, USB data cable connections, WiFi connections, etc., and the embodiments of the present disclosure are not limited in this regard. Alternatively or additionally, in some embodiments, the in-vehicle device 110 and the user device 120 can also communicate with each other.
[0033] The server 120 can, for example, be used to provide background services for traffic travel applications in the in-vehicle device 110 and the user device 130. The server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. The server 120 can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and so on.
[0034] It should be understood that the structure and functions of the environment 100 are described only for exemplary purposes, without implying any limitation to the scope of the present disclosure.
[0035] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0036] Example principle and interaction
[0037] In the embodiments of the present disclosure, the server 120 can include multiple servers. The server 120 can use a model to determine driving behavior. A positioning module (for example, including a GPS locator) can be installed in the in-vehicle device 110 and / or the user device 130. The in-vehicle device 110 and / or the user device 130 can obtain geographical location information (such as longitude and latitude) of the real-time location of the vehicle through this positioning module. In some embodiments, the in-vehicle device 110 and / or the user device 130 can also determine the movement direction, movement trajectory, etc. of the vehicle based on the geographical location information. For example, the in-vehicle device 110 and / or the user device 130 can obtain the longitude and latitude of the vehicle in real time and determine the driving direction and movement trajectory of the vehicle based on the change of the longitude and latitude of the vehicle.
[0038] The in-vehicle device 110 and / or the user device 130 may provide the acquired data (which may at least include the geographical location information of the vehicle) to the server 120. Exemplarily, the in-vehicle device 110 and / or the user device 130 may report the data to the server 120 via Bluetooth, long link / short link, etc.
[0039] Figure 2 A schematic diagram showing an example framework 200 for determining driving behavior according to some embodiments of the present disclosure. Figure 2 The device server 220, the transaction server 230, and the user server 240 in it may all be, for example, the servers included in the server 120.
[0040] The device server 220 may be used, for example, to link and communicate with the in-vehicle device 110 and / or the user device 130 to obtain the geographical location information of the vehicle. In some embodiments, the device server 220 may also need to provide the acquired geographical location information to the model 210. It can be understood that the device server 220 may receive the geographical location information of multiple vehicles.
[0041] The model 210 may be, for example, a model implemented based on machine learning technology, and the present disclosure does not limit the specific model. The model 210 may, for example, determine the cycle information (such as the cycle duration) of traffic lights (such as traffic signals) within the area range matching the geographical location based on the geographical location information of the vehicle (that is, determine the traffic lights passed by the vehicle). For example, the model 210 may determine the cycle information of at least one traffic light (each traffic light has at least one vehicle passing by) passed by multiple vehicles based on the geographical location information of multiple vehicles.
[0042] In some embodiments, the model 210 may also determine the status of the traffic light at the current moment based on the current moment and the determined cycle information of the traffic light. The model 210 may, for example, generate a model output indicating the status of the traffic light at the current moment. The device server 220 may obtain the model output to determine the status of the traffic light at the current moment. The status of the traffic light may, for example, indicate whether the vehicle is allowed to pass at the current moment. Alternatively or additionally, in some embodiments, the model 210 may, for example, generate a model output indicating the cycle information of the traffic light. The device server 220 may obtain the model output to determine the cycle information of the traffic light. The device server 220 may then determine the status of the traffic light at the current moment based on the current moment and the cycle information of the traffic light. That is, the status of the traffic light may be determined by the model 210 or by the device server 220.
[0043] For each vehicle, the device server 220 can also be used, for example, to determine the driving behavior of the vehicle based on the geographical location information of the vehicle and the status of the target traffic lights within the area matching the geographical location. The driving behavior can indicate, for example, whether the vehicle has a violation behavior (such as running a red light). In some embodiments, the device server 220 can also send information indicating the driving behavior of the vehicle to the in-vehicle device 110 and / or the user device 130 to prompt the in-vehicle device 110 and / or the user device 130 to remind the user when the vehicle runs a red light. The in-vehicle device 110 and / or the user device 130 can issue an alarm through an indicating component (such as a display screen, a speaker, etc.). For example, an alarm can be issued to remind the user by at least one of playing audio, vibrating, playing video, presenting text, etc. For example, the device server 220 can send information indicating the driving behavior of the vehicle to the in-vehicle device to prompt the in-vehicle device 110 to issue an alarm through the indicating device.
[0044] In the case of a vehicle such as a shared vehicle (e.g., a shared bicycle) or an autonomous vehicle whose itinerary can be determined based on an order, the framework 200 can further include a transaction server 230. In this case, a ride-hailing application can be installed in both the in-vehicle device 110 (e.g., the in-vehicle device 110 of an autonomous vehicle) and the user device 130. At this time, the in-vehicle device 110 can be regarded as the driver client of the ride-hailing application, and the user device 130 can be regarded as the user client of the ride-hailing application. The transaction server 230 can be used, for example, to create an order and manage the status of the order. The status of the order can include, for example, but is not limited to, trip start, in-trip, pending payment, paid, etc. In some embodiments, when the driving behavior of the vehicle indicates that the vehicle has run a red light, the transaction server 230 can, for example, instruct the ride-hailing application to present a user interface including a prompt message to prompt the user that a red light has been run.
[0045] The user server 240 can be used, for example, to record user information. In some embodiments, when the driving behavior of the vehicle indicates that the vehicle has run a red light, the user server 240 can record the user's red-light running behavior and deduct behavior points from the user. Exemplarily, a user with a behavior score lower than a preset score will not be able to create an autonomous driving order.
[0046] Figure 3 The flowchart of the information flow 300 for determining the driving behavior according to some embodiments of the present disclosure is shown. The information flow 300 involves the electronic device 310 and the server 120. Figure 3 The electronic device 310 in Figure 1The in-vehicle device 110 and / or the user device 130. In some embodiments, the in-vehicle device 110 is a device installed in the vehicle 101, and the user device 130 is a device of the user who rides in the vehicle 101. Therefore, the in-vehicle device 110 and / or the user device 130, that is, the electronic device 310, can also be referred to as an electronic device associated with the vehicle 101.
[0047] For ease of discussion, reference will be made to Figure 1 the environment 100 to describe the information flow 300.
[0048] In the information flow 300, the electronic device 310 can obtain (301) location information indicating the geographical location where the vehicle is located. As mentioned above, the electronic device 310 can obtain the location information of the geographical location where the vehicle is located, for example, through a positioning module installed in the vehicle (such as a vehicle). When the electronic device 310 is the user device 130, the user device 130 can obtain the location information obtained by the positioning module installed on the vehicle through a communication connection with the in-vehicle device 110, for example. The user device 130 can also obtain the location information of the geographical location where the user device 130 is located based on the positioning module installed in the user device 130, and determine the location information of the geographical location where the vehicle is located as the location information.
[0049] The electronic device 310 can send (302) the location information to the server 120 through a communication connection with the server 120, so that the server 120 can obtain the location information indicating the geographical location where the vehicle is located. The electronic device 310 can report the location information to the server 120 through Bluetooth, for example. In some embodiments, the electronic device 310 can send the location information to the server 120 through an electronic device associated with the vehicle. For example, the electronic device 310 can also send a long link / short link containing at least the location information to the server 120 through a communication module (such as a GSM module) installed in the electronic device 310 to report the location information to the server 120. In some embodiments, the electronic device 310 can also determine the driving direction and movement trajectory of the vehicle based on the location information, and send the driving direction and movement trajectory together with the location information to the server 120.
[0050] The server 120 can determine (303) the status information from the reference information. The reference information at least indicates the cycle information of the traffic lights (such as the cycle duration), and the status information indicates the status of the target traffic lights within at least the area range matching the geographical location (such as whether the vehicle is allowed to pass).
[0051] In some embodiments, the reference information may be directly obtained by the server 120 from a relevant database (such as a traffic database). For example, the server 120 may query the traffic database based on the geographical location information of the vehicle to obtain the reference information of the target traffic lights within the area range matching the geographical location. In some embodiments, the reference information may also be determined by the server 120 based on the trajectory data of multiple vehicles. The trajectory data may at least include the movement trajectory of the vehicle. The trajectory data may also indicate the movement time associated with the movement trajectory. For example, it may indicate that the vehicle stops driving at time A and starts driving at time B, etc. In some embodiments, the server 120 may receive the geographical location information corresponding to different vehicles from multiple electronic devices 310. For example, the server 120 may respectively determine the trajectory data of each vehicle based on the received geographical location information. In some embodiments, the server 120 may also directly receive the trajectory data corresponding to different vehicles from multiple electronic devices 310.
[0052] In some embodiments, to ensure the timeliness of the data, the server 120 may obtain the trajectory data of multiple vehicles within at least the area range during a predetermined time period. The server 120 may then determine, based on the trajectory data, the starting time of the first vehicle to start at the target traffic lights during the predetermined time period and the subsequent starting times of at least one other vehicle. The server 120 may determine the offset duration between the starting time and the subsequent starting times by comparing the starting time and the subsequent starting times, and determine the reference information based on the offset duration.
[0053] Regarding the specific manner of determining the reference information based on the offset duration, in some embodiments, the server 120 may determine at least one offset duration between the starting time of the first vehicle to start and the subsequent starting times of at least one other vehicle, and determine the reference information based on the at least one offset duration. For example, the maximum offset duration among the at least one offset duration may be determined as the duration for which the traffic lights indicate that vehicles are allowed to pass. In some embodiments, to avoid the presence of the trajectory data of vehicles running red lights in the obtained trajectory data, the server 120 may also determine the distribution information indicating the time-domain distribution of multiple vehicles during the offset duration, and determine the reference information based on the distribution information. In this case, the server 120 may exclude the trajectory data of vehicles running red lights with a small number based on the distribution information, and then may determine the reference information based on at least one offset duration between the starting time of the first vehicle to start among multiple vehicles conforming to traffic rules and the subsequent starting times of at least one other vehicle.
[0054] Server 120 can further determine status information indicating at least the status of the target traffic light at the current moment based on the reference information and the current moment. For example, Server 120 can determine whether the target traffic light indicates permission to pass at the current moment based on the cycle information of the target traffic light indicated by the reference information, the end moment when the target traffic light last indicated permission to pass, and the current moment.
[0055] It should be noted that, in some embodiments, Server 120 can determine the reference information and the status information based on a predetermined rule and / or algorithm. Alternatively or additionally, in some embodiments, Server 120 can also provide the obtained geographical location information and / or trajectory data to the model and obtain the reference information and the status information from the model. The present disclosure does not limit the specific manner in which Server 120 determines the reference information and the status information.
[0056] Server 120 can determine (304) the driving behavior related to the vehicle based on the status information and the geographical location information. Exemplarily, if the status information indicates that the vehicle is not allowed to pass (for example, red light status), and the geographical location information of the vehicle indicates that the vehicle is passing through the intersection, Server 120 can determine that a violation driving behavior has occurred. In some embodiments, in response to determining that the vehicle has a violation driving behavior, Server 120 can associate the user information of the user associated with the vehicle with the violation driving behavior. Server 120 can, for example, score the behaviors of different users. It can be understood that if a certain user has a violation driving behavior, the score corresponding to that user is relatively low. Server 120 can, for example, reject the orders of users whose corresponding scores are lower than a preset score.
[0057] Server 120 can cause the indicating component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the determined driving behavior. In some embodiments, if it is determined that the vehicle has a violation driving behavior, Server 120 can cause the indicating component associated with the vehicle to indicate the violation driving behavior in a first predetermined manner. If it is determined that the vehicle does not have a violation driving behavior, Server 120 can cause the indicating component associated with the vehicle to indicate the driving behavior in a second predetermined manner. The first predetermined manner and the second predetermined manner here can be the same manner or different manners. The indicating component associated with the vehicle here can be, for example, an indicating component installed on the vehicle (which can also be called the first indicating component), or an indicating component associated with the vehicle (for example, an indicating component installed at the user device 130 of the user riding in the vehicle, which can also be called the second indicating component), and it can include, for example, but not limited to, a display screen, a vibration motor, a speaker, a buzzer, an LED light, etc.
[0058] In some embodiments, the server 120 may send (305) information indicating the driving behavior of the vehicle to the electronic device 120, so that the electronic device 310 can obtain the information indicating the driving behavior of the vehicle. The electronic device 310 may determine whether there is any illegal driving behavior based on this information. The electronic device 310 may cause an indicating component associated with the vehicle to indicate (306) the driving behavior in a predetermined manner based on the determination result. For example, when the electronic device 310 is the in-vehicle device 110, it may cause the first indicating component to indicate the driving behavior in a predetermined manner. When the electronic device 310 is the user device 130, it may cause the second indicating component to indicate the driving behavior in a predetermined manner.
[0059] In the case where the information indicates an illegal driving behavior, the first indicating component and / or the second indicating component may, for example, prompt the user of the illegal driving behavior by emitting sound and / or visual alarms. For example, the display screen of the in-vehicle device 110 and / or the user device 130 may emit a visual alarm by presenting an image, a video, and / or text, etc. The speaker of the in-vehicle device 110 and / or the user device 130 may emit a sound alarm by playing an audio. In some embodiments, the in-vehicle device 110 and / or the user device 130 may also emit various forms of alarms by instructing a buzzer to sound, a light strip and / or an LED to flash, a vibration motor to vibrate, etc. In some embodiments, the in-vehicle device 110 and / or the user device 130 may emit an alarm by a combination of one or more of the above. For example, a sound and a visual alarm may be presented simultaneously through the display screen and the speaker. In some embodiments, for different types of vehicles (such as motor vehicles and non-motor vehicles), the electronic device 310 may instruct the first indicating component and / or the second indicating component to emit an alarm in different predetermined manners. It can be understood that the present disclosure does not limit the specific manner of emitting an alarm.
[0060] In summary, in the embodiments of the present disclosure, the in-vehicle device 110 and / or the user device 130 may obtain the geographical location information of the geographical location where the vehicle is located and provide the geographical location information to the server 120. The server 120 may determine the status information indicating the status of the target traffic lights within at least the area range matching the geographical location based on the reference information including at least the cycle information of the traffic lights. The server 120 may determine the driving behavior related to the vehicle based on the status information and the geographical location information, and send the information indicating the driving behavior of the vehicle to the in-vehicle device 110 and / or the user device 130, so that the in-vehicle device 110 and / or the user device 130 can cause the indicating component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the information.
[0061] In this way, based on the trajectory data of multiple traffic data, it can be determined whether the current vehicle has a violation behavior, and in the case of a violation behavior, an alarm is issued to the user, which helps to ensure traffic safety.
[0062] Example process
[0063] Figure 4 FIG. shows a flowchart of a process 400 for determining a driving behavior according to some embodiments of the present disclosure. The process 400 can be implemented at the server 120.
[0064] At block 410, the server 120 obtains location information indicating the geographical location where the vehicle is located.
[0065] At block 420, the server 120 determines status information from the reference information, where the status information indicates the status of the target traffic light at least within the area range matching the geographical location.
[0066] At block 430, the server 120 determines a driving behavior related to the vehicle based on the status information and the location information.
[0067] At block 440, the server 120 causes an indicating component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the determined driving behavior.
[0068] In some embodiments, the reference information is determined based on: obtaining trajectory data of multiple vehicles within at least the area range during a predetermined time period; according to the trajectory data, determining the starting start time of the vehicle that starts first at the target traffic light and the subsequent start times of at least one other vehicle during the predetermined time period; comparing the starting start time and the subsequent start times to determine the offset duration between the starting start time and the subsequent start times; and determining the reference information based on the offset duration.
[0069] In some embodiments, determining the reference information based on the offset duration includes: determining distribution information indicating the time domain distribution of multiple vehicles during the offset duration; and determining the reference information based on the distribution information, where the reference information at least indicates the cycle information of the traffic light.
[0070] In some embodiments, indicating the driving behavior includes: in response to determining that the vehicle has a violation behavior, causing an indicating component associated with the vehicle to indicate the violation behavior in a first predetermined manner.
[0071] In some embodiments, indicating the driving behavior includes: in response to determining that the vehicle does not have a violation behavior, causing an indicating component associated with the vehicle to indicate the driving behavior in a second predetermined manner.
[0072] In some embodiments, the first predetermined manner includes at least one of the following: causing at least one of a sound and a visual alarm to be emitted by a first indicating component of the vehicle; and causing at least one of a sound and a visual alarm to be emitted by a second indicating component associated with the vehicle.
[0073] In some embodiments, process 400 further includes: in response to determining that the vehicle has a violation driving behavior, associating the user information of the user associated with the vehicle with the violation driving behavior.
[0074] Figure 5 A flowchart of a process 500 for determining a driving behavior according to some embodiments of the present disclosure is shown. Process 500 may be implemented at the in-vehicle device 110 and / or the user device 130.
[0075] At block 510, the in-vehicle device 110 and / or the user device 130 obtains geographical location information indicating the geographical location where the vehicle is located.
[0076] At block 520, the in-vehicle device 110 and / or the user device 130 sends the geographical location information to the server.
[0077] At block 530, the in-vehicle device 110 and / or the user device 130 obtains information indicating the driving behavior of the vehicle from the server.
[0078] At block 540, the in-vehicle device 110 and / or the user device 130 causes an indicating component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the information.
[0079] In some embodiments, the geographical location information is sent to the server by an electronic device associated with the vehicle.
[0080] In some embodiments, the geographical location information is sent to the server by a positioning module associated with the vehicle.
[0081] Example device and equipment
[0082] Embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes.
[0083] Figure 6 A schematic structural block diagram of a device 600 for determining a driving behavior according to certain embodiments of the present disclosure is shown. Device 600 may be implemented as or included in the server 120. Each module / component in device 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0084] As Figure 6As shown, device 600 includes a location information acquisition module 610 configured to acquire location information indicating the geographical location where the vehicle is located. Device 600 further includes a status information determination module 620 configured to determine status information from reference information, where the status information indicates the status of a target traffic light at least within the area range matching the geographical location. Device 600 further includes a driving behavior determination module 630 configured to determine a driving behavior related to the vehicle according to the status information and the location information. Device 600 further includes a driving behavior indication module 640 configured to cause an indication component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the determined driving behavior.
[0085] In some embodiments, device 600 further includes a reference information determination module configured to: acquire trajectory data of multiple vehicles at least within the area range during a predetermined time period; according to the trajectory data, determine the starting time when the first vehicle starts at the target traffic light and the subsequent starting times of at least one other vehicle during the predetermined time period; compare the starting time and the subsequent starting times to determine the offset duration between the starting time and the subsequent starting times; and determine the reference information based on the offset duration.
[0086] In some embodiments, the reference information determination module is further configured to: determine distribution information indicating the time domain distribution of multiple vehicles during the offset duration; and determine the reference information based on the distribution information, where the reference information at least indicates the cycle information of the traffic light.
[0087] In some embodiments, the driving behavior indication module 640 is further configured to: in response to determining that the vehicle has a violation driving behavior, cause the indication component associated with the vehicle to indicate the violation driving behavior in a first predetermined manner.
[0088] In some embodiments, the driving behavior indication module 640 is further configured to: in response to determining that the vehicle does not have a violation driving behavior, cause the indication component associated with the vehicle to indicate the driving behavior in a second predetermined manner.
[0089] In some embodiments, the first predetermined manner includes at least one of the following: causing at least one of a sound and a visual alarm to be emitted by a first indication component of the vehicle; and causing at least one of a sound and a visual alarm to be emitted by a second indication component associated with the vehicle.
[0090] In some embodiments, device 600 further includes: an association module configured to, in response to determining that the vehicle has a violation driving behavior, associate the user information of the user associated with the vehicle with the violation driving behavior.
[0091] Figure 7FIG. 0 shows a schematic structural block diagram of an apparatus 700 for determining driving behavior according to certain embodiments of the present disclosure. The apparatus 700 may be implemented as or included in an in-vehicle device 110 and / or a user device 130. Each module / component in the apparatus 700 may be implemented by hardware, software, firmware, or any combination thereof.
[0092] As Figure 7 shown, the apparatus 700 includes an information acquisition module 710 configured to acquire geographical location information indicating the geographical location where a vehicle is located. The apparatus 700 further includes an information sending module 720 configured to send the geographical location information to a server. The apparatus 700 further includes an information receiving module 730 configured to acquire from the server information indicating the driving behavior of the vehicle. The apparatus 700 further includes a behavior indication module 740 configured to cause an indication component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the information.
[0093] In some embodiments, the geographical location information is sent to the server via an electronic device associated with the vehicle.
[0094] In some embodiments, the geographical location information is sent to the server via a positioning module associated with the vehicle.
[0095] The units and / or modules included in the apparatus 600 and the apparatus 700 may be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules may be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to the machine-executable instructions, some or all of the units and / or modules in these apparatuses may be at least partially implemented by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0096] Figure 8 FIG. 18 shows a block diagram of an electronic device 800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 8 the electronic device 800 shown is merely exemplary and should not constitute any limitation to the functions and scopes of the embodiments described herein. Figure 8 The electronic device 800 shown may be used to implement Figure 1 the in-vehicle device 110, the server 120, and the user device 130.
[0097] As Figure 8As shown, the electronic device 800 is in the form of a general-purpose electronic device. The components of the electronic device 800 may include, but are not limited to, one or more processors or processing units 810, a memory 820, a storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. The processing unit 810 may be an actual or virtual processor and is capable of performing various processes according to the programs stored in the memory 820. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing ability of the electronic device 800.
[0098] The electronic device 800 generally includes multiple computer storage media. Such media can be any available media accessible to the electronic device 800, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 820 may be volatile memory (such as registers, caches, random access memory (RAM)), non-volatile memory (such as read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 830 may be removable or non-removable media and may include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 800.
[0099] The electronic device 800 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Figure 8 , a disk drive for reading from or writing to a removable, non-volatile magnetic disk (such as a "floppy disk") and an optical disk drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 820 may include a computer program product 825 having one or more program modules that are configured to perform the various methods or actions of the various embodiments of the present disclosure.
[0100] The communication unit 840 enables communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 800 may be implemented in a single computing cluster or multiple computer machines that are capable of communicating through a communication connection. Thus, the electronic device 800 may operate in a networked environment using a logical connection with one or more other servers, network personal computers (PCs), or another network node.
[0101] The input device 850 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 860 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 800 can also communicate with one or more external devices (not shown) as needed through the communication unit 840. The external devices such as a storage device, a display device, etc., communicate with one or more devices that enable a user to interact with the electronic device 800, or communicate with any device that enables the electronic device 800 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).
[0102] According to an exemplary implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, there is also provided a computer program product, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0103] Aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0104] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is produced that implements the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, the programmable data processing device, and / or other devices to work in a specific manner. Thus, the computer-readable medium storing the instructions includes a manufactured article that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0105] The computer-readable program instructions can be loaded onto a computer, other programmable data processing device, or other device, such that a series of operation steps are performed on the computer, other programmable data processing device, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing device, or other device implement the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or by a combination of dedicated hardware and computer instructions.
[0107] The various implementations of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art in the field of this technology without departing from the scope and spirit of the described implementations. The choice of terms used herein is intended to best explain the principles of the implementations, the practical application, or the improvement of the technology in the market, or to enable other ordinary skilled persons in the field of this technology to understand the various implementation manners disclosed herein.
Claims
1. A method for determining driving behavior, comprising: obtaining geographic location information indicating a geographic location of a vehicle; determining state information from the reference information, the state information indicating a state of a target traffic light within a region that matches at least the geographic location; determining a driving behavior related to the vehicle according to the state information and the geographic location information; as well as Based on the determined driving behavior, an indication component associated with the vehicle is caused to indicate the driving behavior in a predetermined manner.
2. The method according to claim 1, wherein the reference information is determined based on: Acquiring trajectory data of a plurality of vehicles at least within the area within a predetermined time period; Determining, based on the trajectory data, a starting start time of a first vehicle started at the target traffic light within the predetermined time period and a subsequent start time of at least one other vehicle; Compare the initial startup time and the subsequent startup time to determine an offset duration between the initial startup time and the subsequent startup time; as well as The reference information is determined based on the offset duration.
3. The method according to claim 2, determining the reference information based on the offset duration comprises: determining distribution information indicating a temporal distribution of the plurality of vehicles during the offset duration; as well as The reference information is determined based on the distribution information, and the reference information at least indicates cycle information of the traffic light.
4. The method according to any one of claims 1 to 3, wherein indicating the driving behavior comprises: In response to determining that the vehicle has violated the driving rules, an indication component associated with the vehicle is caused to indicate the violated driving rules in a first predetermined manner.
5. The method according to any one of claims 1 to 3, wherein indicating the driving behavior comprises: In response to determining that the vehicle does not have any illegal driving behavior, an indication component associated with the vehicle is caused to indicate the driving behavior in a second predetermined manner.
6. The method according to claim 4, wherein the first predetermined manner comprises at least one of the following: causing a first indicator component of the vehicle to emit at least one of an audible and visual alarm; and A second indicator component associated with the vehicle is caused to emit at least one of an audible and a visual alert.
7. The method according to any one of claims 1 to 3, further comprising: In response to determining that the vehicle has a driving violation, user information of a user associated with the vehicle is associated with the driving violation.
8. A method for determining driving behavior, comprising: obtaining geographic location information indicating a geographic location of a vehicle; Sending the geographic location information to a server; acquiring information indicating the driving behavior of the vehicle from the server; as well as Based on the information, an indication component associated with the vehicle indicates the driving behavior in a predetermined manner. 9 . The method of claim 8 , wherein the geographic location information is sent to the server via an electronic device associated with the vehicle.
10. The method according to claim 8, wherein the geographical location information is sent to the server via a positioning module of the vehicle.
11. A device for determining driving behavior, comprising: A location information acquisition module, configured to acquire location information indicating a location of a vehicle; a state information determination module configured to determine state information from the reference information, the state information indicating a state of a target traffic light within a region that matches at least the geographical location; a driving behavior determination module, configured to determine a driving behavior related to the vehicle according to the state information and the geographic location information; as well as The driving behavior indication module is configured to enable an indication component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the determined driving behavior.
12. A device for determining driving behavior, comprising: An information acquisition module is configured to acquire geographical location information indicating a geographical location of a vehicle; An information sending module, configured to send the geographic location information to a server; an information receiving module configured to obtain information indicating the driving behavior of the vehicle from the server; as well as The behavior indication module is configured to enable an indication component associated with the vehicle to indicate the driving behavior in a predetermined manner based on the information.
13. An electronic device, at least one processing unit; and At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to execute the method according to any one of claims 1 to 8 or the method according to any one of claims 8 to 10.
14. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 8 or any one of claims 8 to 10.