CN107945552A - Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp - Google Patents

Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp Download PDF

Info

Publication number
CN107945552A
CN107945552A CN201711235891.9A CN201711235891A CN107945552A CN 107945552 A CN107945552 A CN 107945552A CN 201711235891 A CN201711235891 A CN 201711235891A CN 107945552 A CN107945552 A CN 107945552A
Authority
CN
China
Prior art keywords
time
lamp
signal lamp
echo signal
change
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
CN201711235891.9A
Other languages
Chinese (zh)
Inventor
付文君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711235891.9A priority Critical patent/CN107945552A/en
Publication of CN107945552A publication Critical patent/CN107945552A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/096Arrangements for giving variable traffic instructions provided with indicators in which a mark progresses showing the time elapsed, e.g. of green phase
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of method and device prompted the signal lamp change lamp time, belong to AR technical fields.The described method includes:When echo signal lamp is red light, determine that echo signal lamp the last time after current time is changed into the time of green light from red light, the object time is obtained, and the first prompt message is generated according to the object time, first prompt message is shown in the display interface of AR equipment.Since echo signal lamp is treated by crossing and signal lamp corresponding with the location of the AR equipment to be current, namely, when the signal lamp at by crossing is red light, AR equipment can determine the change lamp time of the echo signal lamp, and the first prompt message determined according to the change lamp time is shown in AR display interfaces, to prompt the change lamp time of user's echo signal lamp, the change lamp time that user just can determine that the echo signal lamp by directly observing the echo signal lamp is avoided the need for.

Description

Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp
Technical field
This disclosure relates to AR (Augmented Reality, augmented reality) technical field, more particularly to it is a kind of to signal lamp Become method, apparatus and the storage medium that the lamp time is prompted.
Background technology
In daily life, when user is by crossing, in order to avoid causing traffic accident due to making a dash across the red light, user is usual It need to first determine the signal lamp at the crossing becomes lamp at what moment, so as to according to definite change lamp time safety crossing.Cause This, how the change lamp time to signal lamp is prompted just to become particularly important.
The content of the invention
To overcome problem present in correlation technique, what the lamp time was prompted is become to signal lamp present disclose provides a kind of Method, apparatus and storage medium.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method prompted the signal lamp change lamp time, should For in augmented reality AR equipment, the described method includes:
When echo signal lamp is red light, determine that described echo signal lamp the last time after current time is become by red light For the time of green light, obtain the object time, the echo signal lamp for it is current treat by crossing and with the AR equipment residing for The signal lamp of position correspondence;
First prompt message is generated according to the object time, and shows in the display interface of the AR equipment described the One prompt message.
Alternatively, it is described that first prompt message is generated according to the object time, including:
According to the object time and current time, determine the echo signal lamp after current time the last time by Red light is changed into the residual time length of green light;
The residual time length is determined as first prompt message.
Alternatively, it is described to show first prompt message in the display interface of the AR equipment, including:
In a manner of countdown the residual time length is shown in the display interface of the AR equipment.
Alternatively, it is described the residual time length is determined as first prompt message after, further include:
When the residual time length is less than preset duration, the second prompt message is generated, second prompt message is used to carry Show that echo signal lamp will become lamp described in user;
Second prompt message is shown in the display interface of the AR equipment.
Alternatively, it is described that first prompt message is generated according to the object time, including:
The object time and current time are determined as first prompt message.
Alternatively, it is described determine the echo signal lamp the last time after current time from red light be changed into green light when Between before, further include:
The change lamp time list for the echo signal that server is sent is received, the change lamp time list includes the mesh That marks signal lamp becomes lamp order and duration of the echo signal lamp in each color;
Correspondingly, it is described determine the echo signal lamp the last time after current time from red light be changed into green light when Between, including:
Determine the echo signal lamp the last time for being changed into red light before current time;
According to the change lamp time list of the echo signal lamp and the echo signal lamp nearest one before current time The secondary time for being changed into red light, determine the echo signal lamp the last time after current time from red light be changed into green light when Between.
Alternatively, it is described determine the echo signal lamp the last time after current time from red light be changed into green light when Between before, further include:
Receive the change lamp time list for the echo signal that server is sent;
Wherein, the change lamp time list becomes the lamp corresponding time every time for recording the echo signal lamp, and described It is that the server is determined according at least one data to become lamp time list, and the change of the echo signal lamp is included per data The duration of lamp time and the echo signal lamp in each color;
Correspondingly, it is described determine the echo signal lamp the last time after current time from red light be changed into green light when Between, including:
According to the change lamp time list of the echo signal lamp, determine the echo signal lamp after current time recently Once it is changed into the time of green light from red light.
Alternatively, the method further includes:
After the echo signal lamp becomes lamp, this time change lamp time of the echo signal lamp and target letter are determined Duration of the signal lamp in each color;
Sent to the server and become the renewal request of lamp time list, the change lamp time list renewal request carries this time Duration of the change lamp time and the echo signal lamp of the echo signal lamp in each color, and the change lamp time List update request is used for the change lamp time list for indicating echo signal lamp described in server update.
According to the second aspect of the embodiment of the present disclosure, there is provided the device that a kind of change lamp time to signal lamp is prompted, Applied in augmented reality AR equipment, described device includes:
First determining module, for when echo signal lamp is red light, determine the echo signal lamp current time it The last time for being changed into green light from red light afterwards, the object time is obtained, the echo signal lamp is currently to treat by crossing And signal lamp corresponding with the AR equipment present position;
First display module, for generating the first prompt message according to the object time, and in the aobvious of the AR equipment Show and first prompt message is shown in interface.
Alternatively, first display module, is specifically used for:
According to the object time and current time, determine the echo signal lamp after current time the last time by Red light is changed into the residual time length of green light;
The residual time length is determined as first prompt message.
Alternatively, first display module, is specifically used for:
In a manner of countdown the residual time length is shown in the display interface of the AR equipment.
Alternatively, described device further includes:
Generation module, for when the residual time length is less than preset duration, generating the second prompt message, described second carries Show that information is used to prompt echo signal lamp described in user to become lamp;
Second display module, for showing second prompt message in the display interface of the AR equipment.
Alternatively, first display module, is specifically used for:
The object time and current time are determined as first prompt message.
Alternatively, described device further includes:
First receiving module, the change lamp time list of the echo signal for receiving server transmission, the change lamp Time list includes the change lamp order and duration of the echo signal lamp in each color of the echo signal lamp;
Correspondingly, first determining module, is specifically used for:
Determine the echo signal lamp the last time for being changed into red light before current time;
According to the change lamp time list of the echo signal lamp and the echo signal lamp nearest one before current time The secondary time for being changed into red light, determine the echo signal lamp the last time after current time from red light be changed into green light when Between.
Alternatively, described device further includes:
Second receiving module, the change lamp time list of the echo signal for receiving server transmission;
Wherein, the change lamp time list becomes the lamp corresponding time every time for recording the echo signal lamp, and described It is that the server is determined according at least one data to become lamp time list, and the change of the echo signal lamp is included per data The duration of lamp time and the echo signal lamp in each color;
Correspondingly, first determining module, is specifically used for:
According to the change lamp time list of the echo signal lamp, determine the echo signal lamp after current time recently Once it is changed into the time of green light from red light.
Alternatively, described device further includes:
Second determining module, after becoming lamp in the echo signal lamp, determines the change of this time echo signal lamp The duration of lamp time and the echo signal lamp in each color;
Sending module, becomes the renewal request of lamp time list, the change lamp time list is more for being sent to the server New request carries duration of the change lamp time and the echo signal lamp of this time echo signal lamp in each color, And the change lamp time list for becoming the renewal request of lamp time list and being used to indicate echo signal lamp described in server update.
According to the third aspect of the embodiment of the present disclosure, there is provided the dress that a kind of change lamp time to signal lamp is prompted Put, applied in augmented reality AR equipment, described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the change lamp time to signal lamp that the processor is configured as performing described in above-mentioned first aspect carries Either step in the method shown.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, the computer can Read to be stored with instruction on storage medium, either method described in above-mentioned first aspect is realized when described instruction is executed by processor Step.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiments of the present disclosure, when echo signal lamp is red light, determine the echo signal lamp after current time The last time is changed into the time of green light from red light, obtains the object time, and generates the first prompt message according to the object time, First prompt message is shown in the display interface of AR equipment.Due to echo signal lamp for it is current treat by crossing and with the AR The corresponding signal lamp of the location of equipment, that is, when the signal lamp at by crossing is red light, AR equipment can determine The change lamp time of the echo signal lamp, and the first prompt message determined according to the change lamp time is shown in AR display interfaces, To prompt the change lamp time of user's echo signal lamp, avoiding the need for user could be really by directly observing the echo signal lamp The change lamp time of the fixed echo signal lamp.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining the principle of the present invention together with specification.
Fig. 1 is a kind of method flow diagram prompted the signal lamp change lamp time that the embodiment of the present disclosure provides;
Fig. 2 is another method flow diagram prompted the signal lamp change lamp time that the embodiment of the present disclosure provides;
Fig. 3 A are a kind of device block diagrams prompted the signal lamp change lamp time that the embodiment of the present disclosure provides;
Fig. 3 B are another device block diagrams prompted the signal lamp change lamp time that the embodiment of the present disclosure provides;
Fig. 4 is another device block diagram prompted the signal lamp change lamp time that the embodiment of the present disclosure provides.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given Introduce.Since in daily life, when user passes through some crossing, the change lamp time of the signal lamp at the crossing is to user security Played a crucial role by the crossing.
Therefore, the embodiment of the present disclosure provides a kind of method prompted the signal lamp change lamp time, and this method includes: When echo signal lamp is red light, determine the echo signal lamp the last time after current time from red light be changed into green light when Between, obtain the object time, and the first prompt message is generated according to the object time, shown in the display interface of AR equipment this One prompt message, to prompt the change lamp time of user's signal lamp.
What Fig. 1 was that the embodiment of the present disclosure provides a kind of becomes the method flow diagram prompted of lamp time, the party to signal lamp Method is used in AR equipment, as shown in Figure 1, this method comprises the following steps.
In a step 101, when echo signal lamp is red light, determine the echo signal lamp nearest one after current time The secondary time for being changed into green light from red light, the object time is obtained, which is currently to treat by being set at crossing and with the AR The corresponding signal lamp in standby present position.
In a step 102, the first prompt message is generated according to the object time, and is shown in the display interface of the AR equipment Show first prompt message.
In the embodiments of the present disclosure, when echo signal lamp is red light, determine the echo signal lamp after current time The last time is changed into the time of green light from red light, obtains the object time, and generates the first prompt message according to the object time, First prompt message is shown in the display interface of AR equipment.Due to echo signal lamp for it is current treat by crossing and with the AR The corresponding signal lamp of the location of equipment, that is, when the signal lamp at by crossing is red light, AR equipment can determine The change lamp time of the echo signal lamp, and the first prompt message determined according to the change lamp time is shown in AR display interfaces, To prompt the change lamp time of user's echo signal lamp, avoiding the need for user could be really by directly observing the echo signal lamp The change lamp time of the fixed echo signal lamp.
Alternatively, the first prompt message is generated according to the object time, including:
According to the object time and current time, determine the echo signal lamp after current time the last time by red light It is changed into the residual time length of green light;
The residual time length is determined as first prompt message.
Alternatively, first prompt message is shown in the display interface of the AR equipment, including:
The residual time length is shown in the display interface of the AR equipment in a manner of countdown.
Alternatively, after which being determined as first prompt message, further include:
When the residual time length is less than preset duration, the second prompt message is generated, which is used to prompt to use The family echo signal lamp will become lamp;
Second prompt message is shown in the display interface of the AR equipment.
Alternatively, the first prompt message is generated according to the object time, including:
The object time and current time are determined as first prompt message.
Optionally it is determined that the echo signal lamp after current time the last time from red light be changed into green light time it Before, further include:
The change lamp time list for the echo signal that server is sent is received, which includes the echo signal Lamp becomes lamp order and the duration of the echo signal lamp in each color;
Correspondingly, determine that echo signal lamp the last time after current time is changed into the time of green light from red light, wrap Include:
Determine the echo signal lamp the last time for being changed into red light before current time;
Become according to the change lamp time list of the echo signal lamp and the echo signal lamp are the last before current time For the time of red light, determine that echo signal lamp the last time after current time is changed into the time of green light from red light.
Optionally it is determined that the echo signal lamp after current time the last time from red light be changed into green light time it Before, further include:
Receive the change lamp time list for the echo signal that server is sent;
Wherein, which becomes the lamp corresponding time every time for recording the echo signal lamp, and during the change lamp Between list be that the server is determined according at least one data, change lamp time per data including the echo signal lamp and should Duration of the echo signal lamp in each color;
Correspondingly, determine that echo signal lamp the last time after current time is changed into the time of green light from red light, wrap Include:
According to the change lamp time list of the echo signal lamp, determine that the echo signal lamp is the last after current time It is changed into the time of green light from red light.
Alternatively, this method further includes:
After the echo signal lamp becomes lamp, determine that this time the change lamp time of the echo signal lamp and the echo signal lamp exist Duration during each color;
Sent to the server and become the renewal request of lamp time list, change lamp time list renewal request carries this time mesh That marks signal lamp becomes lamp time and the duration of the echo signal lamp in each color, and change lamp time list renewal please Seek the change lamp time list for indicating the server update echo signal lamp.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real Example is applied no longer to repeat this one by one.
What Fig. 2 was that the embodiment of the present disclosure provides a kind of becomes the method flow diagram prompted of lamp time, the party to signal lamp Method is used in AR equipment, as shown in Fig. 2, this method comprises the following steps.
In step 201, when echo signal lamp is red light, determine the echo signal lamp nearest one after current time The secondary time for being changed into green light from red light, obtain the object time, the echo signal lamp for it is current treat by crossing and with AR equipment The corresponding signal lamp in present position.
When the echo signal lamp is red light, AR equipment can determine the change lamp time of the echo signal lamp, with to the mesh The change lamp time of mark signal lamp is prompted, and avoids needing to look at the echo signal lamp always using the user of the AR equipment with true When the fixed echo signal lamp is changed into green light.
Wherein it is determined that the change lamp time of the echo signal lamp, that is, determining the echo signal lamp after current time most The nearly time for being once changed into green light from red light, in order to which easy to explanation, which subsequently is known as the object time.
In a kind of possible implementation, when echo signal lamp is red light, AR equipment receives the mesh that server is sent The change lamp time list of signal is marked, which includes the change lamp of echo signal lamp sequentially and echo signal lamp is every kind of Duration during color.At this time, AR equipment determines that echo signal lamp the last time before current time is changed into red light Time, is changed into red according to the change lamp time list of the echo signal lamp and echo signal lamp the last time before current time The time of lamp, determines that echo signal lamp the last time after current time is changed into the time of green light from red light, that is, determining Object time.
In the implementation, for any one signal lamp, due to the change lamp order of the signal lamp and the signal lamp Duration in each color is changeless, therefore, is stored with the change lamp order of each signal in the server With duration of the echo signal lamp in each color, that is, being stored with the change lamp time list of each signal lamp.
Since what the change lamp time list included echo signal lamp becomes lamp order and echo signal lamp in each color Duration, therefore, AR equipment need to first determine the echo signal lamp before current time recently before the object time is determined Once it is changed into the time of red light, afterwards, according to the echo signal lamp, the last time is changed into the time of red light before current time, Determine the object time.
Such as the change lamp time list of echo signal lamp into:Become lamp order as red light, amber light, green light, amber light, it is corresponding Duration is respectively 30s, 5s, 30s and 5s.And the echo signal lamp before current time it is the last be changed into red light when Between be 12 points of 30 minutes 20s, therefore AR equipment can determine that the object time is 12 points of 30 minutes 55s.
Wherein, when echo signal lamp often occurs once to become lamp, when being stored with the change lamp of the echo signal lamp in server Between.Therefore, AR equipment can determine that echo signal lamp the last time before current time is changed into red light by server Time, that is, AR device-to-servers, which are sent, becomes the acquisition request of lamp time, change lamp time acquisition request carries the AR equipment ought It is the location of preceding, when server, which receives the change lamp time, obtains request, determine the position pair that the AR equipment is presently in The echo signal lamp answered, and determine the echo signal lamp the last time for being changed into red light before current time.Afterwards, take Business device sends the echo signal lamp the last time for being changed into red light before current time to AR equipment.
In alternatively possible implementation, when echo signal lamp is red light, AR equipment receives what server was sent The change lamp time list of echo signal, wherein, which is used to recording the echo signal lamp that to become lamp every time corresponding Time, and the change lamp time list is that server is determined according at least one data, and echo signal lamp is included per data Become the duration of lamp time and echo signal lamp in each color.
At this time, it is to include each change lamp time of the echo signal lamp due to becoming lamp time list, AR equipment can be with Directly according to the change lamp time list of the echo signal lamp, determine the echo signal lamp after current time the last time by red Lamp is changed into the time of green light.
That is, in the implementation, for any one signal lamp, server predefines the signal lamp and is becoming every time Corresponding time during lamp, in order to which AR equipment directly determines the object time according to the change lamp time list, carries out without AR equipment Other operations, so as to simplify the operation of AR equipment.
In addition, in the implementation, different users can upload the change lamp of the echo signal lamp to server in advance The duration of time and echo signal lamp in each color, when server receive the echo signal lamp the change lamp time and Duration of the echo signal lamp in each color, that is, obtaining at least one data.Server can to this at least one Data carries out analysis calculating, to determine the change lamp time list of the echo signal lamp.
For example the server receives a data, and a data is:When echo signal lamp is changed into the change lamp of green light Between be 12 points of 30 minutes 55s, wherein, red light, amber light, green light and the corresponding duration of amber light be respectively 30s, 5s, 30s and 5s.At this time, server can according to a data, on the basis of the lamp time is become as 12 points of 30 minutes 55s, successively it is definite this when Between after become lamp corresponding time every time, obtain the change lamp time list of the echo signal lamp.
In the possible implementation of above two, when being the change lamp that AR equipment receives the echo signal that server is sent Between list, difference is to become the information that includes of lamp time list different.Wherein, AR equipment receives the target that server is sent The change lamp time list of signal can have following two strategies:
The first strategy, when it is red light that AR equipment, which determines echo signal lamp, sends change lamp time list to server and obtains Request is taken, which obtains the positional information that request carries the target location that AR equipment is presently in.
When server, which receives the change lamp time list, obtains request, the position letter that the change lamp time list carries is determined Breath, in the correspondence between the positional information of storage and the mark of signal lamp, determines the mesh being presently in the AR equipment The mark of the corresponding signal lamp of positional information of cursor position, that is, determining the mark of the echo signal lamp.Server is being determined After the mark of echo signal lamp, identified and become in the correspondence between lamp time list according to the signal lamp of storage, determined Change lamp time list corresponding with the mark of the echo signal lamp.
Second of strategy, server are set by way of broadcast to all AR by the crossing where the echo signal lamp The standby change lamp time list for pushing the echo signal lamp.
Therefore, when AR equipment is in the range of the server broadcast, you can when receiving the change lamp of the server push Between list.
It should be noted that since the crossing where the echo signal lamp may include multiple signal lamps, at this time, server Push be the plurality of signal lamp change lamp time list, and the positional information of the plurality of signal lamp.
After AR equipment receives the change lamp time list of the plurality of signal lamp, the positional information of itself, and root are determined According to itself positional information and the plurality of signal lamp positional information, from the plurality of signal lamp determine with itself present position pair The signal lamp answered, that is, determining echo signal lamp.
In addition, AR equipment generally includes camera parts, which is used to shoot the figure in certain angular field of view Picture, and the image is analyzed and processed.Therefore, in the embodiments of the present disclosure, AR equipment can obtain camera parts bat The image taken the photograph, analyzes and processes the image, when the image includes signal lamp, determines whether the signal lamp is red light, When the signal lamp is red light, show currently to treat by crossing at signal lamp be red light.For convenience of description, will currently treat By at crossing and signal lamp corresponding with AR equipment present position is known as echo signal lamp.
AR equipment according to the possible implementation of above two after the object time is determined, when can be according to the target Between generate the first prompt message, and first prompt message is shown in the display interface of the AR equipment, which is used with prompting The change lamp time of the user of the equipment echo signal lamp.Wherein, AR equipment can be by following step 202 and step 203 to this Object time is prompted.
In step 202, according to the object time and current time, determine the echo signal lamp after current time most The nearly residual time length for being once changed into green light from red light, is determined as first prompt message by the residual time length, and in AR equipment First prompt message is shown in display interface.
For example determine that the object time is 12 points of 30 minutes 55s by step 201, and current time is 12 points of 30 minutes 35s, AR Equipment determines that residual time length is 20s, that is, the first prompt message is 20s at this time, at this time can be in the display interface of AR equipment Show residual time length 20s.
Further, in order to more clearly prompt the residual time length, can be set in a manner of countdown in the AR The residual time length is shown in standby display interface.That is, after the residual time length is determined, with the change of current time, really Residual time length after fixed change, and the residual time length after change is shown in the display interface of AR equipment.
For example AR equipment determines that the residual time length is 20s, AR equipment can show the 20s in a manner of countdown at this time.
It should be noted that AR equipment can show the residual time length in a manner of countdown, can also be otherwise Show the residual time length, for example directly display the residual time length, the embodiment of the present disclosure is not specifically limited herein.
Alternatively, AR equipment be in addition to it can prompt the object time according to step 201, can also will directly by Object time and current time are determined as the first prompt message, and the first prompting letter is shown in the display interface of the AR equipment Breath.
For example AR equipment determines that the object time is 12 points of 30 minutes 55s by step 201, and current time for 12 points 30 minutes 35s, at this time, AR equipment directly show the two times in display interface, and with the change of current time, Dynamic Announce Time after change, to prompt the change lamp time of the ownership goal signal lamp using the AR equipment.
Further, when the residual time length in step 202 is long, red light may waited using the user of the AR equipment Process do other things, at this time, in order to avoid the user misses the change lamp time, AR equipment can pass through following step 203 The change lamp time is prompted again.
In step 203, when the residual time length is less than preset duration, the second prompt message is generated, the second prompting letter Breath is used to prompt user that the echo signal lamp will become lamp, and second prompt message is shown in the display interface of the AR equipment.
In a kind of possible implementation, which can be that the color of display interface changes. That is, when the residual time length is less than preset duration, the color of the display interface of the AR equipment changes, to prompt user's mesh Mark signal lamp will become lamp.
A progressive ground, can also be by after change color after the color of the display interface of the AR equipment changes The display interface of AR equipment carries out flickering display, by it is a kind of it is more eye-catching in a manner of prompt user that the echo signal lamp will become Lamp.
Wherein, for preset duration to pre-set duration, which can be 1s, 2s or 3s etc..
Such as preset duration 2s, residual time length is shown in a manner of countdown in step 202, when the residual time length It is red by the color change of the display interface of the AR equipment, and display circle is shown in a manner of flickering display during less than 2s Face, to prompt user that the echo signal lamp will become lamp.
In alternatively possible implementation, which can be that " echo signal lamp will become lamp, please do It is good to prepare ", when residual time length is less than preset duration, to prompt user.Wherein, which can also be Other kinds of content, that is, the embodiment of the present disclosure does not limit the particular content of second prompt message, only need to meet this Second prompt message is used to prompt the change lamp time to reach.
In addition, for the alternatively possible implementation in step 201, since the change lamp time of echo signal lamp may Change, such as, when when the crossing, power supply is disconnected, after the power supply at the crossing is restarted, the echo signal lamp It is restarted, the change lamp time list for storing the echo signal lamp in server at this time is not met with actual conditions, Therefore server also needs to be updated to becoming lamp time list.
Therefore, AR equipment determines this time the change lamp time of the echo signal lamp and the mesh after echo signal lamp becomes lamp Duration of the signal lamp in each color is marked, and is sent to server and becomes the renewal request of lamp time list, the change lamp time List update request carries when becoming lasting in each color of lamp time and the echo signal lamp of this time echo signal lamp It is long, and change lamp time list of the change lamp time list renewal request for indicating the server update echo signal lamp.
When server, which receives, becomes the renewal request of lamp time list, in order to avoid each AR equipment is becoming lamp to server During time list renewal request, change lamp time list of the server all to the echo signal lamp is updated, and server is receiving When updating request to the change lamp time list, it can first judge to become this echo signal that the renewal request of lamp time list carries Whether the change lamp time of lamp is time in the change lamp time list.If so, then without being carried out more to becoming lamp time list Newly, if it is not, then needing to be updated to becoming lamp time list.
Wherein, it is updated to becoming lamp time list, that is, updating this of request carrying according to the change lamp time list The echo signal lamp becomes lamp time and the duration of the echo signal lamp in each color, redefines the echo signal The change lamp time list of lamp, no longer elaborates herein.
In the embodiments of the present disclosure, when echo signal lamp is red light, determine the echo signal lamp after current time The last time is changed into the time of green light from red light, obtains the object time, and generates the first prompt message according to the object time, First prompt message is shown in the display interface of AR equipment.Due to echo signal lamp for it is current treat by crossing and with the AR The corresponding signal lamp of the location of equipment, that is, when the signal lamp at by crossing is red light, AR equipment can determine The change lamp time of the echo signal lamp, and the first prompt message determined according to the change lamp time is shown in AR display interfaces, To prompt the change lamp time of user's echo signal lamp, avoiding the need for user could be really by directly observing the echo signal lamp The change lamp time of the fixed echo signal lamp.
Fig. 3 A are a kind of block diagrams for device 300 prompted the signal lamp change lamp time that the embodiment of the present disclosure provides, Applied in augmented reality AR equipment.Referring to Fig. 3 A, which includes the first determining module 301 and the first display module 302.
First determining module 301, for when echo signal lamp is red light, determine the echo signal lamp current time it Afterwards the last time for being changed into green light from red light, obtain the object time, the echo signal lamp treat by crossing to be current and Signal lamp corresponding with the AR equipment present position;
First display module 302, for generating the first prompt message according to the object time, and in the display of the AR equipment First prompt message is shown in interface.
Alternatively, first display module 302, is specifically used for:
According to the object time and current time, determine the echo signal lamp after current time the last time by red light It is changed into the residual time length of green light;
The residual time length is determined as first prompt message.
Alternatively, first display module 302, is specifically used for:
The residual time length is shown in the display interface of the AR equipment in a manner of countdown.
Alternatively, referring to Fig. 3 B, which further includes 303 and second display module 304 of generation module:
Generation module 303, for when the residual time length is less than preset duration, generates the second prompt message, this second is carried Show that information is used to prompt user that the echo signal lamp will become lamp;
Second display module 304, for showing second prompt message in the display interface of the AR equipment.
Alternatively, first display module 302, is specifically used for:
The object time and current time are determined as first prompt message.
Alternatively, which further includes:
First receiving module, the change lamp time list of the echo signal for receiving server transmission, the change lamp time List includes the change lamp order and the duration of the echo signal lamp in each color of the echo signal lamp;
Correspondingly, first determining module 301, is specifically used for:
Determine the echo signal lamp the last time for being changed into red light before current time;
Become according to the change lamp time list of the echo signal lamp and the echo signal lamp are the last before current time For the time of red light, determine that echo signal lamp the last time after current time is changed into the time of green light from red light.
Alternatively, which further includes:
Second receiving module, the change lamp time list of the echo signal for receiving server transmission;
Wherein, which becomes the lamp corresponding time every time for recording the echo signal lamp, and during the change lamp Between list be that the server is determined according at least one data, change lamp time per data including the echo signal lamp and should Duration of the echo signal lamp in each color;
Correspondingly, first determining module 301, is specifically used for:
According to the change lamp time list of the echo signal lamp, determine that the echo signal lamp is the last after current time It is changed into the time of green light from red light.
Alternatively, which further includes:
Second determining module, after becoming lamp in the echo signal lamp, when determining this time change lamp of the echo signal lamp Between and the duration of the echo signal lamp in each color;
Sending module, becomes the renewal request of lamp time list, change lamp time list renewal please for being sent to the server Ask and carry this time the change lamp time of the echo signal lamp and the duration of the echo signal lamp in each color, and the change lamp Time list renewal request is used for the change lamp time list for indicating the server update echo signal lamp.
In the embodiments of the present disclosure, when echo signal lamp is red light, determine the echo signal lamp after current time The last time is changed into the time of green light from red light, obtains the object time, and generates the first prompt message according to the object time, First prompt message is shown in the display interface of AR equipment.Due to echo signal lamp for it is current treat by crossing and with the AR The corresponding signal lamp of the location of equipment, that is, when the signal lamp at by crossing is red light, AR equipment can determine The change lamp time of the echo signal lamp, and the first prompt message determined according to the change lamp time is shown in AR display interfaces, To prompt the change lamp time of user's echo signal lamp, avoiding the need for user could be really by directly observing the echo signal lamp The change lamp time of the fixed echo signal lamp.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram for device 400 prompted the signal lamp change lamp time that the embodiment of the present disclosure provides.Example Such as, device 400 can be AR equipment.
With reference to Fig. 4, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor component 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application program or method for being operated on device 400, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing power supply for device 400.
Multimedia component 408 is included in the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio component 410 further includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor component 414 can detect opening/closed mode of device 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor component 414 can be with 400 1 components of detection device 400 or device Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400 Temperature change.Sensor component 414 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-metioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of AR equipment During execution so that AR equipment is able to carry out the method prompted the change lamp time of signal lamp of above-described embodiment offer.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.

Claims (10)

  1. A kind of 1. method prompted the signal lamp change lamp time, applied in augmented reality AR equipment, it is characterised in that institute The method of stating includes:
    When echo signal lamp is red light, determine that echo signal lamp the last time after current time is changed into green from red light The time of lamp, obtain the object time, the echo signal lamp for it is current treat by crossing and with the AR equipment present position Corresponding signal lamp;
    First prompt message is generated according to the object time, and shows that described first carries in the display interface of the AR equipment Show information.
  2. 2. according to the method described in claim 1, it is characterized in that, described believe according to the first prompting of object time generation Breath, including:
    According to the object time and current time, determine the echo signal lamp after current time the last time by red light It is changed into the residual time length of green light;
    The residual time length is determined as first prompt message.
  3. 3. method as claimed in claim 2, it is characterised in that described that described is shown in the display interface of the AR equipment One prompt message, including:
    In a manner of countdown the residual time length is shown in the display interface of the AR equipment.
  4. 4. according to the method in claim 2 or 3, it is characterised in that described that the residual time length is determined as described first After prompt message, further include:
    When the residual time length is less than preset duration, the second prompt message is generated, second prompt message is used to prompt to use Echo signal lamp will become lamp described in family;
    Second prompt message is shown in the display interface of the AR equipment.
  5. 5. according to the method described in claim 1, it is characterized in that, described believe according to the first prompting of object time generation Breath, including:
    The object time and current time are determined as first prompt message.
  6. 6. according to the method described in claim 1, it is characterized in that, described determine the echo signal lamp after current time Before the last time is changed into the time of green light from red light, further include:
    The change lamp time list for the echo signal that server is sent is received, the change lamp time list is believed including the target Signal lamp becomes lamp order and duration of the echo signal lamp in each color;
    Correspondingly, described definite echo signal lamp the last time after current time is changed into the time of green light from red light, Including:
    Determine the echo signal lamp the last time for being changed into red light before current time;
    Become according to the change lamp time list of the echo signal lamp and the echo signal lamp are the last before current time For the time of red light, determine that echo signal lamp the last time after current time is changed into the time of green light from red light.
  7. 7. according to the method described in claim 1, it is characterized in that, described determine the echo signal lamp after current time Before the last time is changed into the time of green light from red light, further include:
    Receive the change lamp time list for the echo signal that server is sent;
    Wherein, the change lamp time list becomes lamp corresponding time, and the change lamp every time for recording the echo signal lamp Time list is that the server is determined according at least one data, when including the change lamp of the echo signal lamp per data Between and duration of the echo signal lamp in each color;
    Correspondingly, described definite echo signal lamp the last time after current time is changed into the time of green light from red light, Including:
    According to the change lamp time list of the echo signal lamp, determine that the echo signal lamp is the last after current time It is changed into the time of green light from red light.
  8. 8. the method according to the description of claim 7 is characterized in that the method further includes:
    After the echo signal lamp becomes lamp, this time the change lamp time of the echo signal lamp and the echo signal lamp are determined Duration in each color;
    The time list renewal of change lamp is sent to the server to ask, the change lamp time list renewal asks to carry described in this Duration of the change lamp time and the echo signal lamp of echo signal lamp in each color, and the change lamp time list Renewal request is used for the change lamp time list for indicating echo signal lamp described in server update.
  9. A kind of 9. device prompted the signal lamp change lamp time, applied in augmented reality AR equipment, it is characterised in that institute Stating device includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as the step of perform claim requires any one method described in 1-8.
  10. 10. a kind of computer-readable recording medium, instruction is stored with the computer-readable recording medium, it is characterised in that The step of any one method described in claim 1-8 is realized when described instruction is executed by processor.
CN201711235891.9A 2017-11-30 2017-11-30 Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp Pending CN107945552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711235891.9A CN107945552A (en) 2017-11-30 2017-11-30 Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711235891.9A CN107945552A (en) 2017-11-30 2017-11-30 Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp

Publications (1)

Publication Number Publication Date
CN107945552A true CN107945552A (en) 2018-04-20

Family

ID=61947945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711235891.9A Pending CN107945552A (en) 2017-11-30 2017-11-30 Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp

Country Status (1)

Country Link
CN (1) CN107945552A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472989A (en) * 2018-12-05 2019-03-15 斑马网络技术有限公司 Reminding method, device, equipment and the readable storage medium storing program for executing of traffic lights
CN111383471A (en) * 2018-12-27 2020-07-07 奥迪股份公司 Traffic light countdown acquisition method and device, computer equipment and storage medium
CN113129617A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Driving prompting method and device
CN114582146A (en) * 2022-03-28 2022-06-03 重庆长安汽车股份有限公司 Traffic light remaining duration intelligent reminding method and system, storage medium and automobile

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130076538A1 (en) * 2011-09-28 2013-03-28 Denso Corporation Driving assist apparatus and program for the same
CN103177256A (en) * 2013-04-02 2013-06-26 上海理工大学 Method for identifying display state of traffic signal lamp
CN105353869A (en) * 2015-10-22 2016-02-24 苏州威尔勒信息技术有限公司 Interactive experience driving method for virtual automobile
CN105632214A (en) * 2015-10-28 2016-06-01 东莞酷派软件技术有限公司 Traffic light state information acquisition method, cloud processing method and related equipment
CN106340195A (en) * 2016-09-12 2017-01-18 深圳市元征科技股份有限公司 Traffic light state acquisition method and vehicle-mounted intelligent equipment
CN106781582A (en) * 2016-12-26 2017-05-31 乐视汽车(北京)有限公司 Traffic lights auxiliary display method, device and car-mounted terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130076538A1 (en) * 2011-09-28 2013-03-28 Denso Corporation Driving assist apparatus and program for the same
CN103177256A (en) * 2013-04-02 2013-06-26 上海理工大学 Method for identifying display state of traffic signal lamp
CN105353869A (en) * 2015-10-22 2016-02-24 苏州威尔勒信息技术有限公司 Interactive experience driving method for virtual automobile
CN105632214A (en) * 2015-10-28 2016-06-01 东莞酷派软件技术有限公司 Traffic light state information acquisition method, cloud processing method and related equipment
CN106340195A (en) * 2016-09-12 2017-01-18 深圳市元征科技股份有限公司 Traffic light state acquisition method and vehicle-mounted intelligent equipment
CN106781582A (en) * 2016-12-26 2017-05-31 乐视汽车(北京)有限公司 Traffic lights auxiliary display method, device and car-mounted terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472989A (en) * 2018-12-05 2019-03-15 斑马网络技术有限公司 Reminding method, device, equipment and the readable storage medium storing program for executing of traffic lights
CN111383471A (en) * 2018-12-27 2020-07-07 奥迪股份公司 Traffic light countdown acquisition method and device, computer equipment and storage medium
CN113129617A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Driving prompting method and device
CN114582146A (en) * 2022-03-28 2022-06-03 重庆长安汽车股份有限公司 Traffic light remaining duration intelligent reminding method and system, storage medium and automobile

Similar Documents

Publication Publication Date Title
EP2993582B1 (en) Method, apparatus and device for upgrading an operating system of a terminal device
CN104484200B (en) The method and device upgraded to firmware
CN104318741B (en) Bluetooth equipment control method and device
US9769667B2 (en) Methods for controlling smart device
EP3176709A1 (en) Video categorization method and apparatus, computer program and recording medium
CN107945552A (en) Become method, apparatus and the storage medium that the lamp time is prompted to signal lamp
CN106598395A (en) Method and device for executing task
CN106454392A (en) Live broadcast processing method, device and terminal
CN105553963A (en) Control method and device of positioning services
CN107730847A (en) Sharing articles finding method and device
CN106790043A (en) The method and device of message is sent in live application
CN107491681B (en) Fingerprint information processing method and device
CN106157602A (en) The method and apparatus of calling vehicle
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
CN105302615A (en) Method and device for upgrading software
CN107544802A (en) device identification method and device
CN107330391A (en) Product information reminding method and device
CN108804244A (en) Data transmission method for uplink, device and storage medium
CN107105339A (en) A kind of methods, devices and systems for playing live video
CN107239351A (en) Method of attaching and device
CN104461358B (en) Light the method and device of screen
CN107463372A (en) The method for updating pages and device of a kind of data-driven
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN104063423B (en) A kind of method and device for determining position

Legal Events

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

Application publication date: 20180420