CN112530184A - Signal lamp countdown method and device - Google Patents

Signal lamp countdown method and device Download PDF

Info

Publication number
CN112530184A
CN112530184A CN202011436526.6A CN202011436526A CN112530184A CN 112530184 A CN112530184 A CN 112530184A CN 202011436526 A CN202011436526 A CN 202011436526A CN 112530184 A CN112530184 A CN 112530184A
Authority
CN
China
Prior art keywords
countdown
local
data
information
nearest intersection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011436526.6A
Other languages
Chinese (zh)
Inventor
黄庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011436526.6A priority Critical patent/CN112530184A/en
Publication of CN112530184A publication Critical patent/CN112530184A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/085Controlling traffic signals using a free-running cyclic timer

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a signal lamp countdown method and device, particularly relates to the technical field of artificial intelligence, and further relates to the technical field of intelligent transportation and driving assistance. The specific implementation mode comprises the following steps: responding to the fact that the terminal enters the fence range of the nearest intersection in the traveling direction, and acquiring countdown data of a signal lamp of the nearest intersection from a cloud server, wherein the countdown data are real-time data; responding to countdown data which are acquired for the first time by aiming at the nearest intersection under the condition of entering the fence range, locally starting countdown corresponding to the acquired countdown data for the first time, and generating and displaying local countdown information; and stopping displaying the local countdown information in response to the local countdown information returning to zero. This application can carry out local signal lamp countdown under the nearer condition in distance crossing to avoid can't demonstrate the problem of accurate count down under the condition such as disconnected net, ensure the signal lamp count down and demonstrate locally smoothly.

Description

Signal lamp countdown method and device
Technical Field
The application relates to the technical field of computers, in particular to the technical field of artificial intelligence, further relates to the technical field of intelligent transportation and driving assistance, and particularly relates to a signal lamp countdown method and device.
Background
In a traffic light scene of vehicle-road cooperation, a terminal needs to acquire traffic light data through a cloud platform and display the acquired traffic light data to a user.
In the related art, this approach strongly depends on a good network environment. Once the network environment is poor, the terminal cannot display the second reading data of the signal lamp in real time. But only intermittently displayed, thereby causing a jump in the second reading data.
Disclosure of Invention
A method, an apparatus, an electronic device, and a storage medium for signal lamp countdown are provided.
According to a first aspect, there is provided a method of signal lamp countdown comprising: responding to the fact that the terminal enters the fence range of the nearest intersection in the traveling direction, and acquiring countdown data of a signal lamp of the nearest intersection from the cloud server, wherein the countdown data are real-time data; responding to the countdown data which are acquired for the first time by aiming at the nearest intersection under the condition of entering the fence range, locally starting countdown corresponding to the countdown data acquired for the first time, and generating and displaying local countdown information; and stopping displaying the local countdown information in response to the local countdown information returning to zero.
According to a second aspect, there is provided an apparatus for signal lamp countdown comprising: an acquisition unit configured to acquire countdown data of a signal lamp of a nearest intersection from a cloud server in response to the terminal entering a fence range of the nearest intersection in a traveling direction, wherein the countdown data is real-time data; the system comprises a countdown unit, a control unit and a display unit, wherein the countdown unit is configured to respond to that the countdown data is acquired for the first time for the nearest intersection under the condition of entering a fence range, locally start countdown corresponding to the acquired countdown data for the first time, and generate and display local countdown information; a stopping unit configured to stop presenting the local countdown information in response to the local countdown information returning to zero.
According to a third aspect, there is provided an electronic device comprising: one or more processors; a storage device to store one or more programs that, when executed by one or more processors, cause the one or more processors to implement a method as in any embodiment of a method for signal light countdown.
According to a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as in any one of the embodiments of the method of signal countdown.
According to a fifth aspect, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of the embodiments of the method of signal lamp countdown.
According to the scheme of this application, can carry out local signal lamp count down under the nearer condition in distance crossing to avoid can't show the problem of accurate count down under the condition such as disconnected net, ensure the signal lamp count down and show in local smoothly.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for signal lamp countdown according to the present application;
FIG. 3 is a schematic diagram of one application scenario of a method of signal lamp countdown according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for signal lamp countdown according to the present application;
FIG. 5 is a schematic diagram of an embodiment of a signal countdown apparatus according to the present application;
fig. 6 is a block diagram of an electronic device for implementing a method for signal lamp countdown according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the signal light countdown method or apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as a driving assistance application, a navigation application, a video application, a live application, an instant messaging tool, a mailbox client, social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
Here, the terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for the terminal devices 101, 102, 103. The background server may analyze and perform other processing on the received data such as the countdown data request, and feed back a processing result (e.g., countdown data) to the terminal device.
It should be noted that the method for signal lamp countdown provided in the embodiment of the present application may be executed by the terminal devices 101, 102, and 103, and accordingly, the apparatus for signal lamp countdown may be disposed in the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of signal lamp countdown according to the present application is shown. The signal lamp countdown method is used for a terminal and comprises the following steps:
step 201, in response to the terminal entering the fence range of the nearest intersection in the traveling direction, acquiring countdown data of a signal lamp of the nearest intersection from the cloud server, wherein the countdown data is real-time data.
In this embodiment, an execution subject (for example, the terminal device shown in fig. 1) on which the signal lamp countdown method operates may acquire countdown data of a signal lamp of a nearest intersection from the cloud server when entering a fence range of the nearest intersection in a traveling direction. Specifically, the nearest intersection in the traveling direction refers to an intersection through which the terminal immediately passes. The countdown data are real-time data of the signal lamp. That is, the signal lights of the nearest intersection are counting down with the count-down data. For example, the countdown may be second reading data in seconds, or may be accurate to other accuracy such as milliseconds. The travel direction here guides the direction indicated in the navigation information for the route planned for the terminal.
In practice, the fence range may be a circular range with the center of the intersection as the center, and therefore, the radius of the circular range is the fence radius. The executing body may determine that the terminal enters the fence range in a case that a distance from the terminal to a center of the nearest intersection is less than or equal to the fence radius.
The signal light is a light provided at the intersection to indicate that the vehicle stops or passes, and may be a traffic light, for example.
Step 202, in response to that the countdown data is first acquired countdown data for the nearest intersection when entering the fence range, locally starting countdown corresponding to the first acquired countdown data, and generating and displaying local countdown information.
In this embodiment, if the execution main body determines that the countdown data is the countdown data acquired for the first time for the nearest intersection, the execution main body locally starts the countdown corresponding to the countdown data, and generates and displays local countdown information. That is, the countdown data acquired for the first time herein refers to countdown data acquired for the first time by the execution main body when or after entering the fence range for the present time. In practice, the execution subject locally starts the countdown, and may obtain the related information of the local countdown, that is, the local countdown information.
The execution main body may determine whether the countdown data is first acquired for the nearest intersection when entering the fence range, and locally start countdown when the countdown data is determined to be yes.
And step 203, responding to the zero resetting of the local countdown information, and stopping displaying the local countdown information.
In this embodiment, the execution subject may stop the local countdown information when the local countdown information is reset to zero. In practice, the countdown stop condition may be various, and for example, the execution subject may determine that the countdown stop condition is satisfied after 5 seconds from the time when the local countdown information is zero.
Alternatively, in a case where it is determined that the terminal has passed through the nearest intersection (for example, passed through an intersection center), the executing body may determine that a countdown stop condition is satisfied, and stop presenting the local countdown information.
The method provided by the embodiment of the application can perform local signal lamp countdown under the condition that the distance from the intersection is close, so that the problem that accurate countdown cannot be displayed under the conditions of network disconnection and the like is solved, and the signal lamp countdown is guaranteed to be displayed locally and smoothly.
In some optional implementations of this embodiment, the stopping presenting the local countdown information in response to the local countdown information returning to zero in step 204 may include: and if the displayed local countdown information is the local countdown information of the signal lamp in the advancing direction of the terminal, responding to the local countdown information zero resetting, and stopping displaying the local countdown information.
In these alternative implementations, the execution main body may stop presenting the local countdown information in response to the presented local countdown information being the local countdown information of the signal light in the traveling direction of the terminal. Specifically, the traveling direction of the terminal may be determined by navigation information for the terminal. The traveling direction of the terminal is a single traveling direction, and the signal light of the traveling direction of the terminal may be one of four signal lights of left turn, right turn, turn around, and straight traveling.
The implementation manners can directly close the local countdown information under the condition that the countdown information displayed aiming at the advancing direction of the terminal returns to zero, so that useless display of the countdown information is avoided.
In some optional implementations of this embodiment, the stopping presenting the local countdown information in response to the local countdown information returning to zero in step 204 may include: and if the displayed local countdown information is the local countdown information of the signal lamps in the at least two advancing directions, responding to the fact that the countdown information of the signal lamps in the at least two advancing directions are all reset to zero, and stopping displaying the local countdown information.
In these alternative implementations, the local countdown information presented by the terminal may be local countdown information for signal lights in multiple directions of travel. That is, the local countdown information of the signal lights of the plurality of traveling directions includes the local countdown information of the signal light of the traveling direction of the terminal, such as the local countdown information of the signal light of the left turn direction at the nearest intersection, where the left turn direction is the direction indicated by the navigation information to the terminal. In addition, the local countdown information for the plurality of heading signals may also include local countdown information for other heading signals, such as turn right, go straight, and turn around signals at the nearest intersection.
In practice, the countdown information of the signal lamps in all traveling directions is sequentially and completely zeroed, often because the connection between the current terminal and the cloud server is already disconnected.
In these implementations, if the connection between the terminal and the server is disconnected, the terminal may stop displaying the local countdown when the countdown for each traveling direction is zero, thereby ensuring the accuracy of the local countdown.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for signal lamp countdown according to the present embodiment. In the application scenario of fig. 3, in response to the terminal entering a fence range of a nearest intersection in the traveling direction, the execution main body 301 acquires countdown data 302 of a signal lamp of the nearest intersection from the cloud server, where the countdown data is real-time data. The execution main body 301 responds to the countdown data 302 which is acquired for the first time at the nearest intersection under the condition of entering the fence range, locally starts countdown corresponding to the countdown data acquired for the first time, and generates and displays local countdown information 303. The execution principal 301 stops presenting the local countdown information 304 in response to the local countdown information zeroing.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method of signal light countdown is shown. The process 400 includes the following steps:
step 401, under the condition that the terminal establishes long connection with the cloud server, in response to the terminal entering a fence range of a nearest intersection in a traveling direction, acquiring countdown data of a signal lamp of the nearest intersection from the cloud server, wherein the countdown data is real-time data.
In this embodiment, an execution body (for example, the terminal device shown in fig. 1) on which the method for signal lamp countdown operates may acquire countdown data of a signal lamp of a nearest intersection from a cloud server in a case where the terminal has established a long connection with the cloud server and the terminal enters a fence range of the nearest intersection in a traveling direction.
Step 402, in response to that the countdown data is first acquired countdown data for the nearest intersection when entering the fence range, locally starting countdown corresponding to the first acquired countdown data, and generating and displaying local countdown information.
In this embodiment, the executing body may locally start countdown corresponding to the countdown data when the countdown data is the countdown data acquired for the first time at the nearest intersection when the terminal enters the fence range at this time. That is, the countdown data acquired for the first time herein refers to countdown data acquired for the first time by the execution main body when or after entering the fence range for the present time. In practice, the countdown is started locally, and the information related to the local countdown is obtained as the local countdown information.
And step 403, in response to the countdown stopping condition being met, stopping displaying the local countdown information.
In this embodiment, the executing body may stop the local countdown information when the terminal meets a countdown stop condition.
The embodiment can realize that the countdown data is acquired from the cloud server by establishing the long connection.
In some optional implementations of this embodiment, the method may further include: and in response to that the countdown data are acquired for the nearest intersection for a non-first time under the condition of entering the fence range and are inconsistent with the current local countdown information, calibrating the local countdown information by using the countdown data.
In these alternative implementations, the non-first-acquired countdown data here refers to non-first-acquired countdown data of the execution subject when or after entering the fence range, such as second-acquired or third-acquired countdown data.
In practice, the execution body may acquire countdown data periodically, such as once per second. In addition, the execution main body may calibrate the local countdown information by using the acquired countdown data when the countdown data is inconsistent with the local countdown information. Specifically, the execution main body may determine whether the acquired countdown data is consistent with the local countdown information, so as to determine that the countdown data is inconsistent with the local countdown information.
The optional implementation manners can utilize the countdown data which is not acquired for the first time to calibrate the local countdown information, and the accuracy of local countdown can be further improved.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present application provides an embodiment of a signal lamp countdown apparatus, which corresponds to the method embodiment shown in fig. 2, and which may include the same or corresponding features or effects as the method embodiment shown in fig. 2, in addition to the features described below. The device can be applied to various electronic equipment.
As shown in fig. 5, the apparatus 500 for signal lamp countdown of the present embodiment includes: an acquisition unit 501, a countdown unit 502, and a stop unit 503. The acquiring unit 501 is configured to acquire countdown data of a signal lamp of a nearest intersection from a cloud server in response to the terminal entering a fence range of the nearest intersection in a traveling direction, wherein the countdown data is real-time data; a countdown unit 502 configured to, in response to the countdown data being the countdown data acquired for the first time at the nearest intersection when entering the fence range, locally start a countdown corresponding to the countdown data acquired for the first time, and generate and display local countdown information; a stopping unit 503 configured to stop presenting the local countdown information in response to the local countdown information returning to zero.
In this embodiment, specific processing of the obtaining unit 501, the countdown unit 502, and the stopping unit 503 of the signal lamp countdown device 500 and technical effects thereof can refer to relevant descriptions of step 201, step 202, and step 203 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of the embodiment, the obtaining unit is further configured to perform obtaining countdown data of a signal light of a nearest intersection from the cloud server in response to the terminal entering a fence range of the nearest intersection in the traveling direction, as follows: and under the condition that the terminal establishes long connection with the cloud server, responding to the fact that the terminal enters the fence range of the nearest intersection in the traveling direction, and acquiring countdown data of the signal lamp of the nearest intersection from the cloud server.
In some optional implementations of this embodiment, the apparatus further includes: and the calibration unit is configured to calibrate the local countdown information by using the countdown data in response to the countdown data being acquired for the nearest intersection for a non-first time when the nearest intersection enters the fence range and the countdown data being inconsistent with the current local countdown information.
In some optional implementations of this embodiment, the stopping unit is further configured to perform stopping presenting the local countdown information in response to the local countdown information returning to zero as follows: and if the displayed local countdown information is the local countdown information of the signal lamp in the advancing direction of the terminal, responding to the local countdown information zero resetting, and stopping displaying the local countdown information.
In some optional implementations of this embodiment, the stopping unit is further configured to perform stopping presenting the local countdown information in response to the local countdown information returning to zero as follows: and if the displayed local countdown information is the local countdown information of the signal lamps in the at least two advancing directions, responding to the fact that the countdown information of the signal lamps in the at least two advancing directions are all reset to zero, and stopping displaying the local countdown information.
There is also provided, in accordance with an embodiment of the present application, an electronic device, a readable storage medium, and a computer program product.
As shown in fig. 6, it is a block diagram of an electronic device according to the method for signal lamp countdown in the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for signal lamp countdown provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of signal lamp countdown provided herein.
The memory 602, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for signal lamp countdown in the embodiment of the present application (for example, the acquiring unit 501, the countdown unit 502, and the stopping unit 503 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing, namely, the method for signal light countdown in the above method embodiments, by running non-transitory software programs, instructions and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the electronic device when the signal lamp is counted down, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory remotely located from the processor 601, and these remote memories may be connected to the signal countdown electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method of signal lamp countdown may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device for signal countdown, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a countdown unit, and a stop unit. Where the names of these elements do not in some cases constitute a limitation on the element itself, for example, a stop element may also be described as an "element that stops presenting local countdown information in response to the local countdown information returning to zero".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to the fact that the terminal enters the fence range of the nearest intersection in the traveling direction, and acquiring countdown data of a signal lamp of the nearest intersection from the cloud server, wherein the countdown data are real-time data; responding to the countdown data which are acquired for the first time by aiming at the nearest intersection under the condition of entering the fence range, locally starting countdown corresponding to the countdown data acquired for the first time, and generating and displaying local countdown information; and stopping displaying the local countdown information in response to the local countdown information returning to zero.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (13)

1. A method of signal lamp countdown for a terminal, the method comprising:
responding to the fact that the terminal enters a fence range of a nearest intersection in a traveling direction, and acquiring countdown data of a signal lamp of the nearest intersection from a cloud server, wherein the countdown data are real-time data;
responding to the countdown data which are acquired for the first time by aiming at the nearest intersection under the condition of entering the fence range, locally starting countdown corresponding to the acquired countdown data for the first time, and generating and displaying local countdown information;
and stopping displaying the local countdown information in response to the local countdown information returning to zero.
2. The method of claim 1, wherein the acquiring countdown data of a signal light of a nearest intersection in a traveling direction from a cloud server in response to the terminal entering a fence range of the nearest intersection comprises:
and under the condition that the terminal establishes long connection with the cloud server, responding to the fact that the terminal enters the fence range of the nearest intersection in the traveling direction, and acquiring countdown data of the signal lamp of the nearest intersection from the cloud server.
3. The method of claim 2, wherein the method further comprises:
and in response to that the countdown data are acquired for the nearest intersection for a non-first time when the nearest intersection enters the fence range and the countdown data are inconsistent with the current local countdown information, calibrating the local countdown information by using the countdown data.
4. The method of claim 1 or 2, wherein said ceasing presentation of the local countdown information in response to the local countdown information returning to zero comprises:
and if the displayed local countdown information is the local countdown information of the signal lamp in the advancing direction of the terminal, responding to the zero resetting of the local countdown information, and stopping displaying the local countdown information.
5. The method of claim 1 or 2, wherein said ceasing presentation of the local countdown information in response to the local countdown information returning to zero comprises:
and if the displayed local countdown information is the local countdown information of the signal lamps in at least two advancing directions, responding to the fact that the countdown information of the signal lamps in at least two advancing directions is completely reset to zero, and stopping displaying the local countdown information.
6. A signal lamp countdown apparatus for a terminal, the apparatus comprising:
an acquisition unit configured to acquire countdown data of a signal lamp of a nearest intersection from a cloud server in response to the terminal entering a fence range of the nearest intersection in a traveling direction, wherein the countdown data is real-time data;
the countdown unit is configured to respond to the countdown data which are acquired for the first time for the nearest intersection under the condition of entering the fence range, locally start countdown corresponding to the acquired countdown data for the first time, and generate and display local countdown information;
a stopping unit configured to stop presenting the local countdown information in response to the local countdown information returning to zero.
7. The apparatus according to claim 6, wherein the acquiring unit is further configured to perform the acquiring, from the cloud server, countdown data of a signal light of a nearest intersection in the traveling direction in response to the terminal entering a fence range of the nearest intersection as follows:
and under the condition that the terminal establishes long connection with the cloud server, responding to the fact that the terminal enters the fence range of the nearest intersection in the traveling direction, and acquiring countdown data of the signal lamp of the nearest intersection from the cloud server.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a calibration unit configured to calibrate local countdown information using the countdown data in response to the countdown data being non-first acquired countdown data for the nearest intersection upon entering the fence range and the countdown data being inconsistent with current local countdown information.
9. The apparatus of claim 6 or 7, wherein the stopping unit is further configured to perform the stopping presenting the local countdown information in response to the local countdown information zeroing in a manner as follows:
and if the displayed local countdown information is the local countdown information of the signal lamp in the advancing direction of the terminal, responding to the zero resetting of the local countdown information, and stopping displaying the local countdown information.
10. The apparatus of claim 6 or 7, wherein the stopping unit is further configured to perform the stopping presenting the local countdown information in response to the local countdown information zeroing in a manner as follows:
and if the displayed local countdown information is the local countdown information of the signal lamps in at least two advancing directions, responding to the fact that the countdown information of the signal lamps in at least two advancing directions is completely reset to zero, and stopping displaying the local countdown information.
11. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-5.
CN202011436526.6A 2020-12-10 2020-12-10 Signal lamp countdown method and device Pending CN112530184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011436526.6A CN112530184A (en) 2020-12-10 2020-12-10 Signal lamp countdown method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011436526.6A CN112530184A (en) 2020-12-10 2020-12-10 Signal lamp countdown method and device

Publications (1)

Publication Number Publication Date
CN112530184A true CN112530184A (en) 2021-03-19

Family

ID=74999271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011436526.6A Pending CN112530184A (en) 2020-12-10 2020-12-10 Signal lamp countdown method and device

Country Status (1)

Country Link
CN (1) CN112530184A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105489032A (en) * 2016-02-15 2016-04-13 中兴通讯股份有限公司 Method and system for displaying red light and green light information in real time
JP5908125B2 (en) * 2013-01-25 2016-04-26 三菱電機株式会社 Movement support apparatus and movement support method
CN105894842A (en) * 2014-11-17 2016-08-24 胡乐乐 Intelligent traffic signal lamp system
CN110557715A (en) * 2019-09-03 2019-12-10 南京莱斯网信技术研究院有限公司 Vehicle-mounted terminal capable of displaying traffic light information of front intersection in strong real time
CN111159612A (en) * 2019-12-27 2020-05-15 广州华多网络科技有限公司 Countdown method, system, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5908125B2 (en) * 2013-01-25 2016-04-26 三菱電機株式会社 Movement support apparatus and movement support method
CN105894842A (en) * 2014-11-17 2016-08-24 胡乐乐 Intelligent traffic signal lamp system
CN105489032A (en) * 2016-02-15 2016-04-13 中兴通讯股份有限公司 Method and system for displaying red light and green light information in real time
CN110557715A (en) * 2019-09-03 2019-12-10 南京莱斯网信技术研究院有限公司 Vehicle-mounted terminal capable of displaying traffic light information of front intersection in strong real time
CN111159612A (en) * 2019-12-27 2020-05-15 广州华多网络科技有限公司 Countdown method, system, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112415552B (en) Vehicle position determining method and device and electronic equipment
JP7228627B2 (en) ROAD INFORMATION PROCESSING METHOD, APPARATUS, ELECTRONIC DEVICE, STORAGE MEDIUM, AND PROGRAM
CN111693062B (en) Method and device for navigation of roundabout route, electronic equipment and storage medium
CN111578951B (en) Method and device for generating information in automatic driving
CN112802325B (en) Vehicle queuing length detection method and device
CN110702136B (en) Route planning method and device for vehicle, electronic equipment and readable storage medium
CN112101209A (en) Method and apparatus for determining a world coordinate point cloud for roadside computing devices
CN113844463B (en) Vehicle control method and device based on automatic driving system and vehicle
CN111664844B (en) Navigation method, navigation device and electronic equipment
CN111966939A (en) Page skipping method and device
CN111637899A (en) Navigation method, navigation device, electronic equipment and storage medium
CN111707286B (en) Method and device for planning route
CN112486817B (en) Evaluation method, device, equipment and storage medium for data update
CN112527163B (en) Intersection retrieval method, device, equipment and storage medium
US11740639B2 (en) Method and apparatus for gutting signal light information
CN112116826A (en) Method and device for generating information
CN112530184A (en) Signal lamp countdown method and device
US11566913B2 (en) Method, apparatus, electronic device and storage medium for displaying AR navigation
JP2022095787A (en) Display method, apparatus, terminal device, computer readable storage medium, and computer program
CN112747758A (en) Road network modeling method and device
CN111947680B (en) Method, device, equipment and storage medium for displaying data
CN112579032A (en) Intelligent equipment guiding method and device
CN113008262B (en) Method and device for showing interest points, electronic equipment and storage medium
CN112434697A (en) Method, apparatus, device and storage medium for outputting information
CN112731931A (en) Robot navigation method, device, robot and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20211012

Address after: 100176 Room 101, 1st floor, building 1, yard 7, Ruihe West 2nd Road, economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd.

Address before: 2 / F, baidu building, 10 Shangdi 10th Street, Haidian District, Beijing 100085

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right