CN104156154B - A kind of method and system that document is handled by sliding - Google Patents

A kind of method and system that document is handled by sliding Download PDF

Info

Publication number
CN104156154B
CN104156154B CN201410383632.0A CN201410383632A CN104156154B CN 104156154 B CN104156154 B CN 104156154B CN 201410383632 A CN201410383632 A CN 201410383632A CN 104156154 B CN104156154 B CN 104156154B
Authority
CN
China
Prior art keywords
document
distance
text conversion
sliding
user
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.)
Active
Application number
CN201410383632.0A
Other languages
Chinese (zh)
Other versions
CN104156154A (en
Inventor
蒋元伟
童毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHONGQING SHENZHI QIDONG NETWORKS Co Ltd
Original Assignee
CHONGQING SHENZHI QIDONG NETWORKS 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 CHONGQING SHENZHI QIDONG NETWORKS Co Ltd filed Critical CHONGQING SHENZHI QIDONG NETWORKS Co Ltd
Priority to CN201410383632.0A priority Critical patent/CN104156154B/en
Publication of CN104156154A publication Critical patent/CN104156154A/en
Application granted granted Critical
Publication of CN104156154B publication Critical patent/CN104156154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention is suitable for document processing field there is provided a kind of method and system that document is handled by sliding, and methods described includes:Obtain user and the sliding distance of virtual speech load button is slided to default text conversion direction at the phonetic entry interface of terminal;Judge whether the sliding distance reaches default text conversion triggering distance;If the sliding distance reaches default text conversion triggering distance, the voice that user inputs is converted into word;The word is stored as document, the document is slided, and call handling process to handle the document according to the direction and distance of user's slip document.The embodiment of the present invention, obtain the distance that user slides virtual speech load button to default text conversion direction, whether text conversion flow is called according to the Distance Judgment, word is converted speech into if calling so that the conversion process and the processing procedure to word of voice only can be achieved by simply sliding.

Description

A kind of method and system that document is handled by sliding
Technical field
The invention belongs to document processing field, more particularly to a kind of method and system that document is handled by sliding.
Background technology
With the development of intelligent terminal, increasing application program occurs on intelligent terminal, and voice record is one The application program for being convenient for people to life is planted, voice is usually required by calling more functions, then start recording voice item, and And in the item of processing record, it is necessary to long-press editing key or item is handled into cumbersome edit page, it is necessary to Repeatedly click on and edit, it is cumbersome.
The content of the invention
The purpose of present invention is to provide a kind of method and system for handling document by sliding, to solve existing skill Art needs repeatedly to click on and edit, the problem of cumbersome.
The embodiment of the present invention is achieved in that a kind of method by sliding processing document, and methods described includes following Step:
Obtain user and slide virtual speech load button to default text conversion direction at the phonetic entry interface of terminal Sliding distance;
Judge whether the sliding distance reaches default text conversion triggering distance;
If the sliding distance reaches default text conversion triggering distance, the voice that user inputs is converted into text Word;
The word is stored as document, the document, and the direction according to user's slip document and distance is slided Handling process is called to handle the document, the handling process includes:Document top set, the pending event of paper trail are arrived When remind.
The another object of the embodiment of the present invention is to provide a kind of by sliding the system for handling document, the system bag Include:
Sliding distance acquiring unit, for obtaining user at the phonetic entry interface of terminal to default text conversion direction Slide the sliding distance of virtual speech load button;
Judging unit, for judging whether the sliding distance that the sliding distance acquiring unit is obtained reaches default word Transition trigger distance;
Converting unit, if judging that sliding distance reaches default text conversion triggering distance for the judging unit, The voice that user inputs then is converted into word;
Document process unit, the word for the converting unit to be changed is stored as document, slides the document, and root The direction of the document is slided according to user and distance calls handling process to handle the document, the handling process bag Include:Document top set, the pending event of paper trail are then reminded.
The embodiment of the present invention, obtains the distance that user slides virtual speech load button to default text conversion direction, Whether text conversion flow is called according to the Distance Judgment, word is converted speech into if calling, and pass through slip pair The word is handled so that the conversion process and the processing procedure to word of voice only can be achieved by simply sliding.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the flow chart provided in an embodiment of the present invention that document method is handled by sliding;
Fig. 2 is the structure chart provided in an embodiment of the present invention that document system is handled by sliding.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
It is as shown in Figure 1 the flow chart provided in an embodiment of the present invention that document method is handled by sliding, methods described bag Include following steps:
In step S101, obtain user and slided virtually to default text conversion direction at the phonetic entry interface of terminal The sliding distance of phonetic entry button.
In embodiments of the present invention, when user enters the phonetic entry interface of terminal, long-press virtual speech load button Phonetic entry state can be entered, after user's input voice, can select the voice of input being converted to word, in order to touch Hair converts speech into word, it is necessary to obtain the distance for sliding virtual speech load button, in subsequent steps, to judge Whether the distance triggers voice and is converted to word.It is pointed out that finger can be passed through by sliding virtual speech load button Slide, can also be slided by writing pencil.
In step s 102, judge whether the sliding distance reaches default text conversion triggering distance.
In embodiments of the present invention, the distance of triggering text conversion is preset with, by the sliding distance of acquisition and default text Word conversion distance is compared, judge virtual speech load button sliding distance whether reach default text conversion trigger away from From.
In step s 103, if the sliding distance reaches default text conversion triggering distance, user is inputted Voice be converted to word.
In embodiments of the present invention, the processing that judged result of the terminal in previous step is recorded, including:If The sliding distance of virtual speech load button has reached default text conversion triggering distance, then the voice inputted user is changed For word, if the sliding distance of virtual speech load button has been not up to default text conversion triggering distance, stop record Sound.
In step S104, the word is stored as document, the document is slided, and the document is slided according to user Direction and distance call handling process to handle the document, the handling process includes:Document top set, paper trail Pending event then remind.
In embodiments of the present invention, be stored as by word after document, user slide the document can call it is different Handling process is handled the document, and the foundation for judging whether to call correspondence flow is glide direction and sliding distance, because This needs the direction and the distance that obtain User Activity document, and the handling process includes but is not limited to:Document top set, paper trail Pending event then remind.Handling process is called to the text in the direction and distance according to user's slip document The step of shelves are handled, including:
1st, obtain user and slide the direction of the document, and obtain the corresponding handling process in the direction.
2nd, judge whether the distance that the document is slided to the direction triggers the handling process.
If the 3, triggering the handling process, corresponding handling process is called to handle the document.
In embodiments of the present invention, the glide direction of document is obtained first, and the direction pair can be obtained according to glide direction The handling process answered, such as:Upward sliding document slides document to call document top set, to the left and then reminded to call, and is obtaining After corresponding handling process, judge whether the distance that document is slided meets default triggering distance, if meet i.e. adjustable Document is handled with corresponding handling process.
The embodiment of the present invention, obtains the distance that user slides virtual speech load button to default text conversion direction, Whether text conversion flow is called according to the Distance Judgment, word is converted speech into if calling, and pass through slip pair The word is handled so that the conversion process and the processing procedure to word of voice only can be achieved by simply sliding.
As the alternative embodiment of the present invention, in the acquisition user at the phonetic entry interface of terminal to default Before the step of sliding distance of virtual speech load button is slided in text conversion direction, methods described is further comprising the steps of:
Default text conversion direction and default text conversion triggering distance.
In embodiments of the present invention, it is necessary to which default text conversion direction and default word turn before text conversion is carried out Triggering distance is changed, such as:Default virtual speech load button upward sliding is Word conversion method, and 10mm is preset as into text conversion Distance is triggered, when virtual speech load button upward sliding more than 10mm is that can start to convert speech into word.Need to refer to Go out, upward sliding and 10mm are intended merely to facilitate distance herein, are not intended to limit the present invention, and those skilled in the art can With according to using needing default text conversion direction and default text conversion to trigger distance.
Embodiment two
The structure chart provided in an embodiment of the present invention that document system is handled by sliding is illustrated in figure 2, for the ease of saying It is bright, the part related to the embodiment of the present invention is only shown, including:
Sliding distance acquiring unit 201, for obtaining user at the phonetic entry interface of terminal to default text conversion Slide the sliding distance of virtual speech load button in direction.
In embodiments of the present invention, when user enters the phonetic entry interface of terminal, long-press virtual speech load button Phonetic entry state can be entered, after user's input voice, can select the voice of input being converted to word, in order to touch Hair converts speech into word, and sliding distance acquiring unit 201 needs to obtain the distance for sliding virtual speech load button, so as to In subsequent steps, judge whether the distance triggers voice and be converted to word.It is pointed out that it is defeated to slide virtual speech Entering button can be slided by finger, can also be slided by writing pencil.
Judging unit 202, for judging it is default whether the sliding distance of the acquisition of sliding distance acquiring unit 201 reaches Text conversion triggering distance.
In embodiments of the present invention, the distance of triggering text conversion is preset with, by the sliding distance of acquisition and default text Word conversion distance is compared, and judging unit 202 judges whether the sliding distance of virtual speech load button reaches default text Word transition trigger distance.
Converting unit 203, if judging that sliding distance reaches default text conversion triggering for the judging unit 202 Distance, then be converted to word by the voice that user inputs.
In embodiments of the present invention, terminal is handled according to the judged result of judging unit 202, including:If virtual The sliding distance of phonetic entry button has reached default text conversion triggering distance, then the voice that user inputs is converted into text Word, if the sliding distance of virtual speech load button has been not up to default text conversion triggering distance, stops recording.
Document process unit 204, the word for the converting unit to be changed is stored as document, slides the document, And call handling process to handle the document according to the direction and distance of user's slip document, the handling process Including:Document top set, the pending event of paper trail are then reminded.
In embodiments of the present invention, be stored as by word after document, user slide the document can call it is different Handling process is handled the document, and the foundation for judging whether to call correspondence flow is glide direction and sliding distance, because This needs the direction and the distance that obtain User Activity document, and the handling process includes but is not limited to:Document top set, then remind Deng.The document process unit 204, including:
Subelement 2041 is obtained, the direction of the document is slided for obtaining user, and obtain the corresponding place in the direction Manage flow.
Judgment sub-unit 2042, for judging the distance that the document is slided to the direction that the acquiring unit 2041 is obtained Whether handling process that the acquisition subelement 2051 obtain is triggered.
Subelement 2043 is handled, if judging to trigger for the judgment sub-unit 2042, corresponding processing stream is called The journey processing document.
In embodiments of the present invention, the glide direction of document is obtained first, and the direction pair can be obtained according to glide direction The handling process answered, such as:Upward sliding document slides document to call document top set, to the left and then reminded to call, and is obtaining After corresponding handling process, judge whether the distance that document is slided meets default triggering distance, if meet i.e. adjustable Document is handled with corresponding handling process.
The embodiment of the present invention, obtains the distance that user slides virtual speech load button to default text conversion direction, Whether text conversion flow is called according to the Distance Judgment, word is converted speech into if calling, and pass through slip pair The word is handled so that the conversion process and the processing procedure to word of voice only can be achieved by simply sliding.
As the alternative embodiment of the present invention, before the sliding distance acquiring unit 201 obtains sliding distance, The system also includes:
Default unit 205, for presetting text conversion direction and default text conversion triggering distance.
In embodiments of the present invention, it is necessary to which default text conversion direction and default word turn before text conversion is carried out Triggering distance is changed, such as:Default virtual speech load button upward sliding is Word conversion method, and 10mm is preset as into text conversion Distance is triggered, when virtual speech load button upward sliding more than 10mm is that can start to convert speech into word.Need to refer to Go out, upward sliding and 10mm are intended merely to facilitate distance herein, are not intended to limit the present invention, and those skilled in the art can With according to using needing default text conversion direction and default text conversion to trigger distance.
One of ordinary skill in the art will appreciate that being that the unit included by above-described embodiment two is according to function What logic was divided, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each function The specific name of unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can To instruct the hardware of correlation to complete by program, described program can be stored in a computer read/write memory medium In, described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (6)

1. it is a kind of by sliding the method for handling document, it is characterised in that methods described includes:
When user enters the phonetic entry interface of terminal, and long-press virtual speech load button enters phonetic entry state, obtain User slides the sliding distance of virtual speech load button to default text conversion direction at the phonetic entry interface of terminal;
Judge whether the sliding distance reaches default text conversion triggering distance;
If the sliding distance is not up to default text conversion triggering distance, stop recording, and end operation;
If the sliding distance reaches default text conversion triggering distance, stop recording, and the voice that user is inputted Be converted to word;
The word is stored as document, the document is slided, and call according to the direction and distance of user's slip document Handling process is handled the document, and the handling process includes:Document top set, the pending event of paper trail are then carried Wake up.
2. the method as described in claim 1, it is characterised in that in the acquisition user at the phonetic entry interface of terminal to pre- If text conversion direction slide virtual speech load button sliding distance the step of before, methods described also include following step Suddenly:
Default text conversion direction and default text conversion triggering distance.
3. the method as described in any one of claim 1~2, it is characterised in that the side that the document is slided according to user The step of handling process is handled the document is called to distance, including
Obtain user and slide the direction of the document, and obtain the corresponding handling process in the direction;
Judge whether the distance that the document is slided to the direction triggers the handling process;
If triggering the handling process, corresponding handling process is called to handle the document.
4. it is a kind of by sliding the system for handling document, it is characterised in that the system includes:
Sliding distance acquiring unit, the phonetic entry interface for entering terminal as user, long-press virtual speech load button enters When entering phonetic entry state, obtain user and slide virtual speech to default text conversion direction at the phonetic entry interface of terminal The sliding distance of load button;
Judging unit, for judging whether the sliding distance that the sliding distance acquiring unit is obtained reaches default text conversion Trigger distance;
Converting unit, if being not up to default text conversion triggering distance for the sliding distance, stops recording, and tie Beam is operated;If the judging unit judges that sliding distance reaches default text conversion triggering distance, stop recording, and will The voice of user's input is converted to word;
Document process unit, the word for the converting unit to be changed is stored as document, slides the document, and according to The direction of the document is slided at family and distance calls handling process to handle the document, and the handling process includes:Text Shelves top set, the pending event of paper trail are then reminded.
5. system as claimed in claim 4, it is characterised in that the sliding distance acquiring unit obtain sliding distance it Before, the system also includes:
Default unit, for presetting text conversion direction and default text conversion triggering distance.
6. the system as described in any one of claim 4~5, it is characterised in that the document process unit, including:
Subelement is obtained, the direction of the document is slided for obtaining user, and obtain the corresponding handling process in the direction;
Judgment sub-unit, for judging whether the distance that the direction that the document is obtained to the acquiring unit is slided triggers described Obtain the handling process that subelement is obtained;
Subelement is handled, if judging to trigger for the judgment sub-unit, calls corresponding handling process to handle the text Shelves.
CN201410383632.0A 2014-08-06 2014-08-06 A kind of method and system that document is handled by sliding Active CN104156154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410383632.0A CN104156154B (en) 2014-08-06 2014-08-06 A kind of method and system that document is handled by sliding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410383632.0A CN104156154B (en) 2014-08-06 2014-08-06 A kind of method and system that document is handled by sliding

Publications (2)

Publication Number Publication Date
CN104156154A CN104156154A (en) 2014-11-19
CN104156154B true CN104156154B (en) 2017-07-21

Family

ID=51881666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410383632.0A Active CN104156154B (en) 2014-08-06 2014-08-06 A kind of method and system that document is handled by sliding

Country Status (1)

Country Link
CN (1) CN104156154B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491251B (en) * 2017-08-07 2021-06-15 努比亚技术有限公司 Mobile terminal and fingerprint control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193662B (en) * 2010-03-10 2015-04-22 陞达科技股份有限公司 Input device
CN101976169B (en) * 2010-10-22 2012-11-21 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof
CN103309618A (en) * 2013-07-02 2013-09-18 姜洪明 Mobile operating system
CN103500067B (en) * 2013-09-30 2016-03-30 北京航空航天大学 The touch screen interaction system that a kind of click, slip, gesture identification are combined with voice
CN103793158A (en) * 2014-02-12 2014-05-14 重庆神指奇动网络有限公司 Sliding voice note making method based on Android/iOS

Also Published As

Publication number Publication date
CN104156154A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
US20210201932A1 (en) Method of and system for real time feedback in an incremental speech input interface
US10049668B2 (en) Applying neural network language models to weighted finite state transducers for automatic speech recognition
CN102568479B (en) Voice unlocking method and system of mobile handheld device
US9959865B2 (en) Information processing method with voice recognition
JP2020191106A (en) Long-distance expansion of digital assistant service
CN107346229A (en) Pronunciation inputting method and device, computer installation and readable storage medium storing program for executing
CN103531201B (en) Terminal speech name awakening method and system
US20050179648A1 (en) Tapping to create writing
WO2006076077A3 (en) Device user interface through recognized text and bounded areas
CN103135901A (en) Method for accurately selecting textual words in mobile terminal and mobile terminal
JP2008546325A5 (en)
KR20210016262A (en) Methods, devices and devices for processing natural language
CN102868830A (en) Switching control method and device of mobile terminal themes
CN105100460A (en) Method and system for controlling intelligent terminal by use of sound
CN105185377A (en) Voice-based file generation method and device
CN105519047A (en) Information transmission method and transmission device
KR101971008B1 (en) Control method for terminal using context-aware and terminal thereof
CN107491286A (en) Pronunciation inputting method, device, mobile terminal and the storage medium of mobile terminal
WO2014183414A1 (en) Method and mobile device for activating voice intercom function of instant messaging application software
WO2016192258A1 (en) Prompt method for voice use, and terminal device
CN103914441A (en) Method for editing files on touch screens through gestures
JP2017144521A5 (en)
JP2022501623A (en) Audio processing method, device and storage medium
CN107908349A (en) Display interface amplification method, terminal and computer-readable recording medium
WO2018094852A1 (en) Virtual reality device and input control method for virtual reality device

Legal Events

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