CN114360495A - Method and equipment for waking up sound box - Google Patents

Method and equipment for waking up sound box Download PDF

Info

Publication number
CN114360495A
CN114360495A CN202111503804.XA CN202111503804A CN114360495A CN 114360495 A CN114360495 A CN 114360495A CN 202111503804 A CN202111503804 A CN 202111503804A CN 114360495 A CN114360495 A CN 114360495A
Authority
CN
China
Prior art keywords
sound box
short
wireless communication
user
unlocking
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
CN202111503804.XA
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111503804.XA priority Critical patent/CN114360495A/en
Publication of CN114360495A publication Critical patent/CN114360495A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification techniques
    • G10L17/22Interactive procedures; Man-machine interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a method for waking up a sound box, wherein when the sound box is in close-range wireless connection with electronic equipment with a function of unlocking the sound box, the sound box can respond to the waking up operation of any user; any user can wake up the sound box and operate the sound box. When the close-range wireless connection does not exist between the sound box and the electronic equipment with the function of unlocking the sound box, the sound box can not respond to the awakening operation of the user. Therefore, in a scene that multiple persons commonly use the loudspeaker box, the situation that a manager frequently wakes up the loudspeaker box for different persons is avoided, the loudspeaker box waking-up process is simplified, and the use safety of the loudspeaker box is ensured.

Description

Method and equipment for waking up sound box
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for waking up a speaker.
Background
With the continuous development of the technology, intelligent devices are more and more popular. The intelligent device is an electronic device with artificial intelligence, for example, the intelligent device can perform human-computer voice interaction, can execute related operations according to voice instructions, and the like. The user can realize ordering songs, online shopping or knowing weather forecast through the intelligent equipment, and can also control other intelligent household equipment through the intelligent equipment, for example, through voice interaction with a sound box, the curtain is opened, the temperature of the refrigerator is set, the temperature of the water heater is raised in advance, and the like.
For security, privacy, etc., the user's rights to operate the smart device may be set. Take the intelligent device as an example. Some speakers determine the user's authority to operate the speaker by recognizing the user's voiceprint. For example, a voice of a specific user is preset in the sound box, and a voiceprint model is generated according to the voice. And when receiving the awakening words of the user, carrying out voiceprint matching through an algorithm. And if the voiceprint of the received awakening word is successfully matched with the voiceprint model preset in the sound box, determining that an effective voiceprint is matched, and further executing corresponding operation according to the voice instruction of the user. And if the voiceprint of the received awakening word fails to be matched with the voiceprint model preset in the sound box, forbidding to execute any operation according to the voice instruction of the user.
The method of determining user rights through voiceprint matching has certain drawbacks. For example, the reliability of voiceprint matching is not very high, and there is a possibility of replay attack. For example, for far-field sound pickup, the accuracy of voiceprint matching of the smart device has a great room for improvement. For another example, under the condition that multiple persons use the intelligent device together, the person having the authority to operate the intelligent device needs to frequently wake up the intelligent device for different users, the process is complicated, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a method for waking up a sound box, which can simplify the process of operating the sound box and solve the safety problem of sound box use in public places.
In a first aspect, an embodiment of the present application provides a method for waking up a sound box, where the method may include: the loudspeaker box detects a wake-up request from a user; determining that the sound box establishes a close-range wireless connection with one or more electronic devices; responding to a wake-up request of a user to enable the loudspeaker box to be woken up. The electronic equipment has the function of unlocking the sound box.
In the method, when the sound box is in close-range wireless connection with the electronic equipment with the function of unlocking the sound box, the sound box can respond to the awakening operation of any user; any user can wake up the sound box and operate the sound box. When the close-range wireless connection does not exist between the sound box and the electronic equipment with the function of unlocking the sound box, the sound box can not respond to the awakening operation of the user. Therefore, in a scene that multiple persons commonly use the loudspeaker box, the situation that a manager frequently wakes up the loudspeaker box for different persons is avoided, the wake-up process is simplified, and the safety of the loudspeaker box is ensured.
In one possible design, the speaker is determined to be set to the secure mode before the speaker determines that the close-range wireless connection is established with the one or more electronic devices. In the method, the method for waking up the sound box provided by the embodiment of the application is executed only in the safe mode, and the sound box can be woken up by any user in the non-safe mode.
In one possible design, the loudspeaker detects that a short-range wireless connection is established with the short-range wireless communication device; if the short-distance wireless communication equipment is determined to belong to the stored equipment list, determining that the short-distance wireless communication equipment has the function of unlocking the sound box; the equipment list comprises one or more identifications of electronic equipment with the function of unlocking the sound box. In the method, the sound box stores an equipment list, and when the short-distance wireless communication equipment establishes short-distance wireless connection with the sound box, the short-distance wireless communication equipment can be determined to be the electronic equipment with the function of unlocking the sound box by judging that the short-distance wireless communication equipment belongs to the stored equipment list.
In one possible design, the sound box receives information of the short-distance wireless communication equipment, wherein the short-distance wireless communication equipment is the electronic equipment with the function of unlocking the sound box, which is selected by a user; and the sound box determines that the short-distance wireless communication equipment is equipment with a function of unlocking the sound box according to the information of the short-distance wireless communication equipment. In this manner, the speaker may set one or more of the near field communication devices as an electronic device with an unlock speaker function according to user settings.
In one possible design, the sound box establishes a short-distance wireless connection with the electronic device by any one of the following methods: near Field Communication (NFC), Bluetooth, Zigbee, and wireless fidelity (Wi-Fi).
In a second aspect, an embodiment of the present application provides an audio amplifier, where the audio amplifier may implement the method for waking up an audio amplifier according to the first aspect. The sound box can realize the method through software, hardware or corresponding software executed by hardware.
In one possible design, the loudspeaker may include a processor and a memory. The processor is configured to support the loudspeaker to perform the corresponding functions of the method of the first aspect. The memory is used for coupling with the processor and storing necessary program instructions and data of the sound box. In addition, the sound box can also comprise a communication interface for supporting communication between the sound box and other electronic equipment. The communication interface may be a transceiver or a transceiver circuit.
In one possible design, the enclosure may include: a processor and a wireless communication module. Wherein the processor is configured to detect a wake-up request from a user; the wireless communication module is used for establishing close-range wireless connection with the electronic equipment; the electronic equipment has the function of unlocking the sound box; the processor is further configured to determine that the wireless communication module establishes a short-range wireless connection with one or more electronic devices, and to respond to a wake-up request from a user to wake up the speaker.
In one possible design, the processor is further configured to determine that the loudspeaker is set to the safe mode.
In one possible design, the wireless communication module is further configured to establish a short-range wireless connection with the short-range wireless communication device; the processor is further configured to determine that the wireless communication module establishes a short-range wireless connection with the short-range wireless communication device; the processor is further used for determining whether the short-distance wireless communication equipment belongs to a stored equipment list, wherein the equipment list comprises the identification of one or more electronic equipment with the function of unlocking the sound box; the processor is further used for determining that the short-distance wireless communication equipment has the function of unlocking the sound box if the short-distance wireless communication equipment is determined to belong to the stored equipment list.
In one possible design, the wireless communication module is further configured to receive information of a short-range wireless communication device, where the short-range wireless communication device is an electronic device with a function of unlocking a sound box selected by a user; the processor is further used for determining that the short-distance wireless communication equipment is equipment with a function of unlocking the sound box according to the information of the short-distance wireless communication equipment.
In one possible design, the wireless communication module establishes a short-range wireless connection with the electronic device by any one of the following methods: near Field Communication (NFC), Bluetooth, Zigbee, and wireless fidelity (Wi-Fi).
In a third aspect, an embodiment of the present application provides a method for waking up a sound box, where the method may include: the terminal receives an operation of establishing a corresponding relation between the electronic equipment and the sound box by a user; the electronic equipment has the function of unlocking the sound box; the terminal informs the sound box to start to establish a corresponding relation between the electronic equipment and the sound box; the terminal receives the short-distance wireless communication equipment list from the sound box, responds to the operation of selecting one piece of electronic equipment by the user, and informs the sound box to establish the corresponding relation between the electronic equipment selected by the user and the sound box. Wherein the list of short-range wireless communication devices includes an identification of one or more electronic devices. In the method, a user can set the short-distance wireless communication device as the electronic device with the function of unlocking the sound box through the terminal. When the electronic equipment with the function of unlocking the sound box is in close-range wireless connection with the sound box, the sound box can be unlocked. Thus, the safety of the sound box can be ensured.
In one possible design, the terminal sets the speaker to the safe mode in response to a user operation to set the speaker to the safe mode.
In one possible design, in response to a first query operation by a user, the terminal displays information of the electronic device that has established a correspondence with the sound box. Therefore, the user can inquire the information of the electronic equipment with the function of unlocking the sound box through the terminal.
In one possible design, in response to a second query operation by the user, the terminal displays information of the electronic device that has established a correspondence with the speaker and has established the short-range wireless connection with the speaker. In this way, the user can inquire the information of the electronic equipment which has the function of unlocking the sound box and has established wireless connection with the sound box through the terminal.
In a fourth aspect, embodiments of the present application provide a terminal that may include a processor and a memory. The processor is configured to enable the terminal to perform the corresponding functions in the method of the third aspect. The memory is used for coupling with the processor and storing necessary program instructions and data of the sound box. In addition, the sound box can also comprise a communication interface for supporting communication between the sound box and other electronic equipment. The communication interface may be a transceiver or a transceiver circuit.
In a fifth aspect, embodiments of the present application provide a computer storage medium, which includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device is caused to perform the method for waking up a sound box according to the first aspect and possible design manners thereof.
In a sixth aspect, embodiments of the present application provide a computer storage medium, which includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device executes the method for waking up a sound box according to the third aspect and possible design manners thereof.
In a seventh aspect, embodiments of the present application provide a computer program product, which when running on a computer, causes the computer to execute the method for waking up a sound box according to the first aspect and possible design manners thereof.
In an eighth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to execute the method for waking up a sound box according to the third aspect and possible design manners thereof.
An embodiment of the present application further provides a chip system, where the chip system includes a processor, and is configured to implement the method according to any one of the above aspects.
An embodiment of the present application provides a communication system, which includes the above speaker for implementing the method according to the first aspect, and the above terminal for implementing the method according to the third aspect.
An embodiment of the present application provides a communication system, which includes the sound box described above for implementing the method according to the first aspect, and the computer storage medium described above according to the sixth aspect.
Any one of the above-provided devices, or computer storage media, or computer program products, or chip systems, or communication systems is configured to execute the above-provided corresponding methods, so that the beneficial effects achieved by the devices, or computer storage media, or computer program products, or chip systems, or communication systems can refer to the beneficial effects of the corresponding schemes in the above-provided corresponding methods, and are not described herein again.
Drawings
FIG. 1 is a schematic diagram of an example scenario of a method for waking up a speaker;
fig. 2A is a first schematic view of a first scene example of a method for waking up a sound box according to an embodiment of the present application;
fig. 2B is a schematic view of a second example of a scenario of a method for waking up a sound box according to an embodiment of the present application;
fig. 3A is a schematic view of a system architecture applicable to a method for waking up a sound box according to an embodiment of the present application;
fig. 3B is a schematic diagram of a system architecture applicable to the method for waking up a sound box according to the embodiment of the present application;
fig. 4A is a schematic composition diagram of a hardware structure of an intelligent device according to an embodiment of the present disclosure;
fig. 4B is a schematic composition diagram of a hardware structure of a terminal according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a method for setting up an electronic device according to an embodiment of the present disclosure;
fig. 6 is a first schematic view illustrating an example of a display interface of a management unit according to an embodiment of the present application;
fig. 7 is a schematic diagram of an example display interface of a management unit according to an embodiment of the present application;
fig. 8 is a third schematic view of an example display interface of a management unit according to an embodiment of the present application;
fig. 9 is a flowchart of a method for setting up an electronic device according to an embodiment of the present application;
fig. 10 is a flowchart of a first method for waking up a sound box according to an embodiment of the present application;
fig. 11 is a flowchart of a method for waking up a sound box according to an embodiment of the present application;
fig. 12 is a flowchart of a method for waking up a sound box according to an embodiment of the present application.
Detailed Description
With the popularization of smart devices, the smart devices can be used in public places in addition to personal use. For example, in the office, the bar, and the like of an enterprise, after the intelligent device completes the distribution network, the situation that a plurality of people operate the intelligent device through voice exists. For security and the like, the user is generally provided with the right to operate the smart device.
Referring to fig. 1, an example of the smart device is the speaker in fig. 1. The loudspeaker box comprises two command states: an awake state and a sleep state. In the awakening state, the sound box can respond to the voice command of the user and execute corresponding action; in the dormant state, the speaker does not respond to the user's voice command.
In some cases, the speaker determines the user's permission to operate the speaker through voiceprint matching. In the embodiment of the application, the user with the authority of operating the loudspeaker box is called as an administrator. The sound box stores the voice of the administrator in advance and forms a corresponding voiceprint model. In the dormant state, after the sound box receives the awakening words of the user, if the voiceprint model of the administrator can be matched, the sound box can be awakened and switched into the awakening state; if the voiceprint model of the administrator cannot be matched, the voice recognition module cannot be awakened and keeps in a dormant state. For example, in fig. 1, the wake-up word of the sound box is "xiaoyan", the user a is an administrator, and a voiceprint model of the user a is preset in the sound box. The sound box receives the voice 'Xiaoyi' of the user A, and is awakened when matched with the corresponding voiceprint model. The sound box can further respond to the voice command 'play next' of the user A, execute the corresponding action and play the next song. And the user B and the user C do not have the authority to operate the loudspeaker box. The voiceprint of the awakening word 'Xiaoyi' spoken by the user B or the user C is not matched with the voiceprint model preset in the sound box, and the sound box cannot be awakened. For example, the user B speaks the wake-up word "mini art", and the speaker does not perform any action and remains in the sleep state. Or the sound box can carry out voice prompt for users that the sound box cannot be operated. For example, the user C speaks the wake-up word "xiaozhi", and the speaker plays the voice "hui-not a manager. "
In public places, under the condition that a plurality of people use the loudspeaker box. For example, in a meeting in a conference room, twenty persons participating in the meeting may need to operate the speaker. If the administrator of the setting is rare, such as setting an administrator. When any person needs to use the sound box, the administrator needs to wake up the sound box through voice. The wake-up process is complicated and the user experience is poor. If the number of administrators is large, for example, twenty people who participate in the conference are all set as administrators. Then, the security of this audio amplifier can't guarantee, has lost the meaning of setting up the user's authority.
The embodiment of the application provides a method for waking up a sound box, which may set one or more electronic devices as a device having a function of unlocking the sound box, for example, the electronic device having the function of unlocking the sound box is device a. When the speaker is in close range wireless connection with device a, any user can wake up the speaker. When the speaker is not in close range wireless connection with device a, the speaker does not respond to the user's wake-up operation.
The short-range wireless connection is a connection for short-range wireless communication. The Near Field Communication (NFC), bluetooth, ZigBee (ZigBee), wireless fidelity (Wi-Fi), and other communication technologies may be included in the near field communication. The electronic device supporting the short-range wireless communication function is the short-range wireless communication device. An electronic device with a function of unlocking a sound box is a short-distance wireless communication device.
Take smart machine as the audio amplifier, the electronic equipment that possesses the unblock audio amplifier function is intelligent bracelet as an example. The intelligence bracelet all supports near field communication function with the audio amplifier, for example, intelligence bracelet and audio amplifier all support bluetooth communication. Referring to fig. 2A, there is no bluetooth connection between the speaker and the smart band, and the user a, the user B, or the user C utters the wake-up word "mini art", and the speaker does not respond to the wake-up operation of the user and maintains the sleep state. In some embodiments, the speaker may also perform a voice prompt in the locked state. For example, when the sound box receives the wake-up word "xiaozhi" spoken by the user C, the playing voice "is wrong, and the sound box is locked and cannot be used. Please refer to fig. 2B, the bluetooth connection is established between the smart band and the speaker, and the user a, the user B, or the user C can wake up the speaker. Illustratively, the sound box receives the wake-up word "mini art", which is spoken by the user a, and in response to the wake-up word "mini art", the sound box switches to the wake-up state. Further, the sound box responds to the voice command of the user to play the next song and executes the playing of the next song. Illustratively, the speaker receives the wake word "mini art" spoken by the user B, and in response to the wake word "mini art", the speaker switches to a wake state and plays the wake prompt voice "hi |! I am there. "
Therefore, when the intelligent device is in close-range wireless connection with the device with the intelligent device unlocking function, any user can wake up the intelligent device. In a scene that multiple persons use the intelligent equipment together, the intelligent equipment is prevented from being frequently awakened by an administrator for different persons. When the intelligent device is not in close-range wireless connection with the device with the intelligent device unlocking function, the intelligent device does not respond to the awakening operation of the user; the safe use of the intelligent equipment is ensured.
The method for waking up the sound box provided by the embodiment of the application can be applied to the system shown in fig. 3A. The system may include a smart device 100 and an electronic device 200.
The smart device 100 may be a smart home device (e.g., a sound box, a smart refrigerator, a smart television, etc.), a portable computer (e.g., a mobile phone, etc.), a notebook computer, a Personal Computer (PC), a wearable electronic device (e.g., a smart watch, smart glasses, or a smart helmet, etc.), a tablet computer, an Augmented Reality (AR) \\ Virtual Reality (VR) device, an in-vehicle computer, etc., and the embodiment of the present application does not specially limit the specific form of the smart device 100.
The smart device 100 may include two operating states: a locked state and an unlocked state. The electronic device 200 has a function of unlocking the smart device 100; when the short-distance wireless connection does not exist between the intelligent device 100 and the electronic device 200, the intelligent device 100 is in a locked state; in the locked state, the smart device 100 does not respond to the user's wake-up operation and does not switch from the sleep state to the wake-up state in response to the user uttering a wake-up word. When the smart device 100 is in close-range wireless connection with the electronic device 200, the smart device 100 is in an unlocked state; in the unlocked state, the smart device 100 may switch from the sleep state to the awake state in response to any user wake-up operation.
The electronic apparatus 200 is an electronic apparatus supporting a short-range wireless communication function. For example, the electronic device 200 may be a mobile phone, a smart watch, a smart bracelet, or the like, which supports a short-range wireless communication function.
Of course, the smart device 100 also supports short-range wireless communication functions. The smart device 100 and the electronic device 200 may establish a short-range wireless connection. For example, the smart device 100 and the electronic device 200 both support bluetooth functions, and the smart device 100 and the electronic device 200 may perform bluetooth pairing connection.
In some embodiments, as shown in fig. 3B, the system may further include a management unit 300. The management unit 300 is used for managing and configuring the intelligent device 100. For example, the management unit 300 may be configured to set the electronic device 200 corresponding to the smart device 100; the management unit 300 may also be used to manage a process of establishing a short-range wireless connection between the smart device 100 and the electronic device 200, and the like. It should be noted that the management unit 300 may be a device independent from the smart device 100, or a module in the device independent from the smart device 100; the management unit 300 may also be a module in the intelligent device 100, which is responsible for management and configuration functions; the management unit 300 may also be a module in the electronic device 200, and can implement functions of managing and configuring the intelligent device 100. The management unit 300 may be a hardware device, a software module, or a combination of hardware and software. The embodiment of the present application is not limited to the specific form of the management unit 300. For example, the smart device 100 is a sound box; the electronic device 200 is a smart bracelet; the management unit 300 may be a management Application (APP), which may be located in the mobile phone, in the speaker box, or in the smart bracelet.
Please refer to fig. 4A, which is a schematic structural diagram of an intelligent device 100 according to an embodiment of the present disclosure. The smart device 100 may include a processor 110, a memory 120, an audio module 130, a speaker 130A, a microphone 130B, a wireless communication module 140, a power module 150, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the smart device 100. In other embodiments of the present application, the smart device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be hardware, software, or a combination of software and hardware implementations.
The processor 110 may include one or more processors, such as: the processor 110 may include an Application Processor (AP), a controller, a Digital Signal Processor (DSP), and the like. The different processors may be separate devices or may be integrated into one or more processors.
The controller may be a neural center and a command center of the smart device 100, among others. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
The application processor may have installed thereon an operating system of the smart device 100 for managing hardware and software resources of the smart device 100. Such as managing and configuring memory, prioritizing system resources, controlling input and output devices, operating networks, managing file systems, managing drivers, etc. The operating system may also be used to provide an operator interface for a user to interact with the system. Various types of software, such as a driver, an application (App), and the like, may be installed in the operating system.
Memory 120 for storing instructions and data. In some embodiments, memory 120 is a cache memory. The memory may hold instructions or data that have been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it may be called directly from the memory 120. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The memory 120 may also store an address (e.g., a bluetooth address) for uniquely identifying the smart device 100, and addresses of other electronic devices (e.g., a smart band). In addition, the memory 120 may also store connection data with electronic devices that have been successfully paired before the smart device 100. For example, the connection data may be a bluetooth address of an electronic device that has successfully paired with the smart device 100. Based on the connection data, the smart device 100 can automatically pair with the electronic device without having to configure a connection therewith, such as for legitimacy verification and the like. The bluetooth address may be a Media Access Control (MAC) address.
In some embodiments, the memory 120 may also be disposed in the processor 110, i.e., the processor 110 includes the memory 120. This is not limited in the embodiments of the present application.
The smart device 100 may implement audio functions through the audio module 130, the speaker 130A, the microphone 130B, and the application processor. Such as music playing, recording, etc. In the embodiment of the present application, the intelligent device 100 may implement a function of receiving the voice of the user through the audio module 130, the microphone 130B, the application processor, and the like; such as receiving a user's wake-up word, or voice instructions. The smart device 100 may implement a sound playing function through the audio module 130, the speaker 130A, the application processor, and the like; for example, a prompt voice is played.
The audio module 130 is used to convert digital audio information into an analog audio signal output and also used to convert an analog audio input into a digital audio signal. The audio module 130 may also be used to encode and decode audio signals. In some embodiments, the audio module 130 may be disposed in the processor 110, or some functional modules of the audio module 130 may be disposed in the processor 110.
Speaker 130A, also known as a "horn," is used to convert electrical audio signals into acoustic signals.
The microphone 130B, also called "microphone", is used to convert sound signals into electrical signals. The user can input a sound signal to the microphone 130B by speaking the user's mouth near the microphone 130B.
The wireless communication module 140 may provide a solution for wireless communication applied to the smart device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), NFC, infrared (infrared, IR), ZigBee, and the like. For example, the wireless communication module 140 may be used to implement communication between the smart device 100 and the electronic device 200 in the embodiment of the present application; and can also be used to implement the communication between the intelligent device 100 and the management unit 300 in the embodiment of the present application. The wireless communication module 140 may be one or more devices integrating at least one communication processing module. The wireless communication module 140 receives electromagnetic waves via an antenna, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. Wireless communication module 140 may also receive signals to be transmitted from processor 110, frequency modulate them, amplify them, and convert them into electromagnetic waves via an antenna for radiation.
The power module 150 may be used to supply power to various components included in the smart device 100. In some embodiments, the power module 150 may be a battery, such as a rechargeable battery.
In some embodiments, the smart device 100 may also include a display screen 160, a sensor module 170. Wherein the sensor module 170 may include a pressure sensor 170A, a touch sensor 170B, and the like. In the present application, the management unit 300 may be located in the smart device 100 in case the smart device 100 includes the display screen 160, the sensor module 170. A user may operate a User Interface (UI) of the management unit 300 through the display screen 160, so as to implement functions of managing and configuring the smart device.
The display screen 160 is used to display images, video, and the like. The display screen 160 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the smart device 100 may include 1 or N display screens 160, N being a positive integer greater than 1.
The pressure sensor 170A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 170A may be disposed on the display screen 160. The pressure sensor 170A can be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 170A, the capacitance between the electrodes changes. The smart device 100 determines the intensity of the pressure from the change in capacitance. When a touch operation is applied to the display screen 160, the smart device 100 detects the intensity of the touch operation according to the pressure sensor 170A. The smart device 100 may also calculate the position of the touch from the detection signal of the pressure sensor 170A.
The touch sensor 170B is also referred to as a "touch panel". The touch sensor 170B may be disposed on the display screen 160, and the touch sensor 170B and the display screen 160 form a touch screen, which is also called a "touch screen". The touch sensor 170B is used to detect a touch operation applied thereto or therearound. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 160. In other embodiments, the touch sensor 170B may be disposed on the surface of the smart device 100 at a different location than the display screen 160.
When the management unit 300 is a unit independent from the intelligent device 100, please refer to fig. 4B, which is a schematic structural diagram of a terminal 400 according to an embodiment of the present application. Among them, the management unit 300 is a unit operating on the terminal 400. For example, the management unit 300 is a management APP in the terminal 400 (mobile phone).
Among them, the terminal 400 may include a processor 410, an external memory interface 420, an internal memory 421, a charging management module 430, a power management module 431, a battery 432, an antenna 1, an antenna 2, a mobile communication module 440, a wireless communication module 450, a display 460, an audio module 470, a speaker 470A, a microphone 470B, a sensor module 480, and the like. Wherein the sensor module 480 may include a pressure sensor 480A, a touch sensor 480B, etc.
It is to be understood that the illustrated structure of the embodiment of the present invention is not intended to limit the terminal 400 specifically. In other embodiments of the present application, terminal 400 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 410 may include one or more processors, such as: the processor 410 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processors may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, the neural center and the command center of the terminal 400. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 410 for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may hold instructions or data that have been used or recycled by the processor 410. If the processor 410 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 410, thereby increasing the efficiency of the system.
For example, in the embodiment of the present application, the management unit 300 may run on the processor 410 of the terminal 400.
The charging management module 430 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. The charging management module 430 may also supply power to the terminal through the power management module 431 while charging the battery 432.
The power management module 431 is used to connect the battery 432, the charging management module 430 and the processor 410. The power management module 431 receives input from the battery 432 and/or the charge management module 430 and provides power to the processor 410, the internal memory 421, the external memory, the display 460, the wireless communication module 450, and the like. In some other embodiments, the power management module 431 may be disposed in the processor 410. In other embodiments, the power management module 431 and the charging management module 430 may be disposed in the same device.
The wireless communication function of the terminal 400 may be implemented by the antenna 1, the antenna 2, the mobile communication module 440, the wireless communication module 450, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal 400 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 440 may provide a solution including 2G/3G/4G/5G wireless communication and the like applied on the terminal 400. The mobile communication module 440 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 440 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 440 may be disposed in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 440 may be disposed in the same device as at least some of the modules of the processor 410.
The wireless communication module 450 may provide a solution for wireless communication applied to the terminal 400, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), NFC, Infrared (IR), and the like. For example, the wireless communication module 450 may be used to implement the short-range wireless communication between the management unit and the smart device 100 in the embodiment of the present application. The wireless communication module 450 may be one or more devices that integrate at least one communication processing module. The wireless communication module 450 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 410. The wireless communication module 450 may also receive a signal to be transmitted from the processor 410, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
The terminal 400 implements a display function through the GPU, the display screen 460, and the application processor, etc. The GPU is a microprocessor for image processing, coupled to a display screen 460 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 460 is used to display images, video, and the like. The display screen 460 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the terminal 400 may include 1 or N display screens 460, N being a positive integer greater than 1.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the terminal 400. The external memory card communicates with the processor 410 through the external memory interface 420 to implement data storage functions. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 421 may be used to store computer-executable program code, including instructions. The processor 410 executes various functional applications of the terminal 400 and data processing by executing instructions stored in the internal memory 421. The internal memory 421 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the terminal 400, and the like. In addition, the internal memory 421 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The terminal 400 may implement audio functions through the audio module 470, the speaker 470A, the microphone 470B, and the application processor, etc. Such as music playing, recording, receiving user speech, etc.
The audio module 470 is used to convert digital audio information into an analog audio signal output and also used to convert an analog audio input into a digital audio signal. The audio module 470 may also be used to encode and decode audio signals. In some embodiments, the audio module 470 may be disposed in the processor 410, or some functional modules of the audio module 470 may be disposed in the processor 410.
The speaker 470A, also called a "horn", is used to convert the audio electrical signals into sound signals. The terminal 400 can listen to music, listen to a hands-free call, or play a prompt message, etc. through the speaker 470A.
The microphone 470B, also referred to as a "microphone," converts sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal into the microphone 470B by speaking the user's mouth near the microphone 470B. The terminal 400 may be provided with at least one microphone 470B. In this embodiment, the terminal 400 may receive the voice of the user through the microphone 470B.
The pressure sensor 480A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 480A may be disposed on the display screen 460. The pressure sensor 480A may be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 480A, the capacitance between the electrodes changes. The terminal 400 determines the intensity of the pressure according to the change in the capacitance. When a touch operation is applied to the display screen 460, the terminal 400 detects the intensity of the touch operation according to the pressure sensor 480A. The terminal 400 may also calculate the touched position based on the detection signal of the pressure sensor 480A.
The touch sensor 480B is also referred to as a "touch panel". The touch sensor 480B may be disposed on the display screen 460, and the touch sensor 480B and the display screen 460 form a touch screen, which is also called a "touch screen". The touch sensor 480B is used to detect a touch operation applied thereto or therearound. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 460. In other embodiments, the touch sensor 480B may be disposed on the surface of the terminal 400 at a different position than the display screen 460. For example, in the embodiment of the present application, the terminal 400 may receive an operation of the management unit 300 by a user through a touch screen.
The following describes a method for waking up a sound box according to an embodiment of the present application with reference to the accompanying drawings.
According to the method for waking up the sound box, when the close-range wireless connection exists between the intelligent device and the electronic device with the function of unlocking the intelligent device, the intelligent device is in an unlocked state; in the unlocked state, the smart device may switch from the sleep state to the awake state in response to any user's wake-up operation. The electronic equipment with the intelligent equipment unlocking function is short-distance wireless communication equipment, and a user can set one or more short-distance wireless communication equipment into the electronic equipment with the intelligent equipment unlocking function of the intelligent equipment through the management unit.
It should be noted that, in the embodiment of the present application, an intelligent device is taken as an example for description. The method for waking up the sound box provided by the embodiment of the application is also suitable for other intelligent devices, such as intelligent household appliances, mobile phones and the like.
The following embodiment takes the intelligent device as a sound box, the electronic device as an intelligent bracelet, and the management unit as a management APP in a mobile phone for example.
An embodiment of the present application provides a method for setting an electronic device, and as shown in fig. 5, the method may include:
s101, the management unit receives the operation of binding the electronic equipment of the user.
The user can bind the electronic equipment for the sound box through the management unit; binding electronic equipment for the sound box, namely establishing a corresponding relation between the sound box and the electronic equipment; the corresponding relation between the sound box and the electronic equipment is established, and the electronic equipment has the function of unlocking the sound box. In one implementation, the management unit and the loudspeaker box are connected through short-distance wireless communication. For example, the management unit and the loudspeaker box both support bluetooth communication, and after the management unit and the loudspeaker box are paired, bluetooth connection is established. In another implementation, the management unit is a unit within the enclosure.
For example, the management unit is a management APP installed in a mobile phone, and a user can use the management APP to bind the electronic device to the sound box. Illustratively, as shown in FIG. 6, the desktop of the handset includes a "speaker" icon 601. If the user clicks the "loudspeaker" icon 601, the mobile phone can display the login interface 602 in response to the user clicking the "loudspeaker" icon 601. The login interface 602 includes a dialog box 603. The user may enter a username and password in dialog box 603 and then click the ok button. When the mobile phone detects that the user clicks the determination button, a main interface 604 for managing the APP can be displayed. Main interface 604 includes a "speaker setup" option 605. In response to the click operation of the user on the "sound box setting" option 605, the mobile phone enters a sound box setting function and displays a sound box setting interface. The speaker setup interface includes a "unlock via bluetooth device" option 606. The user may set the function to be unlocked via the bluetooth device by clicking the "unlock via bluetooth device" option 606. The mobile phone receives the click operation of the user on the option 606 of 'unlocking by Bluetooth equipment', and displays an unlocking interface by Bluetooth equipment in response to the click operation of the user on the option 606 of 'unlocking by Bluetooth equipment'. The unlock by bluetooth device interface includes a "unlock by bluetooth device" option 607, and the user may turn on or off the unlock by bluetooth device function by clicking on the "unlock by bluetooth device" option 607. In the case where the unlock by bluetooth device function is off, the unlock by bluetooth device function is turned on in response to the user clicking on the "unlock by bluetooth device allowed" option 607. And the mobile phone determines to open the unlocking function through the Bluetooth equipment, namely receiving the operation of binding the electronic equipment of the user.
Fig. 6 illustrates an example in which the management unit is a management APP installed in a mobile phone. If the management unit is a management APP installed in the sound box, each interface shown in fig. 6 may be an interface displayed on a display screen of the sound box. The user can operate the management APP through the UI of the loudspeaker box display screen.
S102, in response to the operation of binding the electronic equipment by the user, the management unit informs the loudspeaker box to start binding the electronic equipment.
The management unit detects the operation of binding the electronic equipment by the user, and in response to the operation of binding the electronic equipment, the management unit sends electronic equipment binding starting request information to the loudspeaker box, wherein the electronic equipment binding request information is used for requesting the loudspeaker box to bind the electronic equipment. Illustratively, in response to a user clicking on the "allow bluetooth to unlock device" option 607 of fig. 6 through the bluetooth device unlock interface, the management APP of the handset notifies the speaker to start binding the electronic device.
S103, the sound box receives request information for starting binding the electronic equipment.
S104, the sound box responds to the request information for starting to bind the electronic equipment, and obtains a short-distance wireless communication equipment list.
And the sound box receives the request information for starting to bind the electronic equipment, responds to the request information for starting to bind the electronic equipment, searches the short-distance wireless communication equipment and acquires a short-distance wireless communication equipment list.
For example, the loudspeaker searches for the bluetooth devices that can be found around, and acquires the list of the bluetooth devices that can be found. The list of bluetooth devices may include an identification of one or more bluetooth devices. Alternatively, the identity of the Bluetooth device may be a Media Access Control (MAC) address of the Bluetooth device (e.g., 4E:10:07: C6:1A: A4). Optionally, the identifier of the bluetooth device may also be a name of the bluetooth device (e.g., hua be bracelet, hua be Mate20, etc.).
And S105, the sound box sends the short-distance wireless communication equipment list to the management unit.
S106, the management unit receives the short-range wireless communication device list and displays the short-range wireless communication device list.
The management unit receives the short-range wireless communication device list and displays the short-range wireless communication device list on a display interface. Wherein the list of short-range wireless communication devices includes an identification of one or more electronic devices.
Illustratively, in response to a click operation of the user on the "allow bluetooth to unlock device" option 607 of fig. 6 through the bluetooth device unlocking interface, the management APP of the mobile phone notifies the speaker to start binding the electronic device, the speaker acquires a bluetooth device list in response to the request information for starting binding the electronic device, and notifies the management APP of the mobile phone of the bluetooth device list, and displays an available device list including the name option of the available device through the bluetooth device unlocking interface. For example, the list of available devices includes a "Huashi bracelet" option 608, and a "Huashi Mate 20" option 609.
S107, responding to the operation that the user selects one piece of electronic equipment, the management unit sends the information of the selected piece of electronic equipment to the sound box.
The user may select one or more electronic devices in the list of short-range wireless communication devices. For example, the user may select hua be bracelet by clicking "hua be bracelet" option 608 in the bluetooth device list of fig. 6 that is unlocked via bluetooth devices. Illustratively, in response to a user clicking on the "Huaqi bracelet" option 608, an "enabled Huaqi bracelet" option 60a is displayed in the My devices list of the Bluetooth device unlock interface. In some embodiments, the bluetooth device unlock interface may further include prompt information 60 b: "the device connection is successful". The management unit responds to the operation of the user for selecting the electronic equipment and sends the information of the selected electronic equipment to the sound box. The information of the electronic device may be an identification of the electronic device, such as a MAC address or name of the electronic device.
And S108, the sound box receives the information of the selected electronic equipment.
And S109, the sound box binds the sound box and the electronic equipment according to the information of the electronic equipment.
And the sound box receives the information of the selected electronic equipment, and the sound box and the electronic equipment are bound according to the information of the electronic equipment.
In one implementation, a device list is set in the sound box, and the device list includes one or more identifiers of electronic devices having a function of unlocking the sound box. Illustratively, the device inventory is an electronic device white list. And binding the loudspeaker box and the electronic equipment, namely adding the identification of the electronic equipment into the equipment list. That is, the short-range wireless communication device belonging to the device list is an electronic device having a function of unlocking a sound box. For example, the identifier of the electronic device is a MAC address of the electronic device, and for example, the identifier of the electronic device is a name of the electronic device.
Further, in an implementation manner, according to the information of the electronic device, the sound box and the electronic device are paired, and a pairing connection between the sound box and the electronic device is established. After the loudspeaker box and the electronic equipment are paired for the first time, under the condition that the loudspeaker box and the electronic equipment can be mutually found, the loudspeaker box and the electronic equipment can initiate to establish close-range wireless connection.
According to the method for setting the electronic equipment, the user authorized to have the user name and the password can set the short-distance wireless communication equipment as the electronic equipment with the function of unlocking the sound box. When the electronic equipment with the function of unlocking the sound box is in close-range wireless connection with the sound box, the sound box can be unlocked. Thus, the safety of the sound box can be ensured.
Further, after the sound box and the electronic device are bound, the sound box and the electronic device can initiate to establish close-range wireless connection. For example, the short-range wireless communication apparatus periodically transmits the connection waiting information. The sound box receives the connection waiting information sent by the short-distance wireless communication equipment, whether the short-distance wireless communication equipment belongs to the electronic equipment white list or not is judged, if the short-distance wireless communication equipment is determined to belong to the electronic equipment white list, the sound box determines that the short-distance wireless communication equipment is the electronic equipment with the function of unlocking the sound box, and the operation state is updated to be the unlocking state. Optionally, the sound box further sends the device connection success information to the electronic device. In the unlocked state, the loudspeaker box can be switched from the dormant state to the awakened state in response to any awakening operation of a user. In the scene that multiple persons commonly use the sound box, the situation that a manager frequently awakens the sound box for different persons is avoided. When the loudspeaker box is not in close-range wireless connection with the electronic equipment with the loudspeaker box unlocking function, any user cannot wake up the loudspeaker box; the safe use of the sound box is ensured.
In one implementation, after the speaker receives the connection waiting information of the short-range wireless communication device, if it is determined that the short-range wireless communication device is an electronic device with a function of unlocking the speaker, a prompt message indicating that an unlocking operation is being performed may be displayed on the management unit.
For example, after receiving the connection waiting information of the electronic device, the speaker sends the electronic device connection request information to the management unit. And after receiving the electronic equipment connection request information, the management unit displays prompt information for unlocking operation in the management unit. Illustratively, the management unit is a management APP in the mobile phone, and after receiving the electronic device connection request information, the mobile phone displays a prompt message indicating that an unlocking operation is being performed on a display interface (e.g., a display screen). Illustratively, the management unit is a management APP in a sound box, and after receiving the connection request information of the electronic device, the management unit displays a prompt message indicating that an unlocking operation is being performed on a display interface (e.g., a display screen) of the sound box.
Illustratively, the management unit is a management APP in a mobile phone. As shown in fig. 7 (a), after the mobile phone receives the electronic device connection request information from the audio box, a prompt message 701 of "unlocking the audio box" is displayed on the main interface 604 of the management APP.
Furthermore, the sound box is in close-range wireless connection with the electronic equipment with the function of unlocking the sound box, and after the sound box detects that the close-range wireless connection with the electronic equipment is successfully established, prompt information of successful unlocking of the sound box can be displayed on the management unit.
For example, after detecting that the short-distance wireless connection with the electronic device is established, the sound box sends the connection success information of the electronic device to the management unit. After the management unit receives the successful connection information of the electronic equipment, the management unit can display prompt information of successful unlocking of the sound box. Illustratively, the management unit is a management APP in a mobile phone, and after receiving the information that the electronic device is successfully connected, the mobile phone displays a prompt message indicating that the speaker is successfully unlocked on a display interface (e.g., a display screen). Illustratively, the management unit is a management APP in the sound box, and after receiving the connection success information of the electronic device, the management unit displays a sound box unlocking success prompt message on a display interface (e.g., a display screen) of the sound box.
Illustratively, the management unit is a management APP in a mobile phone. As shown in fig. 7 (b), after the mobile phone receives the information that the connection of the electronic device is successful from the sound box, a prompt message 702 that the sound box has been unlocked by the mobile phone is displayed on the main interface 604 for managing APP.
In one implementation, a user may query, through the management unit, information of the electronic device that has established a correspondence with the sound box. For example, in response to a first query operation by the user (e.g., the user clicks a "query" button), the management unit may display, on the display interface, a name of the electronic device corresponding to the sound box. Illustratively, as shown in fig. 7 (c), when the management APP displays the speaker setting interface, the speaker setting interface includes a "query bound devices" button 703, and in response to the user clicking the "query bound devices" button 703, as shown in fig. 7 (d), a bound devices interface 704 is displayed. Displaying the name of the electronic device corresponding to the sound box on the bound device interface 704: "Hua is bracelet" and "Hua is P20".
In one implementation, a user may query, through the management unit, information of the electronic device that has established a correspondence with the sound box and is successfully connected to the sound box. For example, in response to a second query operation by the user (e.g., the user clicks a "query" button), the management unit may display, on the display interface, a name of the electronic device that has been successfully connected and has been associated with the sound box. Illustratively, as shown in fig. 7 (e), when the management APP displays the sound box setting interface, the sound box setting interface includes an "inquire connected device" button 705, and in response to an operation of the user clicking the "inquire connected device" button 705, as shown in fig. 7 (f), a connected device interface 706 is displayed. Displaying, on the connected device interface 706, the name of the electronic device that has established a correspondence with the speaker and is successfully connected: 'Hua is a bracelet'.
In some embodiments, the enclosure may include an open mode and a secure mode. In the open mode, the sound box does not judge the authority of the user for operating the sound box, and the default is an unlocking state; the sound box can respond to the awakening operation of any user and is switched from the dormant state to the awakening state. In the safe mode, if the loudspeaker box is in close-range wireless connection with the electronic equipment with the loudspeaker box unlocking function, the loudspeaker box is in an unlocked state; the sound box can respond to the awakening operation of any user and is switched from the dormant state to the awakening state. If the close-range wireless connection does not exist between the sound box and the electronic equipment with the function of unlocking the sound box, the sound box is in a locked state; the loudspeaker box does not respond to any user's wake-up operation.
In one implementation, the user may set the mode of the sound box through the management unit. For example, as shown in fig. 8, a "mode" option 801 may be further included in the speaker setup interface of the mobile phone. In response to a user's operation of clicking on the "mode" option 801, a mode interface is displayed. The mode interface includes an "open mode" option 802 and a "safe mode" option 803. In response to the user clicking on the "open mode" option 802, the management unit determines that the mode in which the speaker is set is open mode. In response to the user's operation of clicking on the "safe mode" option 803, the management unit determines to set the mode of the speaker to the safe mode.
In one implementation, the management unit notifies the sound box of the set mode information; and after the sound box receives the mode information, setting the mode corresponding to the mode information according to the mode information. For example, if the mode information indicates that the mode in which the speaker is set is the open mode, the speaker is set to the open mode, and the operation state is set to the unlock state. For example, if the mode information indicates that the mode of the speaker is set to the safe mode, and the operation state is set to the locked state.
It should be noted that, in the above embodiment, the management unit is described as being independent from the sound box. The information interaction between the management unit and the loudspeaker box can be realized through short-distance wireless communication. For example, the smart device 100 performs message interaction with the management unit through the wireless communication module 140. In another implementation, the management unit is located within the enclosure, i.e., the management unit is a module of the enclosure. The smart device 100 does not perform message interaction with the management unit through the wireless communication module 140, but schedules the respective modules directly through the processor 110.
Next, a method for setting an electronic device according to an embodiment of the present application will be described by taking short-range wireless communication as bluetooth communication as an example. As shown in fig. 9, the method may include:
s201, the management unit receives the operation of binding the electronic equipment of the user.
S201 can refer to S101, and is not described herein again.
S202, in response to the operation of binding the electronic equipment by the user, the management unit informs the loudspeaker box to scan the Bluetooth equipment.
The management unit detects the operation of binding the electronic equipment by the user, and responds to the operation of binding the electronic equipment, and the management unit informs the sound box to scan the Bluetooth equipment. Illustratively, in response to a user clicking on the "allow bluetooth to unlock device" option 607 of fig. 6 through the bluetooth device unlock interface, the management APP of the handset notifies the speaker to scan for bluetooth devices.
S203, the unlocking management module of the loudspeaker box receives the information of the scanning Bluetooth device.
The application processor of the processor 110 in fig. 4A is installed with an operating system of the smart device 100, and the operating system is installed with various applications and functional modules, for example, the application may be a bluetooth driver, and the functional modules may include an unlocking management module and the like. The bluetooth driver is used for receiving a message from the wireless communication module 140 (e.g., a bluetooth chip), and may also call other applications or function modules according to the received message. Illustratively, the bluetooth chip of the speaker receives the scanned bluetooth device information and sends the scanned bluetooth device information to the bluetooth driver, and the bluetooth driver schedules the unlocking management module and distributes the scanned bluetooth device information to the unlocking management module, that is, the unlocking management module of the speaker receives the scanned bluetooth device information.
And S204, the Bluetooth equipment sends the connection waiting information.
In one implementation, the wait for connection information is sent periodically with the bluetooth function of the bluetooth device on.
S205, the Bluetooth driver of the loudspeaker box receives the connection waiting information.
Under the condition that the Bluetooth function of the loudspeaker box is opened, the loudspeaker box can receive the waiting connection information sent by other Bluetooth equipment. For example, the bluetooth chip of the speaker receives the connection waiting information and sends the connection waiting information to the bluetooth driver. The bluetooth driver receives the connection waiting message.
S206, the unlocking management module of the loudspeaker box requests the Bluetooth drive to acquire the Bluetooth equipment waiting for connection.
And after receiving the information of the scanning Bluetooth equipment, the unlocking management module of the loudspeaker box requests the Bluetooth drive to acquire the Bluetooth equipment waiting for connection.
And S207, the Bluetooth drive of the loudspeaker returns a Bluetooth device list to the unlocking management module.
And after receiving the information of the Bluetooth device waiting for connection and requesting to acquire, the Bluetooth driver of the loudspeaker box determines the Bluetooth device capable of establishing connection according to the received information waiting for connection. For example, the bluetooth driver may determine, according to the received connection waiting information, an identifier of the bluetooth device that transmitted the connection waiting information, and thus determine the bluetooth device that can establish the connection. And the Bluetooth driver adds the identification of the Bluetooth device which can establish the connection into a Bluetooth device list and returns the Bluetooth device list to the unlocking management module.
And S208, the unlocking management module of the loudspeaker box returns a Bluetooth device list to the management unit.
And after receiving the Bluetooth equipment list, the unlocking management module of the loudspeaker box returns the Bluetooth equipment list to the management unit.
S209, the management unit displays a Bluetooth device list.
The management unit receives the Bluetooth device list and displays the Bluetooth device list. Illustratively, as shown in fig. 6, the received bluetooth device list is displayed by the available device list of the bluetooth device unlock interface, which includes a "hua shi bracelet" selection 608 and a "hua shi Mate 20" selection 609.
S20a, the management unit receives an operation of selecting a device by the user.
The user may select one or more electronic devices in the bluetooth device list. For example, the user may select hua be bracelet by clicking "hua be bracelet" option 608 in the bluetooth device list of fig. 6 that is unlocked via bluetooth devices.
S20b, in response to the user' S operation of selecting a device, the management unit sends a select device message to the sound box.
The management unit responds to the operation of the user selection equipment and sends a selection equipment message to the loudspeaker box. Wherein the select device message may include an identification of the bluetooth device selected by the user.
S20c, the unlocking management module of the sound box receives the information of the selected equipment.
The Bluetooth chip of the loudspeaker box receives the equipment selection information and sends the equipment selection information to the Bluetooth driver, and the Bluetooth driver distributes the equipment selection information to the unlocking management module. And after the unlocking management module of the loudspeaker box receives the equipment selection message, determining the identifier of the Bluetooth equipment of the electronic equipment with the loudspeaker box unlocking function according to the received equipment selection message.
And S20d, the unlocking management module of the sound box sends a connection device message to the Bluetooth driver.
The unlocking management module of the loudspeaker box sends a connecting device message to the Bluetooth chip through the Bluetooth drive, wherein the connecting device message comprises an identifier of the Bluetooth device which is set as the electronic device with the function of unlocking the loudspeaker box.
S20e, the sound box and the Bluetooth device establish Bluetooth connection.
At the moment, the Bluetooth device is in a state of waiting for connection, and the Bluetooth device and the loudspeaker box are connected in a Bluetooth pairing mode. After the bluetooth device and the audio box are paired for the first time, the bluetooth device and the audio box may initiate establishing a bluetooth connection if the bluetooth device and the audio box can discover each other.
S20f, the unlocking management module of the sound box adds the identification of the Bluetooth device into the white list of the electronic device.
And the unlocking management module of the loudspeaker box determines that the Bluetooth device and the loudspeaker box establish Bluetooth connection, and adds the identifier of the Bluetooth device into the white list of the electronic device.
It should be noted that, the embodiment of the present application does not limit the execution order of the steps. For example, after receiving the device selection message, the unlocking management module of the sound box may first execute S20d, and then execute S20f, where the unlocking management module of the sound box adds the identifier of the bluetooth device to the white list of the electronic device; or S20f can be executed first, the unlocking management module of the sound box adds the identifier of the Bluetooth device into the white list of the electronic device, and then S20d is executed, and the unlocking management module of the sound box informs the Bluetooth drive of the connecting device; or S20d and S20f are performed simultaneously. Which does not affect the technical effect of the embodiments of the present application.
S20g, the unlocking management module of the sound box returns the result of binding the electronic equipment to the management unit.
And the unlocking management module of the loudspeaker box returns the result of binding the electronic equipment to the management unit, wherein the result comprises the identifier of the Bluetooth equipment which is set as the electronic equipment with the function of unlocking the loudspeaker box.
S20h, the management unit displays the result of binding the electronic device.
And after receiving the result of the electronic device binding, the management unit displays the result of the electronic device binding, for example, displays the identifier of the bluetooth device. Exemplarily, a display screen of the mobile phone displays an unlocking interface through a bluetooth device in fig. 6, and a bluetooth device identifier set as an electronic device with an unlocking sound box function is included in a my device list through the unlocking interface of the bluetooth device: the "enabled hua is a bracelet" option 60 a.
According to the method for setting the electronic equipment, the user authorized to have the user name and the password can set the Bluetooth equipment as the electronic equipment with the function of unlocking the sound box. When the electronic equipment with the function of unlocking the sound box is connected with the sound box through the Bluetooth, the sound box can be unlocked. Thus, the safety of the sound box can be ensured.
An embodiment of the present application further provides a method for waking up a sound box, as shown in fig. 10, the method may include:
s301, the sound box detects a wake-up request from a user.
The user can wake up the loudspeaker box through voice interaction. The user is any one of the users.
In one implementation, the user's wake-up operation is speaking a wake-up word. When the sound box detects the wake-up word spoken by the user, it is determined that the wake-up operation of the user is detected (i.e., a wake-up request from the user is detected). Illustratively, user a speaks the wake up word "Xiaoyi" in fig. 2A or fig. 2B.
In one implementation, the user may not wake up the speaker with a wake-up word. When the sound box detects a voice command of the user, it is determined that the user's wake-up operation is detected (i.e., a wake-up request from the user is detected). The user's wake-up operation is speaking a voice command. Illustratively, user A speaks the voice instruction "play next" in FIG. 2A or FIG. 2B.
S302, the sound box determines the mode of the sound box. If the mode of the sound box is the safe mode, executing S303; if the mode of the sound box is the open mode, S304 is executed.
In one implementation, in response to a wake-up operation by a user, the loudspeaker determines a mode of the loudspeaker. If the mode of the sound box is the safe mode, executing S303; if the mode of the sound box is the open mode, S304 is executed.
In some embodiments, in the secure mode, the operational state of the speaker is updated when the speaker establishes or disconnects the short-range wireless connection with the electronic device.
For example, when the speaker detects that the short-range wireless connection is established with the short-range wireless communication device, the mode of the speaker is determined. And if the mode of the sound box is the safe mode, judging whether the short-distance wireless communication equipment belongs to the electronic equipment white list. And if the short-distance wireless communication equipment is determined to belong to the electronic equipment white list (namely the short-distance wireless communication equipment is electronic equipment with the function of unlocking the sound box), switching the operation state of the sound box into an unlocking state.
For example, if the sound box detects that the short-range wireless connection with the short-range wireless communication device is disconnected and the short-range wireless communication device is an electronic device with a function of unlocking the sound box, the mode of the sound box is determined. If the mode of the sound box is the safe mode, the operation state of the sound box is switched to the locking state.
In another implementation, in response to the wake-up operation of the user, the sound box may not determine the mode of the sound box, and directly perform S303 to determine the operation state of the smart sound box. That is, the sound box is executed according to the steps in the security mode in the embodiment of the present application without distinguishing the security mode from the open mode.
In some embodiments, the operational state of the loudspeaker is updated when the loudspeaker establishes or disconnects the short-range wireless connection with the electronic device.
For example, the sound box detects that the short-distance wireless connection is established with the short-distance wireless communication equipment, and judges whether the short-distance wireless communication equipment belongs to the electronic equipment white list. And if the short-distance wireless communication equipment is determined to belong to the electronic equipment white list (namely the short-distance wireless communication equipment is electronic equipment with the function of unlocking the sound box), switching the operation state of the sound box into an unlocking state.
For example, the sound box detects that the short-range wireless connection with the short-range wireless communication device is disconnected, the short-range wireless communication device is an electronic device with a function of unlocking the sound box, and the operation state of the sound box is switched to a locking state.
S303, the sound box determines the operation state of the sound box. If the operation state of the sound box is the unlocking state, executing S304; if the operation state of the speaker is the locked state, S305 is performed.
The loudspeaker determines the operational state of the loudspeaker.
In one implementation, the operational state of the loudspeaker is determined to be an unlocked state if the loudspeaker has a close range wireless connection with one or more electronic devices. In the unlocked state, the loudspeaker may respond to a wake-up request from a user to cause the loudspeaker to wake up. And if the sound box is not in close-range wireless connection with the electronic equipment, determining that the operation state of the sound box is a locking state. The electronic equipment has the function of unlocking the sound box.
In one implementation, the loudspeaker maintains operational state information. For example, an operation state information of 1 indicates that the sound box is in the unlocked state, and an operation state information of 0 indicates that the sound box is in the locked state. When the sound box is switched to the unlocking state, setting the operation state information as 1; and when the sound box is switched to the locking state, setting the operation state information to be 0. The sound box can determine the operation state of the sound box according to the operation state information. If the operation state information is determined to be 1, determining that the sound box is in an unlocked state; and if the operation state information is determined to be 0, determining that the loudspeaker box is in the locking state.
S304, responding to the awakening operation of the user, and switching the sound box to the awakening state.
Generally, the command state of the speaker is a sleep state. And responding to the awakening operation of the user, and switching the sound box into an awakening state. In the awakening state, the sound box can execute corresponding actions according to the voice instruction of the user. For example, the speaker recognizes the semantics of the user's voice command, and thus performs a corresponding action according to the semantics of the user's voice command.
In one implementation, the user's wake-up operation is speaking a wake-up word. The sound box responds to the awakening operation of the user, is switched to an awakening state, and further executes corresponding action according to the voice instruction of the user. For example, in fig. 2B, the user a speaks the wake word "xiaozhi", and in response to the wake operation of the user, the sound box is switched to the wake state. Further, the sound box plays the next song according to the voice instruction of the user.
In one implementation, the user may not wake up the speaker with a wake-up word. And when the sound box detects the voice instruction of the user, the sound box determines to detect the awakening operation of the user, responds to the awakening operation of the user, switches to an awakening state, and executes corresponding action according to the voice instruction of the user. For example, in fig. 2B, the user a speaks a voice command "play next", in response to the user's wakeup operation, the loudspeaker switches to the wakeup state, and performs playing the next song according to the user's voice command "play next".
And S305, not responding to the awakening operation of the user.
In one implementation, the speaker does not respond to a user's wake-up operation and remains in a dormant state. For example, in fig. 2A, the user a speaks the wake-up word "xiaozhi", does not respond to the wake-up operation of the user, and does not perform any action.
In one implementation, the speaker does not respond to a user's wake-up operation, and the command state of the speaker remains dormant; the sound box also carries out voice prompt in a locking state. For example, in fig. 2A, the sound box receives the wake-up word "xiaozhi" spoken by the user C, and then plays the voice "sorry, the sound box is locked, and the sound box cannot be used. "
According to the method for waking up the sound box, when the close-range wireless connection exists between the sound box and the electronic equipment with the function of unlocking the sound box, the sound box is in an unlocked state and can respond to the waking operation of any user; any user can wake up the sound box and operate the sound box. When the close-range wireless connection does not exist between the sound box and the electronic equipment with the function of unlocking the sound box, the sound box is in a locked state and does not respond to the awakening operation of a user. Therefore, in a scene that multiple persons commonly use the loudspeaker box, the situation that a manager frequently wakes up the loudspeaker box for different persons is avoided, the wake-up process is simplified, and the safety of the loudspeaker box is ensured.
In some embodiments, if the mode of the sound box is the security mode and the sound box does not have a short-range wireless connection with the electronic device having the function of unlocking the sound box, the sound box may determine the permission of the user to operate the sound box through voiceprint matching.
For example, the voice of the administrator is stored in the sound box in advance, and a corresponding voiceprint model is formed. In the sleep state, the sound box detects a wake-up operation of the user. If the mode of the sound box is determined to be the safe mode and the operation state is the locked state, the sound box judges whether the voiceprint of the voice of the awakening operation of the user is matched with the stored voiceprint model of the administrator. And if the voiceprint of the voice of the user wake-up operation is successfully matched with the stored voiceprint model of the administrator, responding to the user wake-up operation, switching the sound box to be in a wake-up state, and executing corresponding action according to the voice instruction of the user. If it is determined that the voiceprint of the voice of the user's wake-up operation fails to match the stored voiceprint model of the administrator, the loudspeaker does not respond to the user's wake-up operation.
In the method, when the sound box is in close-range wireless connection with the electronic equipment with the function of unlocking the sound box, the sound box is in an unlocked state and can respond to the awakening operation of any user; any user can wake up the sound box and operate the sound box. When the close-range wireless connection does not exist between the sound box and the electronic equipment with the function of unlocking the sound box, the sound box can respond to the awakening operation of an administrator and does not respond to the awakening operation of other users except the administrator; only the administrator can wake up the sound box and operate the sound box. Therefore, in a scene that multiple persons commonly use the loudspeaker box, the situation that a manager frequently wakes up the loudspeaker box for different persons is avoided, the wake-up process is simplified, and the safety of the loudspeaker box is ensured.
Next, a method for waking up a sound box provided in the embodiment of the present application is described by taking short-range wireless communication as bluetooth communication as an example. As shown in fig. 11, the method may include:
s401, the short-distance wireless communication equipment sends waiting connection information.
For example, the short-range wireless communication apparatus periodically transmits the connection waiting information.
S402, the Bluetooth driver of the loudspeaker box receives the waiting connection information.
Under the condition that the Bluetooth function of the loudspeaker box is opened, the loudspeaker box can receive the waiting connection information sent by other Bluetooth equipment. For example, an application processor of the processor 110 in fig. 4A is installed with an operating system of the smart device 100, and the operating system is installed with various applications and functional modules, for example, the applications may be bluetooth drivers, and the functional modules may include an unlocking management module, a wake-up detection module, a voice processing module, and the like. The bluetooth driver is used for receiving a message from the wireless communication module 140 (e.g., a bluetooth chip), and may also call other applications or function modules according to the received message. Illustratively, a bluetooth chip of the smart device receives the waiting connection information and sends the waiting connection information to a bluetooth driver, and the bluetooth driver schedules an unlocking management module and sends bluetooth connection request information to the unlocking management module.
And S403, the Bluetooth driver of the loudspeaker box sends Bluetooth connection request information to the unlocking management module.
S404, the unlocking management module of the loudspeaker box receives the Bluetooth connection request information and determines whether the short-distance wireless communication equipment sending the waiting connection information belongs to the electronic equipment white list. If it is determined that the short-range wireless communication apparatus transmitting the connection waiting information belongs to the electronic apparatus white list, S405 is performed.
And the unlocking management module of the loudspeaker box receives the Bluetooth connection request information, determines the equipment identification of the short-distance wireless communication equipment sending the waiting connection information according to the Bluetooth connection request information, and determines whether the short-distance wireless communication equipment sending the waiting connection information belongs to the electronic equipment white list or not according to the equipment identification of the short-distance wireless communication equipment sending the waiting connection information. If it is determined that the short-range wireless communication apparatus transmitting the connection waiting information belongs to the electronic apparatus white list, S405 is performed.
S405, the unlocking management module of the loudspeaker box sends Bluetooth device connection confirmation information to the Bluetooth drive.
S406, the Bluetooth driver of the loudspeaker box receives the Bluetooth device connection confirmation information and sends Bluetooth device connection success information to the short-distance wireless communication device.
It should be noted that, in this embodiment of the application, each application or function module of the sound box sends information to other bluetooth devices, or receives information from other bluetooth devices, and all the information is sent or received through the bluetooth chip. In order to more clearly embody the functions of each application program or functional module of the smart device, in the embodiments of the present application, the application program or functional module is described as sending information to other bluetooth devices or receiving information from other bluetooth devices, but does not embody the functions of the bluetooth chip.
Further, if the unlocking management module of the speaker determines that the short-range wireless communication device sending the waiting connection information belongs to the electronic device white list, S407 may be further performed.
S407, the unlocking management module of the sound box updates the operation state of the intelligent device to be the unlocking state.
In the unlocked state, any user can wake up the loudspeaker.
Further, a method for waking up a sound box provided by the embodiment of the present application is introduced. After the sound box receives the wake-up operation of the user, as shown in fig. 12, the method may include:
s501, the sound box awakening detection module detects awakening operation of a user.
The user can wake up the loudspeaker box through voice interaction. The user is any one of the users.
In one implementation, the user's wake-up operation is speaking a wake-up word. In another implementation, the user may not wake up the speaker by the wake-up word, and the wake-up operation of the user is to speak the voice instruction.
In the dormant state, after receiving the voice of the user, the awakening detection module of the sound box determines whether the voice is the awakening operation of the user or not according to the voice. For example, the processor 110 of the smart device 100 in fig. 4A obtains the voice of the user through the microphone 130B. In one possible implementation, the processor 110 distributes the acquired voice of the user to the wake-up detection module. The voice is transmitted to the voice processing module by the awakening detection module. The voice processing module uploads the voice to the semantic recognition server and obtains the semantic meaning of the voice from the semantic recognition server. The voice processing module sends the obtained semantic meaning of the voice to the awakening detection module, and the awakening detection module determines whether the voice is awakening operation of the user according to the semantic meaning of the voice. In another possible implementation manner, the processor 110 transmits the acquired voice of the user to the voice processing module, and the voice processing module uploads the voice to the semantic recognition server and acquires the semantic meaning of the voice from the semantic recognition server. The voice processing module sends the obtained semantic meaning of the voice to the processor 110, and the processor 110 sends the obtained semantic meaning of the voice to the wake-up detection module. And the awakening detection module determines whether the voice is awakening operation of the user according to the semantic meaning of the voice.
And if the awakening detection module determines that the voice is the awakening operation of the user according to the semantic of the voice, the awakening operation of the user is determined to be detected.
S502, the sound box awakening detection module sends operation state acquisition request information to the unlocking management module.
And if the awakening operation of the user is determined to be detected, the awakening detection module of the sound box sends operation state acquisition request information to the unlocking management module, and the operation state acquisition request information is used for requesting to acquire the operation state of the sound box.
S503, the unlocking management module of the sound box receives the request information for obtaining the operation state and determines the operation state of the sound box.
For example, the unlock management module of the sound box maintains the operation state information. For example, an operation state information of 1 indicates that the sound box is in the unlocked state, and an operation state information of 0 indicates that the sound box is in the locked state. And the sound box determines the operation state of the sound box according to the operation state information. If the operation state information is determined to be 1, determining that the sound box is in an unlocked state; and if the operation state information is determined to be 0, determining that the loudspeaker box is in the locking state.
S504, the unlocking management module of the sound box sends the operation state obtaining response information to the awakening detection module.
And the unlocking management module of the sound box sends the acquired operation state response information to the awakening detection module, wherein the operation state response information comprises the operation state of the sound box.
And S505, the awakening detection module of the sound box acquires the operation state of the sound box according to the acquired operation state response information. If the operation state of the sound box is determined to be the unlocking state, S506 is executed; if the operation state of the sound box is determined to be the locking state, S508 is executed.
S506, responding to the awakening operation of the user, and switching the sound box to an awakening state.
For example, in fig. 2B, the sound box receives the wake word "mini art" spoken by the user a, and in response to the wake word "mini art", the sound box switches to the wake state.
And S507, in the awakening state, the awakening detection module of the sound box receives the voice instruction of the user and sends the acquired voice instruction of the user to the voice processing module for processing.
Illustratively, further, in fig. 2B, the sound box receives the voice command "play next" from user a, and executes playing the next song.
And S508, keeping the command state of the sound box in a dormant state, and performing voice prompt in a locked state.
And the awakening detection module of the sound box determines that the command state of the sound box is kept in a dormant state, and carries out voice prompt in a locked state. For example, the wake-up detection module of the speaker may trigger the voice processing module to perform a voice prompt in a locked state.
For example, in fig. 2A, the sound box receives the wake-up word "xiaozhi" spoken by the user C, and then plays the voice "sorry, the sound box is locked, and the sound box cannot be used. "
It should be noted that, the embodiment of the present application does not limit the execution order of the steps. For example, after receiving the voice of the user, the sound box may perform semantic recognition to determine whether the voice is a wake-up operation of the user, and determine the operation state of the sound box if it is determined that the wake-up operation of the user is detected. For example, after receiving the voice of the user, the sound box may determine the operation state of the sound box, and if it is determined that the operation state of the sound box is the unlock state, perform semantic recognition to determine whether the voice is the wake-up operation of the user.
In the method, when the sound box is in an unlocked state, the sound box can respond to the awakening operation of a user; when the sound box is in a locked state, the sound box does not respond to the awakening operation of the user. Therefore, in a scene that multiple persons commonly use the loudspeaker box, the situation that a manager frequently wakes up the loudspeaker box for different persons is avoided, the wake-up process is simplified, and the safety of the loudspeaker box is ensured.
It is understood that the sound box includes hardware structures and/or software modules for performing the functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The embodiment of the present application further provides a computer storage medium, in which computer program codes are stored, and when the processor executes the computer program codes, the electronic device executes the relevant method steps executed by the sound box in fig. 5, 9, 10, 11, or 12 to implement the method in the foregoing embodiment.
The embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to execute the relevant method steps executed by the sound box in fig. 5, 9, 10, 11, or 12 to implement the method in the above embodiments.
The embodiment of the present application further provides a computer storage medium, where a computer program code is stored in the computer storage medium, and when the processor executes the computer program code, the electronic device executes the relevant method steps executed by the management unit in the embodiment of the present application to implement the method in the embodiment of the present application.
The embodiments of the present application further provide a computer program product, which when running on a computer, causes the computer to execute the relevant method steps executed by the management unit in the embodiments of the present application to implement the method in the embodiments described above.
In addition, the computer storage medium or the computer program product provided in the embodiments of the present application are both used for executing the corresponding methods provided above, and therefore, the beneficial effects achieved by the computer storage medium or the computer program product may refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, 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, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processor, 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 readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method of waking up a loudspeaker, comprising:
the loudspeaker box detects a wake-up request from a user;
when the sound box is in close-range wireless connection with one or more electronic devices, the electronic devices have the function of unlocking the sound box;
the loudspeaker box responds to a wake-up request of a user so as to enable the loudspeaker box to be woken up.
2. The method of claim 1, wherein the speaker establishes a short-range wireless connection with one or more electronic devices, the method further comprising:
the loudspeaker is set in a safe mode.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the sound box detects that short-distance wireless connection is established with the short-distance wireless communication equipment;
if the short-distance wireless communication equipment is determined to belong to the stored equipment list, determining that the short-distance wireless communication equipment has the function of unlocking the sound box; the equipment list comprises one or more identifications of electronic equipment with the function of unlocking the sound box.
4. The method according to any one of claims 1-2, further comprising:
the sound box receives information of short-distance wireless communication equipment, and the short-distance wireless communication equipment is electronic equipment with a function of unlocking the sound box, which is selected by a user;
and the sound box determines that the short-distance wireless communication equipment is equipment with the function of unlocking the sound box according to the information of the short-distance wireless communication equipment.
5. The method of claim 3, further comprising:
the sound box receives information of short-distance wireless communication equipment, and the short-distance wireless communication equipment is electronic equipment with a function of unlocking the sound box, which is selected by a user;
and the sound box determines that the short-distance wireless communication equipment is equipment with the function of unlocking the sound box according to the information of the short-distance wireless communication equipment.
6. The method according to any one of claims 1-2 and 5, wherein the speaker establishes the short-range wireless connection with the electronic device by any one of:
near Field Communication (NFC), Bluetooth, Zigbee, and wireless fidelity (Wi-Fi).
7. The method of claim 3, wherein the speaker establishes the short-range wireless connection with the electronic device by any one of:
near Field Communication (NFC), Bluetooth, Zigbee, and wireless fidelity (Wi-Fi).
8. An acoustic enclosure, comprising:
a processor to detect a wake-up request from a user;
the wireless communication module is used for establishing close-range wireless connection with electronic equipment, and the electronic equipment has the function of unlocking the sound box;
the processor is further configured to determine that a short-range wireless connection is established with one or more electronic devices, and respond to a wake-up request from a user to wake up the sound box.
9. An acoustic enclosure according to claim 8,
the processor is further configured to determine that the speaker is set to a safe mode.
10. An acoustic enclosure according to claim 8 or 9,
the wireless communication module is also used for establishing short-distance wireless connection with the short-distance wireless communication equipment;
the processor is further configured to determine that a short-range wireless connection is established with the short-range wireless communication device;
the processor is further configured to determine whether the short-range wireless communication device belongs to a stored device list, where the device list includes an identifier of one or more electronic devices having a function of unlocking the sound box;
the processor is further configured to determine that the short-range wireless communication device has a function of unlocking the sound box if it is determined that the short-range wireless communication device belongs to the stored device list.
11. An acoustic enclosure according to any one of claims 8 to 9,
the wireless communication module is also used for receiving information of short-distance wireless communication equipment, and the short-distance wireless communication equipment is electronic equipment which is selected by a user and has the function of unlocking the sound box;
the processor is further configured to determine, according to the information of the short-distance wireless communication device, that the short-distance wireless communication device is a device having a function of unlocking the sound box.
12. The loudspeaker of claim 10,
the wireless communication module is also used for receiving information of short-distance wireless communication equipment, and the short-distance wireless communication equipment is electronic equipment which is selected by a user and has the function of unlocking the sound box;
the processor is further configured to determine, according to the information of the short-distance wireless communication device, that the short-distance wireless communication device is a device having a function of unlocking the sound box.
13. An acoustic enclosure as claimed in any one of claims 8-9 and 12, wherein the wireless communication module establishes the short-range wireless connection with the electronic device by any one of:
near Field Communication (NFC), Bluetooth, Zigbee, and wireless fidelity (Wi-Fi).
14. The speaker of claim 10, wherein the wireless communication module establishes a short-range wireless connection with the electronic device by any one of:
near Field Communication (NFC), Bluetooth, Zigbee, and wireless fidelity (Wi-Fi).
15. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-7.
CN202111503804.XA 2019-03-29 2019-03-29 Method and equipment for waking up sound box Pending CN114360495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111503804.XA CN114360495A (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910252505.XA CN110060675B (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box
CN202111503804.XA CN114360495A (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910252505.XA Division CN110060675B (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box

Publications (1)

Publication Number Publication Date
CN114360495A true CN114360495A (en) 2022-04-15

Family

ID=67318023

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910252505.XA Active CN110060675B (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box
CN202111503804.XA Pending CN114360495A (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910252505.XA Active CN110060675B (en) 2019-03-29 2019-03-29 Method and equipment for waking up sound box

Country Status (1)

Country Link
CN (2) CN110060675B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110473556B (en) * 2019-09-17 2022-06-21 深圳市万普拉斯科技有限公司 Voice recognition method and device and mobile terminal
CN111208736B (en) * 2019-12-17 2023-10-27 中移(杭州)信息技术有限公司 Intelligent sound box control method and device, electronic equipment and storage medium
CN113472614A (en) * 2020-04-28 2021-10-01 海信集团有限公司 Voice interaction equipment and voice interaction method
CN114125650B (en) * 2020-08-27 2023-05-09 华为技术有限公司 Audio data processing method and device and sound box system
CN115038042B (en) * 2021-10-22 2023-04-14 荣耀终端有限公司 Wireless connection method, electronic equipment and graphical interface

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299110B2 (en) * 2011-10-19 2016-03-29 Facebook, Inc. Periodic ambient waveform analysis for dynamic device configuration
US9111214B1 (en) * 2014-01-30 2015-08-18 Vishal Sharma Virtual assistant system to remotely control external services and selectively share control
WO2015180103A1 (en) * 2014-05-29 2015-12-03 华为技术有限公司 Method and apparatus for selecting terminal mode
DE102014227053B4 (en) * 2014-12-31 2021-05-27 Adam Hall Gmbh Loudspeaker box arrangement and loudspeaker box
CN104915582B (en) * 2015-05-28 2017-12-22 努比亚技术有限公司 unlocking method and device
CN105005217B (en) * 2015-05-29 2017-10-17 广东欧珀移动通信有限公司 A kind of method of control, wireless sound box, terminal and system
CN205582480U (en) * 2016-01-20 2016-09-14 四川长虹电器股份有限公司 Intelligence acoustic control system
US20190129517A1 (en) * 2016-06-17 2019-05-02 Light Wave Technology Inc. Remote control by way of sequences of keyboard codes
CN107426069B (en) * 2017-08-23 2020-08-28 南京中感微电子有限公司 Bluetooth-based intelligent household system and control method thereof
CN107517413B (en) * 2017-10-24 2019-11-22 深圳市和合联众信息科技有限公司 A kind of intelligent sound box and its control method
CN208369787U (en) * 2018-05-09 2019-01-11 惠州超声音响有限公司 A kind of system interacted with intelligent sound
CN109068301B (en) * 2018-06-29 2021-07-13 珠海格力电器股份有限公司 Method and device for binding smart home equipment
CN109243445A (en) * 2018-09-30 2019-01-18 Oppo广东移动通信有限公司 Sound control method, device, electronic equipment and storage medium
CN109448716A (en) * 2018-12-06 2019-03-08 珠海格力电器股份有限公司 A kind of sound control method, device, storage medium and air-conditioning

Also Published As

Publication number Publication date
CN110060675A (en) 2019-07-26
CN110060675B (en) 2021-12-21

Similar Documents

Publication Publication Date Title
CN110060675B (en) Method and equipment for waking up sound box
CN110336720B (en) Equipment control method and equipment
CN110601870B (en) Method, device and system for registering device distribution network
US11678229B2 (en) Communication apparatus, communication system, notification method, and program product
CN113225690B (en) Bluetooth connection method, system and electronic equipment
CN112449328A (en) Bluetooth searching method, system and related device
CN105191172A (en) Communication method and device
CN113766482B (en) Method for searching Bluetooth device, electronic device and storage medium
CN113196236A (en) Cross-device authentication method and electronic device
CN112580051A (en) Starting-up control method and device
WO2024016503A1 (en) Communication method and electronic device
CN109348369A (en) A kind of sound system and its control method
CN105519203A (en) Method of controlling short-range wireless communication and apparatus supporting same
CN113196732B (en) Cross-device authentication method and related device
CN111132047A (en) Network connection method and device
CN112085872A (en) NFC-based unlocking method, related device and system
EP4138462A1 (en) Information sharing method, electronic devices and system
WO2022252812A1 (en) Information protection method and electronic device
CN115033864A (en) Identity verification method and system and electronic equipment
EP4340465A1 (en) Bluetooth random address generation method and related electronic device
CN110164450B (en) Login method, login device, playing equipment and storage medium
WO2022068156A1 (en) Cross-device authentication method and related apparatus
CN117278984A (en) Conversation method and electronic equipment
CN115913600A (en) Method, apparatus, electronic device and medium for identifying device
CN118215066A (en) Method, system and computer storage medium for transmitting data in local area network

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