Method and device for processing cycle information of signal light
By acquiring multiple signal light collection information and adjusting the signal light cycle information based on credibility, the problem of limited coverage and low quality of signal light cycle information acquisition and processing in the prior art is solved, and the accuracy of signal light cycle information and driving decisions are improved reliability.
Patent Information
- Application Number
- CN202310289475.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2043-03-22
AI Technical Summary
When acquiring and processing periodic information of signal lights, the prior art relies on prior knowledge and has a limited coverage, and is time-consuming and labor-intensive based on image acquisition, and is easily affected by image quality and occlusion, resulting in low periodic information quality.
By acquiring a variety of collected information with the signal light within a predetermined time period, the information that does not match the periodic information is determined, and the periodic information of the signal light is adjusted based on the confidence of different collection sources to improve its accuracy.
Improve the accuracy of signal light cycle information, adjust the signal light cycle information adaptively, and enhance the reliability and coverage of driving decisions.
Smart Images

Figure CN116469258B_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for processing cycle information of a signal light. Background Art
[0002] Nowadays, with the improvement of living standards, the use of vehicles is becoming more and more widespread, and driving has become the most common mode of transportation in people's lives.
[0003] Traffic lights, commonly known as red and green lights, are one of the most important traffic signals in the driving process. Vehicles need to choose to go or stop according to the instructions of the traffic lights at almost every intersection. During the driving process of the vehicle, the cycle information of the traffic lights is an important basis for the driver or the intelligent driving vehicle to make driving decisions. Summary of the invention
[0004] In a first aspect of the present disclosure, a method for processing cycle information of a signal light is provided. The method comprises: obtaining a set of collected information associated with the state of the signal light within a predetermined time period, the set of collected information indicating the state of the signal light at a corresponding moment or the state switching occurring at a corresponding moment; determining at least one item of collected information in the collection of collected information that does not match the cycle information of the signal light, the collection of collected information comprising at least one set of collected information; determining the degree of deviation between the cycle information of the signal light and the collection of collected information based on the collection source of at least one item of collected information; and adjusting the cycle information based on the degree of deviation.
[0005] In a second aspect of the present disclosure, a device for processing cycle information of a signal light is provided. The device includes: an information acquisition module, configured to acquire a set of collected information associated with the state of the signal light within a predetermined time period, wherein the set of collected information indicates the state of the signal light at a corresponding moment or a state switch that occurs at a corresponding moment; a first determination module, configured to determine at least one item of collected information in the collection of collected information that does not match the cycle information of the signal light, wherein the collection of collected information includes at least one set of collected information; a second determination module, configured to determine the degree of deviation between the cycle information of the signal light and the collection of collected information based on the collection source of at least one item of collected information; and a cycle adjustment module, configured to adjust the cycle information based on the degree of deviation.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the method of the first aspect is implemented.
[0009] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended 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] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0012] Figure 2 A flowchart showing a process of processing cycle information of a signal light according to some embodiments of the present disclosure;
[0013] Figure 3 A schematic diagram showing adjustment period information according to some embodiments of the present disclosure is shown;
[0014] Figure 4 A block diagram showing an apparatus for processing cycle information of a signal light according to some embodiments of the present disclosure; and
[0015] Figure 5 A block diagram of a device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0018] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0019] As briefly mentioned above, with the improvement of living standards, vehicles are used more and more widely, and driving has become the most common mode of transportation in people's lives. In order to better assist users in making decisions and improve the user experience, navigation information is no longer limited to providing only direction information for guiding the user's direction, but can also include other information for assisting users in driving, such as traffic light information. Such traffic light information includes, for example, the current indication status of the traffic light (for example, whether it is passable), the remaining time of the current indicated status, and so on. Accordingly, the vehicle driving user can determine the driving strategy based on the traffic light information, such as whether to accelerate or decelerate, or how long to wait, etc.
[0020] In this regard, the indication state of the signal light, the change cycle (i.e., the time length corresponding to each state of the signal light), etc. can be determined based on pre-stored signal light state data and cycle data (for example, provided by the traffic management department). However, this method not only relies on prior knowledge, but also has a very limited coverage.
[0021] In addition, in some feasible methods, the current state of the traffic light can be obtained based on visual observation, vehicle image acquisition equipment, etc., and the changes of the traffic light can be observed through the collected continuous video stream to mine the periodic information of the traffic light.
[0022] However, this method is not only time-consuming and laborious, but also subject to the problem of limited scene coverage. In addition, this mining method is also easily affected by factors such as low image acquisition quality and occlusion, resulting in low quality of the mined period information.
[0023] The embodiments of the present disclosure propose a scheme for processing the cycle information of a signal light. According to various embodiments of the present disclosure, a set of collected information associated with the state of the signal light within a predetermined time period is obtained, the set of collected information indicating the state of the signal light at a corresponding moment or the state switching occurring at a corresponding moment; at least one piece of collected information in the collection of collected information that does not match the cycle information of the signal light is determined, the collection of collected information includes at least one set of collected information; based on the collection source of at least one piece of collected information, the degree of deviation between the cycle information of the signal light and the collection of collected information is determined; and based on the degree of deviation, the cycle information is adjusted.
[0024] Based on this approach, the embodiments of the present disclosure can adaptively adjust the period information of the signal light according to the acquisition source of the signal light information (for example, trajectory points or images), thereby improving the accuracy of the period information of the signal light.
[0025] First, you can refer to Figure 1 , Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In the environment 100, an electronic device 110 may be included.
[0026] In environment 100 , electronic device 110 may be any type of device that meets computing capability requirements, such as a computing system / server such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like.
[0027] In some embodiments, the electronic device 110 may obtain collection information of the signal light 123 that is associated with different collection sources.
[0028] For example, the electronic device 110 may obtain the track information of the vehicle 130 traveling through the intersection 120 provided with the traffic light 123. The electronic device 110 may further generate the collection information indicating the specific state of the traffic light 123 at a specific moment based on the track information.
[0029] In some embodiments, the vehicle or other appropriate electronic device associated with the vehicle (e.g., a mobile device of a vehicle driver or passenger) may use its positioning capability to determine the location of the vehicle and report the location information in association with time information to the electronic device 110.
[0030] In some embodiments, the trajectory of the vehicle 130 passing through the intersection 120 may also be determined by other appropriate collection devices (eg, roadside equipment) and sent to the electronic device 110 .
[0031] As another example, the electronic device 110 may also acquire image information of the signal light 123. Such image information 130 may be, for example, a static or dynamic image captured by the vehicle 121. The electronic device 110 may further generate acquisition information of the signal light 123 based on the image information, and such acquisition information may indicate, for example, a specific state of the signal light 123 at a specific moment, or may indicate that the state of the signal light 123 has switched at a specific moment.
[0032] As will be described in detail below, the electronic device 110 can determine the cycle information 130 of the signal light 123 at the intersection 120 based on the collected information of the signal light 123. Such cycle information 130 can, for example, indicate one or more of the following: the total cycle of all states of the signal light (also called the large cycle), the cycle of each individual state of the signal light (for example, the green light state, the red light state or the yellow light state) (also called the small cycle), and the time when the state of the signal light switches (for example, the timetable for switching from the red light to the green light).
[0033] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and does not imply any limitation on the scope of the present disclosure.
[0034] As described above, the indication status of traffic lights, changing cycle information, etc. will have a direct impact on traffic decisions. Therefore, in the fields of autonomous driving, assisted driving, navigation, etc., it is often desired to obtain higher quality traffic light data (for example, the indication status of traffic lights, cycle information, etc.).
[0035] In this regard, some embodiments of the present disclosure provide a process for processing the cycle information of a signal light. Figure 2 , Figure 2 FIG. 2 is a flowchart of a process 200 for processing cycle information of a signal light according to some embodiments of the present disclosure. The process 200 may be performed in a suitable electronic device or combination of electronic devices (e.g., Figure 1 The process 200 is implemented at the electronic device 110 shown or a combination of the electronic device 110 and other electronic devices. For ease of discussion, the process 200 is described below using the electronic device 110 as an example.
[0036] In block 210 , the electronic device 110 acquires a set of collected information associated with the state of the signal light within a predetermined time period, wherein the set of collected information indicates the state of the signal light at a corresponding moment or the state switching occurring at a corresponding moment.
[0037] As reference Figure 1As discussed, the electronic device 110 can obtain the collection information of the signal light 123. In some embodiments, the electronic device 110 can obtain a variety of collection information corresponding to different collectors.
[0038] In some embodiments, the electronic device 110 may, for example, obtain a trajectory of a vehicle traveling through the intersection 120, and generate the collected information of the signal light 123 based on the trajectory. As discussed above, such a trajectory may be generated, for example, by a vehicle or a suitable device such as a roadside device using its positioning capability, which may indicate a set of positions of the vehicle at a set of times.
[0039] Further, the electronic device 110 may determine, from a set of positions, a plurality of positions before the vehicle enters the intersection area associated with the signal light 123. Specifically, the electronic device 110 may determine a plurality of positions before the vehicle enters the intersection area according to the temporal continuity of the trajectory.
[0040] Additionally, the electronic device 110 may determine the target location corresponding to the latest time from the multiple locations. Specifically, the electronic device 110 may determine the last location point corresponding to before entering the intersection area as the target location.
[0041] It should be understood that, considering that the vehicle will enter the intersection area after leaving the target position, when the vehicle is at the target position, the traffic light 123 should be in a passable state, for example, a green light state.
[0042] Accordingly, the electronic device 110 may generate collection information corresponding to the trajectory information based on the determined target position to indicate that the traffic light 123 is in a passable state, for example, a green light state, at the time corresponding to the target position.
[0043] In some embodiments, the electronic device 110 may also generate acquisition information based on image information associated with the signal light 123. Such image information may be acquired by, for example, a vehicle, a acquisition device associated with the vehicle, or a roadside acquisition device.
[0044] For example, a vehicle passing through intersection 120 may use a driving recorder to capture a photo of traffic light 123. Such a photo may be processed by the vehicle or a cloud device, for example, to identify the state of traffic light 123 based on the photo and to establish an association between the state and the moment when the photo was captured.
[0045] As another example, a vehicle passing through the intersection 120 may use a driving recorder to capture a video of the signal light 123. Such a video may be processed by the vehicle or a cloud device, for example, to determine the state switching moment of the signal light 123 (e.g., the moment when the red light switches to the green light) based on the video.
[0046] Thus, the electronic device 110 can obtain multi-modal collection information to comprehensively determine the cycle information of the signal light.
[0047] Continue to refer Figure 2 In block 220 , the electronic device 110 determines at least one item of collected information in the collected information set that does not match the cycle information of the signal light, and the collected information set includes at least one set of collected information.
[0048] In some embodiments, the electronic device 110 may periodically obtain the collected information within a preset time period (e.g., the past 24 hours), and use the collected information to update the cycle information of the signal light. For example, the electronic device 110 may start updating the cycle information after obtaining a set of collected information associated with the preset time period.
[0049] Furthermore, during the update process, the electronic device 110 may compare the collection information set with the periodic information to determine at least one collection information in the collection information set that does not match the current periodic information. For example, such a collection information set may include previously acquired collection information and the group of collection information associated with a preset time period.
[0050] Exemplarily, such mismatched at least one acquisition information means that the state / state switching and time point indicated by it do not match the current cycle information. For example, if the current cycle information indicates that 10:00 is a red light state, but a certain acquisition information indicates that 10:00 is a green light state, it can be determined that the acquisition information does not match the current cycle information.
[0051] Continue to refer Figure 2 In block 230 , the electronic device 110 determines the degree of deviation between the cycle information of the signal light and the collection information set based on the collection source of at least one item of collection information.
[0052] Considering that the credibility of data from different sources varies, the embodiments of the present disclosure may determine the degree of deviation based on the collection source of the collected information.
[0053] Specifically, if the at least one item of unmatched collection information includes the first collection information corresponding to the first collection source, the electronic device 110 may determine a first deviation degree corresponding to the first collection information.
[0054] Accordingly, if at least one item of collection information includes second collection information corresponding to a second collection source, the electronic device 110 may determine a second deviation degree corresponding to the second collection information, wherein the second collection source is different from the first collection source, and the second deviation degree is different from the first deviation degree.
[0055] Exemplarily, the first collected information is generated based on the trajectory information of the vehicle, which can be assigned a relatively low confidence. On the contrary, the second collected information can be generated based on the image information associated with the traffic light, which can be assigned a relatively high confidence.
[0056] As an example, if there are 10 items of collected information that do not match the period information, of which 4 items are first collected information generated based on the trajectory information and 6 items are second collected information generated based on the image information, the electronic device 110 can, for example, assign specific weights (e.g., 1.0) to the 4 items of first collected information and assign specific weights (e.g., 1.5) to the 6 items of first collected information. Further, the electronic device 110 can determine that the total degree of deviation is: 4*1.0+6*1.5=13.
[0057] Thus, the electronic device 110 can determine the degree of deviation between the cycle information of the signal light and the collection information set based on the first deviation degree and / or the second deviation degree. In this way, the embodiments of the present disclosure can not only consider the number of deviated collection information, but also consider the credibility of its collection source, thereby improving the accuracy of the determined cycle information.
[0058] Continue to refer Figure 2 At block 240 , the electronic device 110 adjusts the period information based on the degree of deviation.
[0059] The following will refer to Figure 3 Let's discuss an example process for adjusting period information. Figure 3 A schematic diagram 300 is shown for adjusting cycle information according to some embodiments of the present disclosure. Figure 3 The horizontal axis represents the cycle information, and the vertical axis represents the degree of divergence.
[0060] like Figure 3 The current cycle information of the traffic light may correspond to the cycle information 310 , for example, and the degree of deviation from the collected information set is the degree of deviation 315 .
[0061] Specifically, the electronic device 110 may determine the adjustment direction and the adjustment step size of the period information based on the deviation degree 315. Figure 3 As an example, the electronic device 110 may determine its benefit by trying to increase the period or decrease the period, and such benefit may be represented by a change in the degree of deviation.
[0062] like Figure 3 As shown, when the cycle information is adjusted to the left, the electronic device 110 can obtain positive benefits. On the contrary, when the cycle information is adjusted to the right, the electronic device 110 can obtain negative benefits. Therefore, the electronic device 110 can determine that the cycle information should be adjusted to the left.
[0063] Furthermore, the electronic device 110 may also determine the adjustment step size of the period information based on the gradient information of the gain. For example, when the gradient of the gain is large, such as Figure 3 If the curve shown in is relatively steep, the electronic device 110 may set a larger adjustment step size. On the contrary, if the gradient of the gain is relatively small, that is, if the curve is relatively gentle, the electronic device 110 may set a smaller adjustment step size.
[0064] As another example, the electronic device 110 may also determine the adjustment step size by searching for a global optimal solution (ie, a cycle with the lowest degree of deviation).
[0065] Furthermore, the electronic device 110 may determine the adjusted cycle information of the signal light based on the adjustment direction and the adjustment step size. Figure 3 As an example, the electronic device 110 may determine to adjust the period information to the left, and the adjusted period information is period information 320 , and its corresponding deviation degree is deviation degree 325 .
[0066] It can be seen that the degree of deviation 325 is lower than the degree of deviation 315. That is, the embodiments of the present disclosure can improve the accuracy of period information by means of periodic optimization.
[0067] In some embodiments, the electronic device 110 may also perform special processing on the video acquisition source. Specifically, if the acquired set of acquisition information includes target acquisition information indicating that the signal light switches state at the target time, the electronic device 110 may determine the candidate cycle information based on the target time.
[0068] For example, if the electronic device 110 determines based on the video information that the state of the signal light switches at a specific moment, the corresponding cycle information can be determined as candidate cycle information.
[0069] Furthermore, the electronic device 110 may determine the degree of deviation between the candidate cycle information and the collection information set. If the degree of deviation corresponding to the candidate cycle information is less than the original degree of deviation and the difference between the degree of deviation and the original degree of deviation is greater than a threshold, the electronic device 110 may, for example, directly determine the candidate cycle information as the adjusted cycle information of the signal light.
[0070] Exemplarily, if the electronic device 110 determines through a comparison of the degree of deviation that the period information determined according to the video signal is superior to the existing period information, the electronic device 110 can use the period information to directly replace (for example, replace the original state switching moment). As another example, if the electronic device 110 determines through a comparison of the degree of deviation that the period information determined according to the video signal is superior to the existing period information to a sufficient degree, the electronic device 110 can use the period information to directly replace (for example, replace the original state switching moment).
[0071] Based on this approach, the embodiments of the present disclosure can fully evaluate the state switching moment determined based on the video information, thereby improving the accuracy of the cycle information of the signal light.
[0072] In some embodiments, the electronic device 110 may also provide the cycle information of the signal light to a target device associated with the signal light, so that the target device provides reminder information associated with the cycle information. Specifically, after the electronic device 110 determines (or adjusts) the cycle information of the signal light, the electronic device 110 may also send reminder information associated with the cycle information (for example, the current state of the signal light determined based on the current moment and the cycle information, the remaining time of the current state, etc.) to the target device associated with the signal light. For example, such a target device may be a terminal device, a car computer, etc. used by a vehicle driver, so that the user can make a decision based on the cycle information.
[0073] In some embodiments, the electronic device 110 may also determine whether to provide the target device with periodic information based on the location of the vehicle associated with the target device. Specifically, the electronic device 110 may provide the target device with periodic information when it is determined that the distance between the target vehicle and the target intersection is less than a threshold distance and the driving direction of the target vehicle matches the traffic light, so as to provide the user with periodic information in a targeted manner and enhance the use value of the periodic information.
[0074] Figure 4 A block diagram of an apparatus 400 for processing cycle information of a signal light according to some embodiments of the present disclosure is shown. The apparatus 400 includes an information acquisition module 410, configured to acquire a set of collected information associated with the state of the signal light within a predetermined time period, wherein the set of collected information indicates the state of the signal light at a corresponding moment or a state switch that occurs at a corresponding moment; a first determination module 420, configured to determine at least one item of collected information in a collection of collected information that does not match the cycle information of the signal light, wherein the collection of collected information includes at least one set of collected information; a second determination module 430, configured to determine the degree of deviation between the cycle information of the signal light and the collection of collected information based on the collection source of at least one item of collected information; and a cycle adjustment module 440, configured to adjust the cycle information based on the degree of deviation.
[0075] In some embodiments, the second determination module 430 is further configured to: determine a first degree of deviation corresponding to the first acquisition information in response to at least one item of acquisition information including first acquisition information corresponding to a first acquisition source; determine a second degree of deviation corresponding to the second acquisition information in response to at least one item of acquisition information including second acquisition information corresponding to a second acquisition source, the second acquisition source is different from the first acquisition source, and the second degree of deviation is different from the first degree of deviation; and determine the degree of deviation between the cycle information of the signal light and the collection information set based on the first degree of deviation and / or the second degree of deviation.
[0076] In some embodiments, the first collected information is determined based on trajectory information of the vehicle, the second collected information is determined based on image information associated with the signal light, and the second deviation degree is greater than the first deviation degree.
[0077] In some embodiments, the information acquisition module 410 is further configured to: determine, from a set of positions corresponding to the trajectory of the vehicle, multiple positions before the vehicle enters the intersection area associated with the traffic light; determine, from the multiple positions, the target position corresponding to the latest time; and generate first collected information based on the target position.
[0078] In some embodiments, the degree of deviation is a third degree of deviation, and the cycle adjustment module 440 is further configured to: in response to a set of acquisition information including target acquisition information indicating that the signal light switches state at a target moment, determine candidate cycle information based on the target moment; determine a fourth degree of deviation between the candidate cycle information and the acquisition information set; and in response to the fourth degree of deviation being less than the third degree of deviation and the difference between the third degree of deviation and the fourth degree of deviation being greater than a threshold, determine the candidate cycle information as the adjusted cycle information of the signal light.
[0079] In some embodiments, the cycle adjustment module 440 is further configured to: determine the adjustment direction and adjustment step of the cycle information based on the degree of deviation; and determine the adjusted cycle information of the signal light based on the adjustment direction and adjustment step.
[0080] In some embodiments, the apparatus 400 further includes a providing module configured to provide the adjusted cycle information of the signal light to a target device associated with the signal light, so that the target device provides reminder information associated with the adjusted cycle information.
[0081] In some embodiments, the target device is associated with a target vehicle, a distance between the target vehicle and the target intersection is less than a threshold distance, and a travel direction of the target vehicle matches a traffic light.
[0082] The modules included in the device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules can 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 machine executable instructions, some or all of the modules in the device 400 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0083] Figure 5 1 shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 5 The electronic device 500 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
[0084] like Figure 5 As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0085] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any available media accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 500.
[0086] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0087] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0088] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0089] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, 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, a computer program product is also provided, 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.
[0090] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0091] 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, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0092] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0093] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0094] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A method for processing cycle information of a signal light, comprising: Acquire a set of collected information associated with the state of the signal light within a predetermined time period, the set of collected information indicating the state of the signal light at a corresponding moment or a state switch occurring at a corresponding moment; Determine at least one item of collected information in a collection information set that does not match the cycle information of the signal light, the collection information set at least including the set of collected information; Determining the degree of deviation between the period information of the traffic light and the set of collected information based on a collection source of the at least one collected information, wherein the collection source includes trajectory information and image information, and different collection sources have different credibility or weights; as well as Based on the degree of deviation, the period information is adjusted.
2. The method according to claim 1, wherein determining the degree of deviation between the period information of the signal light and the collection information set comprises: In response to the at least one item of collected information including first collected information corresponding to a first collected source, determining a first degree of deviation corresponding to the first collected information; In response to the at least one item of collection information including second collection information corresponding to a second collection source, determining a second deviation degree corresponding to the second collection information, the second collection source being different from the first collection source, and the second deviation degree being different from the first deviation degree; as well as Based on the first deviation degree and / or the second deviation degree, a deviation degree between the cycle information of the signal light and the collected information set is determined. 3 . The method according to claim 2 , wherein the first collected information is determined based on trajectory information of the vehicle, the second collected information is determined based on image information associated with the signal light, and the second deviation degree is greater than the first deviation degree.
4. The method according to claim 3, further comprising: Determining, from a set of positions corresponding to the trajectory of the vehicle, a plurality of positions before the vehicle enters an intersection area associated with the signal light; From the plurality of positions, determining a target position corresponding to a latest time; as well as Based on the target position, the first collection information is generated.
5. The method according to claim 1, wherein the degree of deviation is a third degree of deviation, and adjusting the period information comprises: In response to the set of collection information including target collection information indicating that the signal light switches state at a target time, determining candidate cycle information based on the target time; determining a fourth degree of deviation between the candidate period information and the collection information set; as well as In response to the fourth deviation degree being smaller than the third deviation degree and the difference between the third deviation degree and the fourth deviation degree being greater than a threshold, the candidate cycle information is determined as the adjusted cycle information of the signal light.
6. The method of claim 1, wherein adjusting the period information based on the degree of deviation comprises: Based on the degree of deviation, determining an adjustment direction and an adjustment step size of the period information; as well as Based on the adjustment direction and the adjustment step, the adjusted cycle information of the signal light is determined.
7. The method according to claim 1, further comprising: The adjusted cycle information of the signal light is provided to a target device associated with the signal light, so that the target device provides reminder information associated with the adjusted cycle information.
8. The method of claim 7, wherein the target device is associated with a target vehicle, a distance between the target vehicle and the target intersection is less than a threshold distance, and a driving direction of the target vehicle matches the signal light.
9. A device for processing cycle information of a signal light, comprising: An information acquisition module is configured to acquire a set of collected information associated with the state of the signal light within a predetermined time period, wherein the set of collected information indicates the state of the signal light at a corresponding moment or a state switch occurring at a corresponding moment; A first determining module is configured to determine at least one item of collected information in a collection information set that does not match the cycle information of the signal light, wherein the collection information set at least includes the group of collected information; A second determination module is configured to determine the degree of deviation between the period information of the traffic light and the collection information set based on a collection source of the at least one collection information, wherein the collection source includes trajectory information and image information, and different collection sources have different credibility or weights; and The cycle adjustment module is configured to adjust the cycle information based on the degree of deviation.
10. An electronic device comprising: at least one processing unit; as well as 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 causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.
11. 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.
12. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for determining signal lamp cycle, timing change time and passing duration
CN110738863A
Traffic data processing method, device and equipment, and storage medium
CN111369785A
Lamp state data detection method and device
CN113327449A
Method, device and computer program for determining a traffic light phase of a traffic light system
DE102019211098A1
Method of producing traffic signal information, method of providing traffic signal information, and navigation apparatus
US20060009188A1
