[go: up one dir, main page]

CN110086930A - A kind of voice interactive method, wearable device and computer readable storage medium - Google Patents

A kind of voice interactive method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110086930A
CN110086930A CN201910325137.7A CN201910325137A CN110086930A CN 110086930 A CN110086930 A CN 110086930A CN 201910325137 A CN201910325137 A CN 201910325137A CN 110086930 A CN110086930 A CN 110086930A
Authority
CN
China
Prior art keywords
voice
voice signal
function
starting
wearable device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910325137.7A
Other languages
Chinese (zh)
Inventor
李小平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910325137.7A priority Critical patent/CN110086930A/en
Publication of CN110086930A publication Critical patent/CN110086930A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • 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)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a kind of voice interactive method, wearable device and computer readable storage medium, belongs to wearable device technical field, which comprises is associated with selected physical button setting complex function and with voice assistant the complex function;The pressing signal for receiving the physical button judges whether the pressing signal is consistent with the signal for triggering the complex function, if it is, starting voice assistant;Voice signal is received, correlation function is started according to voice signal.The present invention makes wearable device easily realize interactive voice, enhances the practicability of wearable device.

Description

A kind of voice interactive method, wearable device and computer readable storage medium
Technical field
This application involves wearable device technical field more particularly to a kind of voice interactive methods, wearable device and meter Calculation machine readable storage medium storing program for executing.
Background technique
Since the device space is limited, hardware set by many mobile terminals can not be all arranged wearable device, such as Multiple audible devices are arranged in mobile terminal, but an audible device can only be arranged on wearable device, such as only setting is raised Sound device, is not provided with earpiece;Current wearable device cannot directly use voice interactive function due to design reasons, but by In the application program standardization all as far as possible of current mobile terminal, it not only can be applied to mobile terminal but also may be applied to wear Equipment is worn, so that the reduction of the development cost of application program as far as possible.If wearable device itself design reasons or hardware deficiency, Cause the function of many application programs to need to redesign, cost reduction will be unfavorable for.
Icon and setting first term on wrist machine need to start browsing, wrist machine screen by modes such as screen touch clicks It is small, operating area is limited, skip it is more, operation it is more troublesome, if by voice assistant complete instruction input, substitution touch click Problem inconvenient for use can then be improved.
Summary of the invention
It is a primary object of the present invention to propose a kind of voice interactive method, wearable device and computer-readable storage medium Matter, it is intended to solve the problems, such as that voice interactive function cannot be used and use inconvenience by solving the wearable devices such as watch.
To solve the above problems, the present invention provides a kind of voice interactive method, it is applied to wearable device, including following step It is rapid:
By selected physical button setting complex function and the complex function is associated with voice assistant;
When receiving the pressing signal of the physical button, judge the pressing signal whether with trigger the complex function Signal it is consistent, if it is, starting voice assistant;
Voice signal is received, correlation function is started according to voice signal.
Further, the step of the method receives voice signal, starts correlation function according to voice signal and further wraps It includes:
Voice signal is received, judges whether the involved function of starting of the voice signal belongs to third-party application, if The involved function of starting of the voice signal belongs to third-party application, then directly initiates the third-party application being related to.
Further, the step of the method receives voice signal, starts correlation function according to voice signal and further wraps It includes: receiving voice signal, it is locally applied to judge whether the involved function of starting of the voice signal belongs to, if the voice The involved function of starting of signal belongs to locally applied, then to return to voice assistant identification information progress local intercept, parsing The information intercepted, matching is related locally applied, jumps to corresponding locally applied deployment method and opens the local and answers With.
Further, the step of the method receives voice signal, starts correlation function according to voice signal and further wraps It includes: receiving voice signal, judge whether the involved function of starting of the voice signal belongs to switch state switching, if described The involved function of starting of voice signal belongs to switch state switching, then the information returned to voice assistant identification carries out local block It cuts, parses intercepted information, jump to related switch, and switch the state of the switch according to the instruction of voice messaging.
Further, the physical button includes any one physical button of power key, home key, back key, described The complex function of selected physical button is to start voice assistant when double-clicking.
To solve the above problems, the present invention also provides a kind of wearable device, the equipment includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program realizes step when being executed by the processor:
By selected physical button setting complex function and the complex function is associated with voice assistant;
When receiving the pressing signal of the physical button, judge the pressing signal whether with trigger the complex function Signal it is consistent, if it is, starting voice assistant;
Voice signal is received, correlation function is started according to voice signal.
Further, the processor execute the step of receive voice signal, according to voice signal start correlation function into One step includes:
Voice signal is received, judges whether the involved function of starting of the voice signal belongs to third-party application, if The involved function of starting of the voice signal belongs to third-party application, then directly initiates the third-party application being related to.
Further, the processor execute the step of receive voice signal, according to voice signal start correlation function into One step includes: reception voice signal, it is locally applied to judge whether the involved function of starting of the voice signal belongs to, if institute The function of starting involved by predicate sound signal belongs to locally applied, then the information returned to voice assistant identification locally block It cuts, the intercepted information of parsing, it is locally applied involved in matching, it jumps to corresponding locally applied deployment method and opens and be somebody's turn to do It is locally applied.
Further, the processor execute the step of receive voice signal, according to voice signal start correlation function into One step includes:
Voice signal is received, judges whether the involved function of starting of the voice signal belongs to switch state switching, such as The involved function of starting of voice signal described in fruit belongs to switch state switching, then the information returned to voice assistant identification carries out Local intercept parses intercepted information, jumps to related switch, and switches the shape of the switch according to the instruction of voice messaging State.
It is described computer-readable and to solve the above problems, the present invention also provides a kind of computer readable storage medium Interactive voice program is stored on storage medium, the interactive voice program is realized when being executed by processor described in any of the above-described Voice interactive method the step of.
Voice interactive method, wearable device and the computer readable storage medium that the present invention realizes, by being wearable Complex function is arranged in physical button in equipment, then the complex function is associated with voice assistant, by physical button and voice Assistant arranges in pairs or groups to be acted using the instruction input for completing narrow display screen, is completed to open the operations such as application, switch, be improved wearable The operating efficiency of equipment.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 6 is the implementation process schematic diagram for the voice interactive method that first embodiment of the invention provides;
Fig. 7 is the implementation process schematic diagram for the voice interactive method that second embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, Wi-Fi module, audio output unit, A/V (audio/video) input unit, sensor, display The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, with And the equal components of power supply 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to can The restriction of wearable device, wearable device may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101 What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband code Point multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-division S-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTE Work long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-term Evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely Slightly., wearable device 100 can realize the communication link with other equipment or communication network separately through Wi-Fi module 102 It connects, the embodiment of the present invention is not limited thereto.
Wi-Fi belongs to short range wireless transmission technology, and wearable device can help user to receive by Wi-Fi module 102 It sends e-mails, browse webpage and access streaming video etc., it provides wireless broadband internet access for user.Although figure 1 shows Wi-Fi module 102, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can be with It omits within the scope of not changing the essence of the invention as needed.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 It is when under the isotypes such as mode, speech recognition mode, broadcast reception mode, radio frequency unit 101 or Wi-Fi module 102 is received Or the audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or Wi-Fi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera, It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101 The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this Shen It please propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5 Shown, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with It is all covered on the watchband of the equipment, the embodiment of the present application is not limited thereto.
Embodiment one
First embodiment of the invention provides a kind of voice interactive method, is applied to wearable device, as shown in fig. 6, including Following steps:
The complex function is associated with selected physical button setting complex function and with voice assistant by S11;
The physical button includes the Home key being set on screen, Back key, the electricity for being set to wearable device side The keys such as source key, volume add, volume down.Complex function further assigns new function, this reality on the basis of original function It applies in example, the side for meeting function, passing through that system designs or keypress function is set of starting voice assistant is preferably assigned to Home key Formula, start voice assistant when setting continuous pressing twice to Home key meets function, makes people when wanting using voice assistant, It can be realized by way of continuously pressing twice, similarly, starting voice assistant can also be carried out to power key, Back key and is answered Close function setting.
S12 receives the pressing signal of the physical button;
S13 judges whether the pressing signal is consistent with the signal for triggering the complex function, if it is, executing step Rapid S14, otherwise terminates;
S14 starts voice assistant;
When user press physical button when, system need identify it is to be started be the physical button original function or The complex function of setting, so when receiving the pressing signal of physical button, first determine whether the pressing signal whether with triggering The signal of the complex function is consistent, if it is, starting voice assistant opens if the signal with complex function is inconsistent Dynamic corresponding function is abandoned executing this pressing instruction.
S15 receives voice signal, starts correlation function according to voice signal.
The function that voice assistant is able to carry out is answered including being set on wearable device from the third party that application market is downloaded Also include being preset in the locally applied of wearable device with program, further include the function switch of Switch, such as WIFI network connects It connects and belongs to Switch function switch, calculator, address list, outdoor running etc. and belong to the application program being locally located, and search for and draw It holds up, social program, music client end etc. belong to the third party application of application market downloading.
Start voice assistant by physical button, carry out voice input, judges the involved function started of the voice signal Whether can belong to third-party application, if the involved function of starting of the voice signal belongs to third-party application, directly open The dynamic third-party application being related to.Such as open music, then belong to opening third party application, it can be direct according to voice instruction It opens.
If the involved function of starting of the voice signal belongs to locally applied, to return to voice assistant identification letter Breath carries out local intercept, parses intercepted information, and matching is related locally applied, jumps to corresponding locally applied opening Method and to open this locally applied.Outdoor running is such as opened, because outdoor running is not belonging to apply, can not directly be helped by voice Hand cloud data are completed to open the operation of icon, return the result carry out local intercept to voice assistant identification, need to intercept text simultaneously Word and voice, then parse text, when characters matching running outdoor to opening, are attributed to opening wrist machine and answered With the method for jumping to opening application;Prefabricated all desktop icons information of wrist machine in the method for application are opened, according to incoming number According to the different opening operations for completing wrist machine desktop icon.
Icon is a kind of iconic format, and for system icon, software icon etc., this icon extends entitled * .icon, * .ico.Icon is typically all ICON format those of on common software or windows desktop.Icon element can including two The daughter element of choosing: small-icon daughter element and large-icon daughter element.Filename is Web application archive file (WAR) The relative path of root.Deployment descriptor does not use icon element.But if using XML tool editor's deployment descriptor, Icon element can be used in xml editor.Icon is the small bitmap of specific type, and full-size is 32 × 32 pixels.
If the involved function of starting of the voice signal belongs to switch state switching, voice assistant is identified and is returned Information carry out local intercept, parse intercepted information, jump to related switch, and institute is switched according to the instruction of voice messaging State the state of switch.Gesture high up in the air is such as opened, gesture high up in the air etc. is closed, handles control mode by voice assistant local intercept, Regular job of the voice to wrist machine can effectively be completed.
The voice interactive method that the present invention realizes, by on wearable device physical button be arranged complex function, then The complex function is associated with voice assistant, uses the instruction for completing narrow display screen by physical button and voice assistant collocation Input action is completed to open the operation such as application, switching, improves the operating efficiency of wearable device.
Embodiment two
Second embodiment of the invention provides a kind of voice interactive method, is applied to wearable device, as shown in fig. 7, comprises Following steps:
The complex function is associated with selected physical button setting complex function and with voice assistant by S21;
The physical button includes the Home key being set on screen, Back key, the electricity for being set to wearable device side The keys such as source key, volume add, volume down.Complex function further assigns new function, this reality on the basis of original function It applies in example, the side for meeting function, passing through that system designs or keypress function is set of starting voice assistant is preferably assigned to Home key Formula, start voice assistant when setting continuous pressing twice to Home key meets function, makes people when wanting using voice assistant, It can be realized by way of continuously pressing twice, similarly, starting voice assistant can also be carried out to power key, Back key and is answered Close function setting.
S22 receives the pressing signal of the physical button;
S23 judges whether the pressing signal is consistent with the signal for triggering the complex function, if it is, executing step Rapid S24, otherwise terminates;
S24 starts voice assistant;
When user press physical button when, system need identify it is to be started be the physical button original function or The complex function of setting, so when receiving the pressing signal of physical button, first determine whether the pressing signal whether with triggering The signal of the complex function is consistent, if it is, starting voice assistant opens if the signal with complex function is inconsistent Dynamic corresponding function is abandoned executing this pressing instruction.
S25 receives voice signal;
S26, judges whether the involved function of starting of the voice signal belongs to third-party application, if it is, executing Step S27;It is no to then follow the steps S28;
S27 directly initiates the third-party application being related to;
The function that voice assistant is able to carry out is answered including being set on wearable device from the third party that application market is downloaded Also include being preset in the locally applied of wearable device with program, further include the function switch of Switch, such as WIFI network connects It connects and belongs to Switch function switch, calculator, address list, outdoor running etc. and belong to the application program being locally located, and search for and draw It holds up, social program, music client end etc. belong to the third party application of application market downloading.
Start voice assistant by physical button, carry out voice input, judges the involved function started of the voice signal Whether can belong to third-party application, if the involved function of starting of the voice signal belongs to third-party application, directly open The dynamic third-party application being related to.Such as open music, then belong to opening third party application, it can be direct according to voice instruction It opens.
S28 it is locally applied to judge whether the involved function of starting of the voice signal belongs to, if it is, executing step Rapid S29;It is no to then follow the steps S30;
S29, the information returned to voice assistant identification carry out local intercept, parse intercepted information, involved by matching It is locally applied, jump to corresponding locally applied deployment method and to open this locally applied;
If the involved function of starting of the voice signal belongs to locally applied, to return to voice assistant identification letter Breath carries out local intercept, parses intercepted information, and matching is related locally applied, jumps to corresponding locally applied opening Method and to open this locally applied.Outdoor running is such as opened, because outdoor running is not belonging to apply, can not directly be helped by voice Hand cloud data are completed to open the operation of icon, return the result carry out local intercept to voice assistant identification, need to intercept text simultaneously Word and voice, then parse text, when characters matching running outdoor to opening, are attributed to opening wrist machine and answered With the method for jumping to opening application;Prefabricated all desktop icons information of wrist machine in the method for application are opened, according to incoming number According to the different opening operations for completing wrist machine desktop icon.Icon is a kind of iconic format, is used for system icon, software icon Deng this icon extends entitled * .icon, * .ico.Icon is typically all those of on common software or windows desktop ICON format.Icon element includes two optional daughter elements: small-icon daughter element and large-icon daughter element.Text Part name is the relative path of the root of Web application archive file (WAR).Deployment descriptor does not use icon element.But such as Fruit uses XML tool editor's deployment descriptor, and icon element can be used in xml editor.Icon is the small bitmap of specific type, Full-size is 32 × 32 pixels.
S30, judges whether the involved function of starting of the voice signal belongs to switch state switching;If it is, holding Row step S31;Otherwise terminate.
S31, the information returned to voice assistant identification carry out local intercept, parse intercepted information, jump to correlation Switch, and the state of the instruction switching switch according to voice messaging.
If the involved function of starting of the voice signal belongs to switch state switching, voice assistant is identified and is returned Information carry out local intercept, parse intercepted information, jump to related switch, and institute is switched according to the instruction of voice messaging State the state of switch.Gesture high up in the air is such as opened, gesture high up in the air etc. is closed, handles control mode by voice assistant local intercept, Regular job of the voice to wrist machine can effectively be completed.
The voice interactive method that the present invention realizes, by on wearable device physical button be arranged complex function, then The complex function is associated with voice assistant, uses the instruction for completing narrow display screen by physical button and voice assistant collocation Input action is completed to open the operation such as third-party application, locally applied, switching, improves the operation effect of wearable device Rate.
Embodiment three
Third embodiment of the invention provides a kind of wearable device, and equipment as described in Figure 1 includes:
It memory 109, processor 110 and is stored on the memory 109 and can be run on the processor 110 Computer program;
Embodiment one, two any embodiment institute of embodiment are realized when the computer program is executed by the processor 110 The step of stating voice interactive method.
Example IV
Fourth embodiment of the invention also provides a kind of computer readable storage medium, on the computer readable storage medium It is stored with interactive voice program, embodiment one, any reality of embodiment two are realized when the interactive voice program is executed by processor The step of applying voice interactive method described in example.
It should be noted that, in this document, term "comprising", " comprising " or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of voice interactive method is applied to wearable device, comprising the following steps:
By selected physical button setting complex function and the complex function is associated with voice assistant;
When receiving the pressing signal of the physical button, judge the pressing signal whether with the letter that triggers the complex function It is number consistent, if it is, starting voice assistant;
Voice signal is received, correlation function is started according to voice signal.
2. voice interactive method according to claim 1, which is characterized in that the step of the method, receives voice signal, Starting correlation function according to voice signal further comprises:
Voice signal is received, judges whether the involved function of starting of the voice signal belongs to third-party application, if described The involved function of starting of voice signal belongs to third-party application, then directly initiates the third-party application being related to.
3. voice interactive method according to claim 1, which is characterized in that the step of the method, receives voice signal, Starting correlation function according to voice signal further comprises: receiving voice signal, judges the involved starting of the voice signal It is locally applied whether function belongs to, if the involved function of starting of the voice signal belongs to locally applied, helps voice Hand identifies that the information returned carries out local intercept, parses intercepted information, and matching is related locally applied, jumps to correspondence Locally applied deployment method and to open this locally applied.
4. voice interactive method according to claim 1, which is characterized in that the step of the method, receives voice signal, Starting correlation function according to voice signal further comprises: receiving voice signal, judges the involved starting of the voice signal Whether function belongs to switch state switching, if the involved function of starting of the voice signal belongs to switch state switching, The information returned to voice assistant identification carries out local intercept, parses intercepted information, jumps to related switch, and according to language The instruction of message breath switches the state of the switch.
5. voice interactive method according to claim 1, it is characterised in that: the physical button includes power key, home Any one physical button of key, back key, the complex function of the selected physical button are to start voice assistant when double-clicking.
6. a kind of wearable device, which is characterized in that the equipment includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The computer program realizes step when being executed by the processor:
By selected physical button setting complex function and the complex function is associated with voice assistant;
When receiving the pressing signal of the physical button, judge the pressing signal whether with the letter that triggers the complex function It is number consistent, if it is, starting voice assistant;
Voice signal is received, correlation function is started according to voice signal.
7. wearable device according to claim 6, which is characterized in that the step of processor executes receives voice letter Number, starting correlation function according to voice signal further comprises:
Voice signal is received, judges whether the involved function of starting of the voice signal belongs to third-party application, if described The involved function of starting of voice signal belongs to third-party application, then directly initiates the third-party application being related to.
8. wearable device according to claim 6, which is characterized in that the step of processor executes receives voice letter Number, starting correlation function according to voice signal further comprises: receiving voice signal, judges the involved starting of the voice signal Function whether belong to it is locally applied, if the involved function of starting of the voice signal belong to it is locally applied, to voice Assistant identifies that the information returned carries out local intercept, parses intercepted information, locally applied involved in matching, jumps to pair It answers locally applied deployment method and to open this locally applied.
9. wearable device according to claim 6, which is characterized in that the step of processor executes receives voice letter Number, starting correlation function according to voice signal further comprises:
Voice signal is received, judges whether the involved function of starting of the voice signal belongs to switch state switching, if institute The involved function of starting of predicate sound signal belongs to switch state switching, then the information returned to voice assistant identification carries out local It intercepts, parses intercepted information, jump to related switch, and switch the state of the switch according to the instruction of voice messaging.
10. a kind of computer readable storage medium, which is characterized in that be stored with voice friendship on the computer readable storage medium Mutual program realizes the interactive voice as described in any one of claims 1 to 5 when the interactive voice program is executed by processor The step of method.
CN201910325137.7A 2019-04-22 2019-04-22 A kind of voice interactive method, wearable device and computer readable storage medium Pending CN110086930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910325137.7A CN110086930A (en) 2019-04-22 2019-04-22 A kind of voice interactive method, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910325137.7A CN110086930A (en) 2019-04-22 2019-04-22 A kind of voice interactive method, wearable device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110086930A true CN110086930A (en) 2019-08-02

Family

ID=67416037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910325137.7A Pending CN110086930A (en) 2019-04-22 2019-04-22 A kind of voice interactive method, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110086930A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405118A (en) * 2020-03-25 2020-07-10 深圳市易联电子有限公司 Intelligent key capable of completing configuration by using voice interaction and use method thereof
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN115440201A (en) * 2021-06-03 2022-12-06 北京有竹居网络技术有限公司 Wearable device control method and device, terminal and non-transitory storage medium
CN117112251A (en) * 2022-05-27 2023-11-24 荣耀终端有限公司 Communication method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209257A (en) * 2013-03-11 2013-07-17 广东欧珀移动通信有限公司 Method for controlling voice assistant through earphone
CN104935361A (en) * 2015-06-12 2015-09-23 东莞市和乐电子有限公司 Method and device for communication between bluetooth headset and mobile terminal
CN107004413A (en) * 2014-11-28 2017-08-01 微软技术许可有限责任公司 Expanding digital personal assistant acts supplier
CN108231074A (en) * 2017-12-11 2018-06-29 深圳市金立通信设备有限公司 A kind of data processing method, voice assistant equipment and computer readable storage medium
CN108986814A (en) * 2018-09-04 2018-12-11 出门问问信息科技有限公司 A kind of method and device waking up application service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209257A (en) * 2013-03-11 2013-07-17 广东欧珀移动通信有限公司 Method for controlling voice assistant through earphone
CN107004413A (en) * 2014-11-28 2017-08-01 微软技术许可有限责任公司 Expanding digital personal assistant acts supplier
CN104935361A (en) * 2015-06-12 2015-09-23 东莞市和乐电子有限公司 Method and device for communication between bluetooth headset and mobile terminal
CN108231074A (en) * 2017-12-11 2018-06-29 深圳市金立通信设备有限公司 A kind of data processing method, voice assistant equipment and computer readable storage medium
CN108986814A (en) * 2018-09-04 2018-12-11 出门问问信息科技有限公司 A kind of method and device waking up application service

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405118A (en) * 2020-03-25 2020-07-10 深圳市易联电子有限公司 Intelligent key capable of completing configuration by using voice interaction and use method thereof
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN112735117B (en) * 2020-12-28 2022-02-11 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN115440201A (en) * 2021-06-03 2022-12-06 北京有竹居网络技术有限公司 Wearable device control method and device, terminal and non-transitory storage medium
CN117112251A (en) * 2022-05-27 2023-11-24 荣耀终端有限公司 Communication method and related equipment

Similar Documents

Publication Publication Date Title
CN109982179A (en) Audio frequency signal output, device, wearable device and storage medium
CN110096195B (en) Sports icon display method, wearable device and computer readable storage medium
CN110086930A (en) A kind of voice interactive method, wearable device and computer readable storage medium
CN110109725A (en) A kind of interface color method of adjustment and wearable device
CN110083220A (en) A kind of power-saving processing method and wearable device
CN108898552A (en) Picture joining method, double screen terminal and computer readable storage medium
CN109976612A (en) Application function implementation method, wearable device, mobile phone and computer readable storage medium
CN109995938A (en) A kind of notice display methods, mobile phone, wearable device and calculate readable storage medium storing program for executing
CN110362368A (en) Picture customization display methods, relevant device and the storage medium of wearable device
CN109933400B (en) Display interface layout method, wearable device and computer readable storage medium
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110098845A (en) Message treatment method, wearable device, mobile terminal and readable storage medium storing program for executing
CN110175008A (en) Method, wearable device and the computer readable storage medium of operating terminal
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN109947524A (en) Interface display method, wearable device and computer readable storage medium
CN110069200A (en) Wearable device input control method, wearable device and storage medium
CN110098851A (en) A kind of sound control method, wearable device and computer readable storage medium
CN110083205A (en) Page switching method, wearable device and computer readable storage medium
CN110213637A (en) Method, wearable device and the readable storage medium storing program for executing of video file increase watermark
CN110213442A (en) Speech playing method, terminal and computer readable storage medium
CN110174935A (en) Put out screen control method, terminal and computer readable storage medium
CN110086808A (en) A kind of Account Logon control method, equipment and computer readable storage medium
CN110071866A (en) A kind of instant messaging application control method, wearable device and storage medium
CN109947617A (en) A kind of method, terminal and readable storage medium storing program for executing monitored application interface and show content

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190802

RJ01 Rejection of invention patent application after publication