Summary of the invention
The embodiment of the present application proposes the information processing method and device for wearable device.
In a first aspect, the embodiment of the present application provides a kind of information processing method for wearable device, it is wearable to set
Standby includes display screen, and method includes:In response to detecting the touch operation being located in the first predeterminable area of display screen, touching is monitored
Operation is touched, touch track is obtained;If the terminal of touch track is in the second predeterminable area of display screen, start wearable device
Phonetic incepting;And in response to receiving voice data, obtain the speech recognition result of voice data.
In some embodiments, if the terminal of touch track is in the second predeterminable area of display screen, start wearable set
Standby phonetic incepting, including:If the terminal of touch track is in the second predeterminable area of display screen, behaviour is touched in response to detecting
Work stops, and starts the phonetic incepting of wearable device.
In some embodiments, method further includes:If the terminal of touch track is in the third predeterminable area of display screen, solution
Open the screen locking of display screen.
In some embodiments, for any in any first point in the first predeterminable area, the second predeterminable area
In 2 points and third predeterminable area it is any thirdly, first point, second point and thirdly constitute, using first point as vertex
Angle is greater than preset angle threshold value.
In some embodiments, after the phonetic incepting of starting wearable device, method further includes:In response to detecting
The clicking operation for stopping the region where icon to the phonetic incepting that display screen is shown, stops phonetic incepting.
In some embodiments, in response to receiving voice data, the speech recognition result of voice data is obtained, including:
In response to receiving voice data, voice data is sent to Cloud Server, so that Cloud Server carries out voice knowledge to voice data
Not;Receive the speech recognition result that Cloud Server returns.
Second aspect, the embodiment of the present application provides a kind of information processing unit for wearable device, wearable to set
Standby includes display screen, and device includes:Monitoring unit is configured in response to detect in the first predeterminable area of display screen
Touch operation, monitor touch operation, obtain touch track;Start unit, if the terminal for being configured to touch track is in aobvious
Second predeterminable area of display screen, starts the phonetic incepting of wearable device;And acquiring unit, it is configured in response to receive
Voice data obtains the speech recognition result of voice data.
In some embodiments, start unit is further configured to:If the terminal of touch track is in the of display screen
Two predeterminable areas start the phonetic incepting of wearable device in response to detecting that touch operation stops.
In some embodiments, device further includes:Unlocking unit, if the terminal for being configured to touch track is in display screen
Third predeterminable area, unlock the screen locking of display screen.
In some embodiments, for any in any first point in the first predeterminable area, the second predeterminable area
In 2 points and third predeterminable area it is any thirdly, first point, second point and thirdly constitute, using first point as vertex
Angle is greater than preset angle threshold value.
In some embodiments, device further includes:Stop unit, is configured in response to detect and shows to display screen
Phonetic incepting stops the clicking operation in the region where icon, stops phonetic incepting.
In some embodiments, acquiring unit is further configured to:In response to receiving voice data, to Cloud Server
Voice data is sent, so that Cloud Server carries out speech recognition to voice data;Receive the speech recognition knot that Cloud Server returns
Fruit.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including:One or more processors;Storage dress
It sets, for storing one or more programs, when one or more programs are executed by one or more processors, so that one or more
A processor is realized such as the method for any embodiment in the information processing method of wearable device.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence is realized when the program is executed by processor such as the method for any embodiment in the information processing method of wearable device.
Information processing scheme provided by the embodiments of the present application for wearable device, firstly, being located in response to detecting
Touch operation is monitored in touch operation in first predeterminable area of display screen, obtains touch track.Later, if touch track
Terminal is in the second predeterminable area of display screen, then starts the phonetic incepting of wearable device.And in response to receiving voice
Data obtain the speech recognition result of voice data.In the scheme of the application, wearable device can pass through touch operation shape
At touch track to start phonetic incepting, start speech recognition, and then realize the quickly starting of speech recognition.Also, it because can
The display screen of wearable device is usually smaller, so, the operating space of user is smaller, is easy to produce operation error, and triggering can be worn
Wear other instructions of equipment.In the present embodiment, the setting of touch track and touch track terminal and the first predeterminable area makes to grasp
Work has certain particularity, is not easy to form maloperation.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the application for the information processing method of wearable device or for wearable device
Information processing unit embodiment exemplary system architecture 100.
As shown in Figure 1, system architecture 100 may include wearable device 101, network 102 and server 103.Network 102
To provide the medium of communication link between wearable device 101 and server 103.Network 102 may include various connections
Type, such as wired, wireless communication link or fiber optic cables etc..
User can be used wearable device 101 and be interacted by network 102 with server 103, to receive or send message
Deng.Various telecommunication customer end applications can be installed, such as image recognition application, shopping class are applied, searched on wearable device 101
The application of rope class, instant messaging tools, mailbox client, social platform software etc..
Wearable device 101 can be the various wearable devices with display screen, including but not limited to smartwatch, intelligence
Energy bracelet, intelligent glasses etc..
Server 103 can be to provide the server of various services, such as provide wearable device 101 backstage supported
Server.Background server can carry out analyzing etc. to data such as the voice data received processing, and by processing result (such as
Speech recognition result) feed back to wearable device.
It should be noted that for the information processing method of wearable device generally by can provided by the embodiment of the present application
Wearable device 101 executes, and correspondingly, the information processing unit for wearable device is generally positioned in wearable device 101.
It should be understood that the number of wearable device, network and server in Fig. 1 is only schematical.According to realization
It needs, can have any number of wearable device, network and server.
With continued reference to Fig. 2, an implementation of the information processing method for wearable device according to the application is shown
The process 200 of example.This is used for the information processing method of wearable device, includes the following steps:
Step 201, it in response to detecting the touch operation being located in the first predeterminable area of display screen, monitors and touches behaviour
Make, obtains touch track.
In the present embodiment, wearable device includes display screen.The execution of information processing method for wearable device
Main body (such as wearable device shown in FIG. 1) can be in response to detecting the touch being located in the first predeterminable area of display screen
Operation monitors touch operation, to obtain touch track.User carries out continuous touch operation on a display screen, the position touched
It sets and continuously gets up to generate corresponding touch track.
In practice, user needs the first predeterminable area of touch display screen, can trigger above-mentioned executing subject to
The monitoring of family touch operation, above-mentioned executing subject determine touch track caused by the touch operation of user in turn.In this way, only
The first predeterminable area is accurately touched, can trigger and touch operation is monitored, can unintentionally operate draw to avoid user in this way
The invalidating snoop of the wearable device risen.
Step 202, if the terminal of touch track is in the second predeterminable area of display screen, start the voice of wearable device
It receives.
In the present embodiment, above-mentioned executing subject can determine whether the terminal of touch track is in the second pre- of display screen
If region.If it is determined that the terminal of touch track is in the second predeterminable area of display screen, above-mentioned executing subject, which can star, to wear
Wear the phonetic incepting of equipment.Stopping no longer being moved or touched within a preset period of time in the position touched, will form touch rail
The terminal of mark generates complete touch track.In practice, during user's touch display screen, user is finally touched
The position touched needs to be located at the second predeterminable area, and above-mentioned executing subject can start the phonetic incepting of wearable device.Voice
Receive the voice for referring to and receiving user's sending.
Step 203, in response to receiving voice data, the speech recognition result of voice data is obtained.
In the present embodiment, above-mentioned executing subject can carry out the voice after the voice for receiving user's sending
It records, is to convert the speech into voice data.Later, the available speech recognition to voice data of above-mentioned executing subject
As a result.The speech recognition result of voice data is to carry out the information that speech recognition obtains to voice data.Speech recognition result example
It such as can be text information.
In practice, above-mentioned executing subject can carry out speech recognition to voice data, to obtain speech recognition result.
In some optional implementations in the present embodiment, step 203 may include:
In response to receiving voice data, to Cloud Server send voice data so that Cloud Server to voice data into
Row speech recognition;
Receive the speech recognition result that Cloud Server returns.
In these implementations, above-mentioned executing subject can send voice data, such Cloud Server to Cloud Server
Speech recognition can be carried out to voice data.The processing capacity of wearable device is poor, and arithmetic speed is slow, thus carries out speech recognition
Efficiency it is lower.And the arithmetic speed of Cloud Server is fast, processing capacity is strong, carry out speech recognition preferably.Pass through Cloud Server
Carrying out speech recognition can be improved the speed of speech recognition.
In some optional implementations in the present embodiment, this method further includes:In response to detecting to display screen
The phonetic incepting of display stops the clicking operation in the region where icon, stops phonetic incepting.
In these implementations, above-mentioned executing subject is in response to detecting the phonetic incepting stopping figure showing to display screen
The clicking operation in the region where marking, can stop phonetic incepting.It is the icon shown in display screen that phonetic incepting, which stops icon,
User carries out clicking operation in the region where the icon, then above-mentioned executing subject can stop phonetic incepting.
With continued reference to the application scenarios that Fig. 3, Fig. 3 are according to the information processing method for wearable device of the present embodiment
A schematic diagram.In the application scenarios of Fig. 3, executing subject 301 in response to detect it is that user makes, be located at display screen
Touch operation is monitored in touch operation 302 in 306 the first predeterminable area, obtains the touch track 303 of " upper to slide ".If touching
The terminal of track is in the second predeterminable area of display screen, and executing subject 301 starts the phonetic incepting of wearable device.It is above-mentioned to hold
Row main body 301 carries out speech recognition 305 in response to receiving voice data 304, to the received voice data 304 of institute.
In the method provided by the above embodiment of the application, wearable device can form touch track by touch operation
To start phonetic incepting, start speech recognition, and then realize the quickly starting of speech recognition.Also, because wearable device
Display screen is usually smaller, so, the operating space of user is smaller, is easy to produce operation error, triggers wearable device its
He instructs.In the present embodiment, the setting of touch track and touch track terminal and the first predeterminable area has operation certain
Particularity, be not easy to form maloperation.
With further reference to Fig. 4, it illustrates the streams of another embodiment of the information processing method for wearable device
Journey 400.This is used for the process 400 of the information processing method of wearable device, includes the following steps:
Step 401, it in response to detecting the touch operation being located in the first predeterminable area of display screen, monitors and touches behaviour
Make, obtains touch track.
In the present embodiment, wearable device includes display screen.The execution of information processing method for wearable device
Main body (such as wearable device shown in FIG. 1) can be in response to detecting the touch being located in the first predeterminable area of display screen
Operation monitors touch operation, to obtain touch track.User carries out continuous touch operation on a display screen, executing subject into
The lasting monitoring of row.The position touched, which is continuously got up, can generate corresponding touch track.
In some optional implementations in the present embodiment, before carrying out touch operation, the first predeterminable area can be with
Present preset pattern.
In these optional implementations, by tracking the position of the finger of user on a display screen, the preset pattern
It can be moved with the change of finger position.In this way, the movement of preset pattern can intuitively show user's touching to user
The position touched and touch effect.
Step 402, if the terminal of touch track is in the second predeterminable area of display screen, in response to detecting touch operation
Stop, starting the phonetic incepting of the wearable device.
In the present embodiment, above-mentioned executing subject is in the second predeterminable area of display screen in the terminal for determining touch track
In the case where, in response to detecting that touch operation stops, starting the phonetic incepting of the wearable device.Touch operation stops
User stops touch display screen.The touch operation stopping of user can trigger above-mentioned executing subject starting phonetic incepting.
In some optional implementations of the present embodiment, the second predeterminable area can present phonetic incepting icon.
In these implementations, phonetic incepting icon is the icon shown in display screen, to indicate that user opens
The touch operation of dynamic phonetic incepting.User is as the second predeterminable area where the first predeterminable area sustained touch to the icon, then
Above-mentioned executing subject will start phonetic incepting.Phonetic incepting icon can accurately indicate the second predeterminable area to user, with
Touch operation is more accurately carried out convenient for user.
In some optional implementations in the present embodiment, the phonetic incepting of the above-mentioned starting wearable device,
Including:
The microphone for being installed on the wearable device is opened, is monitored by the received audio of the microphone.
In these optional implementations, audio is the speech audio that user issues.Above-mentioned executing subject passes through user
The available voice data of the speech audio of sending.
Step 403, in response to receiving voice data, the speech recognition result of voice data is obtained.
In the present embodiment, above-mentioned executing subject can carry out the voice after the voice for receiving user's sending
It records, is to convert the speech into voice data.Later, the available speech recognition to voice data of above-mentioned executing subject
As a result.The speech recognition result of voice data is to carry out the information that speech recognition obtains to voice data.Speech recognition result example
It such as can be text information.
Wearable device in the present embodiment can carry out unlocking screen operation and starting phonetic incepting by display screen
Operation, so that the lesser wearable device of display screen also can be exercised multiple functions by display screen.Also, determining touch operation
Just start phonetic incepting when stopping, being more advantageous to wearable device has accurate judgement to the opportunity of triggering starting phonetic incepting.
In some optional realizations of any of the above-described embodiment of the information processing method for wearable device of the application
In mode, the information processing method for being used for wearable device is further comprising the steps of:
If the terminal of touch track is in the third predeterminable area of display screen, the screen locking of display screen is unlocked.
In these implementations, above-mentioned executing subject is if it is determined that the third that the terminal of touch track is in display screen is preset
Region can then unlock the screen locking of display screen.In this way, user's touch operation since the first predeterminable area, sustained touch
To third predeterminable area, then the screen locking of display screen can be unlocked.
In the application scenarios of these implementations, for any first point, the second preset areas in the first predeterminable area
In any second point and third predeterminable area in domain it is any thirdly, first point, second point and thirdly constitute, with the
A little it is greater than preset angle threshold value for the angle on vertex.
In the application scenarios, first point, second point and can thirdly be formed using first point as the angle on vertex.That
, two sides of above-mentioned angle are then using first point respectively as starting point and by the ray of second point, and with first point are
It puts and passes through ray thirdly.In this way, above-mentioned angle is larger, it is ensured that start the second predeterminable area of phonetic incepting
With the third predeterminable area to unlocking screen respectively on two directions apart from each other of the first predeterminable area.Because wearable
The display screen of equipment is smaller, therefore, can prevent user from carrying out maloperation in touch operation by setting angle.
It should be noted that above-mentioned " first ", " second " and " third " is intended merely to distinguish institute to region and point
The number of use is not ranked up region and point.
In the application scenarios of these implementations, before unlocking screen locking, third predeterminable area presents screen solution
Lock icon.
In the application scenarios, before unlocking screen locking, unlocking screen icon can be shown in third predeterminable area.
The icon that unlocking screen icon is shown in display screen, to indicate that user carries out the touch operation to unlocking screen.User can be with
By unlocking screen icon, the position where third predeterminable area is intuitively judged.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for wearable
One embodiment of the information processing unit of equipment, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, the device
It specifically can be applied in various electronic equipments.
As shown in figure 5, the information processing unit 500 for wearable device of the present embodiment includes:Monitoring unit 501,
Start unit 502 and acquiring unit 503.Wherein, monitoring unit 501 are configured in response to detect positioned at display screen
Touch operation is monitored in touch operation in one predeterminable area, obtains touch track;Start unit 502, if being configured to touch rail
The terminal of mark is in the second predeterminable area of display screen, starts the phonetic incepting of wearable device;And acquiring unit 503, quilt
It is configured to receive voice data, obtains the speech recognition result of voice data.
It in some embodiments, can be in response to for the monitoring unit 501 of the information processing unit of wearable device 500
It detects the touch operation in the first predeterminable area of display screen, touch operation is monitored, to obtain touch track.User exists
Continuous touch operation is carried out on display screen, executing subject carries out lasting monitoring.The position touched, which is continuously got up, to be generated
Corresponding touch track.
In some embodiments, start unit 502 can determine whether the terminal of touch track is in the second of display screen
Predeterminable area.If it is determined that the terminal of touch track is in the second predeterminable area of display screen, start unit 502, which can star, to be worn
Wear the phonetic incepting of equipment.Stopping no longer being moved or touched within a preset period of time in the position touched, will form touch rail
The terminal of mark generates complete touch track.In practice, during user's touch display screen, user is finally touched
The position touched needs to be located at the second predeterminable area, and start unit 502 can start the phonetic incepting of wearable device.Voice connects
Receive the voice for referring to and receiving user's sending.
In some embodiments, acquiring unit 503 can carry out the voice after the voice for receiving user's sending
It records, is to convert the speech into voice data.Later, the available speech recognition to voice data of acquiring unit 503
As a result.The speech recognition result of voice data is to carry out the result that speech recognition obtains to voice data.Speech recognition result can
Think text information.
In some optional implementations of the present embodiment, start unit is further configured to:If touch track
Terminal is in the second predeterminable area of display screen, and in response to detecting that touch operation stops, the voice for starting wearable device is connect
It receives.
In some optional implementations of the present embodiment, device further includes:Unlocking unit, if being configured to touch rail
The terminal of mark is in the third predeterminable area of display screen, unlocks the screen locking of display screen.
In some optional implementations of the present embodiment, for any first point in the first predeterminable area, second
In any second point and third predeterminable area in predeterminable area it is any thirdly, first point, second point and thirdly constitute
, using first point be the angle on vertex be greater than preset angle threshold value.
In some optional implementations of the present embodiment, device further includes:Stop unit is configured in response to examine
The clicking operation for stopping the region where icon to the phonetic incepting that display screen is shown is measured, phonetic incepting is stopped.
In some optional implementations of the present embodiment, acquiring unit is further configured to:In response to receiving
Voice data sends voice data to Cloud Server, so that Cloud Server carries out speech recognition to voice data;Receive cloud service
The speech recognition result that device returns.
Below with reference to Fig. 6, below with reference to Fig. 6, it illustrates the hardware structural diagrams of wearable device 600.
As shown in fig. 6, can wearable device 600 include central processing unit (CPU) 601, memory 602, input unit
603 and output unit 604, wherein CPU 601, memory 602, input unit 603 and output unit 604 pass through bus 606
It is connected with each other.Here, may be implemented as computer program according to the present processes, and store in the memory 602.It can
CPU 601 in wearable device 600 is by calling the above-mentioned computer program stored in memory 602, to implement this
The view display function limited in the method for application.In some implementations, it is available to can be sensor etc. for input unit 603
In the equipment for obtaining Wrist-sport posture information, output unit 604, which can be display screen etc., can be used for showing the equipment of view.By
This, CPU 601 can control input unit 603 and obtain from outside when calling above-mentioned computer program to execute view display function
The athletic posture information of wrist, and control output unit 604 is taken to show view.
It should be noted that the computer-readable medium of the application can be computer-readable signal media or computer
Readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example of machine readable storage medium storing program for executing can include but is not limited to:It is electrical connection with one or more conducting wires, portable
Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program
Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen
Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable
Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by
Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium
Sequence code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet
Include monitoring unit, start unit and acquiring unit.Wherein, the title of these units is not constituted under certain conditions to the unit
The restriction of itself, for example, monitoring unit is also described as " being located in the first predeterminable area of display screen in response to detecting
Touch operation, monitor touch operation, obtain the unit of touch track ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should
Device:In response to detecting the touch operation being located in the first predeterminable area of display screen, touch operation is monitored, obtains and touches rail
Mark;If the terminal of touch track is in the second predeterminable area of display screen, start the phonetic incepting of wearable device;And response
In receiving voice data, the speech recognition result of voice data is obtained.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.