CN112116803A - Information processing method and device, electronic device and storage medium - Google Patents

Information processing method and device, electronic device and storage medium Download PDF

Info

Publication number
CN112116803A
CN112116803A CN202010923425.5A CN202010923425A CN112116803A CN 112116803 A CN112116803 A CN 112116803A CN 202010923425 A CN202010923425 A CN 202010923425A CN 112116803 A CN112116803 A CN 112116803A
Authority
CN
China
Prior art keywords
ultrasonic signal
received
signal
equipment
information processing
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.)
Granted
Application number
CN202010923425.5A
Other languages
Chinese (zh)
Other versions
CN112116803B (en
Inventor
华承平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010923425.5A priority Critical patent/CN112116803B/en
Publication of CN112116803A publication Critical patent/CN112116803A/en
Application granted granted Critical
Publication of CN112116803B publication Critical patent/CN112116803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/02Non-electrical signal transmission systems, e.g. optical systems using infrasonic, sonic or ultrasonic waves

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to an information processing method and apparatus, an electronic device, and a storage medium. The method comprises the following steps: receiving a voice instruction; determining whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device; and responding to the voice command if the ultrasonic signal is received. By the method, the precision of close-range control can be improved, and the use experience of a user is improved.

Description

Information processing method and device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of internet of things technology, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
The Internet of things is an important component of a new generation of information technology and is also an important development stage of the 'informatization' era. As the name implies, the Internet of things is the Internet with connected objects. This has two layers: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; and secondly, the user side extends and expands to any article to perform information exchange and communication, namely, the article information. The internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing, and is also called as the third wave of development of the world information industry after computers and the internet.
Based on the development of the internet of things technology, various intelligent household devices such as an intelligent air conditioner, an intelligent sound box and an intelligent lamp appear. However, how to improve the near-field sensing capability among the smart home devices so as to enable the devices to communicate more accurately becomes a problem to be solved urgently.
Disclosure of Invention
The disclosure provides an information processing method and apparatus, an electronic device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method, applied to a first device, including:
receiving a voice instruction;
determining whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device;
and responding to the voice command if the ultrasonic signal is received.
Optionally, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
Optionally, if the ultrasonic signal is received, responding to the voice command includes:
and responding to the voice command if the ultrasonic signal of the authorization equipment is received.
Optionally, if the ultrasonic signal is received, responding to the voice command includes:
and if the ultrasonic signal is received, responding to the voice command when the signal intensity of the ultrasonic signal meets the intensity condition.
Optionally, the signal strength of the ultrasonic signal satisfies an intensity condition, including:
the signal intensity of the ultrasonic signal is greater than an intensity threshold; or the like, or, alternatively,
and determining the distance between the first equipment and the second equipment according to the signal intensity of the ultrasonic signal, wherein the distance is smaller than a distance threshold value.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing method applied to a second device, including:
transmitting an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
Optionally, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus, applied in a first device, including:
a receiving module configured to receive a voice instruction;
a determination module configured to determine whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device;
and the response module is configured to respond to the voice command if the ultrasonic signal is received.
Optionally, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
Optionally, the response module is specifically configured to respond to the voice command if the ultrasonic signal of the authorization device is received.
Optionally, the response module is specifically configured to, if the ultrasonic signal is received, respond to the voice instruction when the signal strength of the ultrasonic signal meets the strength condition.
Optionally, the signal strength of the ultrasonic signal satisfies an intensity condition, including:
the signal intensity of the ultrasonic signal is greater than an intensity threshold; or the like, or, alternatively,
and determining the distance between the first equipment and the second equipment according to the signal intensity of the ultrasonic signal, wherein the distance is smaller than a distance threshold value.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an information processing apparatus, applied to a second device, including:
a transmitting module configured to transmit an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
Optionally, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information processing method as described in the first or second aspect above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a storage medium comprising:
the instructions in the storage medium, when executed by a processor of a first device, enable the first device to perform the information processing method as described in the first aspect above; or, the instructions in the storage medium, when executed by a processor of a second device, enable the second device to perform the information processing method as described in the second aspect above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the first electronic device of the present disclosure, upon receiving the voice instruction, also determines whether an ultrasonic signal transmitted by the second device is received, and responds to the voice instruction upon determining that the ultrasonic signal is received. The receiving range based on ultrasonic wave signal has the restriction and ultrasonic wave signal does not have the penetrability, therefore can effectively judge whether two equipment are near and do not block between two equipment to promote the precision of closely controlling, reduce the maloperation, promote the user and use experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present disclosure.
Fig. 3 is an exemplary diagram of an interaction flow of an information processing method in an embodiment of the present disclosure.
Fig. 4 is a diagram illustrating an information processing apparatus i according to an exemplary embodiment.
Fig. 5 is a diagram illustrating an information processing apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a first device according to an example embodiment.
Fig. 7 is a block diagram illustrating a second device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart of an information processing method shown in an embodiment of the present disclosure, which is applied to a first device, and as shown in fig. 1, the information processing method includes the following steps:
s11, receiving a voice instruction;
s12, determining whether the ultrasonic signal transmitted by the second equipment is received when the voice instruction is received; wherein the second device is a mobile device;
and S13, if the ultrasonic signal is received, responding to the voice command.
In the embodiment of the disclosure, the first device is a voice device, and the voice device supports the functions of voice acquisition and audio output, so that the voice interaction between the human and the machine can be realized on the basis. The voice device includes: and the intelligent sound box or other Internet of things equipment supporting the voice interaction function. Furthermore, the first device may also receive ultrasonic signals, for example using a built-in microphone.
The second device is a mobile device, and the mobile device includes a device that is movable based on the mobile carrying of the user, such as a terminal device that is convenient for the user to carry, for example, a smartphone or a wearable device. Furthermore, the second device may also emit ultrasonic signals, for example using a built-in speaker.
In steps S11 to S13, the first device receives the voice command, determines whether the ultrasonic signal transmitted by the second device is received when the voice command is received, and responds to the voice command if the ultrasonic signal is received by the first device.
Take the example that the first device is a smart speaker and the second device is a smart phone. The smart phone periodically transmits the ultrasonic signal, and the smart phone can move along with the movement of the user in the process of transmitting the ultrasonic signal because the smart phone is carried by the user. When the intelligent sound box receives a voice command of turning on the lamp and receives an ultrasonic signal transmitted by the smart phone based on the approach of the smart phone, the intelligent sound box responds to the command of turning on the lamp and sends a control command to the intelligent lamp related to the command of turning on the lamp in advance so as to turn on the intelligent lamp.
It should be noted that, because the receiving range of the ultrasonic signal is limited and the ultrasonic signal has no penetrability, for example, the distance between the transmitting device and the receiving device of the ultrasonic signal needs to be within 3 to 4 meters, and there is no wall barrier between the transmitting device and the receiving device, in the embodiment of the present disclosure, it can be effectively determined whether two devices are nearby and there is no barrier between the two devices (for example, the same room) by using the characteristics of the ultrasonic wave.
For another example, when there are a plurality of smart speakers, the plurality of smart speakers may all receive the voice command, and since the reception range of the ultrasonic signal is limited and the ultrasonic signal does not have penetrability, the smart speaker that can receive the ultrasonic signal may respond to the voice command in close proximity.
In some embodiments, there are bluetooth-based, Wireless-Fidelity (Wi-Fi), Near Field Communication (NFC), and Ultra Wide Band (UWB) based schemes to determine whether two devices are nearby. However, in the bluetooth and Wi-Fi schemes, the signal penetration is too strong and easy to penetrate through the wall, so that it is impossible to accurately judge whether two objects are nearby and have no blocking in the middle, and thus there may be a problem of erroneous control. For example, the first device receives an instruction from the user to shout "light" in the same room, and may turn on the light outside the room, rather than the light in the room where the user is located, since the user may be closer to the light outside the wall. In addition, in the above NFC and UWB schemes, the effective distance is short and hardware support is required, so that there may be problems of inefficient control and high cost.
As can be seen from the comparison, the first electronic device of the present disclosure further determines whether the ultrasonic signal transmitted by the second device is received when receiving the voice instruction, and responds to the voice instruction when determining that the ultrasonic signal is received. The receiving range based on ultrasonic wave signal has the restriction and ultrasonic wave signal does not have the penetrability, therefore can effectively judge whether two equipment are near and do not block between two equipment to promote the precision of closely controlling, promote the user and use experience.
In addition, when the first electronic device is internally provided with the microphone, the microphone can be used for receiving ultrasonic signals, and the close-range control with higher precision can be realized without additional hardware support, so that the cost can be saved.
In one embodiment, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
In this embodiment, the ultrasonic signal further carries identification information of the second device, where the identification information includes at least one of:
a device serial number;
universal Unique Identifier (UUID);
a physical Address (MAC).
The identification information may uniquely identify the second device for determining whether the second device is an authorized device having the authority to trigger a response to the voice command.
It should be noted that, in the embodiment of the present disclosure, whether the second device is an authorized device may be determined by the first device, for example, after the first device receives the ultrasonic signal of the second device and acquires the identification information, whether the second device is an authorized device that can control the first device is determined based on the identification information of the legitimate device that is authorized to respond to the voice command and stored in the cloud. Additionally, whether the second device is an authorized device may also be determined by a cloud associating the first device and the second device. For example, after receiving an ultrasonic signal of the second device and acquiring identification information, the first device uploads the identification information of the second device to the server, and receives a notification message sent by the server after determining that the first device and the second device are devices associated with the same user account, and the first device can determine that the second device is an authorized device with a trigger voice instruction response permission based on the received notification message.
In another embodiment, the identification information may also be: during the authorization process in response to a voice command, when detecting an ultrasonic signal sent by the second device, the first device assigns any unique identifier of the second device, which may not have any relation with the hardware identifier (e.g., MAC address) of the second device, and the unique identifier may be an authorization Serial Number (SN) in the authorization process. After authorization, the second device stores the authorization serial number locally or in the cloud.
In one embodiment, step S13 includes:
and responding to the voice command if the ultrasonic signal of the authorization equipment is received.
In this embodiment, based on the identification information of the second device carried in the ultrasonic signal, when it is determined that the second device is an authorized device, the voice instruction is responded based on the ultrasonic signal of the authorized device.
It can be understood that the safety of the close range control can be improved by responding to the voice command after the ultrasonic signal transmitted by the authorized second device is determined to be received.
As previously mentioned, the second device may be a mobile device. In one embodiment, the second device may also be a stationary device. For example, the first device is a smart speaker and the second device is a smart light. The intelligent lamp periodically transmits ultrasonic signals, when the intelligent sound box receives a voice command of turning on the lamp, and the intelligent sound box receives the ultrasonic signals transmitted by the intelligent lamp, the voice command of turning on the lamp is responded, and a control command is sent to the second equipment based on the identification information of the second equipment, so that the intelligent lamp is turned on. In this embodiment, no association relationship is established in advance between the first device and the second device, and thus the proximity control can be realized by the ultrasonic signal and the identification information carried in the ultrasonic signal.
In another embodiment, the first device may also be: smart windows and doors or smart curtains, etc., and the second device may be a mobile device, etc.
In one embodiment, step S13 includes:
and if the ultrasonic signal is received, responding to the voice command when the signal intensity of the ultrasonic signal meets the intensity condition.
In this embodiment, if the first device receives the ultrasonic signal, the first device further responds to the voice command when the signal strength of the ultrasonic signal satisfies the strength condition. Since the closer the distance between the first device and the second device is, the greater the signal intensity of the ultrasonic signal is, the more the precision of the close-range control can be improved by this means.
In one embodiment, the signal strength of the ultrasonic signal satisfies an intensity condition, including:
the signal intensity of the ultrasonic signal is greater than an intensity threshold; or the like, or, alternatively,
and determining the distance between the first equipment and the second equipment according to the signal intensity of the ultrasonic signal, wherein the distance is smaller than a distance threshold value.
In this embodiment, the condition that the signal strength of the ultrasonic signal satisfies the strength condition includes that the signal strength of the ultrasonic signal is greater than a strength threshold, and the distance between the first device and the second device, which is determined according to the signal strength of the ultrasonic signal, is less than a distance threshold.
It should be noted that, in this embodiment, the distance between the first device and the second device may be determined based on the signal strength of the ultrasonic signal. In another embodiment, when two or more ultrasonic signal receivers (e.g., two microphones) are included in the first device, the distance of the first device and the second device may also be calculated based on the time difference at which the ultrasonic signals are received by the different ultrasonic signal receivers.
Fig. 2 is a flowchart of an information processing method shown in the embodiment of the present disclosure, which is applied to a second mobile device, and as shown in fig. 2, the information processing method includes the following steps:
s21, transmitting an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
In an embodiment of the present disclosure, the second device is a mobile device, which includes a device that is movable based on a mobile carrying of the user, such as a smartphone or a wearable device; the mobile device also comprises a device which can control the self-moving device based on the instruction, such as a sweeping robot and the like.
The second device may emit an ultrasonic signal, for example, using a built-in speaker. The loudspeaker can be an audio output device which can originally output sound waves heard by a user, so that the original existing loudspeaker in the equipment outputs ultrasonic signals is multiplexed, a device specially outputting the ultrasonic signals is not additionally introduced, the equipment structure is simplified, and the hardware cost is reduced.
In the embodiment of the present disclosure, the second device may periodically transmit the ultrasonic signal at a certain time interval, and may also continuously transmit the ultrasonic signal, which is not limited by the present disclosure.
And the ultrasonic signal transmitted by the second equipment is used for responding to the voice command received by the first equipment after the first equipment receives the ultrasonic signal. Because the receiving range of the ultrasonic signal is limited and the ultrasonic signal has no penetrability, if the first device can receive the ultrasonic signal, the first device and the second device are close to each other and no barrier exists between the two devices. Therefore, this disclosure can promote the precision of close range control through ultrasonic signal's mode, promotes the user and uses experience.
In one embodiment, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
In this embodiment, the ultrasonic signal further carries identification information of the second device, where the identification information can uniquely identify the second device, and is used to determine whether the second device is an authorized device having a trigger voice instruction response authority. It can be understood that, the second device carries the identification information of the second device in the transmitted ultrasonic signal, so that the first device can respond to the voice command after determining that the received ultrasonic signal transmitted by the authorized second device is received, and the security of the close-range control can be improved.
In one embodiment, the method further comprises:
when the ultrasonic signal does not carry identification information or carries wrong identification information and carries request information for requesting to respond to a voice command, prompt information is output, and the prompt information can be a voice prompt output by first equipment, a text prompt output by second equipment based on the instruction of the first equipment, or an authorization prompt sent by the first equipment to control equipment.
In short, the prompt message is used to prompt the legitimate user whether to grant the current second device with the authority to trigger the voice instruction.
During the authorization process, the authentication of the authorization password is required to ensure the security of the authorization.
Fig. 3 is an interaction flowchart of an information processing method in an embodiment of the present disclosure, and as shown in fig. 3, the information processing method applied to a first device and a movable second device includes the following steps:
s31, the second equipment transmits ultrasonic signals;
s32, the first equipment receives a voice instruction;
s33, the first equipment determines whether the ultrasonic signal transmitted by the second equipment is received when the voice instruction is received;
and S34, if the first equipment receives the ultrasonic signal, responding to the voice command.
In an embodiment of the present disclosure, the second device may transmit an ultrasonic signal, and the first electronic device may further determine whether the ultrasonic signal transmitted by the second device is received when receiving the voice instruction, and respond to the voice instruction when determining that the ultrasonic signal is received. The receiving range based on ultrasonic wave signal has the restriction and ultrasonic wave signal does not have the penetrability, therefore can effectively judge whether two equipment are near and do not block between two equipment to promote the precision of closely controlling, promote the user and use experience.
In addition, when the first electronic device is internally provided with a microphone and the second electronic device is internally provided with a loudspeaker, the loudspeaker can be used for emitting ultrasonic signals, and the microphone can be used for receiving the ultrasonic signals, so that the close-range control with higher precision can be realized without additional hardware support, and the cost can be saved.
The method further comprises the following steps:
the first equipment receives a configuration instruction;
sending transmission parameters for configuring the ultrasonic signal transmission to the second equipment according to the configuration instruction, wherein the transmission parameters at least comprise: the transmit power.
The transmitting power of the ultrasonic signal determines the distance between the monitoring equipment capable of successfully monitoring the ultrasonic signal and the second equipment, and the transmitting power is positively correlated with the distance. In the embodiment of the disclosure, the transmitting power of the second device for transmitting the ultrasonic wave is configured by the first device, so that individual configuration of different first devices can be realized. The first device may directly send the configuration instruction to the second device through a direct communication link with the second device, or may send the configuration instruction to the second device through a network.
In another embodiment, the transmission parameters may further include: the transmit frequency, etc. The higher the transmission frequency is, the denser the ultrasonic wave transmitted by the second device is under the condition of changing the same distance, the higher the frequency of the ultrasonic wave signal monitored by the first device is, so that the response rate can be improved.
In one embodiment, the transmission parameters include: transmitting an extremum of the parameter, the extremum may include: minimum and maximum values, thus facilitating the second device to select the transmission parameters suitable for the current state according to the state of the second device and/or the wireless environment and according to the extreme values of the transmission parameters.
For example, taking the transmission power as an example, the transmission parameters include: the second device can select target transmitting power adapted to the residual capacity between the maximum value and the minimum value of the transmitting power according to the residual capacity of the second device, so that the ultrasonic wave signal can be transmitted according to the target transmitting power. The remaining capacity is positively correlated with the transmission power.
For example, taking the transmission frequency as an example, the transmission parameters include: the second device can select a target transmitting frequency adapted to the residual capacity between the maximum value and the minimum value of the transmitting frequency according to the residual capacity of the second device, so that the ultrasonic wave signal can be transmitted according to the target transmitting frequency. The remaining capacity is positively correlated with the transmission frequency.
For another example, in the case of large interference of the current ultrasonic signal, the transmission power and/or the transmission frequency may be appropriately reduced to suppress further complexity of the wireless environment.
In summary, the above is merely an example, and the specific implementation is not limited thereto.
Fig. 4 is a diagram illustrating an information processing apparatus first according to an exemplary embodiment, applied to a first device, and referring to fig. 4, the information processing apparatus includes:
a receiving module 101 configured to receive a voice instruction;
a determination module 102 configured to determine whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device;
a response module 103 configured to respond to the voice command if the ultrasonic signal is received.
Optionally, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
Optionally, the response module 103 is specifically configured to respond to the voice command if the ultrasonic signal of the authorized device is received.
Optionally, the response module 103 is specifically configured to, if the ultrasonic signal is received, respond to the voice instruction when the signal strength of the ultrasonic signal meets the strength condition.
Optionally, the signal strength of the ultrasonic signal satisfies an intensity condition, including:
the signal intensity of the ultrasonic signal is greater than an intensity threshold; or the like, or, alternatively,
and determining the distance between the first equipment and the second equipment according to the signal intensity of the ultrasonic signal, wherein the distance is smaller than a distance threshold value.
Fig. 5 is a diagram of an information processing apparatus shown in accordance with an exemplary embodiment, applied to a second device that is movable, and referring to fig. 5, the information processing apparatus includes:
a transmitting module 201 configured to transmit an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
Optionally, the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
Fig. 6 is a block diagram illustrating a first device according to an example embodiment. For example, the first device 700 may be a smart speaker or the like.
Referring to fig. 6, the first device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 810 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 804 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of a first device, enable the first device to perform an information processing method, the method comprising:
receiving a voice instruction;
determining whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device;
and responding to the voice command if the ultrasonic signal is received.
Fig. 7 is a block diagram illustrating a second device according to an example embodiment. For example, the second device 800 may be a cell phone or the like.
Referring to fig. 7, the second device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of a second device, enable the second device to perform an information processing method, the method comprising:
transmitting an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. An information processing method applied to a first device, the method comprising:
receiving a voice instruction;
determining whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device;
and responding to the voice command if the ultrasonic signal is received.
2. The method of claim 1, wherein the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
3. The method of claim 2, wherein said responding to said voice command if said ultrasonic signal is received comprises:
and responding to the voice command if the ultrasonic signal of the authorization equipment is received.
4. The method of any one of claims 1 to 3, wherein said responding to said voice command if said ultrasonic signal is received comprises:
and if the ultrasonic signal is received, responding to the voice command when the signal intensity of the ultrasonic signal meets the intensity condition.
5. The method of claim 4, wherein the signal strength of the ultrasonic signal satisfies a strength condition comprising:
the signal intensity of the ultrasonic signal is greater than an intensity threshold; or the like, or, alternatively,
and determining the distance between the first equipment and the second equipment according to the signal intensity of the ultrasonic signal, wherein the distance is smaller than a distance threshold value.
6. An information processing method applied to a second mobile device, the method comprising:
transmitting an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
7. The method of claim 6, wherein the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
8. An information processing apparatus, applied to a first device, the apparatus comprising:
a receiving module configured to receive a voice instruction;
a determination module configured to determine whether an ultrasonic signal transmitted by a second device is received when the voice instruction is received; wherein the second device is a mobile device;
and the response module is configured to respond to the voice command if the ultrasonic signal is received.
9. The apparatus of claim 8, wherein the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
10. The apparatus of claim 9,
the response module is specifically configured to respond to the voice command if the ultrasonic signal of the authorization device is received.
11. The apparatus according to any one of claims 8 to 10,
the response module is specifically configured to respond to the voice command when the signal strength of the ultrasonic signal meets the strength condition if the ultrasonic signal is received.
12. The method of claim 11, wherein the signal strength of the ultrasonic signal satisfies a strength condition comprising:
the signal intensity of the ultrasonic signal is greater than an intensity threshold; or the like, or, alternatively,
and determining the distance between the first equipment and the second equipment according to the signal intensity of the ultrasonic signal, wherein the distance is smaller than a distance threshold value.
13. An information processing apparatus, applied to a second device that is movable, the apparatus comprising:
a transmitting module configured to transmit an ultrasonic signal; the ultrasonic signal is used for responding to a voice instruction received by the first equipment after being received by the first equipment.
14. The apparatus of claim 13, wherein the ultrasonic signal carries identification information of the second device; the identification information of the second device is used for determining whether the second device is an authorized device having the authority of triggering the voice instruction response.
15. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the information processing method according to any one of claims 1 to 5; or configured to perform the information processing method according to any one of claims 6 to 7.
16. A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a first device, enable the first device to perform the information processing method of any one of claims 1 to 5; or, when the instructions in the storage medium are executed by a processor of the second device, the second device is enabled to execute the information processing method according to any one of claims 6 to 7.
CN202010923425.5A 2020-09-04 2020-09-04 Information processing method and device, electronic device and storage medium Active CN112116803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010923425.5A CN112116803B (en) 2020-09-04 2020-09-04 Information processing method and device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010923425.5A CN112116803B (en) 2020-09-04 2020-09-04 Information processing method and device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112116803A true CN112116803A (en) 2020-12-22
CN112116803B CN112116803B (en) 2022-02-22

Family

ID=73801885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010923425.5A Active CN112116803B (en) 2020-09-04 2020-09-04 Information processing method and device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112116803B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947208A (en) * 2021-02-26 2021-06-11 北京小米移动软件有限公司 Equipment control method and device, equipment and storage medium
CN113037394A (en) * 2021-02-25 2021-06-25 Oppo广东移动通信有限公司 Communication connection method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967729A (en) * 2015-05-08 2015-10-07 广东欧珀移动通信有限公司 Information response method of mobile terminal, information response system of mobile terminal, mobile terminal and intelligent bracelet
CN106371799A (en) * 2016-09-20 2017-02-01 北京小米移动软件有限公司 Volume control method and device for multimedia playback equipment
CN106896362A (en) * 2017-02-28 2017-06-27 北京小米移动软件有限公司 A kind of terminal that function is detected with ultrasonic distance
CN107076851A (en) * 2014-10-22 2017-08-18 株式会社电装 Ultrasonic type article detection device
CN107393066A (en) * 2017-06-30 2017-11-24 北京康得新创科技股份有限公司 Unlocking method, terminal, server and the system for unlocking of smart lock
CN107705788A (en) * 2017-09-29 2018-02-16 上海与德通讯技术有限公司 The method of calibration and intelligent terminal of a kind of phonetic order
US10109182B1 (en) * 2016-07-20 2018-10-23 Dsp Group Ltd. Voice command conversion
CN109186039A (en) * 2018-09-13 2019-01-11 奥克斯空调股份有限公司 A kind of control method and air conditioner of air-conditioning automatic start-stop
CN109347709A (en) * 2018-10-26 2019-02-15 北京蓦然认知科技有限公司 A kind of smart machine control method, apparatus and system
CN110830644A (en) * 2019-09-16 2020-02-21 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107076851A (en) * 2014-10-22 2017-08-18 株式会社电装 Ultrasonic type article detection device
CN104967729A (en) * 2015-05-08 2015-10-07 广东欧珀移动通信有限公司 Information response method of mobile terminal, information response system of mobile terminal, mobile terminal and intelligent bracelet
US10109182B1 (en) * 2016-07-20 2018-10-23 Dsp Group Ltd. Voice command conversion
CN106371799A (en) * 2016-09-20 2017-02-01 北京小米移动软件有限公司 Volume control method and device for multimedia playback equipment
CN106896362A (en) * 2017-02-28 2017-06-27 北京小米移动软件有限公司 A kind of terminal that function is detected with ultrasonic distance
CN107393066A (en) * 2017-06-30 2017-11-24 北京康得新创科技股份有限公司 Unlocking method, terminal, server and the system for unlocking of smart lock
CN107705788A (en) * 2017-09-29 2018-02-16 上海与德通讯技术有限公司 The method of calibration and intelligent terminal of a kind of phonetic order
CN109186039A (en) * 2018-09-13 2019-01-11 奥克斯空调股份有限公司 A kind of control method and air conditioner of air-conditioning automatic start-stop
CN109347709A (en) * 2018-10-26 2019-02-15 北京蓦然认知科技有限公司 A kind of smart machine control method, apparatus and system
CN110830644A (en) * 2019-09-16 2020-02-21 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037394A (en) * 2021-02-25 2021-06-25 Oppo广东移动通信有限公司 Communication connection method and device
CN112947208A (en) * 2021-02-26 2021-06-11 北京小米移动软件有限公司 Equipment control method and device, equipment and storage medium

Also Published As

Publication number Publication date
CN112116803B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
EP3136648B1 (en) Method and device for determining control authority on user device
US9769667B2 (en) Methods for controlling smart device
EP3076716A1 (en) Method and apparatus for network access
EP3128774B1 (en) Methods, devices and system for accessing network
US20170105237A1 (en) Methods and apparatuses for network connection
EP2981116B1 (en) Method and apparatus for accessing wi-fi network and computer program product
CN107071862B (en) Account number binding method and device and intelligent equipment
KR102421657B1 (en) Method, apparatus and medium for controlling door guard
CN109451786B (en) Unmanned aerial vehicle management method and device and communication connection establishment method and device
CN113783774B (en) Cross-cluster network configuration method and device, communication equipment and storage medium
CN110896364B (en) Network distribution method and device, electronic equipment and storage medium
CN105100074A (en) Data operation processing method, device and terminal equipment
US20180138933A1 (en) Method and device for adjusting frequencies of intercom apparatuses
CN112116803B (en) Information processing method and device, electronic device and storage medium
US20240063980A1 (en) System information reception method and apparatus, and system information transmission method and apparatus
US20210307104A1 (en) Method and apparatus for controlling intelligent voice control device and storage medium
CN107404521B (en) Method, device and system for resetting equipment
CN105491518A (en) Method and device for social reminding based on wearable devices
CN109040651B (en) Video communication method and device
CN112039604A (en) Equipment rapid networking technology based on intelligent home scene
CN106211160B (en) Network access method and device
CN111025921A (en) Local automation control method, local automation control device and electronic equipment
CN106922005B (en) Method and device for accessing wireless access point and computer readable storage medium
CN105634928A (en) Social reminding method and device based on wearable device
CN108924085B (en) Network scheduling method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant