CN115240404A - Vibration encoding method, vibration processing method, apparatus, device, and medium - Google Patents

Vibration encoding method, vibration processing method, apparatus, device, and medium Download PDF

Info

Publication number
CN115240404A
CN115240404A CN202211138992.5A CN202211138992A CN115240404A CN 115240404 A CN115240404 A CN 115240404A CN 202211138992 A CN202211138992 A CN 202211138992A CN 115240404 A CN115240404 A CN 115240404A
Authority
CN
China
Prior art keywords
signal
target
traffic
vibration
state
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
CN202211138992.5A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202211138992.5A priority Critical patent/CN115240404A/en
Publication of CN115240404A publication Critical patent/CN115240404A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/005Traffic control systems for road vehicles including pedestrian guidance indicator
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/091Traffic information broadcasting
    • G08G1/092Coding or decoding of the information
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/095Traffic lights

Abstract

The embodiment of the application provides a vibration encoding method, a vibration processing method, a device, equipment and a medium, wherein the vibration encoding method comprises the following steps: acquiring a target signal state of a traffic indication signal of a target intersection; obtaining effective time length corresponding to the state of a target signal, and determining the traffic feasibility of passing through a target intersection when the effective time length reaches according to the effective time length; and carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches. By adopting the embodiment of the application, the signal state of the traffic indication signal can be reminded through vibration, and the traffic object can be helped to pass safely.

Description

Vibration encoding method, vibration processing method, apparatus, device, and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a vibration encoding method, a vibration processing method, a device, an apparatus, and a medium.
Background
The visually impaired person refers to a subject whose vision is impaired. Because the visually impaired people cannot perceive the signal state of the traffic indication signal (or called as traffic lights), the visually impaired people cannot judge whether the target intersection can safely pass through when passing through the target intersection.
At present, the prior art supports to add the function that sound reminded in the traffic people portable lighter to remind the visually impaired people about the signal state of traffic people portable lighter through sound. However, the prior art relies on relatively high costs of updating and installing or maintaining the basic device, and the volume of the sound is difficult to be controlled, and the volume is too large, which causes environmental noise, and the volume is small, which causes the visual impaired to be difficult to hear. Therefore, how to remind the visually impaired to communicate the signal state of the traffic light becomes a hot topic for research.
Disclosure of Invention
The embodiment of the application provides a vibration encoding method, a vibration processing method, a device, equipment and a medium, which can remind the signal state of a traffic indication signal through vibration and help traffic objects to pass safely.
In one aspect, an embodiment of the present application provides a vibration encoding method, where the method includes:
acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
obtaining effective time length corresponding to the state of the target signal, and determining the traffic feasibility of the target intersection when the effective time length arrives according to the effective time length, wherein the effective time length is used for indicating: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
performing vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results.
In the embodiment of the application, the automatic acquisition of the target signal state output by the traffic indication signal and the effective duration corresponding to the target signal state are supported, wherein the effective duration indicates the residual duration of the reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective time length, carrying out vibration coding processing on the target signal state under the effective time length so as to be convenient for vibrating and reminding the passing advice about the target intersection according to the vibration coding result. Through the scheme, the traffic object (such as visually impaired people) can be reminded of safely passing through the target intersection through vibration according to the reference traffic state and the effective duration indicated by the target signal state, and the interference on other traffic objects can be avoided by utilizing the characteristic of vibration privacy while the traffic object is helped to safely pass through.
In another aspect, an embodiment of the present application provides a vibration encoding apparatus, including:
the acquisition unit is used for acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
the obtaining unit is further configured to obtain an effective duration corresponding to the state of the target signal, and determine, according to the effective duration, the traffic feasibility of passing through the target intersection when the effective duration arrives, where the effective duration is used to indicate: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
the processing unit is used for carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results.
In one implementation, the processing unit is configured to, when performing the vibration coding processing on the target signal state in the valid duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the valid duration arrives, specifically:
generating a vibration reminding signal corresponding to the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches;
obtaining a vibration coding rule, wherein the vibration coding rule comprises at least one vibration parameter corresponding to a vibration reminding signal, and the vibration parameter comprises at least one of the following: vibration strength, vibration frequency and vibration duration;
determining a target vibration parameter of a vibration reminding signal corresponding to a target signal state under the effective duration from a vibration coding rule;
and carrying out vibration coding processing on the target signal state under the effective duration based on the target vibration parameters.
In one implementation, the target signal state belongs to a first signal state, and the total duration of the traffic indication signal for continuously displaying the first signal state is less than or equal to a target duration threshold; the first signal state includes: a signal-in-line state, a signal-out-of-line state and a transition signal state;
the vibration reminding signal corresponding to the first signal state comprises: a first reminder signal and a second reminder signal; wherein, the first reminder signal is used for indicating: a target traffic state indicated by the first signal state for the validity period; the second reminder signal is used for indicating that: the effective duration corresponding to the first signal state.
In one implementation, the target signal state includes a quasi-line signal state, and the generation manner of the first alert signal includes:
comparing the effective duration corresponding to the quasi-line signal state with a first time duration threshold; the first duration threshold is used to reflect: the time required for the traffic object to pass through the target intersection; the first time length threshold value is determined according to the distance of the target intersection and the traveling speed of the traffic object;
if the effective duration corresponding to the quasi-line signal state is smaller than a first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object does not allow to pass through the target intersection;
or if the effective duration corresponding to the quasi-line signal state is greater than or equal to the first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object allows passing through the target intersection.
In one implementation, the target signal state includes a disable signal state, and the generation manner of the first alert signal includes:
comparing the effective duration corresponding to the forbidden signal state with a second duration threshold; the second duration threshold is used to reflect: when the traffic indication signal reaches the target indicated by the second duration threshold value for a long time, the state of the forbidding signal is switched to the state of the permit signal;
if the effective duration corresponding to the forbidden signal state is greater than a second duration threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object does not allow to pass through the target intersection;
or if the effective duration corresponding to the forbidden signal state is less than or equal to the second duration threshold, generating a first reminding signal, wherein the target passing state indicated by the first reminding signal comprises: the traffic object is ready to pass through the target intersection.
In one implementation, the target signal state includes a transition signal state, and the target traffic state indicated by the first alert signal of the transition signal state includes: the traffic object is not allowed to pass through the target intersection.
In one implementation, the target signal state belongs to a second signal state, and the total duration of the traffic indication signal for continuously displaying the second signal state is greater than the target duration threshold;
the target signal state comprises a slow signal state, and the vibration reminding signal of the slow signal state is used for reminding: the traffic object allows passing through the target intersection.
In one implementation, the processing unit is further configured to:
acquiring a live-action image of a target intersection;
if the real-scene image is identified to comprise the pedestrian crossing, detecting whether a traffic indication signal exists at the target crossing;
and if the traffic indication signal exists, triggering and executing the step of acquiring the target signal state of the traffic indication signal of the target intersection.
In one implementation, the processing unit is further configured to:
if the real-scene image is identified not to include the human-shaped crosswalk, generating a vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection, wherein the vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection is used for indicating: the crosswalk does not exist at the target intersection, and the target intersection is not allowed to pass;
and carrying out vibration coding processing on the vibration reminding signal when no pedestrian crosswalk exists at the target intersection.
In one implementation, the processing unit is configured to, when detecting whether a traffic indication signal exists at the crosswalk, specifically:
carrying out image recognition processing on a traffic indication signal on a live-action image of a target intersection to obtain an image recognition result;
if the image recognition result indicates that the traffic indication signal exists at the target intersection, the processing unit is specifically configured to, when acquiring the target signal state of the traffic indication signal at the target intersection:
and acquiring the target signal state of the traffic indication signal of the target intersection from the image recognition result.
In one implementation, if communication connection is established between the terminal device and the traffic indication signal, determining that the traffic indication signal exists at the target intersection;
when the processing unit is used for acquiring a target signal state of a traffic indication signal of a target intersection, the processing unit is specifically used for:
and receiving the target signal state of the traffic indication signal of the target intersection sent by the traffic indication signal.
In one implementation mode, the method is applied to a target application program operated by the terminal equipment; a processing unit further to:
and sending the vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
In the embodiment of the application, the automatic acquisition of the target signal state output by the traffic indication signal and the effective time length corresponding to the target signal state are supported, wherein the effective time length indicates the remaining time length of the reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective time length, carrying out vibration coding processing on the target signal state under the effective time length so as to be convenient for vibrating and reminding the passing advice about the target intersection according to the vibration coding result. Through the scheme, the traffic object (such as visually impaired people) can be reminded of safely passing through the target intersection through vibration according to the reference traffic state and the effective duration indicated by the target signal state, and the interference on other traffic objects can be avoided by utilizing the characteristic of vibration privacy while the traffic object is helped to safely pass through.
In another aspect, an embodiment of the present application provides a method for processing vibration indicating traffic signals, where the method includes:
acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
obtaining effective time length corresponding to the state of the target signal, and determining the traffic feasibility of the target intersection when the effective time length arrives according to the effective time length, wherein the effective time length is used for indicating: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
performing vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results;
and sending the vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
In the embodiment of the application, the vibration coding processing of the target signal state under the effective duration is supported, and the vibration coding result is sent to the terminal equipment, so that the terminal equipment can drive the vibration device to vibrate, and the effect of reminding the traffic indication signal in a vibration mode is achieved; the traffic object safety traffic is helped, and meanwhile, the characteristic of vibration privacy is utilized, so that interference on other traffic objects is avoided.
In another aspect, an embodiment of the present application provides a vibration processing apparatus for indicating traffic signals, where the method includes:
the system comprises an acquisition unit, a traffic signal processing unit and a traffic signal processing unit, wherein the acquisition unit is used for acquiring a target signal state of a traffic indication signal of a target intersection, the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
the obtaining unit is further configured to obtain an effective duration corresponding to the state of the target signal, and determine, according to the effective duration, the traffic feasibility of passing through the target intersection when the effective duration arrives, where the effective duration is used to indicate: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
the processing unit is used for carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results;
and the processing unit is further used for sending the vibration coding result to the terminal equipment so as to enable the terminal equipment to drive a vibration device in the terminal equipment to vibrate according to the vibration coding result.
In the embodiment of the application, the vibration coding processing of the target signal state under the effective duration is supported, and the vibration coding result is sent to the terminal equipment, so that the terminal equipment can drive the vibration device to vibrate, and the effect of reminding the traffic indication signal in a vibration mode is achieved; the traffic object safety traffic is facilitated, and meanwhile, interference on other traffic objects is avoided by utilizing the characteristic of vibration privacy.
In another aspect, an embodiment of the present application provides a computer device, including:
a processor adapted to execute a computer program;
a computer readable storage medium, in which a computer program is stored which, when being executed by a processor, implements a vibration encoding method or a vibration processing method of an indication traffic signal as described above.
In another aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, the computer program being adapted to be loaded by a processor and to execute a vibration encoding method or a vibration processing method for indicating traffic signals as described above.
In another aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the vibration encoding method or vibration processing indicative of traffic signals described above.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a schematic diagram of an architecture of a vibration system provided in an exemplary embodiment of the present application;
FIG. 1b is a schematic diagram of an interaction flow of a vibration encoding scheme provided by an exemplary embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of a vibration encoding method provided by an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a target intersection provided by an exemplary embodiment of the present application;
FIG. 4 is a schematic illustration of a traffic indicating signal provided by an exemplary embodiment of the present application;
FIG. 5 is a flow chart of vibration encoding provided by an exemplary embodiment of the present application;
FIG. 6a is a schematic diagram illustrating a first reminder corresponding to a signal status of a go signal according to an exemplary embodiment of the present application;
fig. 6b is a schematic diagram illustrating a generation of a first reminder corresponding to a disable signal state according to an exemplary embodiment of the present application;
FIG. 7a is a schematic diagram illustrating a process for obtaining a signal status of a traffic signal according to an exemplary embodiment of the present application;
FIG. 7b is a schematic diagram of a process for obtaining a signal state according to an exemplary embodiment of the present application;
FIG. 8 is a schematic flow chart diagram of another vibration encoding method provided by an exemplary embodiment of the present application;
FIG. 9 is a schematic illustration of a live action navigation provided by an exemplary embodiment of the present application;
FIG. 10 is a schematic illustration of an interaction flow for obtaining information directly from traffic indicator signals via a communication link according to an exemplary embodiment of the present application;
FIG. 11a is a schematic flow chart diagram of a vibration processing method provided in an exemplary embodiment of the present application;
FIG. 11b is a schematic illustration of a scenario in which a vibration indicating traffic signal is provided in an exemplary embodiment of the present application;
FIG. 12 is a schematic diagram of a vibration encoding device according to an exemplary embodiment of the present application;
FIG. 13 is a schematic diagram of a vibration processing apparatus according to an exemplary embodiment of the present application;
fig. 14 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical terms and concepts related to the embodiments of the present application will be briefly described below.
(1) The vibration function is a function provided by the terminal equipment for promoting the vibration device in the terminal equipment to vibrate; the vibration means in the terminal device may include: but not limited to, a vibration motor, a vibration sensor, or a motor. Specifically, a vibration device and an eccentric wheel are arranged in the terminal equipment, when a service scene needing vibration exists or a vibration object needing vibration exists in a certain service scene, the terminal equipment can start a motor to drive the eccentric wheel to rotate, and then a vibration effect is generated in a target service scene.
The service scene can be generated by a system of the terminal device; for example: the service scene includes a scene of alarm clock vibration in the terminal device, and the following are further included: the service scene comprises a scene that the terminal device outputs an alarm event, and the like. Alternatively, the service scene may be generated by a target application running in the terminal device (the target application refers to any application running in the terminal device, such as a map application); for example: the target application comprises a map application program running in the terminal device, and the game application can provide a plurality of service scenes, for example, the service scenes can comprise scenes of live-action navigation provided by the map application program, and in the navigation scenes, the vibration function of the terminal device can be called to realize the function of vibrating and reminding the navigation route.
(2) The traffic indication signal, which may be referred to as a traffic pedestrian light, crosswalk light, or traffic light, is mainly used to instruct traffic objects (such as objects that need to pass through a crosswalk) to pass through facilities of a target intersection (such as any intersection, for example, an intersection where a crosswalk exists).
In practical applications, the traffic indication signal supports outputting different signal states to indicate traffic objects passing through a target intersection, including but not limited to: a no-go signal state, a transition signal state, and a slow-go signal state light. Traffic indication signals support signal lights that output different colors to represent different signal states. For example: a red signal lamp (may be simply referred to as a red lamp) can represent a no-go signal state, and at the moment, a traffic object is not allowed to pass through a target intersection; a green signal light (may be simply referred to as a green light) may represent a traffic signal state, at which time a traffic object allows passing through a target intersection; a yellow signal light (which may be referred to as a yellow light for short) may represent a transitional signal state when a traffic object is not allowed to pass through the target intersection, and may prompt, via the yellow light: the signal state of the traffic indication signal is to be changed from a forbidden signal state to a enabled signal state, or is to be changed from the enabled signal state to the forbidden signal state; a long flashing yellow signal light (which may be referred to as a long flashing yellow light for short) may represent a slow-moving signal state when traffic objects are allowed to pass through a target intersection, but need to pay attention to vehicles coming and going and be passing cautiously.
Based on the above description of the vibration function and the traffic indication signal, the embodiments of the present application provide a vibration scheme, which mainly includes a vibration encoding scheme and a vibration processing scheme. The vibration scheme supports automatic identification of a target signal state (or called a traffic light state) output by a traffic indication signal of a target intersection (such as any intersection), and the vibration function provided by the terminal equipment is used for vibrating and reminding a current target signal state of a traffic object, so that the traffic object, particularly a visually impaired person, can safely pass through the target intersection.
The general principles of vibration encoding schemes may include: the method comprises the steps of supporting automatic acquisition of a target signal state output by a traffic indication signal and effective duration corresponding to the target signal state, wherein the effective duration indicates the residual duration of a reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective duration, carrying out vibration coding processing on the target signal state under the effective duration to obtain a vibration coding result. According to the scheme, the method and the device support automatic identification of the target signal state output by the traffic indication signal, and carry out vibration coding on the target signal state under the effective time length according to the target signal state and the effective time length corresponding to the target signal state, so that the passing suggestion about the target intersection is reminded in a vibration mode according to the vibration coding result; when helping the traffic object safe current, utilize the characteristic of vibration privacy, can not form the interference to other traffic objects, also can not receive the influence of ambient noise. In addition, the vibration reminding mode does not change the original navigation habit of the traffic object, does not depend on the updating of infrastructure, and can be rapidly applied on a large scale.
The general principle of vibration processing schemes for indicating traffic signals includes: the method comprises the steps of supporting automatic acquisition of a target signal state output by a traffic indication signal and effective duration corresponding to the target signal state, wherein the effective duration indicates the remaining duration of a reference traffic state for keeping the target signal state indication; based on the target signal state and the effective duration, carrying out vibration coding processing on the target signal state under the effective duration to obtain a vibration coding result; and then the result of the vibration coding is sent to the terminal equipment, so that the terminal equipment drives a vibration device (such as the motor mentioned above) to vibrate based on the result of the vibration coding, and the passing suggestion about the target intersection is reminded through the vibration. The traffic object safety traffic is helped, and meanwhile, the characteristic of vibration privacy is utilized, so that interference on other traffic objects is avoided.
In order to better understand the vibration scheme proposed by the embodiments of the present application, the vibration scheme related to the embodiments of the present application will be briefly described below with reference to the vibration system provided in fig. 1 a; as shown in fig. 1a, the vibration system includes a terminal device 101 and a background server 102; the embodiments of the present application do not limit the number and types of the terminal devices and the background servers included in the vibration system, and are described herein.
Among them, the terminal device 101 may include but is not limited to: the embodiments of the present disclosure do not limit the types of terminal Devices, and are described herein, in which the terminal Devices include a smart phone (e.g., a smart phone with an Android System or a smart phone with an Internet Operating System (IOS)), a tablet computer, a portable personal computer, a Mobile Internet device (MID for short), a vehicle-mounted device, and a head-mounted device. At least one vibration device is deployed in the terminal device 101, and when the terminal device 101 receives a result of vibration coding about a service scene, the terminal device 101 can drive the vibration device to vibrate according to the result of vibration coding, so as to achieve the purpose of vibration reminding.
The background server 102 is a server of the terminal device 101, and is configured to interact with the terminal device 101 to provide computing and application service support for the terminal device 101. The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. The terminal device and the background server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
As described above, if the terminal device provided in the embodiment of the present application further deploys a target application, and if the target application is a map application, the vibration encoding scheme according to the embodiment of the present application may be provided by a target application (such as a client, a Web (World Wide Web) application, an applet, or the like) deployed in the terminal device, and at this time, the background server may refer to a server of the target application, and is used for interacting with the terminal device to provide computing and application service support for the target application deployed in the terminal device. Of course, the vibration encoding scheme provided by the embodiment of the present application may also be provided by a plug-in, which is a plug-in tool as a terminal device; that is to say, the vibration encoding scheme according to the embodiment of the present application may be provided by the terminal device, where the background server is a server of the terminal device. For convenience of explanation, the following describes an interactive overall flow shown in fig. 1b, and a vibration coding scheme is applied to a target application program run by a terminal device, that is, the vibration coding processing scheme is executed by the target application program and a background server together, and the target application program is a map application program, which supports live-action navigation as an example, and a vibration coding scenario related to an embodiment of the present application is briefly introduced.
In a specific implementation, in a scene in which the map application opens the live-action navigation, the map application may invoke a camera deployed in the terminal device to acquire a real live-action image in real time, so as to acquire a target signal state output by the traffic indication signal and effective duration corresponding to the target signal state (i.e., remaining duration of the target signal state in the working state) through the live-action image. Then, the map application program can send the target signal state and the effective duration to the background server, so that the background server determines a vibration reminding signal based on the target signal state and the effective duration, and performs vibration coding processing based on the vibration reminding signal to obtain a vibration coding result. The background server can return the result of the vibration coding to the map application program so that the map application program can issue the result of the vibration coding to the terminal equipment to enable the terminal equipment to drive a vibration device in the terminal equipment to vibrate according to the result of the vibration coding, and specifically, the background server supports the map application program to call a vibration interface of the terminal equipment according to the vibration coding so as to trigger a function of driving the vibration device to vibrate according to the result of the vibration coding to remind a traffic object, and the traffic object can be reminded through vibration of the result of the vibration coding to pass through a target intersection according to a target passing state.
It is to be understood that the system architecture diagram described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. For example, the above-described vibration encoding process (e.g., vibration encoding the target signal state) may also be performed by a map application, so that the vibration system according to the embodiment of the present application may include only the terminal device, and specifically, the terminal device and the target application run by the terminal device. The number and the types of the devices included in the vibration system are not limited in the embodiments of the present application.
Based on the vibration encoding scheme described above, the embodiments of the present application propose a more detailed vibration encoding method, and the following describes the vibration encoding method proposed by the embodiments of the present application in detail with reference to the accompanying drawings. Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a vibration encoding method according to an exemplary embodiment of the present application; the vibration encoding method may be executed by the terminal device and the backend server shown in fig. 1a, and the method may include steps S201 to S203:
s201: and acquiring the target signal state of the traffic indication signal of the target intersection.
The target intersection can be any road provided with a pedestrian crossing; if any one road is an intersection (shown as a first figure in fig. 3) or a straight road (shown as a second figure in fig. 3), a crosswalk is divided on the road, so that traffic objects can safely pass through a target intersection from the crosswalk.
There is also a traffic indicating signal at the target intersection, which, as described above, may refer to a facility for directing traffic objects through the target intersection; the traffic indicating signal may include a plurality of signal states, and one signal state may be used to indicate one reference traffic state when passing through the target intersection. That is, the traffic indication signal instructs a traffic object (such as a visually impaired person) to pass through the target intersection by displaying or outputting a signal state. In a specific implementation, when the terminal device has a need to judge the trafficability of the target intersection, the terminal device may perform a step of acquiring a target signal state of a traffic indication signal of the target intersection; the target signal state refers to: and when the operation of acquiring the signal state is executed, the current displayed or output signal state of the traffic indication signal.
The embodiment of the application supports the classification of a plurality of signal states contained in the traffic indication signal into: a first signal state (e.g., normal traffic lights) and a second signal state (e.g., long flashing yellow lights). Wherein:
(1) the total duration of the traffic indication signal for continuously displaying the first signal state is less than or equal to a target duration threshold; in other words, the duration of the first signal state output by the traffic indicator is less than or equal to the target duration threshold, and if the target duration threshold can be a preset value of 100 seconds, the traffic indicator switches the signal state from the first signal state being displayed to the first signal state being continuously displayed for 100 seconds. Wherein the first signal state may include: a signal-on-signal state, a signal-off-signal state, and a signal-on-transition state.
When the signal state of the traffic indication signal output is the traffic signal state, the traffic signal state is used for indicating that the reference traffic state when passing through the target intersection is as follows: the passing through of the target intersection is allowed, i.e., the traffic object is allowed to pass through the target intersection during the state of the traffic indication signal output turn-around signal. When the signal state output by the traffic indication signal is a forbidden signal state, the forbidden signal state is used for indicating that the reference traffic state when passing through the target intersection is as follows: the passing (or passing) of the target intersection is not allowed, that is, the traffic object is not allowed to pass through the target intersection in the process of the traffic indication signal output no-pass signal state. When the signal state of the traffic indication signal output is the transition signal state, the transition signal state is used for indicating that the reference traffic state when passing through the target intersection is as follows: the traffic indication signal output unit is configured to output a traffic indication signal, and the traffic indication signal output unit is configured to output a traffic indication signal, which is output by the traffic indication signal output unit, to the target intersection.
(2) The total duration of the traffic indication signal for continuously displaying the second signal state is greater than the target duration threshold; in other words, the duration of the second signal state output by the traffic indicator is longer than the target duration threshold, and if the target duration threshold is 100 seconds, the traffic indicator may continuously display the second signal state, and the duration of the second signal state may be longer than the target duration threshold by 100 seconds. Wherein the second signal state may comprise a slow signal state; when the signal state of the traffic indication signal output is a slow signal state, the slow signal state is used for indicating that the reference traffic state when passing through the target intersection is as follows: traffic objects are allowed to pass through (or pass through) the target intersection, but the traffic objects (such as vehicles) at the intersection need to be paid attention to the driving conditions of other traffic objects (such as vehicles) at the intersection all the time, and the target intersection is carefully passed.
It should be noted that the traffic indication signal includes signal states, which may include all or part of the four signal states given above. Optionally, the traffic indication signal includes signal states as follows: a signal enabled state and a signal disabled state, as shown in the first drawing of fig. 4, where the traffic indication signal may include two signal lights, one signal light for indicating the signal enabled state and one signal light for indicating the signal disabled state; when any signal lamp is in a working state, the traffic object can pass through the target intersection according to the reference passing state indicated by the signal state represented by the signal lamp, and if the signal lamp output by the traffic indication signal is a red lamp, the reference passing state indicated by the forbidden signal state represented by the red lamp comprises the following steps: the traffic object is prohibited to pass through the target intersection. Optionally, the traffic indication signal includes signal states of: a signal-in-signal state, a transition signal state and a signal-out-of-line state, as shown in the second drawing of fig. 4, in this case, the traffic indication signal may include three signal lights, one signal light being used for representing the signal-in-signal state, one signal light being used for representing the signal-out-of-line state, and the other signal light being used for representing the transition signal state; when any signal lamp is in a working state, the traffic object can pass through the target intersection according to the signal state corresponding to the signal lamp, and if the signal lamp output by the traffic indication signal is a green lamp, the traffic object allows the target intersection to pass through. Optionally, the traffic indication signal includes signal states as follows: a crawl signal state, as shown in the third drawing of FIG. 4, when the traffic indication signal may include at least one signal light; when the traffic indicating signal outputs a long flashing yellow light, the traffic object can notice vehicles coming and going and can carefully pass through the crosswalk.
S202: and acquiring effective time length corresponding to the state of the target signal, and determining the traffic feasibility of passing through the target intersection when the effective time length is reached according to the effective time length.
In a specific implementation, when the target signal state of the traffic indication signal of the target intersection is obtained based on step S201, the valid duration corresponding to the target signal state may be obtained together. Alternatively, the effective duration may be displayed directly in the traffic indication signal; for example: when the target signal state is acquired, the effective time length displayed in the traffic indication signal is 10 seconds, which means that the traffic indication signal can continuously display the residual time length of the target signal state as 10 seconds, that is, the residual time length of the reference passing state for keeping the target signal state is 10 seconds.
Wherein (1) the effective duration of the target signal state may be used to indicate: maintaining a remaining duration of the reference traffic state indicated by the target signal state; that is, the effective duration of the target signal state may include: the traffic indicating signal continues to display the remaining duration of the target signal state. (2) The feasibility of passing through the target intersection when the effective duration arrives may refer to: and the traffic feasibility of the traffic object passing through the target intersection is realized before the effective time length reaches zero, namely, before the residual time length of the reference traffic state of the target signal state is changed from the current time to zero. For example, assuming that the target signal state is a quasi-traveling signal state and the effective time duration corresponding to the quasi-traveling signal state is 6 seconds, it is determined that the signal light currently output in the traffic indication signal is a green light, and the remaining time duration for the traffic indication signal to continuously display the green light is 6 seconds; if the traffic object can pass through the target intersection within the remaining time length of 6 seconds, determining that the traffic feasibility of passing through the target intersection when the effective time length reaches is as follows: the target intersection can be passed; on the contrary, if the traffic object cannot pass through the target intersection within the remaining time length of 6 seconds (for example, when the traffic object walks to the midway of the target intersection, the traffic indication signal is switched from the enabled signal state to the disabled signal state), it is determined that the traffic feasibility of passing through the target intersection when the effective time length reaches is as follows: the target intersection can not be passed.
S203: and carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches.
As can be seen from the foregoing description, the terminal device provided in the embodiment of the present application may be deployed with a target application, and then after the target application acquires the target signal state of the traffic indication signal and the effective duration corresponding to the target signal state, the reference traffic state indicated by the target signal state may be determined, and the traffic feasibility of passing through the target intersection when the effective duration reaches is determined. Then, the target application program can perform vibration coding processing on the target signal state under the effective duration based on the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches, so as to obtain a vibration coding result. Specifically, the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches are sent to the background server by the target application program; and the background server carries out vibration coding processing on the target signal state under the effective duration to obtain a vibration coding result, and returns the vibration coding result to the target application program.
In the above interaction process, the target application performs the vibration encoding process on the target signal state under the valid duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the valid duration arrives, as shown in fig. 5, including but not limited to steps s11-s13:
and s11, generating a vibration reminding signal corresponding to the target signal state in the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches.
As described above, in one aspect, the reference traffic state indicated by the target signal state is different according to the target signal state displayed by the traffic indication signal. For example, the target signal state is a disable signal state, and the reference pass state indicated by the disable signal state includes: disallow passage through the target intersection; as another example, if the target signal state is a quasi-row signal state, then the reference pass state indicated by the quasi-row signal state includes: allowing passage through the target intersection. On the other hand, the feasibility of passing through the target intersection when the effective duration reaches can be simply understood as follows: the likelihood that a traffic object can pass through a target intersection before the effective duration reaches zero; if the effective time length is 5 seconds, and the time length required by the traffic object to pass through the target intersection is 8 seconds, determining that the traffic feasibility of the traffic object passing through the target intersection when the effective time length is reached is as follows: it is not accessible.
Based on the above, the embodiment of the application supports the generation of the vibration reminding signal corresponding to the target signal state under the effective duration by combining the reference traffic state indicated by the target signal state and the traffic feasibility of the target intersection; the vibratory alert signal may be used to indicate: a target traffic state indicated by the target signal state at the active time period. The method for determining the final vibration reminding signal about the target intersection by combining the effective duration of the target signal state can improve the accuracy of the traffic advice to a certain extent, i.e. provide better traffic advice for the traffic object, thereby improving the traffic safety of the traffic object. For example: the target signal state belongs to a second signal state, if the target signal state comprises a slow signal state, the slow signal state is continuously displayed in the traffic indication signal, so that the vibration reminding signal of the slow signal state can be used for reminding: the traffic object allows the target intersection to be passed through, in particular allows the target intersection to be passed through cautiously, i.e. the target passing state indicated by the vibration reminding signal comprises that the target intersection is not allowed to be passed through. The following steps are repeated: the target signal state comprises a traffic signal state (namely, a green light), the effective time duration corresponding to the traffic signal state is 5 seconds, and if the traffic feasibility of a traffic object passing through the target intersection is not passable during the period of changing 5 seconds into 0 second, even if the reference traffic state corresponding to the traffic signal state is a permission traffic state, the target traffic state indicated by the target signal state in the effective time duration is not passable under the condition that the effective time duration is 5 seconds, and the vibration reminding signal corresponding to the target signal state is used for indicating: in the case that the effective time length is 5 seconds, the target traffic state indicated by the quasi-traffic signal state is not traffic, that is, the target traffic state indicated by the vibration reminding signal comprises a traffic-disallowed target intersection.
Considering that the display time of the first signal state is limited, if the green light is displayed for 20 seconds, the yellow light needs to be switched to the yellow light, the yellow light is switched to the red light after the yellow light is displayed for 3 seconds, the red light is switched to the yellow light after the red light is displayed for 20 seconds, the yellow light is switched to the green light after the yellow light is displayed for 3 seconds, and the green light and the cycle display are performed sequentially; therefore, under the condition that the target signal state belongs to the first signal state, namely the continuous display duration of the target signal state is smaller than the target duration threshold, the embodiment of the application also supports the vibration encoding of the effective duration corresponding to the target signal state; the method and the device have the advantages that the remaining time for keeping the state of the target signal is convenient to remind through the vibration of the terminal device, traffic objects, particularly visually impaired people, can better master the display condition of the traffic indication signal, and accordingly the target intersection can be safely passed.
In this implementation, the generated vibration alert signal of the first signal state may include: a first alert signal and a second alert signal. Wherein: (1) the second alert signal may be used to indicate: the effective duration corresponding to the first signal state, that is, the second vibration reminding signal is used for informing the traffic object, and the remaining duration (that is, the effective duration) of the first signal state can be continuously displayed. (2) The first alert signal may be used to indicate: a target traffic state indicated by the first signal state for the validity period; that is, in the case where the first signal state has an effective duration, the traffic object passes through the target passage state of the target intersection; for example, in the case that the first signal state is a passing signal state, the effective time duration is 5 seconds, and the time duration required for the traffic object to pass through the target intersection is 8 seconds, even if the passing signal state indicates that the reference passing state when passing through the target intersection is a passage permission state, when the effective time duration corresponding to the passing signal state is 5 seconds, the target passing state corresponding to the passing signal state in the effective time duration is a passage non-permission state; therefore, the objective reference traffic state corresponding to the standard traffic signal state and the traffic feasibility of passing through the target intersection when the standard traffic signal state is reached effectively can be combined, more scientific and reasonable traffic suggestions are provided for the traffic objects, and the safety of the traffic objects passing through the target intersection is improved.
The vibration-coded content simultaneously comprises: the target traffic state indicated by the first signal state under the effective duration, and the vibration encoding mode of the effective duration; the traffic object can be reminded through vibration, whether the target intersection can pass or not can be reminded through vibration, the residual time of the target signal state continuous display is prolonged, the traffic object can be favorably mastered of the display condition of the traffic indication signal, the accuracy of the passing advice can be improved to a certain extent, and the passing advice is provided for the traffic object, so that the passing safety of the traffic object is improved.
The following introduces the generation modes of the first reminding signal corresponding to the target signal state when the target signal state belongs to different first signal states; as previously described, the first signal state may include: a signal-ready state, a signal-disabled state, and a signal-transition state.
1) The target signal state includes a passing signal state, that is, a traffic signal shows a green light, and the passing signal state is used to indicate that the reference passing state is a passing permission state when passing through the target intersection. In this implementation, the process of generating the first alert signal corresponding to the quasi-row signal state may refer to fig. 6a, and as shown in fig. 6a, specific embodiments of the process of generating the first alert signal may include, but are not limited to:
firstly, comparing the effective duration corresponding to the state of the quasi-line signal with a first time threshold, wherein the first time threshold is used for reflecting: the first time length threshold is specifically determined according to the distance (e.g., distance 301 shown in fig. 3) of the target intersection and the traveling speed of the traffic object.
The distance of the target intersection can be determined by the scaling between the virtual map and the real map provided by the target application program, for example, in the virtual map of the target intersection provided by the target application program, the distance of the target intersection is 10 cm, and the scaling between the virtual map and the real map is 1:100, determining that the distance of a target intersection in the real map is 10 meters; or, the distance of the target intersection may also be acquired based on an auxiliary technology such as Time of flight (TOF), so-called TOF technology belongs to a two-way ranging technology, and mainly measures the distance between two positions by using the Time of flight of a signal back and forth between a transmitting position and a reflecting position; it is understood that the determination of the distance of the target intersection is not limited to the two methods given above, and is described herein.
The travel speed (e.g., average speed) of the traffic object may be calculated by the travel distance of the traffic object and the elapsed time in the historical time period; the historical time period herein may refer to: in a target time period before the time when the travel speed of the traffic object needs to be acquired, if the time when the travel speed of the traffic object needs to be acquired is 12:00, and the target time period is 2 hours, then the historical time period may refer to 10:00 to 12: time period between 00, i.e. acquisition 10:00-12: the travel distance and the travel time of the traffic object within the time point 00 are calculated (e.g., averaged) based on the travel distance and the travel time, so as to obtain the travel speed (or the average travel speed) of the traffic object.
Then, if the effective duration corresponding to the state of the go-ahead signal is less than a first time threshold, a first reminding signal is generated, and at this time, the target traffic state indicated by the first reminding signal includes: the traffic object is not allowed to pass through the target intersection. In other words, if the remaining time length of the traffic indication signal for continuing to keep the output traffic signal state is less than the first time length threshold, it is determined that the traffic object cannot pass through the target intersection within the effective time length, and if the traffic object travels to the target intersection halfway, the traffic indication signal may be switched from the traffic indication signal state to the transition signal state or the no-travel signal state, so that the target traffic state indicated by the first warning signal generated at this time is used for warning that the traffic object does not pass through the target intersection.
On the contrary, if the effective duration corresponding to the quasi-going signal state is greater than or equal to the first duration threshold, a first reminding signal is generated, and at this time, the target passing state indicated by the first reminding signal includes: the traffic object allows passing through the target intersection. In other words, if the remaining time length of the traffic indication signal for continuously keeping the state of outputting the traffic signal is greater than or equal to the first time length threshold, it is determined that the traffic object can pass through the target intersection within the effective time length, and the target traffic state indicated by the first reminding signal generated at the moment is used for reminding that the traffic object does not pass through the target intersection.
2) The target signal state comprises a no-go signal state, namely, a signal light displayed by the traffic indicating signal is a red light, and the no-go signal state is used for indicating that the reference traffic state is not allowed to pass when the traffic indicating signal passes through the target intersection. In this implementation, the generation process of the first reminder corresponding to the disable signal state can be referred to in fig. 6b, and as shown in fig. 6b, specific embodiments of the generation process of the first reminder may include but are not limited to:
firstly, comparing the effective duration corresponding to the forbidden signal state with a second duration threshold, wherein the second duration threshold is used for reflecting: when the traffic indication signal reaches the target time length indicated by the second time length threshold value, the forbidden signal state is switched to the quasi signal state; in other words, the target time length indicated by the second time length threshold value can be used for informing the traffic object, the signal state output by the traffic indication signal is to be switched from the no-entry signal state to the ready signal state, and the traffic object can be ready to pass through the target intersection. For example, the target time length indicated by the second time length threshold is 5 seconds, which means that the traffic indication signal is switched from the no-entry signal state to the standard signal state at the time when the 5 seconds change to 0 second, so that the traffic object can pass through the target intersection.
Then, if the effective duration corresponding to the forbidden signal state is greater than a second duration threshold, a first reminding signal is generated, and at this time, the target passing state indicated by the first reminding signal includes: the traffic object is not allowed to pass through the target intersection. That is to say, when the effective duration corresponding to the no-go signal state is greater than the second duration threshold, it indicates that the traffic object needs to wait for a certain time before passing through the target intersection, and the first warning signal generated at this time is used for warning that the traffic object does not pass through the target intersection.
On the contrary, if the remaining duration of the forbidden signal state is less than or equal to the second duration threshold, a first reminding signal is generated, and at this time, the target passing state indicated by the first reminding signal includes: the traffic object is ready to pass through the target intersection. That is to say, when the effective duration corresponding to the no-entry signal state is less than or equal to the second duration threshold, the signal state indicating that the traffic indication signal is output is to be switched from the no-entry signal state to the ready signal state, and the traffic object can be ready to pass through the target intersection.
3) The target signal state includes a transition signal state, that is, the traffic signal shows a yellow light as a traffic signal, and the transition signal state is used to indicate that the reference traffic state is not allowed to pass through the target intersection. Considering that in practical application, the transition signal state is used as a transition signal between the forbidden signal state and the quasi-line signal state, and the duration of the continuous display is often short, such as 3 seconds; therefore, the target traffic state indicated by the transition signal state in the effective duration need not be determined in combination with the effective duration corresponding to the transition signal state, that is, the target traffic state indicated by the first warning signal of the default transition signal state may include: the traffic object is not allowed to pass through the target intersection.
Certainly, under the condition that the duration of the transition signal state is long, in order to facilitate the traffic object to know the signal output condition of the traffic indication signal in time, the embodiment of the present application still supports determining the target traffic state indicated by the transition signal state in the valid duration by combining the valid duration corresponding to the transition signal state. In this implementation, the specific implementation process of the first reminder in the state of the disable signal shown in fig. 6b can be referred to in the generation process of the first reminder in the state of the transition signal, which is not described herein again.
In summary, according to different signal types of the target signal states, the generated first reminding signals corresponding to the target signal states in the effective duration are also different; in practical applications, the first alert signal corresponding to the generated target signal state may also be changed, and the above description is only a generation manner of the exemplary first alert signal provided in the embodiment of the present application, and is described here.
And s12, acquiring a vibration coding rule, and determining a target vibration parameter of the vibration reminding signal corresponding to the target signal state under the effective duration from the vibration coding rule.
Wherein, the vibration coding rule includes at least one vibration parameter corresponding to the vibration reminding signal, and the parameter type of the vibration parameter may include but is not limited to: vibration strength, vibration frequency and vibration duration; the vibration coding is carried out according to the frequency, the intensity and the duration of the vibration, so that different vibration effects based on different vibration parameters are realized, and the target traffic state indicated by different target signal states is accurately and distinctively expressed.
The vibration parameters included in the vibration encoding rule can be referred to in table 1 below:
TABLE 1
State of state Description of the invention Intensity of vibration Vibration frequency (Hertz) Duration of vibration (millisecond)
Unmanned crosswalk No pass 100 20 Vibrating for 500ms, repeating for 5 times
Long flashing yellow light Slowing down the speed and passing carefully 50 90 Vibrating for 100ms, repeating for 5 times
Traffic light free Slowing down the speed and passing carefully 50 80 Vibrating for 100ms, repeating for 5 times
Yellow light No-pass 80 50 Vibrating for 200ms, repeating for 5 times
Red light No pass 80 60 Vibrating for 200ms, repeating for 5 times
And (4) red light: ready to pass Will allow passage 30 20 Vibrating for 200ms, repeating for 5 times
Green lamp Normal traffic 60 50 Vibration of 200ms
Green light: the time is not enough and the passage is not allowed Waiting for the next green light to pass 80 50 Vibrating for 100ms, repeating for 3 times
1 second Vibration notification duration 20 80 50ms vibration
5 seconds Vibration telling duration 50 60 100ms vibration
10 seconds Vibration telling duration 80 40 Vibration for 200ms
As shown in table 1, the vibration encoding rule may include a plurality of rule columns, and the rule columns may be used to store different vibration alert signals, specifically, to store a signal status, a meaning, and a vibration parameter of each vibration alert signal. For example, the vibration encoding rule includes a rule column for storing a vibration alert signal corresponding to a green light (i.e., a state of a go signal); the first column in the rule column stores the signal state as a quasi-column signal state; the second column stores the description information of the alignment signal state; the third column, the fourth column and the fifth column store specific values which respectively store vibration parameters, for example, the third column stores specific values of vibration parameter "vibration intensity", the fourth column stores specific values of vibration parameter "vibration frequency", and the fifth column stores specific values of vibration parameter "vibration duration"; the value of the vibration intensity is a relative value, for example, when the value of the vibration intensity is 0, it indicates no vibration, when the value of the vibration intensity is 1, it indicates the minimum vibration intensity, and when the value of the vibration intensity is 100, it indicates the maximum vibration intensity. Of course, the specific values of each vibration parameter may vary, and the specific values shown in table 1 are only exemplary and are specifically described herein.
Specifically, the vibration encoding rule may be configured by a service person according to a scene requirement of a service scene; that is, the service personnel can configure the vibration encoding rule of the service scene according to the scene requirement of the service scene, such as configuring the specific value of the vibration parameter. Therefore, the vibration effect corresponding to different target signal states in a real physical environment can be simulated.
Further, after the vibration coding rule is obtained, the target vibration parameter of the vibration reminding signal corresponding to the target signal state under the effective duration is selected from the vibration coding rule, so that the target signal state can be subjected to vibration coding based on the target vibration parameter in the following process. The following illustrates a specific implementation process for determining a target vibration parameter for a vibration alert signal, where if a state of a target signal to be encoded is a permitted-to-go signal state, and when an effective duration corresponding to the permitted-to-go signal state arrives, and feasibility of passing through a target intersection is unviable, referring to a vibration encoding rule shown in table 1, it is determined that description information of the state of the target signal under the effective duration is "to pass when waiting for a green light next time", and a target vibration parameter of the vibration alert signal at this time includes: the vibration intensity was 80, the vibration frequency was 50 hertz (Hz), and the vibration duration was 100 milliseconds (ms), vibrating 3 times.
And s13, carrying out vibration coding processing on the target signal state under the effective duration based on the target vibration parameters.
Based on the target vibration parameter of the vibration reminding signal corresponding to the target signal state under the effective duration obtained in the previous step, the embodiment of the application also supports the vibration coding processing of the target signal state under the effective duration based on the target vibration parameter to obtain the vibration coding result; so as to remind the target traffic state of the target intersection in a vibration mode according to the vibration coding result. Wherein the result of the vibration encoding may comprise a vibration encoded file.
The vibration encoding file obtained based on the target vibration parameter vibration encoding may include a code segment, and an exemplary writing style of the code segment may be as shown in table 2:
TABLE 2
Sequence definition Descriptor(s) Description of the invention
hqh_main_ver u(1) Encoded version number
If(hqh_main_ver==1)
hqh_count u(x) Involving vibrating segments
for(i=0;i<hqh_count;i++)
hqh_haptics_insit u(x) Intensity of vibration
hqh_haptics_freq u(x) Frequency of vibration
hqh_haptics_dura u(x) Duration of vibration (duration of vibration) in milliseconds (ms)
As shown in table 2, (1) the field hqh _ main _ ver defines the encoded version number, and when the descriptor u () of the field hqh _ main _ ver takes a value of 1 (i.e., u (1)), it indicates that the encoded version number is version 1; if the encoded version is updated subsequently, for example, from encoded version 1 to encoded version 2, the value of the descriptor u () of the field hqh _ main _ ver is updated to 2, i.e., u (2).
(2) The field hqh _ count defines the vibration fragment contained in the vibration alert file. One vibration segment can be represented as { vibration intensity, vibration frequency, vibration duration }, and when the descriptor u () of the field hqh _ count takes the value of x (i.e. u (x))), it represents that the vibration alert file contains x vibration segments; for example, a vibration segment of {80, 60, 200} indicates that the traffic signal is red, and the target signal state is a no-pass state.
(3) The field hqh _ hash _ init represents the vibration intensity, and when the descriptor u () of the field hqh _ hash _ init takes the value of x (i.e. u (x))), the field represents that the vibration intensity is x; x =0 indicates no vibration, x =1 indicates that the current device supports the minimum intensity vibration, and x =100 indicates the strongest vibration.
(4) The field hqh _ haptics _ freq represents the vibration frequency, and when the descriptor u () of the field hqh _ haptics _ freq takes the value of x (i.e. u (x))), the vibration frequency is x; the unit of the vibration frequency is hertz (Hz), and x =0 indicates no vibration.
(5) The field hqh _ hash _ dura represents the vibration duration, and when the descriptor u () of the field hqh _ hash _ dura takes the value of x (i.e. u (x))), the field represents that the vibration duration is x; the unit of the vibration frequency is milliseconds (ms).
Based on the above brief description of the respective fields, two examples are given below to illustrate the vibration encoding; wherein:
examples are 1: assuming that the signal lamp displayed by the current traffic indication signal is red, that is, the target signal state is the forbidden signal state, the vibration code is as follows:
1// represents the version number, namely the descriptor of the field hqh _ main _ ver takes the value of 1 and is represented as a version;
110// represents the number of vibration segments involved, i.e. the descriptor of field hqh _ count takes the value of 10, indicating that there are 10 vibration segments;
{80, 60, 200}// denotes that the signal light is red;
{0,0, 100}// vibration intensity of 0, meaning no vibration, vibration frequency of 0, meaning no vibration, vibration duration of 100ms, meaning bay time of 100ms;
{80, 60, 200} {0,0, 100}// denotes a repetition of five times at an interval of 100 msec after one vibration according to the vibration parameters of the red light;
{80,60,200}{0,0,100}
{80,60,200}{0,0,100}
{80,60,200}{0,0,100}
the above vibration encoding can be interpreted as: the version number of the vibration code is 1. The vibration segment is 10 segments. The 10 vibration segments comprise {80, 60, 200} {0,0, 100} {80, 60, 200} {0,0, 100} {80, 60, 200} {0,0, 100} {80, 60, 200} {0,0, 100} {80, 60, 200} {0,0, 100}, wherein vibration is performed once according to vibration parameters of a red light, and is repeated five times at intervals of 100 milliseconds, so that traffic objects can accurately acquire a target traffic state and a safe traffic target intersection is realized.
For example, 2: assuming that the signal light displayed by the current traffic indication signal is green, that is, the target signal state is the quasi-traveling signal state, and the effective duration corresponding to the quasi-traveling signal state is 49 seconds, that is, the holding time of the green light is still 49 seconds, the vibration code thereof is:
1// represents the version number, namely the descriptor value of the field hqh _ main _ ver is 1, which is represented as version 1;
20// represents the number of vibration segments involved, i.e. the descriptor of field hqh _ count takes the value of 20, indicating that there are 20 vibration segments;
{60, 50, 200}// denotes that the signal light is red;
{0,0, 100}// vibration intensity of 0, meaning no vibration, vibration frequency of 0, meaning no vibration, vibration duration of 100ms, meaning bay time of 100ms;
{80, 40, 200} {0,0, 100}// vibration notification duration is 10 seconds;
{80,40,200}{0,0,100}
{80,40,200}{0,0,100}
{80, 40, 200} {0,0, 100}// meaning vibrate every 100 milliseconds at intervals of 10 seconds, for a total of 4 times, with vibration parameters of 10 seconds, to alert traffic objects of the remaining 40 seconds;
{50, 60, 100} {0,0, 100}// vibration notification duration is 5 seconds;
{20, 80, 50} {0,0, 100}// vibration notification duration is 1 second;
{20,80,50}{0,0,100}
{20,80,50}{0,0,100}
{20, 80, 50} {0,0, 100}// denotes vibrating once every 100 milliseconds at intervals according to a vibration parameter of 1 second, for a total of 4 times, to alert the traffic object of the remaining 4 seconds.
The above-mentioned vibration encoding can be interpreted as: the version number of the vibration code is 1. The vibration segments included were 20 segments. The 20 vibration segments comprise {60, 50, 200} {0,0, 100} {80, 40, 200} {0,0, 100} {80, 40, 200} {0,0, 100} {80, 40, 200} {0,0, 100} {80, 40, 200} {0,0, 100} {50, 60, 100} {0,0, 100} {20, 80, 50} {0,0, 100} {20, 80, 50} {0,0, 100} {20, 80, 50} {0,0, 100} {20, 80, 50} {0,0, 100}, which represent 100 milliseconds after vibration is performed for one time according to the vibration parameters of the green lamp, and indicate that the target signal state is quasi-line signal state; and vibrating once every 100 milliseconds according to the vibration parameter with the vibration informing time length of 10 seconds, repeating for four times, vibrating once every 100 milliseconds according to the vibration parameter with the vibration informing time length of 5 seconds, and vibrating once every 1 second according to the vibration parameter with the vibration informing time length of 1 second, repeating for four times, so as to inform that the residual time length of the traffic object permission signal state is 49 seconds, so that the traffic object can accurately obtain the target traffic state, and the safe traffic target intersection is realized.
It should be understood that the above are only two exemplary examples of the vibration codes given in the embodiments of the present application, and the vibration codes may be updated according to the version number of the vibration codes updated by the technology, and the vibration codes may be changed in a different manner, which is not limited thereto.
In the embodiment of the application, the automatic acquisition of the target signal state output by the traffic indication signal and the effective duration corresponding to the target signal state are supported, wherein the effective duration indicates the residual duration of the reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective time length, carrying out vibration coding processing on the target signal state under the effective time length so as to be convenient for vibrating and reminding the passing advice about the target intersection according to the vibration coding result. Through the scheme, the traffic object (such as visually impaired people) can be reminded of safely passing through the target intersection through vibration according to the reference traffic state and the effective duration indicated by the target signal state, and the interference on other traffic objects can be avoided by utilizing the characteristic of vibration privacy while the traffic object is helped to safely pass through.
The embodiment shown in fig. 2 mainly provides a specific implementation process of performing vibration encoding on a target signal state displayed by a traffic indication signal; the embodiments of the present application are described below with reference to the accompanying drawings, which relate to a complete vibration encoding scheme, such as a specific implementation process lamp for obtaining a target signal state of a traffic indication signal at a target intersection. Referring to fig. 7a, fig. 7a illustrates a process of acquiring a signal status of a traffic indication signal according to an exemplary embodiment of the present application; as shown in fig. 7a, it is supported to detect whether a target crosswalk exists at the target intersection first, if no crosswalk exists, the vibration reminds that the target intersection cannot pass through, and if a crosswalk exists, whether a traffic indication signal exists at the target intersection is determined. If the traffic indication signal does not exist at the target intersection, the vibration reminds the user to carefully pass through the target intersection, and if the traffic indication signal exists at the target intersection, the signal type of the target signal state output by the traffic indication signal is judged, wherein the signal type comprises a first signal state and a second signal state. And when the target signal state belongs to different signal states, reminding the target traffic state of the target intersection indicated by the corresponding target signal state in a vibration mode. Through the process, the vibration reminding of the traffic state can be carried out on any target intersection (such as a target intersection containing a pedestrian crossing or a target intersection not containing a pedestrian crossing), so that the traffic state of the target intersection can be comprehensively mastered by the traffic object, and the safety of the traffic object passing through the target intersection is improved.
In the embodiment shown in fig. 7a, the present application supports the use of two exemplary signal state acquisition (or identification) methods. The identification method is characterized in that the connection is carried out through an interaction module of a near-field communication mode and a traffic indication signal, and after the connection is successful, the terminal equipment can directly acquire corresponding information from the traffic indication signal, such as a target signal state in the traffic indication signal and effective duration corresponding to the target signal state; the method for acquiring the information through the near field communication can improve the accuracy of information acquisition, so that the passing state of the target intersection is accurately reminded through vibration. Another identification method is to acquire corresponding information of a traffic indication signal through image identification, specifically, a terminal device can shoot a live-action image of an intersection through a camera, so as to confirm whether information such as a pedestrian crossing, the traffic indication signal and the like exists through the image identification; under the condition that the traffic indication signal does not support near field communication, information in the traffic indication signal can be acquired in an image recognition mode, and the vibration is helped to remind the passing state of the target intersection.
The flow chart of the embodiment of the present application for executing the vibration encoding method based on the two identification methods given above can be seen in fig. 7b; as shown in fig. 7b, if the terminal device and the traffic indication signal are directly connected through near field communication, it is not necessary to determine whether there is a crosswalk or a traffic indication signal at the target intersection, but the target signal state and the effective duration corresponding to the target signal state are directly obtained from the traffic indication signal, and the subsequent operations of vibration encoding and vibration reminding are performed. If the near-field communication connection cannot be established between the end device and the traffic indication signal, or the communication connection is successfully established, but the information acquisition from the traffic indication signal is not supported directly, the terminal device needs to acquire a live-action image of the target intersection through the camera, so that the subsequent operation of acquiring the target signal state and the effective duration corresponding to the target signal state is performed in an image recognition mode.
The complete implementation flow of the vibration encoding method is described below with reference to fig. 8. Referring to fig. 8, fig. 8 is a flow chart illustrating a vibration encoding method according to an exemplary embodiment of the present application. The vibration encoding method may be executed by the terminal device and the background server shown in fig. 1a, and the method may include steps S801-S806:
s801: and detecting whether a pedestrian crosswalk exists at the target intersection.
As described above, if the terminal device supports the communication connection with the interaction model in the traffic indication signal, it can be directly determined that there is a crosswalk at the target intersection, considering that there is a crosswalk at the intersection where the traffic indication signal exists. In practical application, communication connection is established between the terminal equipment and the traffic indication signal based on a near field communication mode; so-called near field communication may be a technology for short-range contactless data exchange; for example, near field communications may include, but are not limited to: near Field Communication (NFC), bluetooth Communication, or wireless network Communication (wifi), etc. For example, two NFC-enabled devices may be connected via point-to-point contacts for short-range wireless communication, e.g., at a distance of 0 to 2cm.
Under the condition that the communication connection cannot be established between the terminal device and the traffic indication signal or the communication connection is successfully established between the terminal device and the traffic indication signal but data interaction is not supported, the embodiment of the application also supports the detection of whether the pedestrian crossing exists at the target crossing through an image recognition technology. In the specific implementation, when the traffic object holding terminal device walks to the target intersection, if the traffic object holding terminal device has the requirement of reminding the traffic state of the target intersection by vibration, the method supports to obtain a live-action image of the target intersection (namely, an image obtained by shooting the target intersection in a real physical environment), and identifies the pedestrian crossing of the live-action image; and if the recognition result indicates that the live-action image comprises the pedestrian crossing, determining that the pedestrian crossing exists at the target crossing, and otherwise, determining that the pedestrian crossing does not exist at the target crossing.
As can be seen from the foregoing description of the vibration system, the vibration encoding method provided in the embodiment of the present application may be executed by a plug-in deployed in the terminal device, or executed by a target application running in the terminal device; the above-described implementation process of the terminal device acquiring the live-action image of the target intersection may include:
in an implementation manner, the vibration encoding method provided by the embodiment of the present application may be executed by a plug-in deployed in a terminal device, and then after the plug-in function is started by the terminal device, a camera of the terminal device may be opened; when the real-scene image of the target intersection needs to be acquired, the real-scene image of the target intersection can be acquired through the camera in the open state.
In another implementation manner, the vibration encoding method provided in this embodiment of the present application is executed by a target application running in a terminal device, and if the target application is a map application supporting live-action navigation, the map application can call a camera of the terminal device to collect live-action images of a target intersection when the map application is authorized to use the camera of the terminal device.
Among them, the real-world navigation is called AR (Augmented Reality) real-world navigation, and the navigation principle can be briefly summarized as follows: capturing a real scene of a road in front in real time by using a camera of the terminal equipment to obtain a live-action image; the method comprises the steps of combining terminal equipment Positioning (such as GPS (Global Positioning System) Positioning, map navigation information of a map application program and scene recognition (such as Artificial Intelligence (AI) recognition), performing fusion calculation, generating a virtual navigation guide model (such as a guide arrow model), superposing the navigation guide model on a real road, creating a navigation picture close to the real field of view of a traffic object, presenting more visual real-scene guide, and facilitating the visual perception of the navigation route of the traffic object, wherein an exemplary real-scene navigation schematic diagram can be shown in figure 9, and as shown in figure 9, after a real-scene navigation function is started in the map application program deployed in the terminal equipment, a camera of the terminal equipment can be started according to the authorization of the traffic object, so that the camera can collect real-scene images in front in real time, and superpose the generated virtual navigation guide model 901 on the real road (such as a crosswalk 902), so that the traffic object can be directly identified according to the navigation guide model, thereby reducing the difficulty of accurate road navigation and realizing accurate road navigation.
S802: and if the crosswalk does not exist at the target intersection, carrying out vibration coding on the traffic state of the crosswalk does not exist at the target intersection.
Under the condition that the crosswalk does not exist at the target intersection, determining that the target intersection is the intersection which does not allow the traffic object to pass through, and generating a vibration reminding signal when the crosswalk does not exist at the target intersection, wherein the vibration reminding signal when the crosswalk does not exist at the target intersection is used for indicating: the target intersection is not allowed to pass; and then, carrying out vibration coding processing on the vibration reminding signal when no crosswalk exists at the target intersection. Specifically, the vibration encoding rule shown in table 1 is obtained, the target vibration parameter of the vibration reminding signal when no crosswalk exists at the target intersection is obtained from the vibration encoding rule, and vibration encoding is performed based on the target vibration parameter to obtain the vibration reminding file. Therefore, the vibration interface can be called based on the vibration code, and the vibration device in the terminal equipment is driven to vibrate so as to remind that the traffic object target intersection does not contain pedestrian crosswalks and is not allowed to pass.
It should be noted that, for the specific implementation process of performing vibration encoding on the target vibration parameter of the vibration alert signal when there is no crosswalk at the target intersection, reference may be made to the specific implementation process shown in step S203 in the embodiment shown in fig. 2, which is not described herein again.
S803: and if the crosswalk exists at the target intersection, detecting whether the traffic indication signal exists at the target intersection or not.
In the case that the crosswalk exists at the target intersection, whether the traffic indication signal exists at the target intersection can be further detected. As described above, if the terminal device and the traffic indication can exchange information through the communication connection, the step of detecting whether the traffic indication signal exists at the target intersection is not required to be executed here, because the traffic indication signal exists at the target intersection is proved when the terminal device establishes the communication connection with the traffic indication signal.
If the communication connection between the terminal equipment and the traffic indication signal cannot be established, or the communication connection between the terminal equipment and the traffic indication signal is successfully established but the data interaction is not supported, the terminal equipment can continue to perform image identification processing on the traffic indication signal to obtain an image identification result on the photographed live-action image (acquired through live-action navigation) of the target intersection; the image recognition result can indicate that a traffic indication signal exists at the target intersection, or the image recognition result indicates that the traffic indication signal does not exist at the target intersection.
S804: and if the traffic indication signal does not exist at the target intersection, carrying out vibration coding on the traffic state of the target intersection without the traffic indication signal.
Under the condition that the traffic indication signal does not exist at the target intersection and the pedestrian crosswalk exists at the target intersection, the traffic object is shown to be allowed to pass through the target intersection, but the coming and going vehicles and pedestrians need to be noticed and the target intersection is cautiously passed; under the implementation mode, a vibration reminding signal can be generated when no traffic indication signal exists at the target crossing, and the vibration reminding signal is used for indicating when no traffic indication signal exists at the target crossing: the target intersection allows for discreet passage. Specifically, the vibration encoding rule shown in table 1 is obtained, the target vibration parameter of the vibration reminding signal when no traffic indication signal exists at the target intersection is obtained from the vibration encoding rule, and vibration encoding is carried out based on the target vibration parameter to obtain the vibration reminding file. Therefore, the vibration interface can be called based on the vibration code, and the vibration device in the terminal equipment is driven to vibrate so as to remind the traffic object that the target intersection allows cautious traffic.
It should be noted that, for the specific implementation process of performing vibration coding on the target vibration parameter of the vibration alert signal when the traffic indication signal does not exist at the target intersection, reference may be made to the specific implementation process shown in step S203 in the embodiment shown in fig. 2, which is not described herein again.
S805: if the traffic indication signal exists at the target intersection, the target signal state of the traffic indication signal of the target intersection is obtained, the effective duration corresponding to the target signal state is obtained, and the traffic feasibility of passing through the target intersection when the effective duration reaches is determined according to the effective duration.
Under the condition that the traffic indication signal exists at the target intersection, the signal state output by the traffic indication signal needs to be further judged so as to carry out different vibration reminding according to different signal states.
In a specific implementation, according to different identification manners for identifying whether a traffic indication signal exists at the target intersection, when it is determined that a traffic indication signal exists at the target intersection in step S805, target signal states of the traffic indication signal at the target intersection and obtaining manners of effective durations corresponding to the target signal states are also different.
Optionally, if the communication connection is successfully established between the terminal device and the traffic indication signal, the terminal device may directly obtain a target signal state of the traffic indication signal of the target intersection and an effective duration corresponding to the target signal state from the traffic indication signal; specifically, the terminal device receives a traffic indication signal, and sends the traffic indication signal, a target signal state of the traffic indication signal at a target intersection, and an effective duration corresponding to the target signal state. An exemplary interactive process for obtaining information directly from traffic indication signals via a communication link is shown in fig. 10; as shown in fig. 10, when detecting that a connectable communication signal occurs in the traffic indication signal in the surrounding physical environment, the terminal device may establish a communication connection with the corresponding traffic indication signal based on the connectable communication signal; the traffic indication signal is further queried for a signal status, so that the signal status and other information (such as an effective duration corresponding to a target signal status) can be directly obtained from the traffic indication signal.
Optionally, if the terminal device determines that the traffic indication signal exists at the target intersection based on the image recognition, the terminal device may further obtain a target signal state of the traffic indication signal at the target intersection and an effective duration corresponding to the target signal state based on the image recognition result or the live-action image of the target intersection; for example, when it is determined that a traffic indication signal is present at a target intersection based on image recognition, the image recognition results may include: and if the target signal state of the traffic indication signal of the target intersection and the effective duration corresponding to the target signal state are the same, directly acquiring the target signal state of the traffic indication signal of the target intersection from the image recognition result, and using the effective duration corresponding to the target signal state. Of course, if the image recognition result does not include the target signal state of the traffic indication signal at the target intersection and the effective duration corresponding to the target signal state, the traffic indication signal at the target intersection is supported to be collected again, so that the signal state output by the traffic indication signal and the effective duration corresponding to the signal state are subjected to image recognition, and the effective duration corresponding to the target signal state and the target signal state is obtained, which is not described in detail.
S806: and carrying out vibration coding on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches, so as to remind the target traffic state of the target intersection through vibration of a vibration coding result.
It should be noted that the specific implementation process shown in step S806 may refer to the related description of the specific implementation process shown in step S203 in the embodiment shown in fig. 2, and is not described herein again.
It should be further noted that, in the foregoing embodiments, the traffic indication signal supports outputting the effective duration corresponding to the target signal state as an example, and when the traffic indication signal does not output the effective duration corresponding to the target signal state, only the vibration reminding is performed according to the reference traffic state indicated by the target signal state. For example, if the target signal state is a traffic signal state, that is, the signal lamp of the traffic indication signal is a green lamp, the target intersection is reminded to allow the traffic through vibration; and if the target signal state is a forbidden signal state, namely the signal lamp of the traffic indication signal is a red lamp, the vibration reminds the target intersection not to allow the traffic. In practical application, the traffic indication signal may not directly output the effective duration corresponding to the target signal state, but a flashing signal lamp is used to prompt that the remaining duration of the target signal state is shorter, so that the embodiment of the application still supports the vibration reminding according to the flashing condition of the target signal state. For example, if the target signal state is recognized as the traffic signal state, that is, the signal lamp of the traffic indication signal is a green lamp, and the green lamp is in a flashing state, it is determined that the remaining display time of the green lamp is short, and at this time, the traffic object can be prompted to pass through the target intersection when waiting for the next green lamp by vibration, so that the safety of the traffic object passing through the target intersection is improved.
In the embodiment of the application, the automatic acquisition of the target signal state output by the traffic indication signal and the effective time length corresponding to the target signal state are supported, wherein the effective time length indicates the remaining time length of the reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective time length, carrying out vibration coding processing on the target signal state under the effective time length so as to be convenient for vibrating and reminding the passing advice about the target intersection according to the vibration coding result. Through the scheme, the traffic object (such as visually impaired people) can be reminded of safely passing through the target intersection through vibration according to the reference traffic state and the effective duration indicated by the target signal state, and the interference on other traffic objects can be avoided by utilizing the characteristic of vibration privacy while the traffic object is helped to safely pass through.
The foregoing embodiments of fig. 2 and 8 mainly provide a vibration encoding scheme, and after the result of the vibration encoding corresponding to the target signal state in the effective duration is obtained based on the processes of the specific embodiments shown in fig. 2 and 8, the embodiments of the present application further support controlling a vibration device in the terminal device to perform vibration reminding based on the result of the vibration encoding, which is beneficial for a traffic object (especially a visually impaired person) to know the target signal state currently output by the traffic indication signal by intuitively sensing the vibration transmitted by the terminal device, thereby helping the target object to smoothly and safely pass through the target intersection.
The following describes the vibration scenario provided by the embodiment of the present application in more detail with reference to fig. 11 a; fig. 11a is a flowchart illustrating a vibration processing method for indicating traffic signals according to an exemplary embodiment of the present application. The vibration processing method may be executed by the terminal device and the background server shown in fig. 1a, and the method may include steps S1101-S1104:
s1101: and acquiring the target signal state of the traffic indication signal of the target intersection.
S1102: and acquiring effective time length corresponding to the state of the target signal, and determining the feasibility of passing through the target intersection when the effective time length is reached according to the effective time length.
S1103: and carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches.
It should be noted that, for the specific implementation process shown in steps S1101-S1103, reference may be made to the related description of the specific implementation process shown in fig. 2 or fig. 8, which is not described herein again.
S1104: and sending the vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
After the target signal state under the effective duration is subjected to vibration coding processing based on the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches, and a vibration coding result (namely, the vibration reminding file described above) is obtained, the embodiment of the application also supports that the target application calls the vibration interface of the terminal device according to the vibration coding, and triggers the vibration device (such as a motor) deployed in the terminal device to vibrate, so as to remind whether the traffic object target intersection supports the traffic in a vibration mode. The target application program may specifically send the result of the vibration encoding to the terminal device, for example, the result of the vibration encoding is sent to the terminal device through the sending interface; the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result; the traffic object, especially the visually impaired people, is reminded in a vibration mode to realize the target traffic state of the target intersection, so that the traffic object can safely communicate with the target intersection conveniently, and the characteristic of vibration privacy is utilized, so that interference on other traffic objects can be avoided.
The vibration processing scenario illustrated in FIG. 11a is illustratively described below in conjunction with FIG. 11 b.
In one implementation, the aforementioned vibration encoding method shown in fig. 2 and fig. 8 may be executed by a background server corresponding to a target application program in a terminal device; referring to fig. 11b, after obtaining a result of vibration coding corresponding to a target signal state in an effective duration based on the specific implementation process of the embodiment shown in fig. 2 and fig. 8, the background server may send the result of vibration coding to a target application running in the terminal device, and then call a vibration interface of the terminal device based on the target application to drive a vibration device in the terminal device to vibrate through the vibration interface, so as to remind a traffic object of a signal state of a traffic indication signal in a vibration manner, and help the traffic object to successfully pass through a target intersection.
In other implementations, the aforementioned vibration encoding method shown in fig. 2 and 8 may be executed by a target application program in a terminal device; in this implementation manner, after obtaining the result of the vibration coding corresponding to the target signal state in the effective duration based on the specific implementation process shown in fig. 2 and fig. 8, the target application may invoke the vibration interface of the terminal device to drive the vibration device in the terminal device to vibrate through the vibration interface, so as to remind the traffic object of the signal state of the traffic indication signal in a vibration manner, and help the traffic object to successfully pass through the target intersection.
By the vibration processing scheme, the vibration coding processing can be carried out on the target signal state under the effective duration, and the vibration coding result is sent to the terminal equipment, so that the terminal equipment can drive the vibration device to vibrate, and the effect of reminding the traffic indication signal in a vibration mode is achieved; the traffic object safety traffic is facilitated, and meanwhile, interference on other traffic objects is avoided by utilizing the characteristic of vibration privacy.
The vibration encoding method and the vibration processing method according to the embodiments of the present application are described in detail above, and accordingly, in order to better implement the above-described aspects of the embodiments of the present application, the following provides an apparatus according to the embodiments of the present application.
FIG. 12 is a schematic diagram illustrating a configuration of a vibration encoding apparatus according to an exemplary embodiment of the present application; the vibration encoding device may be a computer program (including program code) running in a target application; the vibration encoding apparatus may be used to perform some or all of the steps in the method embodiments shown in fig. 2 or fig. 8. Referring to fig. 12, the vibration encoding apparatus includes the following units:
an obtaining unit 1201, configured to obtain a target signal state of a traffic indication signal of a target intersection, where the traffic indication signal includes a plurality of signal states, and one signal state is used to indicate a reference traffic state when passing through the target intersection;
the obtaining unit 1201 is further configured to obtain an effective duration corresponding to the state of the target signal, and determine, according to the effective duration, the traffic feasibility of passing through the target intersection when the effective duration arrives, where the effective duration is used to indicate: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
the processing unit 1202 is configured to perform vibration encoding processing on the target signal state in the valid duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the valid duration arrives; the vibration coding results corresponding to different reference traffic states are different, and the vibration coding results corresponding to different traffic feasibility of the target intersection are also different.
In one implementation, the processing unit 1202 is configured to, when performing the vibration coding processing on the target signal state in the valid duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the valid duration arrives, specifically:
generating a vibration reminding signal corresponding to the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches;
obtaining a vibration coding rule, wherein the vibration coding rule comprises at least one vibration parameter corresponding to a vibration reminding signal, and the vibration parameter comprises at least one of the following: vibration intensity, vibration frequency and vibration duration;
determining a target vibration parameter of a vibration reminding signal corresponding to a target signal state under an effective duration from a vibration coding rule;
and carrying out vibration coding processing on the target signal state under the effective time length based on the target vibration parameters.
In one implementation, the target signal state belongs to a first signal state, and the total duration of the traffic indication signal for continuously displaying the first signal state is less than or equal to a target duration threshold; the first signal state includes: a signal-in-signal state, a signal-out-of-line state and a transition signal state;
the vibration reminding signal corresponding to the first signal state comprises: a first reminder signal and a second reminder signal; wherein, the first warning signal is used for indicating: a target traffic state indicated by the first signal state for the validity period; the second reminder signal is used for indicating that: the effective duration corresponding to the first signal state.
In one implementation manner, the target signal state includes a quasi-line signal state, and the generation manner of the first reminding signal includes:
comparing the effective duration corresponding to the state of the quasi-line signal with a first time threshold; the first duration threshold is used to reflect: the time required for the traffic object to pass through the target intersection; the first time length threshold value is determined according to the distance of the target intersection and the traveling speed of the traffic object;
if the effective duration corresponding to the quasi-line signal state is smaller than a first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object does not allow to pass through the target intersection;
or if the effective duration corresponding to the quasi-line signal state is greater than or equal to the first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object allows passage through the target intersection.
In one implementation manner, the target signal state includes a disable signal state, and the generation manner of the first alert signal includes:
comparing the effective duration corresponding to the forbidden signal state with a second duration threshold; the second duration threshold is used to reflect: when the traffic indication signal reaches the target indicated by the second duration threshold value, the state of the forbidden signal is switched to the state of the quasi-going signal;
if the effective duration corresponding to the forbidden signal state is greater than a second duration threshold, generating a first reminding signal, wherein the target passing state indicated by the first reminding signal comprises: the traffic object does not allow to pass through the target intersection;
or if the effective duration corresponding to the forbidden signal state is less than or equal to the second duration threshold, generating a first reminding signal, wherein the target passing state indicated by the first reminding signal comprises: the traffic object is ready to pass through the target intersection.
In one implementation, the target signal state includes a transition signal state, and the target traffic state indicated by the first alert signal of the transition signal state includes: the traffic object is not allowed to pass through the target intersection.
In one implementation, the target signal state belongs to a second signal state, and the total duration of the traffic indication signal for continuously displaying the second signal state is greater than the target duration threshold;
the target signal state comprises a slow signal state, and the vibration reminding signal of the slow signal state is used for reminding: the traffic object allows passing through the target intersection.
In one implementation, the processing unit 1202 is further configured to:
acquiring a live-action image of a target intersection;
if the real-scene image is identified to comprise the pedestrian crossing, detecting whether a traffic indication signal exists at the target crossing;
and if the traffic indication signal exists, triggering and executing the step of acquiring the target signal state of the traffic indication signal of the target intersection.
In one implementation, the processing unit 1202 is further configured to:
if the real-scene image is identified not to include the humanoid crosswalk, generating a vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection, wherein the vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection is used for indicating: the crosswalk does not exist at the target intersection, and the target intersection is not allowed to pass;
and carrying out vibration coding processing on the vibration reminding signal when no pedestrian crosswalk exists at the target intersection.
In one implementation, the processing unit 1202 is configured to, when detecting whether a traffic indication signal exists at a pedestrian crossing, specifically:
carrying out image recognition processing on a traffic indication signal on a live-action image of a target intersection to obtain an image recognition result;
if the image recognition result indicates that the traffic indication signal exists at the target intersection, the processing unit 1202 is specifically configured to, when acquiring the target signal state of the traffic indication signal at the target intersection:
and acquiring the target signal state of the traffic indication signal of the target intersection from the image recognition result.
In one implementation, if communication connection is established between the terminal device and the traffic indication signal, determining that the traffic indication signal exists at the target intersection;
the processing unit 1202 is configured to, when obtaining a target signal state of a traffic indication signal at a target intersection, specifically:
and receiving the target signal state of the traffic indication signal of the target intersection sent by the traffic indication signal.
In one implementation mode, the method is applied to a target application program operated by the terminal equipment; a processing unit 1202, further configured to:
and sending the vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
According to an embodiment of the present application, each unit in the vibration encoding apparatus shown in fig. 11a may be respectively or entirely combined into one or several other units to form the vibration encoding apparatus, or some unit(s) of the vibration encoding apparatus may be further split into multiple functionally smaller units to form the vibration encoding apparatus, which may implement the same operation without affecting implementation of technical effects of embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the vibration encoding apparatus may also include other units, and in practical applications, these functions may also be implemented by the assistance of other units, and may be implemented by cooperation of a plurality of units. According to another embodiment of the present application, the vibration encoding apparatus as shown in fig. 11a may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 2 or fig. 8 on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like, and a storage element, and the vibration encoding method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the application, the automatic acquisition of the target signal state output by the traffic indication signal and the effective time length corresponding to the target signal state are supported, wherein the effective time length indicates the remaining time length of the reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective time length, carrying out vibration coding processing on the target signal state under the effective time length so as to be convenient for vibrating and reminding the passing advice about the target intersection according to the vibration coding result. Through the scheme, the traffic object (such as visually impaired people) can be reminded of safely passing through the target intersection through vibration according to the reference traffic state and the effective duration indicated by the target signal state, and the interference on other traffic objects can be avoided by utilizing the characteristic of vibration privacy while the traffic object is helped to safely pass through.
FIG. 13 illustrates a schematic structural diagram of a vibration processing apparatus provided in an exemplary embodiment of the present application; the vibration processing apparatus may be a computer program (including program code) running in a target application; the vibration processing apparatus may be used to perform some or all of the steps in the method embodiment shown in fig. 11 a. Referring to fig. 13, the vibration processing apparatus includes the following units:
an obtaining unit 1301, configured to obtain a target signal state of a traffic indication signal of a target intersection, where the traffic indication signal includes multiple signal states, and one signal state is used to indicate a reference traffic state when passing through the target intersection;
the obtaining unit 1301 is further configured to obtain an effective duration corresponding to the target signal state, and determine, according to the effective duration, the traffic feasibility of passing through the target intersection when the effective duration arrives, where the effective duration is used to indicate: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
the processing unit 1302 is configured to perform vibration coding processing on the target signal state in the valid duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the valid duration arrives; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results;
the processing unit 1302 is further configured to send the result of the vibration encoding to the terminal device, so that the terminal device drives the vibration device in the terminal device to vibrate according to the result of the vibration encoding.
According to an embodiment of the present application, the units in the vibration processing apparatus shown in fig. 13 may be respectively or entirely combined into one or several other units to form the vibration processing apparatus, or some unit(s) may be further split into multiple functionally smaller units to form the vibration processing apparatus, which may achieve the same operation without affecting the achievement of the technical effects of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the vibration processing apparatus may include other units, and in practical applications, these functions may be implemented by assistance of other units, and may be implemented by cooperation of a plurality of units. According to another embodiment of the present application, the vibration processing apparatus as shown in fig. 13 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 11a on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like as well as a storage element, and the vibration processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the application, the vibration coding processing of the target signal state under the effective duration is supported, and the vibration coding result is sent to the terminal equipment, so that the terminal equipment can drive the vibration device to vibrate, and the effect of reminding the traffic indication signal in a vibration mode is achieved; the traffic object safety traffic is facilitated, and meanwhile, interference on other traffic objects is avoided by utilizing the characteristic of vibration privacy.
Fig. 14 shows a schematic structural diagram of a computer device according to an exemplary embodiment of the present application. Referring to fig. 14, the computer device includes a processor 1401, a communication interface 1402, and a computer-readable storage medium 1403. The processor 1401, the communication interface 1402, and the computer-readable storage medium 1403 may be connected by a bus or other means, among others. The communication interface 1402 is used for receiving and transmitting data, among other things. A computer-readable storage medium 1403 may be stored in the memory of the computer device, the computer-readable storage medium 1403 being used to store a computer program comprising program instructions for execution by the processor 1401 of the program instructions stored by the computer-readable storage medium 1403. The processor 1401 (or CPU) is a computing core and a control core of the computer device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute one or more instructions to implement a corresponding method flow or a corresponding function.
Embodiments of the present application also provide a computer-readable storage medium (Memory), which is a Memory device in a computer device and is used for storing programs and data. It is understood that the computer readable storage medium herein can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer readable storage medium provides a memory space that stores a processing system of the computer device. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 1401. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, at least one computer readable storage medium located remotely from the aforementioned processor is also possible.
In one embodiment, the computer device may be the target application mentioned in the previous embodiments; the computer-readable storage medium has one or more instructions stored therein; one or more instructions stored in a computer-readable storage medium are loaded and executed by processor 1401 to implement the corresponding steps in the embodiments of the vibration encoding method described above; in particular implementations, one or more instructions in the computer-readable storage medium are loaded by processor 1401 and execute the steps of:
acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
obtaining effective time length corresponding to the state of the target signal, and determining the traffic feasibility of the target intersection when the effective time length arrives according to the effective time length, wherein the effective time length is used for indicating: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
performing vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results.
In one implementation, one or more instructions in a computer readable storage medium are loaded by the processor 1401 and when performing the vibration encoding of the target signal state for the validity period based on the reference transit state indicated by the target signal state and the transit feasibility through the target intersection at the time the validity period arrives, the following steps are specifically performed:
generating a vibration reminding signal corresponding to the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches;
obtaining a vibration coding rule, wherein the vibration coding rule comprises at least one vibration parameter corresponding to a vibration reminding signal, and the vibration parameter comprises at least one of the following: vibration intensity, vibration frequency and vibration duration;
determining a target vibration parameter of a vibration reminding signal corresponding to a target signal state under the effective duration from a vibration coding rule;
and carrying out vibration coding processing on the target signal state under the effective duration based on the target vibration parameters.
In one implementation, the target signal state belongs to a first signal state, and the total duration of the traffic indication signal for continuously displaying the first signal state is less than or equal to a target duration threshold; the first signal state includes: a signal-in-signal state, a signal-out-of-line state and a transition signal state;
the vibration reminding signal corresponding to the first signal state comprises: a first reminder signal and a second reminder signal; wherein, the first reminder signal is used for indicating: a target traffic state indicated by the first signal state for the validity period; the second reminder signal is used for indicating that: the effective duration corresponding to the first signal state.
In one implementation, the target signal state includes a quasi-line signal state, and the generation manner of the first alert signal includes:
comparing the effective duration corresponding to the quasi-line signal state with a first time duration threshold; the first duration threshold is used to reflect: the time required for the traffic object to pass through the target intersection; the first time length threshold value is determined according to the distance of the target intersection and the traveling speed of the traffic object;
if the effective duration corresponding to the state of the quasi-line signal is less than a first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object does not allow to pass through the target intersection;
or if the effective duration corresponding to the quasi-line signal state is greater than or equal to the first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object allows passing through the target intersection.
In one implementation, the target signal state includes a disable signal state, and the generation manner of the first alert signal includes:
comparing the effective duration corresponding to the forbidden signal state with a second duration threshold; the second duration threshold is used to reflect: when the traffic indication signal reaches the target indicated by the second duration threshold value, the state of the forbidden signal is switched to the state of the quasi-going signal;
if the effective duration corresponding to the forbidden signal state is greater than a second duration threshold, generating a first reminding signal, wherein the target passing state indicated by the first reminding signal comprises: the traffic object does not allow to pass through the target intersection;
or if the effective duration corresponding to the forbidden signal state is less than or equal to the second duration threshold, generating a first reminding signal, wherein the target passing state indicated by the first reminding signal comprises: the traffic object is ready to pass through the target intersection.
In one implementation, the target signal state includes a transition signal state, and the target traffic state indicated by the first alert signal of the transition signal state includes: the traffic object is not allowed to pass through the target intersection.
In one implementation, the target signal state belongs to a second signal state, and the total duration of the traffic indication signal for continuously displaying the second signal state is greater than the target duration threshold;
the target signal state comprises a slow signal state, and the vibration reminding signal of the slow signal state is used for reminding: the traffic object allows passing through the target intersection.
In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1401 and further perform the steps of:
acquiring a live-action image of a target intersection;
if the real-scene image is identified to comprise the pedestrian crossing, detecting whether a traffic indication signal exists at the target crossing;
and if the traffic indication signal exists, triggering and executing the step of acquiring the target signal state of the traffic indication signal of the target intersection.
In one implementation, one or more instructions in a computer-readable storage medium are loaded by processor 1401 and further perform the steps of:
if the real-scene image is identified not to include the human-shaped crosswalk, generating a vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection, wherein the vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection is used for indicating: the crosswalk does not exist at the target intersection, and the target intersection is not allowed to pass;
and carrying out vibration coding processing on the vibration reminding signal when no pedestrian crosswalk exists at the target intersection.
In one implementation, one or more instructions in a computer readable storage medium are loaded by processor 1401 and when performing the step of detecting whether a traffic indication signal is present at a crosswalk, the following steps are performed:
carrying out image recognition processing on a traffic indication signal on a live-action image of a target intersection to obtain an image recognition result;
if the image recognition result indicates that the traffic indication signal exists at the target intersection, the processing unit 1202 is specifically configured to, when acquiring the target signal state of the traffic indication signal at the target intersection:
and acquiring the target signal state of the traffic indication signal of the target intersection from the image recognition result.
In one implementation, if communication connection is established between the terminal device and the traffic indication signal, determining that the traffic indication signal exists at the target intersection;
one or more instructions in the computer readable storage medium are loaded by the processor 1401 and when executing the step of obtaining the target signal state of the traffic indication signal at the target intersection, the following steps are specifically executed:
and receiving the target signal state of the traffic indication signal of the target intersection sent by the traffic indication signal.
In one implementation mode, the method is applied to a target application program operated by the terminal equipment; one or more instructions in the computer readable storage medium are loaded by processor 1401 and further perform the steps of:
and sending the vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
In the embodiment of the application, the automatic acquisition of the target signal state output by the traffic indication signal and the effective time length corresponding to the target signal state are supported, wherein the effective time length indicates the remaining time length of the reference traffic state for keeping the target signal state indication; and based on the target signal state and the effective time length, carrying out vibration coding processing on the target signal state under the effective time length so as to be convenient for vibrating and reminding the passing advice about the target intersection according to the vibration coding result. Through the scheme, the traffic object (such as visually impaired people) can be reminded of safely passing through the target intersection through vibration according to the reference traffic state and the effective duration indicated by the target signal state, and the interference on other traffic objects can be avoided by utilizing the characteristic of vibration privacy while the traffic object is helped to safely pass through.
In another embodiment, the computer-readable storage medium has stored therein one or more instructions; one or more instructions stored in a computer-readable storage medium are loaded and executed by processor 1401 to implement the respective steps in the resource handling method embodiments; in particular implementations, one or more instructions in the computer-readable storage medium are loaded and executed by processor 1401 to perform the steps of:
acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
obtaining effective time length corresponding to the state of the target signal, and determining the traffic feasibility of the target intersection when the effective time length arrives according to the effective time length, wherein the effective time length is used for indicating: maintaining a remaining duration of the reference traffic state indicated by the target signal state;
performing vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results;
and sending the result of the vibration coding to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the result of the vibration coding.
In the embodiment of the application, the vibration coding processing of the target signal state under the effective duration is supported, and the vibration coding result is sent to the terminal equipment, so that the terminal equipment can drive the vibration device to vibrate, and the effect of reminding the traffic indication signal in a vibration mode is achieved; the traffic object safety traffic is facilitated, and meanwhile, interference on other traffic objects is avoided by utilizing the characteristic of vibration privacy.
Embodiments of the present application also provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the vibration encoding method and the vibration processing method.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid State Disks (SSDs)), among others.
The foregoing is only an embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and shall be covered by the scope of the present disclosure. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A vibration encoding method, comprising:
acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
obtaining effective time length corresponding to the state of the target signal, and determining the traffic feasibility of passing through the target intersection when the effective time length reaches according to the effective time length, wherein the effective time length is used for indicating: maintaining a remaining duration of a reference traffic state indicated by the target signal state;
performing vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results.
2. The method of claim 1, wherein said vibration encoding the target signal state for the active duration based on the reference traffic state indicated by the target signal state and the feasibility of traffic through the target intersection at the time of arrival of the active duration comprises:
generating a vibration reminding signal corresponding to the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches;
obtaining a vibration coding rule, wherein the vibration coding rule comprises at least one vibration parameter corresponding to a vibration reminding signal, and the vibration parameter comprises at least one of the following: vibration intensity, vibration frequency and vibration duration;
determining a target vibration parameter of a vibration reminding signal corresponding to the target signal state under the effective duration from the vibration coding rule;
and carrying out vibration coding processing on the target signal state under the effective duration based on the target vibration parameter.
3. The method of claim 2, wherein the target signal state is a first signal state, and wherein the total duration of the traffic indicator signal for displaying the first signal state is less than or equal to a target duration threshold; the first signal state comprises: a signal-in-signal state, a signal-out-of-line state and a transition signal state;
the vibration reminding signal corresponding to the first signal state comprises: a first reminder signal and a second reminder signal; wherein the first reminder signal is used to indicate: a target traffic state indicated by the first signal state for the effective duration; the second reminder signal is used for indicating that: and the effective duration corresponding to the first signal state.
4. The method of claim 3, wherein the target signal state comprises the go signal state, and wherein the first alert signal is generated in a manner comprising:
comparing the effective duration corresponding to the quasi-line signal state with a first time duration threshold; the first duration threshold is used to reflect: the time required for the traffic object to pass through the target intersection; the first time threshold is determined according to the distance of the target intersection and the traveling speed of the traffic object;
if the effective duration corresponding to the traffic signal state is less than the first time threshold, generating a first reminding signal, wherein the target traffic state indicated by the first reminding signal comprises: the traffic object is not allowed to pass through the target intersection;
or, if the effective duration corresponding to the traffic signal state is greater than or equal to the first duration threshold, generating a first reminding signal, where the target traffic state indicated by the first reminding signal includes: the traffic object allows passage through the target intersection.
5. The method of claim 3, wherein the target signal state comprises a disable signal state, and wherein the first alert signal is generated in a manner comprising:
comparing the effective duration corresponding to the forbidden signal state with a second duration threshold; the second duration threshold is used to reflect: when the traffic indication signal reaches the target indicated by the second duration threshold value, the state of the forbidden signal is switched to the state of the standard signal;
if the effective duration corresponding to the forbidden signal state is greater than the second duration threshold, generating a first reminding signal, wherein the target passing state indicated by the first reminding signal comprises: the traffic object is not allowed to pass through the target intersection;
or, if the effective duration corresponding to the forbidden signal state is less than or equal to the second duration threshold, generating a first reminding signal, where the target traffic state indicated by the first reminding signal includes: the traffic object is ready to pass through the target intersection.
6. The method of claim 3, wherein the target signal state comprises the transitional signal state, the target traffic state indicated by the first alert signal of the transitional signal state comprising: the traffic object is not allowed to pass through the target intersection.
7. The method of claim 2, wherein the target signal state is a second signal state, and wherein the traffic indicator signal continues to display the second signal state for a total duration greater than a target duration threshold;
the target signal state comprises a slow signal state, and the vibration reminding signal of the slow signal state is used for reminding: the traffic object allows the target intersection to pass through.
8. The method of claim 1, wherein prior to obtaining the target signal state of the traffic indicating signal at the target intersection, further comprising:
acquiring a live-action image of a target intersection;
if the real-scene image is identified to comprise a pedestrian crossing, detecting whether a traffic indication signal exists at the target intersection;
and if the traffic indication signal exists, triggering and executing the step of acquiring the target signal state of the traffic indication signal of the target intersection.
9. The method of claim 8, wherein the method further comprises:
if the real-scene image does not include the human-shaped crosswalk, generating a vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection, wherein the vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection is used for indicating: the pedestrian crosswalk does not exist at the target intersection, and the target intersection is not allowed to pass;
and carrying out vibration coding processing on the vibration reminding signal when the pedestrian crosswalk does not exist at the target intersection.
10. The method of claim 8, wherein said detecting whether a traffic-indicating signal is present at the crosswalk comprises:
carrying out image recognition processing on the traffic indication signal on the live-action image of the target intersection to obtain an image recognition result;
if the image recognition result indicates that the traffic indication signal exists at the target intersection, the obtaining of the target signal state of the traffic indication signal at the target intersection comprises:
and acquiring the target signal state of the traffic indication signal of the target intersection from the image identification result.
11. The method of claim 1 or 8, wherein if a communication connection is established between a terminal device and the traffic indication signal, determining that the traffic indication signal is present at the target intersection;
the obtaining of the target signal state of the traffic indication signal of the target intersection includes:
and receiving the target signal state of the traffic indication signal of the target intersection, which is sent by the traffic indication signal.
12. The method of claim 1, wherein the method is applied to a target application program run by a terminal device; the method further comprises the following steps:
and sending the vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
13. A vibration encoding device, comprising:
the traffic signal acquisition unit is used for acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
the obtaining unit is further configured to obtain an effective duration corresponding to the target signal state, and determine, according to the effective duration, feasibility of passing through the target intersection when the effective duration arrives, where the effective duration is used to indicate: maintaining a remaining duration of a reference traffic state indicated by the target signal state;
the processing unit is used for carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results.
14. A vibration processing method for indicating traffic signals, comprising:
acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
obtaining effective time length corresponding to the state of the target signal, and determining the traffic feasibility of passing through the target intersection when the effective time length reaches according to the effective time length, wherein the effective time length is used for indicating: maintaining a remaining duration of a reference traffic state indicated by the target signal state;
performing vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results;
and sending a vibration coding result to the terminal equipment so that the terminal equipment drives a vibration device in the terminal equipment to vibrate according to the vibration coding result.
15. A vibration processing apparatus for indicating traffic signals, comprising:
the traffic signal acquisition unit is used for acquiring a target signal state of a traffic indication signal of a target intersection, wherein the traffic indication signal comprises a plurality of signal states, and one signal state is used for indicating a reference traffic state when the traffic indication signal passes through the target intersection;
the obtaining unit is further configured to obtain an effective duration corresponding to the target signal state, and determine, according to the effective duration, feasibility of passing through the target intersection when the effective duration arrives, where the effective duration is used to indicate: maintaining a remaining duration of a reference traffic state indicated by the target signal state;
the processing unit is used for carrying out vibration coding processing on the target signal state under the effective duration according to the reference traffic state indicated by the target signal state and the traffic feasibility of passing through the target intersection when the effective duration reaches; wherein, different reference traffic states correspond to different vibration coding results, and different traffic feasibility of the target intersection corresponds to different vibration coding results;
the processing unit is further configured to send a result of the vibration encoding to a terminal device, so that the terminal device drives a vibration device in the terminal device to vibrate according to the result of the vibration encoding.
16. A computer device, comprising:
a processor adapted to execute a computer program;
computer-readable storage medium, in which a computer program is stored which, when being executed by the processor, carries out a vibration encoding method as claimed in any one of claims 1 to 12, or a vibration processing method indicative of traffic signals as claimed in claim 14.
17. A computer-readable storage medium, characterized in that it stores a computer program adapted to be loaded by a processor and to execute a vibration encoding method according to any one of claims 1-12, or to implement a vibration processing method for indicating traffic signals according to claim 14.
CN202211138992.5A 2022-09-19 2022-09-19 Vibration encoding method, vibration processing method, apparatus, device, and medium Pending CN115240404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211138992.5A CN115240404A (en) 2022-09-19 2022-09-19 Vibration encoding method, vibration processing method, apparatus, device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211138992.5A CN115240404A (en) 2022-09-19 2022-09-19 Vibration encoding method, vibration processing method, apparatus, device, and medium

Publications (1)

Publication Number Publication Date
CN115240404A true CN115240404A (en) 2022-10-25

Family

ID=83680958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211138992.5A Pending CN115240404A (en) 2022-09-19 2022-09-19 Vibration encoding method, vibration processing method, apparatus, device, and medium

Country Status (1)

Country Link
CN (1) CN115240404A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115534980A (en) * 2022-12-01 2022-12-30 腾讯科技(深圳)有限公司 Traffic information indicating method, device, computer equipment and storage medium
CN115662002A (en) * 2022-12-08 2023-01-31 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2068049A2 (en) * 1991-06-13 1995-04-01 Ciberveu Sa System to assist the guiding of the non-sighted
WO2013172516A1 (en) * 2012-05-14 2013-11-21 도로교통공단 Sound signal system for a blind person using gps and a smart phone application
CN107456362A (en) * 2017-07-14 2017-12-12 武汉理工大学 A kind of blind person's trip intelligent guidance system and method
CN107705602A (en) * 2017-10-17 2018-02-16 上海斐讯数据通信技术有限公司 A kind of traffic lights information carrying means, method and intelligent terminal
CN108399738A (en) * 2018-03-15 2018-08-14 青岛智慧城市产业发展有限公司 A kind of intelligent transportation device of assisting blind trip
CN110496018A (en) * 2019-07-19 2019-11-26 努比亚技术有限公司 Method, wearable device and the storage medium of wearable device guide blind person
KR102155379B1 (en) * 2020-03-13 2020-09-11 한성정보기술주식회사 Method, apparatus and computer program for providing walking guide service using sonic communication to a person who is visually impaired
CN113101155A (en) * 2021-03-31 2021-07-13 电子科技大学成都学院 Traffic light intersection blind guiding method and blind guiding device based on machine vision
CN215265030U (en) * 2021-05-28 2021-12-21 广州华途信息科技有限公司 Intelligent street crossing sound system, mobile terminal and interactive prompting device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2068049A2 (en) * 1991-06-13 1995-04-01 Ciberveu Sa System to assist the guiding of the non-sighted
WO2013172516A1 (en) * 2012-05-14 2013-11-21 도로교통공단 Sound signal system for a blind person using gps and a smart phone application
CN107456362A (en) * 2017-07-14 2017-12-12 武汉理工大学 A kind of blind person's trip intelligent guidance system and method
CN107705602A (en) * 2017-10-17 2018-02-16 上海斐讯数据通信技术有限公司 A kind of traffic lights information carrying means, method and intelligent terminal
CN108399738A (en) * 2018-03-15 2018-08-14 青岛智慧城市产业发展有限公司 A kind of intelligent transportation device of assisting blind trip
CN110496018A (en) * 2019-07-19 2019-11-26 努比亚技术有限公司 Method, wearable device and the storage medium of wearable device guide blind person
KR102155379B1 (en) * 2020-03-13 2020-09-11 한성정보기술주식회사 Method, apparatus and computer program for providing walking guide service using sonic communication to a person who is visually impaired
CN113101155A (en) * 2021-03-31 2021-07-13 电子科技大学成都学院 Traffic light intersection blind guiding method and blind guiding device based on machine vision
CN215265030U (en) * 2021-05-28 2021-12-21 广州华途信息科技有限公司 Intelligent street crossing sound system, mobile terminal and interactive prompting device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115534980A (en) * 2022-12-01 2022-12-30 腾讯科技(深圳)有限公司 Traffic information indicating method, device, computer equipment and storage medium
CN115534980B (en) * 2022-12-01 2023-03-14 腾讯科技(深圳)有限公司 Traffic information indicating method, device, computer equipment and storage medium
CN115662002A (en) * 2022-12-08 2023-01-31 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
JP6881444B2 (en) Systems and methods for transmitting information to vehicles, vehicles, and non-transient computer-readable storage media
CN115240404A (en) Vibration encoding method, vibration processing method, apparatus, device, and medium
US20190235635A1 (en) Communication between autonomous vehicle and external observers
JP6744679B2 (en) Human-machine hybrid decision making method and apparatus
JP5888164B2 (en) Vehicle periphery monitoring device, vehicle periphery monitoring system
KR102183189B1 (en) Intra-vehicular mobile device management
CN114153220B (en) Remote control method for automatic driving based on artificial intelligence Internet of things platform
US11285965B2 (en) Autonomous vehicle interface system with multiple interface devices featuring redundant vehicle commands
CN107547581A (en) Method for pushing, device and the equipment of message
CN113205088B (en) Obstacle image presentation method, electronic device, and computer-readable medium
CN113479195A (en) Method for automatic valet parking and system for carrying out said method
CN111942384B (en) Vehicle low-speed automatic cruise method, client and vehicle low-speed automatic cruise system
CN106292432A (en) Information processing method, device and electronic equipment
CN107909840A (en) Information issuing method, device and computer-readable recording medium
WO2022098833A1 (en) Systems and methods for dynamic data buffering for autonomous vehicle remote assistance
CN111976875A (en) Control method and device for safely using bicycle, electronic equipment and vehicle system
CN110254442B (en) Method and apparatus for controlling vehicle display
EP4057253B1 (en) System, management method, automated driving vehicle, and program
JP2009090927A (en) Information management server, parking assist device, navigation system equipped with parking assist device, information management method, parking assist method, information management program, parking assist program, and record medium
CN112950966B (en) Information processing device, information processing system, and computer-readable recording medium
CN104019820A (en) Automatic navigation method and automatic navigation system based on camera shooting
JP7426471B2 (en) Self-driving car interaction system
JP7422344B2 (en) Notification control device, notification device, notification control method, and notification control program
CN114333368B (en) Voice reminding method, device, equipment and medium
CN115235487B (en) Data processing method, device, equipment and 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40074928

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221025