CN110060675A - Wake up the method and apparatus of speaker - Google Patents

Wake up the method and apparatus of speaker Download PDF

Info

Publication number
CN110060675A
CN110060675A CN201910252505.XA CN201910252505A CN110060675A CN 110060675 A CN110060675 A CN 110060675A CN 201910252505 A CN201910252505 A CN 201910252505A CN 110060675 A CN110060675 A CN 110060675A
Authority
CN
China
Prior art keywords
speaker
equipment
user
electronic equipment
field communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910252505.XA
Other languages
Chinese (zh)
Other versions
CN110060675B (en
Inventor
黄剑豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910252505.XA priority Critical patent/CN110060675B/en
Priority to CN202111503804.XA priority patent/CN114360495A/en
Publication of CN110060675A publication Critical patent/CN110060675A/en
Application granted granted Critical
Publication of CN110060675B publication Critical patent/CN110060675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

This application provides a kind of methods for waking up speaker, and when speaker is connected with the electric room for having unlock function of loudspeaker box there are near radio, speaker can respond the wake operation of any user;Any user can wake up speaker, operate speaker.When speaker is connected with the electric room for having unlock function of loudspeaker box there is no near radio, speaker can be not responding to the wake operation of user.In this way, avoiding administrator frequently is that different people wakes up speaker in the scene that more people are used in conjunction with speaker, simplifies speaker and wake up process, and guarantee the safety in utilization of speaker.

Description

Wake up the method and apparatus of speaker
Technical field
This application involves field of communication technology more particularly to a kind of method and apparatus for waking up speaker.
Background technique
As technology continues to develop, smart machine is more more and more universal.Smart machine is that the electronics for having had artificial intelligence is set It is standby, for example, smart machine can carry out man machine language's interaction, can execute relevant operation etc. according to phonetic order.User can be with Requesting songs, online shopping are realized by smart machine, or understand weather forecast, it can also be by smart machine to other intelligence Can home equipment controlled, such as by with speaker interactive voice, realize and open curtain, setting refrigerator temperature, allow heat in advance Hydrophone heating etc..
For reasons such as safety, privacies, the permission of user's operation smart machine can be set.It is by speaker of smart machine Example.Some speakers are by identifying that the vocal print of user determines the permission of user's operation speaker.For example, preset specific user in speaker Voice, and according to the speech production sound-groove model.When receiving the wake-up word of user, voice print matching is carried out by algorithm.Such as Preset sound-groove model successful match in the vocal print and speaker of the wake-up word that fruit receives, it is determined that it is matched to effective vocal print, Corresponding operation further can be executed according to the phonetic order of user.If pre- in the vocal print and speaker of the wake-up word received It fails to match for the sound-groove model set, then forbids executing any operation according to the phonetic order of user.
The method of user right is determined by voice print matching, and there are certain defects.For example, the reliability of voice print matching is simultaneously It is not very high, a possibility that there are Replay Attacks.For example, the case where for far field pickup, smart machine carries out voice print matching Accuracy rate there are also very big room for promotion.For another example, in the case where more people are used in conjunction with smart machine, there is operation intelligence The people of equipment permission needs frequently to carry out wake operation for different users, and process is cumbersome, and the usage experience of user is poor.
Summary of the invention
The embodiment of the present application provides a kind of method for waking up speaker, can simplify the process of operation speaker, and solves public affairs The safety problem that speaker uses under occasion altogether.
In a first aspect, the embodiment of the present application provides a kind of method for waking up speaker, this method may include: that speaker detects Wake request from the user;Determine that speaker establishes near radio with one or more electronic equipments and connect;In response to The wake request at family, so that the speaker is waken up.Wherein, which is the equipment for having unlock function of loudspeaker box.
In the method, when speaker is connected with the electric room for having unlock function of loudspeaker box there are near radio, Speaker can respond the wake operation of any user;Any user can wake up speaker, operate speaker.When speaker and has solution The electric room of function of loudspeaker box is locked there is no when near radio connection, and speaker can be not responding to the wake operation of user.This Sample, in the scene that more people are used in conjunction with speaker, avoiding administrator frequently is that different people wakes up speaker, simplifies and wakes up stream Journey, and guarantee the safety of speaker.
In a kind of possible design, near radio is established with one or more electronic equipments in speaker determination and is connect Before, determine that speaker is arranged to safe mode.In the method, only in the secure mode, the embodiment of the present application is just executed The method of the wake-up speaker of offer, under non-security mode, speaker can be waken up by any user.
In a kind of possible design, speaker detects that establishing near radio with wireless near field communication equipment connects It connects;If it is determined that wireless near field communication equipment belongs to the equipment list of storage, it is determined that wireless near field communication equipment has solution Lock the function of the speaker;Wherein equipment list includes the mark of one or more electronic equipments for having unlock function of loudspeaker box. In the method, speaker stores equipment list, connect when wireless near field communication equipment establishes near radio with speaker When, it can be by judging that the wireless near field communication equipment belongs to the equipment list of storage, to determine the wireless near field communication Equipment is the electronic equipment for having unlock function of loudspeaker box.
In a kind of possible design, speaker receives the information of wireless near field communication equipment, wherein the near radio Communication equipment is the electronic equipment for having unlock function of loudspeaker box that user selectes;Speaker is according to the letter of wireless near field communication equipment Breath determines that the wireless near field communication equipment is to have the equipment of unlock function of loudspeaker box.In this approach, speaker can according to Family setting, sets one or more wireless near field communication equipment to the electronic equipment for having unlock function of loudspeaker box.
In a kind of possible design, speaker is established near radio by following any mode and electronic equipment and is connected It connects: near-field communication NFC, bluetooth, purple honeybee, Wireless Fidelity Wi-Fi.
Second aspect, the embodiment of the present application provide a kind of speaker, which may be implemented wake-up sound described in first aspect The method of case.The speaker can execute the corresponding software realization above method by software, hardware or by hardware.
In a kind of possible design, which may include processor and memory.The processor is configured as supporting The speaker executes corresponding function in above-mentioned first aspect method.For memory for coupling with processor, saving the speaker must The program instruction and data wanted.It in addition can also include communication interface in the speaker, for supporting the speaker to set with other electronics Communication between standby.The communication interface can be transceiver or transmission circuit.
In a kind of possible design, which may include: processor and wireless communication module.Wherein, processor is used In detection wake request from the user;Wireless communication module is connect for establishing near radio with electronic equipment;The electronics Equipment is to have the equipment of unlock function of loudspeaker box;Processor is also used to determine wireless communication module and one or more electronic equipments Near radio connection is established, in response to the wake request of user, so that speaker is waken up.
In a kind of possible design, processor is also used to determine that speaker is arranged to safe mode.
In a kind of possible design, wireless communication module is also used to establish short distance nothing with wireless near field communication equipment Line connection;Processor is also used to determine that wireless communication module establishes near radio with wireless near field communication equipment and connect; Processor is also used to determine whether wireless near field communication equipment belongs to the equipment list of storage, the equipment list include one or The mark of multiple electronic equipments for having unlock function of loudspeaker box;Processor is also used to if it is determined that wireless near field communication equipment belongs to The equipment list of storage, it is determined that wireless near field communication equipment has the function of unlock speaker.
In a kind of possible design, wireless communication module is also used to receive the information of wireless near field communication equipment, should Wireless near field communication equipment is the electronic equipment for having unlock function of loudspeaker box that user selectes;Processor is also used to according to low coverage Information from wireless telecom equipment determines that wireless near field communication equipment is to have the equipment of unlock function of loudspeaker box.
In a kind of possible design, wireless communication module is established closely by following any mode and electronic equipment It is wirelessly connected: near-field communication NFC, bluetooth, purple honeybee, Wireless Fidelity Wi-Fi.
The third aspect, the embodiment of the present application provide a kind of method for waking up speaker, and this method may include: that terminal receives The operation of the corresponding relationship for establishing electronic equipment and speaker of user;The electronic equipment is the equipment for having unlock function of loudspeaker box; Terminal notification speaker begins setting up the corresponding relationship of electronic equipment and speaker;Terminal receives wireless near field communication equipment from speaker List, the operation of an electronic equipment is selected in response to user, and terminal notification speaker establishes an electronic equipment of user's selection With the corresponding relationship of speaker.Wherein, wireless near field communication list of devices includes the mark of one or more electronic equipments.At this In method, user can set wireless near field communication equipment to by terminal the electronic equipment for having unlock function of loudspeaker box. It is connect when the electronic equipment for having unlock function of loudspeaker box establishes near radio with speaker, can just unlock speaker.In this way, can To guarantee the safety of speaker.
It is the operation of safe mode in response to user setting speaker in a kind of possible design, terminal setting speaker is Safe mode.
In a kind of possible design, in response to the first inquiry operation of user, terminal show established with speaker it is corresponding The information of the electronic equipment of relationship.In this way, user can pass through terminal inquiry to the electronic equipment for having unlock function of loudspeaker box Information.
In a kind of possible design, in response to the second inquiry operation of user, terminal show established with speaker it is corresponding Relationship, and establish with speaker the information for the electronic equipment that near radio is connect.In this way, user can pass through terminal inquiry To having unlock function of loudspeaker box, and the information of the electronic equipment of wireless connection is established with the speaker.
Fourth aspect, the embodiment of the present application provide a kind of terminal, which may include processor and memory.The processing Device is configured as that the terminal is supported to execute corresponding function in above-mentioned third aspect method.Memory is used to couple with processor, It saves the necessary program instruction of the speaker and data.It in addition can also include communication interface in the speaker, for supporting the sound Communication between case and other electronic equipments.The communication interface can be transceiver or transmission circuit.
5th aspect, the embodiment of the present application provide a kind of computer storage medium, which includes calculating Machine instruction, when the computer instruction is run on an electronic device, so that electronic equipment executes such as first aspect and its may Design method described in wake up speaker method.
6th aspect, the embodiment of the present application provide a kind of computer storage medium, which includes calculating Machine instruction, when the computer instruction is run on an electronic device, so that electronic equipment executes such as third aspect and its may Design method described in wake up speaker method.
7th aspect, the embodiment of the present application provides a kind of computer program product, when the computer program product is being counted When being run on calculation machine, so that the computer executes the side of the wake-up speaker as described in first aspect and its possible design method Method.
Eighth aspect, the embodiment of the present application provide a kind of computer program product, when the computer program product is being counted When being run on calculation machine, so that the computer executes the side of the wake-up speaker as described in the third aspect and its possible design method Method.
It include processor in the chip system, for realizing above-mentioned the embodiment of the present application also provides a kind of chip system Method described in either side.
The embodiment of the present application provides a kind of communication system, including the above-mentioned sound for realizing method described in first aspect Case and the above-mentioned terminal for realizing method described in the third aspect.
The embodiment of the present application provides a kind of communication system, including the above-mentioned sound for realizing method described in first aspect Computer storage medium described in case and above-mentioned 6th aspect.
Any equipment or computer storage medium or computer program product or chip system of above-mentioned offer or communication System is used to execute corresponding method presented above, and therefore, the attainable beneficial effect of institute can refer to provided above Corresponding method in correspond to the beneficial effect of scheme, details are not described herein again.
Detailed description of the invention
Fig. 1 is a kind of Scene case schematic diagram of method for waking up speaker;
Fig. 2A is a kind of Scene case schematic diagram one of method for waking up speaker provided by the embodiments of the present application;
Fig. 2 B is a kind of Scene case schematic diagram two of method for waking up speaker provided by the embodiments of the present application;
Fig. 3 A is by a kind of system architecture schematic diagram one that the method for waking up speaker is applicable provided by the embodiments of the present application;
Fig. 3 B is by a kind of system architecture schematic diagram two that the method for waking up speaker is applicable provided by the embodiments of the present application;
Fig. 4 A is a kind of composition schematic diagram of the hardware configuration of smart machine provided by the embodiments of the present application;
Fig. 4 B is a kind of composition schematic diagram of the hardware configuration of terminal provided by the embodiments of the present application;
Fig. 5 is a kind of method flow diagram one that electronic equipment is arranged provided by the embodiments of the present application;
Fig. 6 is a kind of display interface example schematic one of administrative unit provided by the embodiments of the present application;
Fig. 7 is a kind of display interface example schematic two of administrative unit provided by the embodiments of the present application;
Fig. 8 is a kind of display interface example schematic three of administrative unit provided by the embodiments of the present application;
Fig. 9 is a kind of method flow diagram two that electronic equipment is arranged provided by the embodiments of the present application;
Figure 10 is a kind of method flow diagram one for waking up speaker provided by the embodiments of the present application;
Figure 11 is a kind of method flow diagram two for waking up speaker provided by the embodiments of the present application;
Figure 12 is a kind of method flow diagram three for waking up speaker provided by the embodiments of the present application.
Specific embodiment
With popularizing for smart machine, smart machine can also use in public other than personal use.For example, enterprise The places such as office, the bar of industry, smart machine complete distribution after, there are more people pass through voice operating smart machine the case where. For the factors such as safely, the permission of smart machine can be generally operated for user setting.
Referring to FIG. 1, by taking smart machine is the speaker in Fig. 1 as an example.Speaker include two kinds of coomand modes: wake-up states and Dormant state.In wake-up states, speaker can execute corresponding movement in response to the voice command of user;In dormant state, sound Case is not responding to the voice command of user.
Under some cases, speaker determines the permission of user's operation speaker by voice print matching.In the embodiment of the present application, have The user of operation speaker permission is known as administrator.The voice of administrator is stored in advance in speaker, and forms corresponding sound-groove model. In dormant state, after speaker receives the wake-up word of user, if the sound-groove model of administrator can be matched to, can be called out It wakes up, is switched to wake-up states;It if the sound-groove model of administrator cannot be matched to, cannot be waken up, keep dormant state.Show Example property, the wake-up word of speaker is " the small small skill of skill " in Fig. 1, and user A is administrator, and the vocal print mould of user A is prefixed in speaker Type.Speaker receives the voice " the small small skill of skill " of user A, is matched to corresponding sound-groove model, is then waken up.Speaker can be into one The voice command " playing next " in response to user A is walked, corresponding movement is executed, plays next song.User B and user C does not have the permission for operating the speaker.It is preset in the vocal print and speaker of the wake-up word " the small small skill of skill " that user B or user C are said Sound-groove model mismatch, speaker cannot be waken up.For example, user B, which is said, wakes up word " the small small skill of skill ", speaker does not execute any dynamic Make, keeps dormant state.Alternatively, speaker can not operate to user the voice prompting of speaker.For example, user C is said It wakes up word " the small small skill of skill ", speaker plays voice, and " sorry, you are not administrators."
In public, more people use in the case where speaker.For example, have a meeting in a meeting room, 20 people to attend a meeting It may all need to operate speaker.If the administrator being arranged is seldom, such as one administrator of setting.When anyone needs to make When with speaker, the administrator is required by voice and wakes up the speaker.Wake-up process CIMS is cumbersome, and user experience is poor.If There are many administrator of setting, for example, 20 people for participating in meeting are both configured to administrator.So, the safety of the speaker It not can guarantee, lose the meaning of setting user right.
The embodiment of the present application provides a kind of method for waking up speaker, and it is to have solution that one or more electronic equipments, which can be set, The equipment of function of loudspeaker box is locked, for example, the electronic equipment for having unlock function of loudspeaker box is equipment A.When speaker and equipment A exist closely When distance is wirelessly connected, any user can wake up the speaker.When speaker is connect with equipment A there is no near radio, The speaker is not responding to the wake operation of user.
Near radio connection is the connection of wireless near field communication.Wireless near field communication may include near-field communication (near field communication, NFC), bluetooth, purple honeybee (ZigBee), Wireless Fidelity (wireless fidelity, The communication technologys such as Wi-Fi).The electronic equipment for supporting wireless near field communication function is wireless near field communication equipment.Have The electronic equipment for unlocking function of loudspeaker box is a kind of wireless near field communication equipment.
Using smart machine as speaker, have unlock function of loudspeaker box electronic equipment be Intelligent bracelet for.Intelligent bracelet and Speaker all supports wireless near field communication function, for example, Intelligent bracelet and speaker all support Bluetooth communication.Please refer to Fig. 2A, sound Bluetooth connection is not present between case and Intelligent bracelet, user A, user B or user C, which are said, wakes up word " the small small skill of skill ", and speaker is not rung Using the wake operation at family, dormant state is kept.In some embodiments, the voice that speaker can also be in the lock state Prompt.Illustratively, speaker receives the wake-up word " the small small skill of skill " that user C is said, then plays voice " sorry, speaker quilt Locking, cannot use." Fig. 2 B is please referred to, Intelligent bracelet and speaker establish bluetooth connection, and user A, user B or user C may be used To wake up speaker.Illustratively, speaker receives the wake-up word " the small small skill of skill " that user A is said, and in response to waking up word, " small skill is small Skill ", speaker are switched to wake-up states.Further, speaker executes broadcasting in response to the phonetic order " playing next " of user Next song.Illustratively, speaker receives the wake-up word " the small small skill of skill " that user B is said, and in response to waking up word, " small skill is small Skill ", speaker are switched to wake-up states, and play wake up suggestion voice "!I."
In this way, when smart machine with have unlock smart machine function equipment there are when near radio connection, it is any User can wake up the smart machine.In the scene that more people are used in conjunction with smart machine, avoiding administrator frequently is not Same people wakes up smart machine.When smart machine is connect with the equipment for having unlock smart machine function there is no near radio When, which is not responding to the wake operation of user;It ensure that the safe handling of smart machine.
The method provided by the embodiments of the present application for waking up speaker, can be applied to system shown in Fig. 3 A.The system can be with Including smart machine 100 and electronic equipment 200.
Wherein, smart machine 100 can be smart home device (for example, speaker, intelligent refrigerator, smart television etc.), just Formula computer (such as mobile phone), laptop, personal computer (personal computer, PC), wearable electronic is taken to set Standby (such as smartwatch, intelligent glasses or intelligent helmet), tablet computer, augmented reality (augmented reality, AR) virtual reality (virtual reality, VR) equipment, vehicle-mounted computer etc., the embodiment of the present application is to the smart machine 100 Concrete form does not do specifically limited.
Smart machine 100 may include two kinds of modes of operation: lock state and unlocked state.Electronic equipment 200 has solution Lock the function of smart machine 100;When near radio connection is not present between smart machine 100 and electronic equipment 200, intelligence Equipment 100 is lock state;In lock state, smart machine 100 is not responding to the wake operation of user, is not responsive to user and says Wake-up word be switched to wake-up states from dormant state.When there are near radios between smart machine 100 and electronic equipment 200 When connection, smart machine 100 is unlocked state;In unlocked state, smart machine 100 can respond the wake-up behaviour of any user Make, is switched to wake-up states from dormant state.
Electronic equipment 200 is a kind of electronic equipment for supporting wireless near field communication function.For example, electronic equipment 200 can To be mobile phone, smartwatch, the Intelligent bracelet etc. for supporting wireless near field communication function.
Certainly, smart machine 100 also supports wireless near field communication function.Smart machine 100 and electronic equipment 200 can be with Establish near radio connection.For example, smart machine 100 and electronic equipment 200 all support Bluetooth function, 100 He of smart machine Electronic equipment 200 can carry out Bluetooth pairing connection.
In some embodiments, such as Fig. 3 B, which can also include administrative unit 300.Administrative unit 300 is for managing Reason, configuration smart machine 100.For example, administrative unit 300 can be used for being arranged the corresponding electronic equipment 200 of smart machine 100; Administrative unit 300 can be also used for management smart machine 100 and establish the process etc. that near radio connects with electronic equipment 200. It should be noted that administrative unit 300 can be the equipment independently of smart machine 100, or independently of smart machine 100 Equipment in module;Administrative unit 300 is also possible in smart machine 100, is responsible for the module of management, configuration feature;Management Unit 300 can also be the module in electronic equipment 200, can be realized management, the function of configuring smart machine 100.Management is single Member 300 can be hardware device, is also possible to software module or hardware adds the form of software.The embodiment of the present application is for pipe Manage the concrete form of unit 300 without limitation.For example, smart machine 100 is speaker;Electronic equipment 200 is Intelligent bracelet;Management Unit 300 can be management application program (APP), and management APP can be located in mobile phone, can also be located in speaker, may be used also To be located in Intelligent bracelet.
Fig. 4 A is please referred to, is a kind of structural schematic diagram of smart machine 100 provided by the embodiments of the present application.Wherein, intelligence Equipment 100 may include processor 110, memory 120, audio-frequency module 130, loudspeaker 130A, microphone 130B, wireless communication Module 140, power module 150 etc..
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to smart machine 100.? In other embodiments of the application, smart machine 100 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processors, such as: processor 110 may include application processor (application processor, AP), controller, digital signal processor (digital signal processor, DSP) etc..Wherein, different processors can be independent device, also can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of smart machine 100.Controller can be grasped according to instruction Make code and clock signal, generates operating control signal, the control completing instruction fetch and executing instruction.
The operating system of smart machine 100 can be installed, for managing the hardware of smart machine 100 on application processor With software resource.For example, management with configuration memory, decision systems resource supply and demand order of priority, control input with output equipment, Operate network, management file system, management driver etc..Operating system, which can be used for offer one, allows user and system to hand over Mutual operation interface.Wherein, all kinds of softwares can be installed, for example, driver, application program in operating system (application, App) etc..
Memory 120, for storing instruction and data.In some embodiments, memory 120 is caches Device.The memory can save the instruction or data that processor 110 was used or was recycled.If processor 110 needs again It is secondary to use the instruction or data, it can be called directly from memory 120.Avoid repeated access, reduce processor 110 etc. To the time, thus improve the efficiency of system.
The address (for example, Bluetooth address) for unique identification smart machine 100 can also be stored in memory 120, And it is stored with the address of other electronic equipments (for example, Intelligent bracelet).In addition, can also be stored in the memory 120 with The connection data of the electronic equipment successfully matched before smart machine 100.For example, the connection data can be and smart machine The Bluetooth address of 100 electronic equipments successfully matched.Based on the connection data, smart machine 100 can be with the electronic equipment Automatic matching without the connection configured and between it, such as carries out legitimate verification.Above-mentioned Bluetooth address can visit for media Ask the address control (media access control, MAC).
In some embodiments, memory 120 also can be set in processor 110, i.e., processor 110 includes memory 120.The embodiment of the present application is to this without limiting.
Smart machine 100 can pass through audio-frequency module 130, loudspeaker 130A, microphone 130B and application processor etc. Realize audio-frequency function.Such as music, recording etc..In the embodiment of the present application, smart machine 100 can pass through audio-frequency module 130, the realizations such as microphone 130B and application processor receive the function of user speech;For example the wake-up word of user is received, or Person's phonetic order.Smart machine 100 can realize sound by audio-frequency module 130, loudspeaker 130A and application processor etc. Playing function;For example, play cuing voice.
Audio-frequency module 130 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 130 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 130 can be set in processor 110, or the partial function module of audio-frequency module 130 is set to processor In 110.
Loudspeaker 130A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.
Microphone 130B, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.User can lead to Mouth is crossed close to microphone 130B sounding, voice signal is input to microphone 130B.
It includes WLAN (wireless that wireless communication module 140, which can be provided and be applied on smart machine 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), NFC, infrared technique (infrared, IR), the solution party of the wireless communications such as ZigBee Case.For example, wireless communication module 140 can be used to implement the logical of smart machine 100 and electronic equipment 200 in the embodiment of the present application Letter;It can be also used for realizing the communication of smart machine 100 and administrative unit 300 in the embodiment of the present application.Wireless communication module 140 One or more devices of a few Communications Processor Module can be integrated into.Wireless communication module 140 receives electricity via antenna Magnetic wave, by electromagnetic wave signal frequency modulation and filtering processing, by treated, signal is sent to processor 110.Wireless communication module 140 can also receive signal to be sent from processor 110, and frequency modulation is carried out to it, and amplification switchs to electromagenetic wave radiation through antenna and goes out It goes.
Power module 150 can be used for all parts for including to smart machine 100 power supply.In some embodiments, should Power module 150 can be battery, such as rechargeable battery.
In some embodiments, smart machine 100 can also include display screen 160, sensor module 170.Wherein sense Device module 170 may include pressure sensor 170A, touch sensor 170B etc..In this application, when smart machine 100 includes Display screen 160, in the case where sensor module 170, administrative unit 300 can be located in smart machine 100.User can pass through Display screen 160 operates the user interface (user interface, UI) of administrative unit 300, to realize management, configuration The function of smart machine.
Display screen 160 is for showing image, video etc..Display screen 160 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, smart machine 100 may include 1 or N number of display screen 160, N For the positive integer greater than 1.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 170A.In some implementations In example, pressure sensor 170A be can be set in display screen 160.There are many type of pressure sensor 170A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 170A, the capacitor between electrode changes.Smart machine 100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 160, smart machine 100 is according to pressure Force snesor 170A detects the touch operation intensity.Smart machine 100 can also be believed according to the detection of pressure sensor 170A Number calculate touch position.
Touch sensor 170B, also referred to as " touch panel ".Touch sensor 170B can be set in display screen 160, by touching It touches sensor 170B and display screen 160 forms touch screen, also referred to as " touch screen ".Touch sensor 170B acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 160.In further embodiments, it touches Touching sensor 170B also can be set in the surface of smart machine 100, different from the location of display screen 160.
When administrative unit 300 is independently of the unit of smart machine 100, Fig. 4 B is please referred to, is mentioned for the embodiment of the present application A kind of structural schematic diagram of the terminal 400 supplied.Wherein, administrative unit 300 is the unit operated in terminal 400.For example, management Unit 300 is the management APP in terminal 400 (mobile phone).
Wherein, terminal 400 may include processor 410, external memory interface 420, internal storage 421, charging valve Manage module 430, power management module 431, battery 432, antenna 1, antenna 2, mobile communication module 440, wireless communication module 450, display screen 460, audio-frequency module 470, loudspeaker 470A, microphone 470B, sensor module 480 etc..Wherein sensor die Block 480 may include pressure sensor 480A, touch sensor 480B etc..
It is understood that the specific restriction of the structure not structure paired terminal 400 of signal of the embodiment of the present invention.In this Shen Please in other embodiments, terminal 400 may include than illustrating more or fewer components, perhaps combine certain components or Split certain components or different component layouts.The component of diagram can be with hardware, and the combination of software or software and hardware is real It is existing.
Processor 410 may include one or more processors, such as: processor 410 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processors can be independent device, It can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of terminal 400.Controller can be according to instruction operation code And clock signal, operating control signal is generated, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 410, for storing instruction and data.In some embodiments, processor Memory in 410 is cache memory.The memory can save the instruction that processor 410 was used or was recycled Or data.If processor 410 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 410, thus improves the efficiency of system.
For example, administrative unit 300 may operate on the processor 410 of terminal 400 in the embodiment of the present application.
Charge management module 430 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.While charge management module 430 is that battery 432 charges, power management module can also be passed through 431 power for terminal.
Power management module 431 is for connecting battery 432, charge management module 430 and processor 410.Power management mould Block 431 receives the input of battery 432 and/or charge management module 430, is processor 410, internal storage 421, external storage Device, the power supply such as display screen 460 and wireless communication module 450.In some other embodiment, power management module 431 can also be with It is set in processor 410.In further embodiments, power management module 431 and charge management module 430 also can be set In the same device.
The wireless communication function of terminal 400 can pass through antenna 1, antenna 2, mobile communication module 440, wireless communication module 450, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in terminal 400 can be used for covering list A or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: antenna 1 can be multiplexed For the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 440 can provide the solution of wireless communications such as including 2G/3G/4G/5G applied in terminal 400 Certainly scheme.Mobile communication module 440 can receive electromagnetic wave by antenna 1, and be filtered to received electromagnetic wave, amplification etc. Reason, is sent to modem processor and is demodulated.After mobile communication module 440 can also modulate modulated demodulation processor Signal amplification, switch to electromagenetic wave radiation through antenna 1 and go out.In some embodiments, mobile communication module 440 is at least partly Functional module can be arranged in processor 410.In some embodiments, at least partly function of mobile communication module 440 Module can be arranged in the same device at least partly module of processor 410.
It includes WLAN (wireless local that wireless communication module 450, which can be provided and be applied in terminal 400, Area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency Modulation, FM), NFC, the solution of the wireless communications such as infrared technique (infrared, IR).For example, radio communication mold Block 450 can be used to implement the wireless near field communication of administrative unit and smart machine 100 in the embodiment of the present application.Wireless communication Module 450 can be integrated into one or more devices of a few Communications Processor Module.Wireless communication module 450 is via antenna 2 receive electromagnetic wave, and by electromagnetic wave signal frequency modulation and filtering processing, by treated, signal is sent to processor 410.Channel radio Letter module 450 can also receive signal to be sent from processor 410, and frequency modulation is carried out to it, amplify, switch to electromagnetism through antenna 2 Amplitude is shot out.
Terminal 400 realizes display function by GPU, display screen 460 and application processor etc..GPU is image procossing Microprocessor connects display screen 460 and application processor.GPU is calculated for executing mathematics and geometry, is rendered for figure.Place Managing device 410 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 460 is for showing image, video etc..Display screen 460 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, terminal 400 may include 1 or N number of display screen 460, and N is big In 1 positive integer.
External memory interface 420 can be used for connecting external memory card, such as Micro SD card, realize extension terminal 400 storage capacity.External memory card is communicated by external memory interface 420 with processor 410, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 421 can be used for storing computer executable program code, and the executable program code includes Instruction.Processor 410 is stored in the instruction of internal storage 421 by operation, thereby executing the various function application of terminal 400 And data processing.Internal storage 421 may include storing program area and storage data area.Wherein, storing program area can deposit Store up operating system, application program (such as sound-playing function, image player function etc.) needed at least one function etc..Storage Data field can store the data (such as audio data, phone directory etc.) etc. created in 400 use process of terminal.In addition, internal Memory 421 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk Memory device, flush memory device, generic flash memory (universal flash storage, UFS) etc..
Terminal 400 can be by audio-frequency module 470, and loudspeaker 470A, microphone 470B and application processor etc. are realized Audio-frequency function.Such as music, recording receive user speech etc..
Audio-frequency module 470 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 470 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 470 can be set in processor 410, or the partial function module of audio-frequency module 470 is set to processor In 410.
Loudspeaker 470A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Terminal 400 can pass through Loudspeaker 470A listens to music, listens to hand-free call or play cuing information etc..
Microphone 470B, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 470B sounding by user 470B.At least one microphone 470B can be set in terminal 400.In the embodiment of the present application, terminal 400 can pass through microphone The voice of 470B reception user.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 480A.In some implementations In example, pressure sensor 480A be can be set in display screen 460.There are many type of pressure sensor 480A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 480A, the capacitor between electrode changes.400, terminal The intensity of pressure is determined according to the variation of capacitor.When there is touch operation to act on display screen 460, terminal 400 is according to pressure sensor 480A detects the touch operation intensity.Terminal 400 can also calculate touch according to the detection signal of pressure sensor 480A Position.
Touch sensor 480B, also referred to as " touch panel ".Touch sensor 480B can be set in display screen 460, by touching It touches sensor 480B and display screen 460 forms touch screen, also referred to as " touch screen ".Touch sensor 480B acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 460.In further embodiments, it touches Touching sensor 480B also can be set in the surface of terminal 400, different from the location of display screen 460.For example, the application is real It applies in example, terminal 400 can receive operation of the user for administrative unit 300 by touch screen.
The method provided by the embodiments of the present application for waking up speaker is specifically introduced below in conjunction with attached drawing.
The method provided by the embodiments of the present application for waking up speaker when smart machine and has the electricity for unlocking smart machine function There are when near radio connection between sub- equipment, smart machine is unlocked state;In unlocked state, smart machine can be responded In the wake operation of any user, wake-up states are switched to from dormant state.The electronic equipment for having unlock smart machine function For a kind of wireless near field communication equipment, user can be by administrative unit by one or more wireless near field communication equipment It is set as the electronic equipment for having unlock smart machine function an of smart machine.
It should be noted that being illustrated so that smart machine is speaker as an example in the embodiment of the present application.The embodiment of the present application The method of the wake-up speaker of offer, is equally applicable to other smart machines, for example, intelligent appliance, mobile phone etc..
For following embodiment using smart machine as speaker, electronic equipment is Intelligent bracelet, and administrative unit is the management in mobile phone It is illustrated for APP.
The embodiment of the present application provides a kind of method that electronic equipment is arranged, as shown in figure 5, this method may include:
S101, administrative unit receive the operation of the binding electronic equipment of user.
User can be that speaker binds electronic equipment by administrative unit;Electronic equipment is bound for speaker, that is, establishes speaker With the corresponding relationship of electronic equipment;The corresponding relationship of speaker and electronic equipment is established, which has unlock should The function of speaker.In one implementation, administrative unit is connected with speaker by close range wireless communication modes.For example, pipe After reason unit and speaker all support Bluetooth communication, administrative unit and speaker to match, bluetooth connection is established.In another implementation In, administrative unit is the unit in speaker.
For example, administrative unit is the management APP being mounted in mobile phone, management APP is can be used as speaker binding in user Electronic equipment.Illustratively, such as Fig. 6, the desktop of mobile phone includes " speaker " icon 601.If detecting user to " speaker " figure The clicking operation of mark 601, in response to user to the clicking operation of " speaker " icon 601, mobile phone can show login interface 602. Login interface 602 includes dialog box 603.User can input username and password in dialog box 603, click determination later and press Button.Mobile phone detects that user clicks the operation of confirming button, can be with the main interface 604 of display management APP.Main interface 604 includes " speaker setting " option 605.In response to user to the clicking operation of " speaker setting " option 605, mobile phone enters speaker setting function Can, show speaker set interface.Speaker set interface includes " being unlocked by bluetooth equipment " option 606.User can pass through a little " unlocking by bluetooth equipment " option 606 is hit, the function of being unlocked by bluetooth equipment is set.Mobile phone receives user for " passing through The clicking operation of bluetooth equipment unlock " option 606 grasps the click of " unlocking by bluetooth equipment " option 606 in response to user Make, display passes through bluetooth equipment unlock interface.It is selected by bluetooth equipment unlock interface including " allowing through bluetooth unlocker device " Item 607, user " can allow through bluetooth unlocker device " option 607 by click, turn on or off and pass through bluetooth equipment Unlocking function.In the case where being closed by bluetooth equipment unlocking function, clicking in response to user " allows to unlock by bluetooth and set It is standby " option 607, it opens and passes through bluetooth equipment unlocking function.Mobile phone, which determines, to be opened through bluetooth equipment unlocking function, that is, is received The operation of the binding electronic equipment of user.
It should be noted that Fig. 6 is illustrated so that administrative unit is the management APP for being mounted on mobile phone as an example.If management Unit is the management APP being mounted in speaker, the interface that each interface shown in Fig. 6 can show for the display screen of speaker.User Management APP can be operated by the UI of speaker display screen.
S102, the operation for binding electronic equipment in response to user, administrative unit notice speaker start to bind electronic equipment.
Administrative unit detects the operation of the binding electronic equipment of user, in response to the operation of the binding electronic equipment, pipe Reason unit starts to bind electronic equipment requests information to speaker transmission, and the binding electronic equipment requests information is for requesting speaker to be tied up Determine electronic equipment.Illustratively, Fig. 6 " is allowed to unlock by bluetooth by bluetooth equipment unlock interface in response to user The management APP notice speaker of the clicking operation of equipment " option 607, mobile phone starts to bind electronic equipment.
S103, speaker reception start to bind electronic equipment requests information.
S104, speaker obtain wireless near field communication list of devices in response to starting to bind electronic equipment requests information.
Speaker, which receives, to be started to bind electronic equipment requests information, starts to bind electronic equipment requests information in response to this, Wireless near field communication equipment is searched for, wireless near field communication list of devices is obtained.
For example, the bluetooth equipment that can be found around speaker search, gets the list for the bluetooth equipment that can be found.It should The list of bluetooth equipment may include the mark of one or more bluetooth equipments.Optionally, the mark of bluetooth equipment can be indigo plant The media access control (media access control, MAC) address (for example, 4E:10:07:C6:1A:A4) of tooth equipment.It can Choosing, the mark of bluetooth equipment can also be the title of bluetooth equipment (for example, Huawei's bracelet, Huawei Mate20 etc.).
S105, speaker send wireless near field communication list of devices to administrative unit.
S106, administrative unit receive wireless near field communication list of devices, and show that the wireless near field communication equipment arranges Table.
Administrative unit receives wireless near field communication list of devices, shows that the wireless near field communication is set in display interface Standby list.Wherein, wireless near field communication list of devices includes the mark of one or more electronic equipments.
Illustratively, in response to user to " the allowing to unlock by bluetooth and set by bluetooth equipment unlock interface of Fig. 6 It is standby " clicking operation of option 607, the management APP notice speaker of mobile phone starts to bind electronic equipment, and speaker is in response to starting to bind Electronic equipment requests information gets bluetooth equipment list, and by the management APP of the bluetooth equipment list notification mobile phone, logical It crosses bluetooth equipment unlock interface and shows available devices list, including the name option of available devices.For example, available devices arrange Table includes " Huawei's bracelet " option 608, and " Huawei Mate20 " option 609.
S107, the operation that an electronic equipment is selected in response to user, administrative unit send selected electronics to speaker and set Standby information.
User can select one or more electronic equipments in wireless near field communication list of devices.For example, user can To pass through " Huawei's bracelet " option 608 in the bluetooth equipment list by bluetooth equipment unlock interface for clicking Fig. 6, selection China For bracelet.Illustratively, in response to user click " Huawei's bracelet " option 608 operation, bluetooth equipment unlock interface I List of devices in show " enabled Huawei's bracelet " option 60a.In some embodiments, bluetooth equipment unlock interface may be used also To include prompt information 60b: " equipment successful connection ".Operation of the administrative unit in response to the selection electronic equipment of user, Xiang Yin Case sends the information of selected electronic equipment.The information of electronic equipment can be the mark of electronic equipment, for example, electronic equipment MAC Address or title.
S108, speaker receive the information of selected electronic equipment.
S109, speaker bind speaker and the electronic equipment according to the information of the electronic equipment.
Speaker receives the information of selected electronic equipment, according to the information of the electronic equipment, binds speaker and the electronics Equipment.
In one implementation, equipment list is set in speaker, and equipment list includes that one or more has unlock sound The mark of the electronic equipment of box function.Illustratively, which is electronic equipment white list.Binding speaker and electronics are set It is standby, i.e., equipment list is added in the mark of electronic equipment.That is, the wireless near field communication equipment for belonging to equipment list is The electronic equipment for having unlock function of loudspeaker box.For example, the MAC Address for being identified as the electronic equipment of electronic equipment, for example, electronics The title for being identified as the electronic equipment of equipment.
Further, in one implementation, it is matched according to the information of electronic equipment, speaker and electronic equipment, Establish pairing connection between the two.After speaker and electronic equipment match for the first time, it can be sent out mutually in speaker and electronic equipment In the case where existing, speaker and electronic equipment, which can initiate to establish near radio, to be connected.
The method of setting electronic equipment provided by the embodiments of the present application, be authorized to possess the user of username and password can be with Set wireless near field communication equipment to the electronic equipment for having unlock function of loudspeaker box.When the electronics for having unlock function of loudspeaker box Equipment establishes near radio with speaker and connect, and can just unlock speaker.In this manner it is ensured that the safety of speaker.
Further, after speaker and electronic equipment are bound, speaker and electronic equipment can initiate to establish near radio company It connects.For example, the transmission of wireless near field communication device periodically waits link information.Speaker receives wireless near field communication and sets The waiting link information that preparation is sent, judges whether the wireless near field communication equipment belongs to electronic equipment white list, if it is determined that The wireless near field communication equipment belongs to electronic equipment white list, then speaker determines that the wireless near field communication equipment is to have solution The electronic equipment for locking function of loudspeaker box, is updated to unlocked state for mode of operation.Optionally, speaker is also to electronic equipment sending device Successful connection information.In unlocked state, speaker can be switched to wake-up from dormant state in response to the wake operation of any user State.In the scene that more people are used in conjunction with speaker, avoiding administrator frequently is that different people wakes up speaker.When speaker and tool When the electronic equipment of standby unlock function of loudspeaker box is connected there is no near radio, any user cannot wake up the speaker;It protects Demonstrate,prove the safe handling of speaker.
In one implementation, after speaker receives the waiting link information of wireless near field communication equipment, if really The fixed wireless near field communication equipment is the electronic equipment for having unlock function of loudspeaker box, can show and carry out in administrative unit Unlock the prompt information of operation.
For example, sending electronic equipment connection after speaker receives the waiting link information of electronic equipment to administrative unit and asking Seek information.After administrative unit receives electronic equipment connectivity request message, is shown in administrative unit and be unlocked operation Prompt information.Illustratively, administrative unit is the management APP in mobile phone, after mobile phone receives electronic equipment connectivity request message, The prompt information of operation is being unlocked in display interface (for example, display screen) display.Illustratively, administrative unit is speaker In management APP, after administrative unit receives electronic equipment connectivity request message, speaker display interface (for example, display Screen) show the prompt information for being unlocked operation.
Illustratively, by taking administrative unit is the management APP in mobile phone as an example.Such as (a) of Fig. 7, mobile phone is received from speaker After electronic equipment connectivity request message, " unlocking speaker " prompt information 701 is shown in the main interface 604 of management APP.
Further, speaker is established near radio with the electronic equipment for having unlock function of loudspeaker box and is connect, speaker detection It is successfully established after near radio connect to the electronic equipment, can show that speaker unlock successfully prompt and believe in administrative unit Breath.
It is established after near radio connect for example, speaker is detected with electronic equipment, sends electronics to administrative unit and set Standby successful connection information.After administrative unit receives electronic equipment successful connection information, it can show that speaker unlocks and successfully prompt Information.Illustratively, administrative unit is the management APP in mobile phone, after mobile phone receives electronic equipment successful connection information, aobvious Show that interface (for example, display screen) shows that speaker unlocks successfully prompt information.Illustratively, administrative unit is the management in speaker APP after administrative unit receives electronic equipment successful connection information, shows sound in the display interface (for example, display screen) of speaker Case unlocks successfully prompt information.
Illustratively, by taking administrative unit is the management APP in mobile phone as an example.Such as (b) of Fig. 7, mobile phone is received from speaker After electronic equipment successful connection information, in the display of main interface 604 " speaker has been unlocked by mobile phone " prompt information of management APP 702。
In one implementation, user can inquire the electronics for establishing corresponding relationship with speaker by administrative unit and set Standby information.For example, in response to the first inquiry operation (for example, user click " inquiry " button) of user, administrative unit can be with The title that the electronic equipment of corresponding relationship is established with speaker is shown in display interface.Illustratively, such as (c) of Fig. 7, work as management It include " inquiring bound device " button 703 in speaker set interface, in response to user's point when APP shows speaker set interface The operation for hitting " inquiring bound device " button 703 shows bound device interface 704 such as (d) of Fig. 7.In bound device The display of interface 704 establishes the title of the electronic equipment of corresponding relationship: " Huawei's bracelet ", " Huawei P20 " with speaker.
In one implementation, user can be inquired by administrative unit and establish corresponding relationship with speaker, and even Connect the information of successful electronic equipment.For example, the second inquiry operation in response to user (is pressed for example, user clicks " inquiry " Button), administrative unit can be shown in display interface establishes corresponding relationship, and the name of the electronic equipment of successful connection with speaker Claim.It illustratively, include that " inquiry is in speaker set interface when managing APP display speaker set interface such as (e) of Fig. 7 Connect equipment " button 705, the operation of " inquiry connected device " button 705 is clicked in response to user, such as (f) of Fig. 7, display Connected device interface 706.At connected device interface 706, display establishes corresponding relationship with speaker, and successful connection The title of electronic equipment: " Huawei's bracelet ".
In some embodiments, speaker may include open mode and safe mode.In open mode, speaker does not judge to use Family operates the permission of speaker, is defaulted as unlocked state;Speaker can be cut in response to the wake operation of any user from dormant state It is changed to wake-up states.In safe mode, if there are near radios for speaker and the electric room for having unlock function of loudspeaker box Connection, then speaker is unlocked state;Speaker can be switched to wake-up shape from dormant state in response to the wake operation of any user State.If speaker is connected with the electric room for having unlock function of loudspeaker box there is no near radio, speaker is locking shape State;Speaker is not responding to the wake operation of any user.
In one implementation, the mode of speaker can be arranged in user by administrative unit.It is exemplary, such as Fig. 8, in hand The speaker set interface of machine can also include " mode " option 801.The operation of " mode " option 801 is clicked in response to user, is shown Show mode interface.Mode interface includes " open mode " option 802, " safe mode " option 803.It clicks and " opens in response to user The operation of mode playback " option 802, administrative unit determine that the mode of setting speaker is open mode." safety is clicked in response to user The operation of mode " option 803, administrative unit determine that the mode of setting speaker is safe mode.
In one implementation, the pattern information of setting is notified speaker by administrative unit;Speaker receives pattern information Afterwards, according to the pattern information, it is set as the corresponding mode of pattern information.For example, the mode of pattern information instruction setting speaker is Open mode, then speaker is set on mode playback, and it is unlocked state that mode of operation, which is arranged,.For example, pattern information instruction is set The mode for setting speaker is safe mode, then speaker is set as safe mode, and it is lock state that mode of operation, which is arranged,.
It should be noted that above embodiments are illustrated so that administrative unit is independently of speaker as an example.Administrative unit and sound Information exchange between case can be realized by wireless near field communication.For example, module 140 by wireless communication of smart machine 100 Interacting message is carried out with administrative unit.In another implementation, administrative unit is located in speaker, i.e., administrative unit is speaker Module.Smart machine 100 does not carry out interacting message by wireless communication module 140 and administrative unit, but directly passes through place It manages device 110 and dispatches modules.
In the following, by taking wireless near field communication is Bluetooth communication as an example, to a kind of setting electronics provided by the embodiments of the present application The method of equipment is introduced.As shown in figure 9, this method may include:
S201, administrative unit receive the operation of the binding electronic equipment of user.
The description of S201 can refer to S101, and details are not described herein again.
S202, the operation for binding electronic equipment in response to user, administrative unit notify speaker to scan bluetooth equipment.
Administrative unit detects the operation of the binding electronic equipment of user, in response to the operation of the binding electronic equipment, pipe It manages unit notice speaker and scans bluetooth equipment.Illustratively, bluetooth equipment unlock interface is passed through to Fig. 6 in response to user The management APP notice speaker of the clicking operation of " allowing through bluetooth unlocker device " option 607, mobile phone scans bluetooth equipment.
S203, speaker unlock management module receive scanning bluetooth equipment information.
The operating system of smart machine 100 is installed, in the operating system in Fig. 4 A on the application processor of processor 110 Various application programs and functional module are installed, for example, application program can be bluetooth driving, functional module may include unlock Management module etc..Bluetooth driving for from wireless communication module 140 (for example, Bluetooth chip) receive message, can also basis connect The message call other applications or functional module received.Illustratively, the Bluetooth chip of speaker receives scanning bluetooth and sets Standby information, and the scanning bluetooth equipment information is sent to bluetooth driving, bluetooth driving scheduling unlock management module is blue by scanning Tooth facility information is distributed to unlock management module, i.e. the unlock management module of speaker receives scanning bluetooth equipment information.
S204, bluetooth equipment, which are sent, waits link information.
In one implementation, it in the case that the Bluetooth function of bluetooth equipment is opened, periodically sends and waits connection Information.
The bluetooth driving of S205, speaker receive waiting link information.
In the case that the Bluetooth function of speaker is opened, speaker can receive the waiting connection letter of other bluetooth equipments transmission Breath.For example, the Bluetooth chip of speaker receives waiting link information, which is sent to bluetooth driving.Bluetooth Driving then receives waiting link information.
S206, speaker unlock management module to bluetooth driving request obtain wait connection bluetooth equipment.
After the unlock management module of speaker receives scanning bluetooth equipment information, is obtained to bluetooth driving request and wait connection Bluetooth equipment.
S207, speaker bluetooth drive to unlock management module return bluetooth equipment list.
Speaker bluetooth driving receive request wait connection bluetooth equipment information after, according to receive etc. The bluetooth equipment that can establish connection is determined to link information.For example, bluetooth driving can be according to the waiting connection letter received Breath determines the mark for sending the bluetooth equipment of the waiting link information, so that it is determined that can establish the bluetooth equipment of connection.Bluetooth Driving will determine that bluetooth equipment list is added in the mark that can establish the bluetooth equipment of connection, and blue to unlock management module return Tooth list of devices.
S208, speaker unlock management module to administrative unit return bluetooth equipment list.
After the unlock management module of speaker receives bluetooth equipment list, the bluetooth equipment list is returned to administrative unit.
S209, administrative unit show bluetooth equipment list.
Administrative unit receives bluetooth equipment list, and shows bluetooth equipment list.Illustratively, it such as Fig. 6, is set by bluetooth The bluetooth equipment list received of the available devices list display of standby unlock interface, including " Huawei's bracelet " type selecting 608, " China For Mate20 " type selecting 609.
S20a, administrative unit receive the operation that user selects equipment.
User can select one or more electronic equipments in bluetooth equipment list.For example, user can pass through click " Huawei's bracelet " option 608 in the bluetooth equipment list by bluetooth equipment unlock interface of Fig. 6 selects Huawei's bracelet.
S20b, the operation that equipment is selected in response to user, administrative unit send selection equipment message to speaker.
Administrative unit selects the operation of equipment in response to user, sends selection equipment message to speaker.Wherein, equipment is selected Message may include the mark of the bluetooth equipment of user's selection.
The unlock management module reception selection equipment message of S20c, speaker.
The Bluetooth chip of speaker receives selection equipment message, which is sent to bluetooth driving, bluetooth The selection equipment message is distributed to unlock management module by driving.The unlock management module of speaker receives selection equipment message Afterwards, the mark for being set as having the bluetooth equipment of electronic equipment of unlock function of loudspeaker box is determined according to the selection equipment message received Know.
S20d, speaker unlock management module to bluetooth drive send connection equipment message.
The unlock management module of speaker is driven to Bluetooth chip by bluetooth and sends connection equipment message, including setting To have the mark of the bluetooth equipment of the electronic equipment of unlock function of loudspeaker box.
S20e, speaker and bluetooth equipment establish bluetooth connection.
At this point, the bluetooth equipment is in the state for waiting connection, which establishes Bluetooth pairing with speaker and connect.It should After bluetooth equipment and speaker match for the first time, in the case where the bluetooth equipment and speaker can be found mutually, the bluetooth equipment It can initiate to establish bluetooth connection with speaker.
S20f, speaker unlock management module electronic equipment white list is added in the mark of the bluetooth equipment.
The unlock management module of speaker determines that bluetooth equipment and speaker establish bluetooth connection, by the mark of the bluetooth equipment Electronic equipment white list is added.
It should be noted that the embodiment of the present application does not limit the sequencing of step execution.For example, the unlock tube of speaker After reason module receives selection equipment message, S20d can be first carried out, the unlock management module notice bluetooth of speaker is drivingly connected Equipment, executes S20f afterwards, and electronic equipment white list is added in the mark of the bluetooth equipment by the unlock management module of speaker;It can also be with S20f is first carried out, the mark of the bluetooth equipment is added electronic equipment white list, executes S20d afterwards by the unlock management module of speaker, The unlock management module notice bluetooth of speaker is drivingly connected equipment;Or it is performed simultaneously S20d and S20f.It has no effect on this Shen Please embodiment technical effect.
S20g, speaker unlock management module to administrative unit return binding electronic equipment result.
The unlock management module of speaker is to administrative unit return binding electronic equipment as a result, including being set as having Unlock the mark of the bluetooth equipment of the electronic equipment of function of loudspeaker box.
The result of S20h, administrative unit display binding electronic equipment.
After administrative unit receives the result of binding electronic equipment, show the binding electronic equipment as a result, for example, display The mark of the bluetooth equipment.Illustratively, the display screen of mobile phone is shown in Fig. 6 through bluetooth equipment unlock interface, passes through bluetooth It include the bluetooth equipment for being set as having the electronic equipment of unlock function of loudspeaker box in my list of devices of equipment unlock interface Mark: " enabled Huawei's bracelet " option 60a.
The method of setting electronic equipment provided by the embodiments of the present application, be authorized to possess the user of username and password can be with Set bluetooth equipment to the electronic equipment for having unlock function of loudspeaker box.When the electronic equipment and speaker for having unlock function of loudspeaker box Bluetooth connection is established, speaker can be just unlocked.In this manner it is ensured that the safety of speaker.
The embodiment of the present application also provides a kind of method for waking up speaker, such as Figure 10, and this method may include:
S301, speaker detect wake request from the user.
User can wake up speaker by interactive voice.The user is any one user.
In one implementation, the wake operation of user is to say wake-up word.Speaker detects the wake-up that user says Word, it is determined that detect the wake operation (detecting wake request from the user) of user.Illustratively, Fig. 2A or Fig. 2 B Middle user A, which is said, wakes up word " the small small skill of skill ".
In one implementation, user can not wake up speaker by waking up word.Speaker detects that the voice of user refers to It enables, it is determined that detect the wake operation (detecting wake request from the user) of user.The wake operation of user is to say Phonetic order out.Illustratively, user A says phonetic order " playing next " in Fig. 2A or Fig. 2 B.
S302, speaker determine the mode of speaker.If the mode of speaker is safe mode, S303 is executed;If speaker Mode is open mode, executes S304.
In one implementation, in response to the wake operation of user, speaker determines the mode of speaker.If the mould of speaker Formula is safe mode, executes S303;If the mode of speaker is open mode, S304 is executed.
In some embodiments, in the secure mode, speaker is established or is disconnected near radio with electronic equipment and connect When, update the mode of operation of speaker.
For example, speaker detects that establishing near radio with wireless near field communication equipment connect, then judges speaker Mode.If the mode of speaker is safe mode, judge whether wireless near field communication equipment belongs to electronic equipment white list.Such as Fruit determine the wireless near field communication equipment belong to electronic equipment white list (i.e. the wireless near field communication equipment be have unlock The electronic equipment of function of loudspeaker box), then the mode of operation of speaker is switched to unlocked state.
For example, speaker detects that disconnection and the near radio of wireless near field communication equipment are connect, and this closely without Line communication equipment is the electronic equipment for having unlock function of loudspeaker box, then judges the mode of speaker.If the mode of speaker is safety The mode of operation of mode, speaker is switched to lock state.
In another implementation, in response to the wake operation of user, speaker can not know the mode of speaker, directly S303 is executed, determines the mode of operation of intelligence speaker.Safe mode and open mode are not distinguished, and speaker is all in accordance with the application implementation Step in example under safe mode executes.
In some embodiments, when speaker is connect with electronic equipment foundation or disconnection near radio, speaker is updated Mode of operation.
For example, speaker detects that establishing near radio with wireless near field communication equipment connect, and judges short distance nothing Whether line communication equipment belongs to electronic equipment white list.If it is determined that the wireless near field communication equipment belongs to the white name of electronic equipment Single (i.e. the wireless near field communication equipment is the electronic equipment for having unlock function of loudspeaker box), then the mode of operation of speaker is switched to Unlocked state.
For example, speaker detects that disconnection and the near radio of wireless near field communication equipment are connect, and this closely without Line communication equipment is the electronic equipment for having unlock function of loudspeaker box, and the mode of operation of speaker is switched to lock state.
S303, speaker determine the mode of operation of speaker.If the mode of operation of speaker is unlocked state, S304 is executed;Such as The mode of operation of fruit speaker is lock state, executes S305.
Speaker determines the mode of operation of speaker.
In one implementation, it is connect if speaker exists with the near radio of one or more electronic equipments, really The mode of operation of accordatura case is unlocked state.In unlocked state, speaker can be in response to the wake request of user, so that speaker quilt It wakes up.If speaker there is no connecting with the near radio of electronic equipment, determines that the mode of operation of speaker is lock state.Its In, which is the equipment for having unlock function of loudspeaker box.
In one implementation, speaker attended operation status information.For example, operational status information is that 1 expression speaker is Unlocked state, operational status information are that 0 expression speaker is lock state.When speaker is switched to unlocked state, mode of operation is set Information is 1;When speaker is switched to lock state, setting operational status information is 0.Speaker can be determined according to operational status information The mode of operation of speaker.If it is determined that operational status information is 1, determine that speaker is unlocked state;If it is determined that mode of operation is believed Breath is 0, determines that speaker is lock state.
S304, the wake operation in response to user, speaker are switched to wake-up states.
In general, the coomand mode of speaker is dormant state.In response to the wake operation of user, speaker is switched to wake-up shape State.In wake-up states, speaker can execute corresponding movement according to the phonetic order of user.For example, voice of the speaker to user The semanteme of instruction is identified, to be acted accordingly according to the semantic execution of the phonetic order of user.
In one implementation, the wake operation of user is to say wake-up word.Speaker in response to user wake operation, Wake-up states are switched to, and corresponding movement is further executed according to the phonetic order of user.Illustratively, user in Fig. 2 B A, which is said, wakes up word " the small small skill of skill ", and in response to the wake operation of user, speaker is switched to wake-up states.Further, speaker root According to the phonetic order " playing next " of user, executes and play next song.
In one implementation, user can not wake up speaker by waking up word.Speaker detects that the voice of user refers to Enable, it is determined that the wake operation for detecting user is switched to wake-up states in response to the wake operation of user, and according to The phonetic order at family executes corresponding movement.Illustratively, user A is said phonetic order " playing next " in Fig. 2 B, response In the wake operation of user, speaker is switched to wake-up states, and according to the phonetic order of user " playing next ", execution is broadcast Put next song.
S305, the wake operation for being not responding to user.
In one implementation, speaker is not responding to the wake operation of user, keeps dormant state.For example, being used in Fig. 2A Family A, which is said, wakes up word " the small small skill of skill ", is not responding to the wake operation of user, does not execute any movement.
In one implementation, speaker is not responding to the wake operation of user, and the coomand mode of speaker keeps dormant state; The voice prompting that speaker is also in the lock state.Illustratively, speaker receives the wake-up word that user C is said in Fig. 2A " the small small skill of skill ", then playing voice, " sorry, speaker is locked, cannot use."
The method provided by the embodiments of the present application for waking up speaker when speaker and has the electric room for unlocking function of loudspeaker box There are when near radio connection, speaker is unlocked state, can respond the wake operation of any user;Any user is ok Speaker is waken up, speaker is operated.When speaker is connected with the electric room for having unlock function of loudspeaker box there is no near radio, Speaker is lock state, is not responding to the wake operation of user.In this way, avoiding managing in the scene that more people are used in conjunction with speaker Member frequently wakes up speaker for different people, simplifies and wakes up process, and guarantees the safety of speaker.
In some embodiments, if the mode of speaker is safe mode, and speaker is not present and has unlock speaker The near radio of the electronic equipment of function connects, and speaker can cross the permission that voice print matching determines user's operation speaker.
For example, the voice of administrator is stored in advance in speaker, and form corresponding sound-groove model.In dormant state, speaker Detect the wake operation of user.If it is determined that the mode of speaker is safe mode, and mode of operation is lock state, speaker Judge whether the sound-groove model of the vocal print of the voice of the wake operation of user and the administrator of storage match.If it is determined that user The sound-groove model successful match of the administrator of the vocal print and storage of the voice of wake operation, then in response to the wake operation of user, Speaker is switched to wake-up states, and corresponding movement can be executed according to the phonetic order of user.If it is determined that user's calls out It fails to match for the sound-groove model of the administrator of the vocal print and storage of the voice of awake operation, and speaker is not responding to the wake operation of user.
In the method, when speaker is connected with the electric room for having unlock function of loudspeaker box there are near radio, Speaker is unlocked state, can respond the wake operation of any user;Any user can wake up speaker, operate speaker.When When speaker is connected with the electric room for having unlock function of loudspeaker box there is no near radio, speaker can be with response management person's Wake operation is not responding to the wake operation of the other users in addition to administrator;Only administrator can wake up speaker, operate sound Case.In this way, avoiding administrator frequently is that different people wakes up speaker, and simplification is called out in the scene that more people are used in conjunction with speaker Awake process, and guarantee the safety of speaker.
In the following, by taking wireless near field communication is Bluetooth communication as an example, to a kind of wake-up speaker provided by the embodiments of the present application Method be introduced.As shown in figure 11, this method may include:
S401, wireless near field communication equipment, which are sent, waits link information.
For example, the transmission of wireless near field communication device periodically waits link information.
The bluetooth driving of S402, speaker receive waiting link information.
In the case that the Bluetooth function of speaker is opened, speaker can receive the waiting connection letter of other bluetooth equipments transmission Breath.For example, the operating system of smart machine 100 is equipped in Fig. 4 A on the application processor of processor 110, in the operating system Various application programs and functional module are installed, for example, application program can be bluetooth driving, functional module may include unlock Management module, wake-up detection module, speech processing module etc..Bluetooth driving for from wireless communication module 140 (for example, bluetooth Chip) message is received, it can also be according to the message call other applications or functional module received.Illustratively, intelligence The Bluetooth chip of equipment receives waiting link information, and the waiting link information is sent to bluetooth driving, and bluetooth driving is adjusted Degree unlock management module, Xiang Xiesuo management module send Bluetooth connection request information.
S403, speaker bluetooth drive to unlock management module send Bluetooth connection request information.
The unlock management module reception Bluetooth connection request information of S404, speaker, and determine to send and wait link information Whether wireless near field communication equipment belongs to electronic equipment white list.If it is determined that sending the near radio for waiting link information Communication equipment belongs to electronic equipment white list, executes S405.
The unlock management module of speaker receives Bluetooth connection request information, is determined and is sent according to Bluetooth connection request information The device identification for waiting the wireless near field communication equipment of link information is led to according to the near radio for waiting link information is sent It is white that the device identification of letter equipment determines that the transmission waits the wireless near field communication equipment of link information whether to belong to electronic equipment List.It waits the wireless near field communication equipment of link information to belong to electronic equipment white list if it is determined that sending, executes S405.
S405, speaker unlock management module to bluetooth drive send bluetooth equipment connect confirmation message.
The bluetooth driving of S406, speaker receive bluetooth equipment connection confirmation message, send out to wireless near field communication equipment Send bluetooth equipment successful connection information.
It should be noted that each application program or functional module of speaker are set to other bluetooths in the embodiment of the present application Preparation is delivered letters breath, or receives information from other bluetooth equipments, is sent or received by Bluetooth chip.In order to become apparent from Embodiment smart machine each application program or functional module function, be described as in the embodiment of the present application application program or Functional module sends information to other bluetooth equipments, or receives information from other bluetooth equipments, without embodying Bluetooth chip Function.
Further, the wireless near field communication of link information is waited to set if the unlock management module of speaker determines to send It is standby to belong to electronic equipment white list, S407 can also be performed.
S407, speaker unlock management module the mode of operation of smart machine is updated to unlocked state.
In unlocked state, any user can wake up speaker.
Further, to it is provided by the embodiments of the present application it is a kind of wake up speaker method be introduced.Speaker receives use After the wake operation at family, as shown in figure 12, this method may include:
S501, speaker wake-up detection module detect the wake operation of user.
User can wake up speaker by interactive voice.The user is any one user.
In one implementation, the wake operation of user is to say wake-up word.In another implementation, Yong Huke Not wake up speaker by waking up word, the wake operation of user is to say phonetic order.
In the dormant state, after the wake-up detection module of speaker receives the voice of user, determined whether according to the voice For the wake operation of user.For example, the processor 110 of smart machine 100 gets user's by microphone 130B in Fig. 4 A Voice.In one possible implementation, the voice for the user that processor 110 will acquire is distributed to wake-up detection module. Detection module is waken up by the voice transfer to speech processing module.The voice is uploaded to semantics recognition service by speech processing module Device, and get from semantics recognition server the semanteme of the voice.The semantic hair for the voice that speech processing module will acquire It send to detection module is waken up, wakes up detection module and determine whether the wake operation for user according to the semanteme of the voice.Another In kind possible implementation, the voice transfer of the user that processor 110 will acquire to speech processing module, speech processes mould The voice is uploaded to semantics recognition server by block, and the semanteme of the voice is got from semantics recognition server.Speech processes The semanteme for the voice that module will acquire is sent to processor 110, and the semantic of the voice that processor 110 will acquire is sent To wake-up detection module.It wakes up detection module and determines whether the wake operation for user according to the semanteme of the voice.
Determine that the voice is the wake operation of user according to the semanteme of the voice if waking up detection module, it is determined that detection To the wake operation of user.
S502, speaker wake-up detection module to unlock management module send obtain mode of operation solicited message.
If it is determined that detecting the wake operation of user, the wake-up detection module of speaker is sent to unlock management module to be obtained Mode of operation solicited message, the mode of operation for request speaker.
The unlock management module reception of S503, speaker obtain mode of operation solicited message, determine the mode of operation of speaker.
For example, the unlock management module attended operation status information of speaker.For example, operational status information is 1 expression speaker For unlocked state, operational status information is that 0 expression speaker is lock state.Speaker determines the behaviour of speaker according to operational status information Make state.If it is determined that operational status information is 1, it is determined that speaker is unlocked state;If it is determined that operational status information is 0, Then determine that speaker is lock state.
S504, speaker unlock management module to wake up detection module send obtain mode of operation response message.
The unlock management module of speaker sends acquisition mode of operation response message to detection module is waken up, including speaker Mode of operation.
S505, speaker wake-up detection module according to obtain mode of operation response message, obtain the mode of operation of speaker.Such as Fruit determines that the mode of operation of speaker is unlocked state, executes S506;If it is determined that the mode of operation of speaker is lock state, execute S508。
S506, the wake operation in response to user, speaker are switched to wake-up states.
Illustratively, speaker receives the wake-up word " the small small skill of skill " that user A is said in Fig. 2 B, " small in response to waking up word The small skill of skill ", speaker is switched to wake-up states.
S507, in wake-up states, the phonetic order for waking up detection module and receiving user of speaker, and the user that will acquire Phonetic order be sent to speech processing module and handled.
Illustratively, further, speaker receives the phonetic order " playing next " of user A in Fig. 2 B, and execution is broadcast Put next song.
The coomand mode holding dormant state of S508, speaker, and the voice prompting being in the lock state.
The wake-up detection module of speaker determines that the coomand mode of speaker keeps dormant state, and be in the lock state Voice prompting.For example, the wake-up detection module of speaker can trigger the voice that speech processing module is in the lock state and mention Show.
Illustratively, speaker receives the wake-up word " the small small skill of skill " that user C is said in Fig. 2A, then plays voice " to not It rises, speaker is locked, cannot use."
It should be noted that the embodiment of the present application does not limit the sequencing that each step executes.For example, speaker can be After the voice for receiving user, first carry out semantics recognition, determine the voice whether be user wake operation, if it is determined that detection To the wake operation of user, then determine the mode of operation of speaker.For example, speaker can also be after receiving the voice of user, first Determine the mode of operation of speaker, if it is determined that the mode of operation of speaker is unlocked state, then carries out semantics recognition, determines the voice Whether be user wake operation.
In the method, when speaker be unlocked state, the wake operation of user can be responded;When speaker be lock state, It is not responding to the wake operation of user.In this way, it is different for avoiding administrator frequently in the scene that more people are used in conjunction with speaker People wakes up speaker, simplifies and wakes up process, and guarantees the safety of speaker.
It is understood that above-mentioned speaker is in order to realize the above functions, it comprises execute each corresponding hardware of function Structure and/or software module.Those skilled in the art should be readily appreciated that, describe in conjunction with the embodiments described herein Each exemplary unit and algorithm steps, the embodiment of the present application can with the combining form of hardware or hardware and computer software come It realizes.Some function is executed in a manner of hardware or computer software driving hardware actually, spy depending on technical solution Fixed application and design constraint.Professional technician can retouch each specific application using distinct methods to realize The function of stating, but this realization is it is not considered that exceed the range of the embodiment of the present application.
The embodiment of the present application also provides a kind of computer storage medium, and computer journey is stored in the computer storage medium Sequence code, when above-mentioned processor executes the computer program code, electronic equipment execute Fig. 5 or Fig. 9 or Figure 10 or Figure 11 or The correlation technique step that speaker executes in Figure 12 realizes the method in above-described embodiment.
The embodiment of the present application also provides a kind of computer program products, when the computer program product is transported on computers When row, so that the correlation technique step realization that computer executes speaker execution in Fig. 5 or Fig. 9 or Figure 10 or Figure 11 or Figure 12 is above-mentioned Method in embodiment.
The embodiment of the present application also provides a kind of computer storage medium, and computer journey is stored in the computer storage medium Sequence code, when above-mentioned processor executes the computer program code, electronic equipment executes administrative unit in the embodiment of the present application The correlation technique step of execution realizes the method in above-described embodiment.
The embodiment of the present application also provides a kind of computer program products, when the computer program product is transported on computers When row, so that computer executes the correlation technique step that administrative unit executes in the embodiment of the present application and realizes in above-described embodiment Method.
Wherein, computer storage medium provided by the embodiments of the present application or computer program product are used to execute above Provided corresponding method, therefore, attainable beneficial effect can refer in corresponding method presented above Beneficial effect, details are not described herein again.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
In addition, each functional unit in each embodiment of the application can integrate in a processor, it is also possible to Each unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit Both formal implementation of hardware can be used, the form that SFU software functional unit also can be used is realized.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that an equipment (can be list Piece machine, chip etc.) or processor (processor) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: various Jie that can store program code such as USB flash disk, mobile hard disk, ROM, magnetic or disk Matter.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be based on the protection scope of the described claims.

Claims (16)

1. a kind of method for waking up speaker characterized by comprising
Speaker detects wake request from the user;
The speaker determination establishes near radio with one or more electronic equipments and connect;The electronic equipment is to have solution Lock the equipment of the function of loudspeaker box;
The speaker in response to user wake request so that the speaker is waken up.
2. the method according to claim 1, wherein being built in speaker determination and one or more electronic equipments Before having stood near radio connection, the method also includes:
Determine that the speaker is arranged to safe mode.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
The speaker detects that establishing near radio with wireless near field communication equipment connect;
If it is determined that the wireless near field communication equipment belongs to the equipment list of storage, it is determined that the wireless near field communication is set It is standby to have the function of unlocking the speaker;The equipment list includes that one or more has the electronics for unlocking the function of loudspeaker box The mark of equipment.
4. method according to claim 1-3, which is characterized in that the method also includes:
The speaker receives the information of wireless near field communication equipment, and the wireless near field communication equipment is the tool that user selectes The standby electronic equipment for unlocking the function of loudspeaker box;
The speaker determines that the wireless near field communication equipment is to have according to the information of the wireless near field communication equipment The equipment for unlocking the function of loudspeaker box.
5. method according to claim 1-4, which is characterized in that the speaker by following any mode with The electronic equipment establishes near radio connection:
Near-field communication NFC, bluetooth, purple honeybee, Wireless Fidelity Wi-Fi.
6. a kind of method for waking up speaker characterized by comprising
Terminal receives the operation of the corresponding relationship for establishing electronic equipment and speaker of user;The electronic equipment is to have unlock The equipment of the function of loudspeaker box;
Speaker described in the terminal notification begins setting up the corresponding relationship of electronic equipment and speaker;
The terminal receives wireless near field communication list of devices, the wireless near field communication list of devices packet from the speaker Include the mark of one or more electronic equipments;
The operation of an electronic equipment is selected in response to user, speaker described in the terminal notification establishes the one of user's selection The corresponding relationship of a electronic equipment and the speaker.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
It is the operation of safe mode in response to user setting speaker, it is safe mode that the speaker, which is arranged, in the terminal.
8. method according to claim 6 or 7, which is characterized in that the method also includes:
In response to the first inquiry operation of user, the terminal shows the electronic equipment that corresponding relationship is established with the speaker Information.
9. according to the described in any item methods of claim 6-8, which is characterized in that the method also includes:
In response to the second inquiry operation of user, the terminal, which is shown, establishes corresponding relationship with the speaker, and with it is described Speaker establishes the information of the electronic equipment of near radio connection.
10. a kind of speaker characterized by comprising
Processor, for detecting wake request from the user;
Wireless communication module is connect for establishing near radio with electronic equipment;The electronic equipment is to have described in unlock The equipment of function of loudspeaker box;
The processor is also used to determine that the wireless communication module and one or more electronic equipments establish near radio Connection, in response to the wake request of user, so that the speaker is waken up.
11. speaker according to claim 10, which is characterized in that
The processor is also used to determine that the speaker is arranged to safe mode.
12. speaker described in 0 or 11 according to claim 1, which is characterized in that
The wireless communication module, is also used to establish near radio with wireless near field communication equipment and connect;
The processor is also used to determine that the wireless communication module and wireless near field communication equipment establish near radio Connection;
The processor, is also used to determine whether the wireless near field communication equipment belongs to the equipment list of storage, described to set Standby inventory includes one or more marks for having the electronic equipment for unlocking the function of loudspeaker box;
The processor is also used to if it is determined that the wireless near field communication equipment belongs to the equipment list of storage, it is determined that institute It states wireless near field communication equipment and has the function of unlocking the speaker.
13. the described in any item speakers of 0-12 according to claim 1, which is characterized in that
The wireless communication module, is also used to receive the information of wireless near field communication equipment, and the wireless near field communication is set It is standby to have the electronic equipment for unlocking the function of loudspeaker box for what user selected;
The processor is also used to determine the wireless near field communication according to the information of the wireless near field communication equipment Equipment is to have the equipment for unlocking the function of loudspeaker box.
14. the described in any item speakers of 0-13 according to claim 1, which is characterized in that the wireless communication module passes through following Any mode is established near radio with the electronic equipment and is connect:
Near-field communication NFC, bluetooth, purple honeybee, Wireless Fidelity Wi-Fi.
15. a kind of terminal, which is characterized in that the terminal includes: processor, memory and communication interface;The memory and The communication interface is coupled with the processor;The memory is for storing computer program code;The computer program Code includes computer instruction, when the processor executes above-mentioned computer instruction, is executed such as any one of claim 6-9 institute The method stated.
16. a kind of computer storage medium, which is characterized in that the computer storage medium includes computer instruction, when described When computer instruction is run on an electronic device, so that the electronic equipment executes side as described in any one in claim 1-5 Method, or execute method as claim in any one of claims 6-9.
CN201910252505.XA 2019-03-29 2019-03-29 Method and equipment for waking up sound box Active CN110060675B (en)

Priority Applications (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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN110060675A true CN110060675A (en) 2019-07-26
CN110060675B CN110060675B (en) 2021-12-21

Family

ID=67318023

Family Applications (2)

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

Country Status (1)

Country Link
CN (2) CN114360495A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111208736A (en) * 2019-12-17 2020-05-29 中移(杭州)信息技术有限公司 Intelligent sound box control method and device, electronic equipment and storage medium
WO2021052134A1 (en) * 2019-09-17 2021-03-25 深圳市万普拉斯科技有限公司 Voice recognition method and device, and mobile terminal
CN113472614A (en) * 2020-04-28 2021-10-01 海信集团有限公司 Voice interaction equipment and voice interaction method
CN113823279A (en) * 2020-06-16 2021-12-21 阿里巴巴集团控股有限公司 Application program awakening method and device and electronic equipment
CN114125650A (en) * 2020-08-27 2022-03-01 华为技术有限公司 Audio data processing method and device and sound box system
CN115038042A (en) * 2021-10-22 2022-09-09 荣耀终端有限公司 Wireless connection method, electronic equipment and graphical interface

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363987A (en) * 2014-05-29 2015-02-18 华为技术有限公司 Method and device for selecting terminal modes
CN104915582A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Unlocking method and unlocking device
CN105005217A (en) * 2015-05-29 2015-10-28 广东欧珀移动通信有限公司 Control method, wireless sound box, terminal and system
US20160165421A1 (en) * 2011-10-19 2016-06-09 Facebook, Inc. Periodic ambient waveform analysis for dynamic device configuration
US20160192046A1 (en) * 2014-12-31 2016-06-30 Adam Hall Gmbh Loudspeaker box arrangement and loudspeaker box
CN205582480U (en) * 2016-01-20 2016-09-14 四川长虹电器股份有限公司 Intelligence acoustic control system
CN107426069A (en) * 2017-08-23 2017-12-01 南京中感微电子有限公司 Intelligent domestic system and its control method based on bluetooth
CA3022320A1 (en) * 2016-06-17 2017-12-21 Light Wave Technology Inc. Remote control by way of sequences of keyboard codes
CN107517413A (en) * 2017-10-24 2017-12-26 柴雪 A kind of intelligent sound box and its control method
US20180307682A1 (en) * 2014-01-30 2018-10-25 Microsoft Technology Licensing, Llc Virtual assistant system
CN109068301A (en) * 2018-06-29 2018-12-21 珠海格力电器股份有限公司 Method and device for binding smart home equipment
CN208369787U (en) * 2018-05-09 2019-01-11 惠州超声音响有限公司 A kind of system interacted with intelligent sound
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 珠海格力电器股份有限公司 Voice control method and device, storage medium and air conditioner

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160165421A1 (en) * 2011-10-19 2016-06-09 Facebook, Inc. Periodic ambient waveform analysis for dynamic device configuration
US20180307682A1 (en) * 2014-01-30 2018-10-25 Microsoft Technology Licensing, Llc Virtual assistant system
CN104363987A (en) * 2014-05-29 2015-02-18 华为技术有限公司 Method and device for selecting terminal modes
US20160192046A1 (en) * 2014-12-31 2016-06-30 Adam Hall Gmbh Loudspeaker box arrangement and loudspeaker box
CN104915582A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Unlocking method and unlocking device
CN105005217A (en) * 2015-05-29 2015-10-28 广东欧珀移动通信有限公司 Control method, wireless sound box, terminal and system
CN205582480U (en) * 2016-01-20 2016-09-14 四川长虹电器股份有限公司 Intelligence acoustic control system
CA3022320A1 (en) * 2016-06-17 2017-12-21 Light Wave Technology Inc. Remote control by way of sequences of keyboard codes
CN107426069A (en) * 2017-08-23 2017-12-01 南京中感微电子有限公司 Intelligent domestic system and its control method based on bluetooth
CN107517413A (en) * 2017-10-24 2017-12-26 柴雪 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
CN109068301A (en) * 2018-06-29 2018-12-21 珠海格力电器股份有限公司 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 珠海格力电器股份有限公司 Voice control method and device, storage medium and air conditioner

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RAINHARD DIETER FINDLING,ET AL.: "ShakeUnlock: Securely Transfer Authentication States Between Mobile Devices", 《IEEE TRANSACTIONS ON MOBILE COMPUTING》 *
刘晚秋等: "基于大数据的全民健康智能塑身手环的研究与设计", 《智能计算机与应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021052134A1 (en) * 2019-09-17 2021-03-25 深圳市万普拉斯科技有限公司 Voice recognition method and device, and mobile terminal
CN111208736A (en) * 2019-12-17 2020-05-29 中移(杭州)信息技术有限公司 Intelligent sound box control method and device, electronic equipment and storage medium
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
CN113823279A (en) * 2020-06-16 2021-12-21 阿里巴巴集团控股有限公司 Application program awakening method and device and electronic equipment
CN114125650A (en) * 2020-08-27 2022-03-01 华为技术有限公司 Audio data processing method and device and sound box system
CN114125650B (en) * 2020-08-27 2023-05-09 华为技术有限公司 Audio data processing method and device and sound box system
CN115038042A (en) * 2021-10-22 2022-09-09 荣耀终端有限公司 Wireless connection method, electronic equipment and graphical interface

Also Published As

Publication number Publication date
CN110060675B (en) 2021-12-21
CN114360495A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN110060675A (en) Wake up the method and apparatus of speaker
CN110601870B (en) Method, device and system for registering device distribution network
US10462710B2 (en) Communication apparatus, communication system, notification method, and program product
CN105191172B (en) Communication means and device
CN103236094B (en) Gate control system and the method with mobile terminal unblock access control equipment
CN102629163B (en) Method for controlling operation of touch panel and portable terminal supporting the same
CN107332976B (en) Karaoke method, device, equipment and system
KR101593577B1 (en) List displaying Method based on a short range communication and portable Device using the same
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
CN103384243B (en) The method and apparatus that sip option message for capability discovery of rich is exchanged in portable terminal
CN104350484B (en) Message-based identification of an electronic device
CN104767807A (en) Information transmission method based on wearable devices and related devices
CN103748863A (en) Configuration of accessories for wireless network access
US20130072119A1 (en) Apparatus and method for connecting with bluetooth device in portable terminal
KR20050037432A (en) Information communication system, information communication device, information communication method, and computer program
JP2002202836A (en) Input device, equipment, control method, program, and storage medium
CN110113739A (en) Information processing method and electronic equipment
CN101141151A (en) Member notification method for mobile terminals using short-range wireless communication
CN108243481A (en) Document transmission method and device
WO2020133495A1 (en) Smart device management method, mobile terminal, and system
CN107230273A (en) Queuing number-taking method, device, system and storage medium
CN104679254A (en) Mobile phone interaction system based on brain wave real-time induction headphones
CN110198362A (en) A kind of method and system for adding smart home device in contact person
CN206896812U (en) The control system of Intelligent doll
CN106507357A (en) A kind of connection control method, and terminal device

Legal Events

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