CN114047513A - Voice prompt method and device and electronic equipment - Google Patents

Voice prompt method and device and electronic equipment Download PDF

Info

Publication number
CN114047513A
CN114047513A CN202111335306.9A CN202111335306A CN114047513A CN 114047513 A CN114047513 A CN 114047513A CN 202111335306 A CN202111335306 A CN 202111335306A CN 114047513 A CN114047513 A CN 114047513A
Authority
CN
China
Prior art keywords
target
time
target object
obstacle
contour
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
CN202111335306.9A
Other languages
Chinese (zh)
Inventor
管云馨
宋德超
陈浩广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111335306.9A priority Critical patent/CN114047513A/en
Publication of CN114047513A publication Critical patent/CN114047513A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/886Radar or analogous systems specially adapted for specific applications for alarm systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • G08B3/1008Personal calling arrangements or devices, i.e. paging systems
    • G08B3/1016Personal calling arrangements or devices, i.e. paging systems using wireless transmission
    • G08B3/1025Paging receivers with audible signalling details
    • G08B3/1033Paging receivers with audible signalling details with voice message alert

Abstract

The application discloses a voice prompt method and device and electronic equipment. Wherein, the method comprises the following steps: determining the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment; under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance. The technical problem that the blind person needs to be guided to stick to judge the barrier when walking indoors and cannot know the distance from the barrier in advance is solved.

Description

Voice prompt method and device and electronic equipment
Technical Field
The application relates to the field of computers, in particular to a voice prompt method, a voice prompt device and electronic equipment.
Background
When a blind person exists at home, the blind person guiding stick or the blind person guiding dog is mostly used for guiding and indicating, and along with popularization of the intelligent household equipment, the public provides more and more requirements for functions of the household equipment. Most of the existing intelligent home equipment intelligently judges the environmental information required by the user according to the setting of the user, and the existing intelligent home equipment also has a place needing to be improved aiming at the requirement of the blind person, if the blind person moves indoors, how to enable the blind person to know the distance between the blind person and the barrier in advance without a blind guiding rod, thereby realizing free walking without worrying about colliding the barrier.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a voice prompt method, a voice prompt device and electronic equipment, and aims to at least solve the technical problem that when a blind person walks indoors, the blind person needs to judge an obstacle by a blind guiding rod and cannot know the distance between the blind person and the obstacle in advance.
According to an aspect of an embodiment of the present application, there is provided a method for voice prompt, including: determining the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is the target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle; under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
Optionally, acquiring the emission time of the microwave signal and the return time of the reflected signal includes: the method comprises the steps of obtaining a first transmitting time of a first microwave signal corresponding to a target object and a first returning time of a reflected signal of the first microwave signal, and obtaining a second transmitting time of a second microwave signal corresponding to a target obstacle and a second returning time of a reflected signal of the second microwave signal, wherein the time difference between the first transmitting time and the first returning time is recorded as a first time difference, and the time difference between the second transmitting time and the second returning time is recorded as a second time difference.
Optionally, determining the distance between the target object and the target obstacle according to at least the emission time and the return time includes: acquiring a first emission angle of a first microwave signal corresponding to a target object and acquiring a second emission angle of a second microwave signal corresponding to a target obstacle; and determining a relative distance between the target object and the target obstacle according to the first emission angle, the second emission angle and the target time difference, and taking the relative distance as the distance between the target object and the target obstacle, wherein the target time difference comprises the first time difference and the second time difference.
Optionally, the method further comprises: determining the relative direction of the target object and the target obstacle according to the first emission angle and the second emission angle; before controlling the radio frequency antenna equipment to output the alarm information, the method further comprises the following steps: generating alarm information at least according to the relative direction and the relative distance, wherein the alarm information at least comprises: the opposite direction.
Optionally, the number of target obstacles is plural; acquiring the emission time of the microwave signal and the return time of the reflected signal, comprising: and under the condition that the profiles of the plurality of target obstacles in the traveling direction are matched with the second profile information in the second profile set, taking the target obstacle corresponding to the reflected signal received for the first time in a preset time period as a final target obstacle, and acquiring the emission time of the microwave signal corresponding to the final target obstacle and the return time of the reflected signal.
Alternatively, the preset time period is determined depending on the traveling speed of the target object.
Optionally, the preset time period is inversely related to the travel speed.
Optionally, before determining the contours of the target object and the target obstacle in the target space according to the reflected signal of the microwave signal transmitted to the target space by the radio frequency antenna device, the method further includes: acquiring image information of a target object; determining the type of the target object according to the image information; and when the type is the specified type, triggering and determining the outlines of the target object and the target obstacle in the target space.
Optionally, the radio frequency antenna device is arranged in an obstacle.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for voice prompt, including: the system comprises a determining module, a detecting module and a judging module, wherein the determining module is used for determining the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, the target obstacle is the target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when encountering the target object and the target obstacle; the acquisition module is used for acquiring the emission time of the microwave signal and the return time of the reflected signal under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set; and the control module is used for determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory for storing program instructions; a processor coupled to the memory for executing program instructions that implement the functions of: determining the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is the target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle; under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
According to still another aspect of the embodiments of the present application, there is also provided a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and the method for performing the above voice prompt by a device in which the non-volatile storage medium is located is controlled when the program runs.
In the embodiment of the application, the outlines of a target object and a target obstacle in a target space are determined according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment; under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; the distance between the target object and the target barrier is determined at least according to the transmitting time and the returning time, and when the distance is smaller than the preset distance, the radio frequency antenna equipment is controlled to output alarm information, so that the aim of enabling the blind to know the distance between the blind and the barrier in advance is fulfilled, the blind can freely walk indoors without worrying about the technical effect of colliding with the barrier, and the technical problem that the blind needs to judge the barrier by the blind guiding rod when walking indoors and cannot know the distance between the blind and the barrier in advance is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a block diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of voice prompting according to an embodiment of the application;
FIG. 3 is a flow chart of determining a distance of a target object from a target obstacle according to an embodiment of the present application;
FIG. 4 is a flow chart of a process of handling multiple target obstacles according to an embodiment of the present application;
FIG. 5 is a flow chart of determining the identity of a target object according to an embodiment of the present application;
fig. 6 is a block diagram of an apparatus for voice prompting according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present application, there is provided a method embodiment of voice prompting, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Fig. 1 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing a method of voice prompt. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the voice prompting method in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104, and the processor 102 in the embodiment of the present application is used to implement the following functions when executing the program instructions: determining the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is the target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle; under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
It should be noted here that in some alternative embodiments, the computer device (or mobile device) shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or mobile device) described above.
In the foregoing operating environment, an embodiment of the present application provides a method for voice prompt as shown in fig. 2, where fig. 2 is a flowchart of a method for voice prompt according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step S202, determining outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is the target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle;
step S204, under the condition that the contour of the target object is matched with the first contour information in the first contour set and the contour of the target obstacle is matched with the second contour information in the second contour set, acquiring the transmitting time of the microwave signal and the returning time of the reflected signal, wherein the returning time is the time when the radio frequency antenna equipment detects the reflected signal;
and step S206, determining the distance between the target object and the target obstacle according to at least the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
Through the steps, the outlines of the target object and the target obstacle in the target space are determined according to the reflected signal of the microwave signal transmitted to the target space by the radio frequency antenna equipment; under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; the distance between the target object and the target barrier is determined at least according to the transmitting time and the returning time, and when the distance is smaller than the preset distance, the radio frequency antenna equipment is controlled to output alarm information, so that the aim of enabling the blind to know the distance between the blind and the barrier in advance is fulfilled, the blind can freely walk indoors without worrying about the technical effect of colliding with the barrier, and the technical problem that the blind needs to judge the barrier by the blind guiding rod when walking indoors and cannot know the distance between the blind and the barrier in advance is solved.
In some embodiments of the present application, step S204 may be implemented as follows: the method comprises the steps of obtaining a first transmitting time of a first microwave signal corresponding to a target object and a first returning time of a reflected signal of the first microwave signal, and obtaining a second transmitting time of a second microwave signal corresponding to a target obstacle and a second returning time of a reflected signal of the second microwave signal, wherein the time difference between the first transmitting time and the first returning time is recorded as a first time difference, and the time difference between the second transmitting time and the second returning time is recorded as a second time difference. Since the transmission rate of the microwave signal or its reflected signal is fixed, the distance between the transmitting device and the reflector (target object or obstacle) can be determined by the above-mentioned transmitted signal and its reflected signal, specifically: and determining the distance between the target object and the radio frequency antenna equipment according to the first time difference, and determining the distance between the target obstacle and the radio frequency antenna equipment according to the second time difference. After determining the two distances (the distance between the target object and the radio frequency antenna device and the distance between the target obstacle and the radio frequency antenna device), the relative distance between the target obstacle and the target object can be determined according to the two distances. It should be noted that, when the rf antenna device is a device disposed on a target obstacle, that is, when the distance between the rf antenna device and the target obstacle is 0 (that is, the positions of the rf antenna device and the target obstacle are coincident), the relative distance between the target obstacle and the target object may be determined directly according to the distance between the target object and the rf antenna device.
The above steps are described by the following examples, where if the first transmission time for acquiring the first microwave signal corresponding to the target object is 10:00:10, and the first return time for the reflected signal of the first microwave signal is 10:00:12, the time difference between the first transmission time and the first return time is 2s, that is, the first time difference is 2 s; if the second transmitting time for acquiring the second microwave signal corresponding to the target obstacle is 10:00:10 and the second returning time for acquiring the reflected signal of the second microwave signal is 10:00:13, the time difference between the second transmitting time and the second returning time is 3s, that is, the second time difference is 3 s.
According to the transmitting speed of the radio frequency antenna equipment and the first time difference, the distance s1 between the target object and the radio frequency antenna equipment can be obtained; the distance s2 between the target obstacle and the rf antenna device can be obtained according to the transmission rate of the microwave signal transmitted by the rf antenna device and the second time difference.
Optionally, in step S206, the distance between the target object and the target obstacle is determined at least according to the emission time and the return time, and the method specifically includes the following steps corresponding to the flowchart shown in fig. 3:
step S302, a first emission angle of a first microwave signal corresponding to a target object is obtained, and a second emission angle of a second microwave signal corresponding to a target obstacle is obtained;
step S304, determining a relative distance between the target object and the target obstacle according to the first emission angle, the second emission angle and the target time difference, and taking the relative distance as the distance between the target object and the target obstacle, wherein the target time difference comprises the first time difference and the second time difference. As described above, the first and second time differences are used to determine the distance between the target object and the rf antenna device, and the distance between the target obstacle and the rf antenna device, respectively.
The above steps S302 to S304 are described by taking the radio frequency antenna device as a center, where the direction in which the radio frequency antenna device is directly facing is 0 °, the clockwise rotation around the radio frequency antenna device is positive, the counterclockwise rotation is negative, or the clockwise rotation around the radio frequency antenna device is right and the counterclockwise rotation is left, assuming that the first transmission angle for acquiring the first microwave signal corresponding to the target object is 30 °, the second transmission angle for acquiring the second microwave signal corresponding to the target obstacle is 10 °, it is described that the target object and the target obstacle are both on the right side of the radio frequency antenna device, and the angle difference between the target object and the target obstacle is 20 °.
Taking the radio frequency antenna equipment, the target object and the target obstacle as three vertexes of a triangle, knowing a distance s1 between the target object and the radio frequency antenna equipment, a distance s2 between the target obstacle and the radio frequency antenna equipment, and an angle difference between the target object and the target obstacle, a relative distance between the target object and the target obstacle can be determined according to the cosine law.
In steps S302 to S304, determining the relative direction of the target object and the target obstacle according to the first emission angle and the second emission angle; before controlling the radio frequency antenna equipment to output the alarm information, the following steps can be executed: generating alarm information at least according to the relative direction and the relative distance, wherein the alarm information at least comprises: the opposite direction.
In the above example, if the first emission angle of the first microwave signal corresponding to the target object is 30 °, the second emission angle of the second microwave signal corresponding to the target obstacle is 10 °, and the first emission angle is greater than the second emission angle, the relative directions of the target object and the target obstacle are: the target obstacle is offset in the direction of 10 ° to the left of the target object. When generating the warning information, the warning information should have a description about the relative directions of the target object and the target obstacle, for example, the warning information may be: the target obstacle is offset in the direction of 10 ° on the left.
In step S204, if the number of the target obstacles is multiple, the transmitting time of the microwave signal and the returning time of the reflected signal are obtained, which corresponds to the flowchart shown in fig. 4, and specifically includes the following steps:
step S402, under the condition that the outlines of a plurality of target obstacles in the traveling direction are matched with second outline information in a second outline set, taking the target obstacle corresponding to the first received reflection signal in a preset time period as a final target obstacle;
step S404, obtaining the emission time of the microwave signal and the return time of the reflected signal corresponding to the final target obstacle.
In step S402, a preset time period is determined according to the traveling speed of the target object, and the preset time period is inversely related to the traveling speed. When the traveling speed of the target object is faster, the time period should be set smaller, and when the traveling speed of the target object is slower, the corresponding time period should be set larger. Since the traveling speeds of different target objects are different, assuming that the traveling speed of the target object is fast and the preset time period is set to be large, when the reflected signal of the first microwave signal corresponding to the target object is received within the preset time period, the target object may have collided with the target obstacle, so that the preset time period needs to be determined according to the traveling speed of the target object.
Before determining the contours of the target object and the target obstacle in the target space according to the reflected signal of the microwave signal transmitted to the target space by the radio frequency antenna device, the identity of the target object should also be determined in step S202, specifically, the identity of the target object should be determined in the following manner corresponding to the flowchart shown in fig. 5:
step S502, collecting image information of a target object;
step S504, determining the type of the target object according to the image information;
and step S506, when the type is the designated type, triggering and determining the outlines of the target object and the target obstacle in the target space.
In steps S502 to S506, image information of the target object is acquired through a camera mounted on the rf antenna, and image features in the image information are extracted, and when the image features match with the image features stored in the database, the identity of the target object and the type of the target object are determined, where the type of the target object includes at least two cases, normal and blind.
In step S506, when the type is the designated type, that is, the designated type is the type of the blind to which the target object belongs, the execution of steps S202 to S206 is triggered.
In step S206, when the distance is smaller than the preset distance, the method controls the rf antenna device to output the warning information, which specifically includes the following steps: and generating alarm information at least according to the relative direction and the relative distance, sending the alarm information to the radio frequency antenna equipment, and informing the target object of the alarm information through the radio frequency antenna equipment. For example, the preset distance is 30cm, and when the calculated distance between the target object and the target obstacle is less than 30cm, the radio frequency antenna device informs the target object of the alarm information.
In the above process, the radio frequency antenna device is disposed in the obstacle.
Fig. 6 is a device for voice prompt according to an embodiment of the present application, and as shown in fig. 6, the device includes:
a determining module 60, configured to determine the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by a radio frequency antenna device, where the target obstacle is a target obstacle in a traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal encounters the target object and the target obstacle;
an obtaining module 62, configured to obtain the emission time of the microwave signal and the return time of the reflected signal when the contour of the target object matches the first contour information in the first contour set and the contour of the target obstacle matches the second contour information in the second contour set;
and the control module 64 is configured to determine a distance between the target object and the target obstacle according to at least the transmission time and the return time, and control the radio frequency antenna device to output the warning information when the distance is smaller than a preset distance.
In the obtaining module 62, obtaining the transmission time of the microwave signal and the return time of the reflected signal specifically includes the following steps: the method comprises the steps of obtaining a first transmitting time of a first microwave signal corresponding to a target object and a first returning time of a reflected signal of the first microwave signal, and obtaining a second transmitting time of a second microwave signal corresponding to a target obstacle and a second returning time of a reflected signal of the second microwave signal, wherein the time difference between the first transmitting time and the first returning time is recorded as a first time difference, and the time difference between the second transmitting time and the second returning time is recorded as a second time difference.
In the control module 64, the distance between the target object and the target obstacle is determined at least according to the emission time and the return time, which specifically includes the following steps: acquiring a first emission angle of a first microwave signal corresponding to a target object and acquiring a second emission angle of a second microwave signal corresponding to a target obstacle; and determining a relative distance between the target object and the target obstacle according to the first emission angle, the second emission angle and the target time difference, and taking the relative distance as the distance between the target object and the target obstacle, wherein the target time difference comprises the first time difference and the second time difference.
In the control module 64, determining the relative direction of the target object and the target obstacle according to the first emission angle and the second emission angle; before controlling the rf antenna device to output the alarm information, the control module 64 further needs to perform the following steps: generating alarm information at least according to the relative direction and the relative distance, wherein the alarm information at least comprises: the opposite direction.
In the obtaining module 62, when the number of the target obstacles is multiple, the method obtains the transmission time of the microwave signal and the return time of the reflected signal, and specifically includes the following steps: under the condition that the outlines of the target obstacles in the traveling direction are matched with second outline information in a second outline set, taking the target obstacle corresponding to the reflected signal received for the first time in a preset time period as a final target obstacle; and acquiring the emission time of the microwave signal and the return time of the reflected signal corresponding to the final target obstacle.
In the above process, the preset time period is determined according to the traveling speed of the target object, and the preset time period is inversely related to the traveling speed.
In the determining module 60, before determining the contour of the target object and the target obstacle in the target space according to the reflected signal of the microwave signal transmitted to the target space by the radio frequency antenna device, the identity of the target object should be determined, specifically, by: acquiring image information of a target object; determining the type of the target object according to the image information; and when the type is the specified type, triggering and determining the outlines of the target object and the target obstacle in the target space.
In the above process, the radio frequency antenna device is disposed in the obstacle.
It should be noted that the apparatus for voice prompt shown in fig. 6 is used for executing the method for voice prompt shown in fig. 2 to 5, and therefore, the related explanation in the method for voice prompt is also applicable to the apparatus for voice prompt, and is not described herein again.
The embodiment of the application also provides a nonvolatile storage medium, which includes a stored program, wherein when the program runs, the apparatus where the nonvolatile storage medium is located is controlled to execute the following voice prompt method:
determining the outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is the target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle;
under the condition that the contour of the target object is matched with first contour information in the first contour set and the contour of the target obstacle is matched with second contour information in the second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal;
and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
In the above step, obtaining the emission time of the microwave signal and the return time of the reflected signal includes: the method comprises the steps of obtaining a first transmitting time of a first microwave signal corresponding to a target object and a first returning time of a reflected signal of the first microwave signal, and obtaining a second transmitting time of a second microwave signal corresponding to a target obstacle and a second returning time of a reflected signal of the second microwave signal, wherein the time difference between the first transmitting time and the first returning time is recorded as a first time difference, and the time difference between the second transmitting time and the second returning time is recorded as a second time difference.
Determining a distance between the target object and the target obstacle based at least on the launch time and the return time, comprising: acquiring a first emission angle of a first microwave signal corresponding to a target object and acquiring a second emission angle of a second microwave signal corresponding to a target obstacle; and determining a relative distance between the target object and the target obstacle according to the first emission angle, the second emission angle and the target time difference, and taking the relative distance as the distance between the target object and the target obstacle, wherein the target time difference comprises the first time difference and the second time difference.
Optionally, the apparatus where the non-volatile storage medium is controlled to execute the following steps when the program runs: determining the relative direction of the target object and the target obstacle according to the first emission angle and the second emission angle; before controlling the radio frequency antenna equipment to output the alarm information, the method further comprises the following steps: generating alarm information at least according to the relative direction and the relative distance, wherein the alarm information at least comprises: the opposite direction.
Wherein, in the case that the number of the target obstacles is plural; acquiring the emission time of the microwave signal and the return time of the reflected signal, comprising: and under the condition that the profiles of the plurality of target obstacles in the traveling direction are matched with the second profile information in the second profile set, taking the target obstacle corresponding to the reflected signal received for the first time in a preset time period as a final target obstacle, and acquiring the emission time of the microwave signal corresponding to the final target obstacle and the return time of the reflected signal.
The preset time period is determined according to the traveling speed of the target object, and the preset time period is inversely related to the traveling speed.
Before determining the profile of the target object and the target obstacle in the target space from the reflected signal of the microwave signal transmitted by the radio frequency antenna device to the target space, the method further comprises: acquiring image information of a target object; determining the type of the target object according to the image information; and when the type is the specified type, triggering and determining the outlines of the target object and the target obstacle in the target space.
In performing all of the above steps, the radio frequency antenna device involved therein is disposed in an obstacle.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (12)

1. A method of voice prompting, comprising:
determining outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is a target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle;
under the condition that the contour of the target object is matched with first contour information in a first contour set and the contour of the target obstacle is matched with second contour information in a second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal;
and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
2. The method of claim 1, wherein the acquiring the transmission time of the microwave signal and the return time of the reflected signal comprises: acquiring a first transmitting time of a first microwave signal corresponding to the target object and a first returning time of a reflected signal of the first microwave signal, and acquiring a second transmitting time of a second microwave signal corresponding to the target obstacle and a second returning time of a reflected signal of the second microwave signal, wherein a time difference between the first transmitting time and the first returning time is recorded as a first time difference, and a time difference between the second transmitting time and the second returning time is recorded as a second time difference.
3. The method of claim 2, wherein said determining a distance of said target object from said target obstacle as a function of at least said transmit time and said return time comprises:
acquiring a first emission angle of the first microwave signal corresponding to the target object; acquiring a second emission angle of the second microwave signal corresponding to the target obstacle;
determining a relative distance between the target object and the target obstacle according to the first emission angle, the second emission angle and a target time difference, and taking the relative distance as the distance between the target object and the target obstacle, wherein the target time difference comprises the first time difference and the second time difference.
4. The method of claim 3,
the method further comprises the following steps: determining the relative direction of the target object and the target obstacle according to the first emission angle and the second emission angle;
before the controlling the radio frequency antenna device to output the alarm information, the method further includes: generating the alarm information at least according to the relative direction and the relative distance, wherein the alarm information at least comprises: the relative direction.
5. The method of claim 1, wherein the number of target obstacles is plural; the acquiring the emission time of the microwave signal and the return time of the reflected signal includes:
and under the condition that the profiles of the plurality of target obstacles in the traveling direction are matched with second profile information in the second profile set, taking a target obstacle corresponding to a reflected signal received for the first time in a preset time period as a final target obstacle, and acquiring the transmitting time of the microwave signal and the returning time of the reflected signal corresponding to the final target obstacle.
6. The method of claim 5, wherein the preset time period is determined according to a travel speed of the target object.
7. The method of claim 6, wherein the preset time period is inversely related to the travel speed.
8. The method of claim 1, wherein prior to determining the profile of the target object and the target obstacle in the target space from the reflected signals of the microwave signals transmitted by the radio frequency antenna apparatus into the target space, the method further comprises:
acquiring image information of the target object;
determining the type of the target object according to the image information;
and when the type is a specified type, triggering and determining the outlines of the target object and the target obstacle in the target space.
9. The method according to any of claims 1 to 8, wherein the radio frequency antenna device is arranged in an obstacle.
10. An apparatus for voice prompting, comprising:
a determining module, configured to determine contours of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by a radio frequency antenna device, where the target obstacle is a target obstacle in a traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal encounters the target object and the target obstacle;
the acquisition module is used for acquiring the transmitting time of the microwave signal and the returning time of the reflected signal under the condition that the contour of the target object is matched with first contour information in a first contour set and the contour of the target obstacle is matched with second contour information in a second contour set;
and the control module is used for determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
11. An electronic device, comprising:
a memory for storing program instructions;
a processor coupled to the memory for executing program instructions that implement the functions of: determining outlines of a target object and a target obstacle in a target space according to a reflected signal of a microwave signal transmitted to the target space by radio frequency antenna equipment, wherein the target obstacle is a target obstacle in the traveling direction of the target object, and the reflected signal is a signal reflected by the microwave signal when the microwave signal meets the target object and the target obstacle; under the condition that the contour of the target object is matched with first contour information in a first contour set and the contour of the target obstacle is matched with second contour information in a second contour set, acquiring the emission time of the microwave signal and the return time of the reflected signal; and determining the distance between the target object and the target obstacle at least according to the transmitting time and the returning time, and controlling the radio frequency antenna equipment to output alarm information when the distance is smaller than a preset distance.
12. A non-volatile storage medium, comprising a stored program, wherein the program, when executed, controls a device in which the non-volatile storage medium resides to perform the method of voice guidance according to any one of claims 1 to 9.
CN202111335306.9A 2021-11-11 2021-11-11 Voice prompt method and device and electronic equipment Pending CN114047513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111335306.9A CN114047513A (en) 2021-11-11 2021-11-11 Voice prompt method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111335306.9A CN114047513A (en) 2021-11-11 2021-11-11 Voice prompt method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114047513A true CN114047513A (en) 2022-02-15

Family

ID=80209021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111335306.9A Pending CN114047513A (en) 2021-11-11 2021-11-11 Voice prompt method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114047513A (en)

Similar Documents

Publication Publication Date Title
CN108958490B (en) Electronic device, gesture recognition method thereof and computer-readable storage medium
CN110991575B (en) Asset inventory method and device, readable storage medium and robot
US11858494B2 (en) Method for processing vehicle driving mode switching, vehicle and server
CN108347691B (en) Positioning method and device
KR101176141B1 (en) Position tracking system and apparatus using signal strength of wireless signal
CN110148312B (en) Collision early warning method and device based on V2X system and storage medium
CN110297211A (en) A kind of localization method and electronic equipment
CN108806280B (en) Parking space state detection method and device
CN112071087B (en) Speed limit early warning method and system based on V2I, vehicle and storage medium
CN112102370A (en) Target tracking method and device, storage medium and electronic device
KR20220136430A (en) Detection method and device
CN111242986B (en) Cross-camera obstacle tracking method, device, equipment, system and medium
CN110861087A (en) Robot initialization positioning method and device, mobile robot and storage medium
CN107980102B (en) Laser radar scanning method and laser radar
CN114047513A (en) Voice prompt method and device and electronic equipment
US11336480B2 (en) Control method and device for equipment and refrigerator
CN113390433A (en) Robot positioning method and device, robot and storage medium
CN110941003B (en) Vehicle identification method, device, storage medium and electronic equipment
JP2021030855A (en) Remote parking device and remote parking method
CN112034474A (en) Monitoring equipment adjusting method and device and laser radar adjusting method
CN117459889A (en) Mobile terminal positioning method and device, storage medium and electronic equipment
CN111722240B (en) Electronic equipment, object tracking method and device
CN114046595A (en) Control method and device of air conditioning equipment and electronic equipment
CN111443700A (en) Robot and navigation control method and device thereof
CN117253365B (en) Automatic detection method and related device for vehicle traffic condition

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