WO2016065903A1 - Content input method, system and device and non-volatile computer storage medium - Google Patents

Content input method, system and device and non-volatile computer storage medium Download PDF

Info

Publication number
WO2016065903A1
WO2016065903A1 PCT/CN2015/080982 CN2015080982W WO2016065903A1 WO 2016065903 A1 WO2016065903 A1 WO 2016065903A1 CN 2015080982 W CN2015080982 W CN 2015080982W WO 2016065903 A1 WO2016065903 A1 WO 2016065903A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
application
content
running
trigger
Prior art date
Application number
PCT/CN2015/080982
Other languages
French (fr)
Chinese (zh)
Inventor
李伟平
段建建
赵建秀
潘荣荣
Original Assignee
百度在线网络技术(北京)有限公司
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 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2016065903A1 publication Critical patent/WO2016065903A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Definitions

  • the present invention relates to input method technologies, and in particular, to a content input method, system, device, and non-volatile computer storage medium.
  • the terminal integrates more and more functions, so that the system function list of the terminal contains more and more corresponding applications (Application, APP).
  • Some applications involve content input features such as browsers, WeChat, QQ, and more.
  • target applications Before these applications (hereinafter referred to as target applications) obtain the input content, the terminal needs to run the target application before starting the editing of the required input content.
  • the business process involved in the current application may have a certain continuity, for example, an application such as a video APP or a novel APP, the user may not want the terminal to immediately exit the current application, but then run the target application later, Start editing the input you need, resulting in reduced input efficiency.
  • an application such as a video APP or a novel APP
  • aspects of the present invention provide a content input method and system for improving input efficiency rate.
  • An aspect of the present invention provides a content input method, including:
  • the second application acquires input content stored by the storage device
  • the second application performs input processing on the input content
  • the input content is obtained by the following method:
  • the first application collects an input sequence input by the input device
  • the first application obtains the input content according to the input sequence
  • the first application stores the input content in the storage device.
  • the input sequence comprising at least one of text, image, audio, video, and file.
  • first application before collecting the input sequence input by the input device, further includes:
  • the first application receives a call instruction that is triggered by performing the following operations:
  • the trigger element is clicked; or
  • Trigger gesture is executed
  • the trigger button is clicked; or
  • the trigger action is executed.
  • the trigger element comprising a floating component.
  • the first application detects an interface displayed by the terminal where the first application is located;
  • the first application sets a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
  • the trigger element is clicked, including:
  • the triggering element is clicked on the running interface of the second application or on the running interface of the other application or on the desktop; or
  • the trigger gesture is executed, including:
  • the trigger gesture is executed on the running interface of the second application or on the running interface of other applications or on the desktop; or
  • the trigger button is clicked, including:
  • the trigger button is clicked while the second application is running or while other applications are running or when no applications are running; or
  • the triggering action is performed, including:
  • the triggering action is performed when the second application is running or while other applications are running or when there is no application running.
  • the first application stores the input content in the storage device, including:
  • the first application stores the input content in a fast storage device
  • the first application stores the input content in a slow storage device.
  • an implementation is further provided, the first application being an input method application.
  • a content input system comprising:
  • a first input device configured to collect an input sequence input by the input device; obtain the input content according to the input sequence; and store the input content in a storage device;
  • a second input device configured to acquire input content stored by the storage device; and perform input processing on the input content.
  • the input sequence comprising at least one of text, image, audio, video, and file.
  • the first input device is further used for
  • a call instruction is received, the call instruction being triggered by:
  • the trigger element is clicked; or
  • Trigger gesture is executed
  • the trigger button is clicked; or
  • the trigger action is executed.
  • the trigger element comprising a floating component.
  • the first input device is further used for
  • any possible implementation manner further provide an implementation manner, wherein the condition for performing the following operations does not depend on an operating state of the second application corresponding to the second input device.
  • the trigger element is clicked, including:
  • the triggering element is clicked on the running interface of the second application or on the running interface of the other application or on the desktop; or
  • the trigger gesture is executed, including:
  • the trigger gesture is executed on the running interface of the second application or on the running interface of other applications or on the desktop; or
  • the trigger button is clicked, including:
  • the trigger button is clicked while the second application is running or while other applications are running or when no applications are running; or
  • the triggering action is performed, including:
  • the triggering action is performed when the second application is running or while other applications are running or when there is no application running.
  • the input content is stored in a slow storage device.
  • the aspect as described above and any possible implementation manner further provide an implementation manner, where the first application corresponding to the first input device is an input method application.
  • an apparatus comprising:
  • One or more processors are One or more processors;
  • One or more programs the one or more programs being stored in the memory, when executed by the one or more processors:
  • the input content is obtained by the following method:
  • the first application collects an input sequence input by the input device
  • the first application obtains the input content according to the input sequence
  • the first application stores the input content in the storage device.
  • a nonvolatile computer storage medium storing one or more programs when the one or more programs are executed by a device causes The device:
  • the input content is obtained by the following method:
  • the first application collects an input sequence input by the input device
  • the first application obtains the input content according to the input sequence
  • the first application stores the input content in the storage device.
  • the embodiment of the present invention collects an input sequence input by the input device by using the first application, and further obtains the input content according to the input sequence, and stores the input content in the storage device, so that
  • the second application is capable of acquiring the input content stored by the storage device, and performing input processing on the input content, and the second application is required to start editing the second application in advance by using the other application, that is, the first application.
  • the content is input and stored, and the second application can directly obtain the stored input content, thereby improving input efficiency.
  • the first application can implement any The input of the content makes the second application no longer need to include the input business logic, but directly obtains the input content obtained by the first application to input the corresponding content, which can avoid the prior art required for each application.
  • the same input business logic that each application has caused by the input content repeatedly developing the same input business logic additionally takes up a certain terminal memory problem, thereby saving the resources of the terminal.
  • the first application can implement input of any content
  • the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
  • the calling instruction of the first application such as the input method application
  • the calling instruction of the first application is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations, That is, when the trigger element is clicked or the trigger gesture is executed or the trigger button is clicked, the input efficiency of the second application can be effectively improved.
  • the calling instruction of the first application such as the input method application
  • the trigger element is triggered by the click or the trigger gesture is executed or the trigger button is clicked, so that the second application can no longer include the input box, which can effectively reduce the development efficiency of the second application.
  • FIG. 1 is a schematic flowchart of a content input method according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for obtaining input content in the embodiment corresponding to FIG. 1;
  • FIG. 3 is a schematic diagram of an interface displayed by a terminal in the embodiment corresponding to FIG. 1;
  • FIG. 4 is a schematic diagram of another interface displayed by the terminal in the embodiment corresponding to FIG. 1;
  • FIG. 5 is a schematic structural diagram of a content input system according to another embodiment of the present invention.
  • terminals involved in the embodiments of the present invention may include, but are not limited to, a mobile phone, a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a personal computer (Personal Computer, PC). ), MP3 player, MP4 player, etc.
  • PDA personal digital assistant
  • PC Personal Computer
  • FIG. 1 is a schematic flowchart of a content input method according to an embodiment of the present invention, as shown in FIG. 1 .
  • the second application acquires input content stored by the storage device.
  • the second application performs input processing on the input content.
  • the input content can be obtained by the method shown in FIG. 2, as shown in FIG. 2 .
  • the first application collects an input sequence input by the input device.
  • the first application obtains the input content according to the input sequence.
  • the first application stores the input content in the storage device.
  • the second application no longer needs to include the input service logic, but directly obtains the input content obtained by the first application to implement input of the corresponding content, which can avoid the prior art Repetitively developing the same input service logic for each application's input requires the same input service logic of each application to occupy a certain terminal memory problem, thereby saving the terminal resources.
  • the first application can implement input of any content
  • the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
  • the second application obtains the required input content by using the first application.
  • the second application can utilize the input content to perform various input related operations, such as an upper screen operation, a send operation, a storage operation, and the like.
  • This embodiment is not particularly limited.
  • the second application of the execution body of 101 and 102 may be an input method application located in the local terminal, or may be an input method application located in the cloud, or may also be
  • the input function unit for a plug-in or a software development kit (SDK) in other applications of the local terminal is not particularly limited in this embodiment.
  • the first application of the execution body of 201 to 203 may be an input method application located at the local terminal, or may be an input method application located in the cloud, or may be a plug-in or software located in another application of the local terminal.
  • An input function unit such as a software development kit (SDK) is not particularly limited in this embodiment.
  • the input method refers to the encoding method used to input various characters into the terminal.
  • the input method application can display a plurality of candidates corresponding to the input sequence to the user according to the input sequence input by the user, so that the user selects a candidate to complete the input operation of the input sequence, for example, the upper screen operation.
  • the other application may be a local application (nativeApp) installed on the terminal, or may be a web application (webApp) of the browser on the terminal, which is not limited in this embodiment.
  • the input sequence input by the input device is collected by the first application, and the input content is obtained according to the input sequence, and the input content is stored in the storage device, so that the second application can acquire the storage device.
  • the other application that is, the first application, can start editing the input content required by the second application in advance, and store the content.
  • the second application can directly obtain the stored input content, thereby improving the input efficiency.
  • the The first application may further receive a call instruction, sometimes referred to as an activation instruction, for activating the first application to begin operation.
  • the call instruction may include, but is not limited to, being triggered to perform the following operations:
  • the trigger element is clicked; or
  • Trigger gesture is executed
  • the trigger button is clicked; or
  • the trigger action is executed.
  • the so-called click operation can control the trigger operation performed by the cursor by the user using an external input device such as a mouse or a keyboard, or can also perform a touch operation by the user using a touch input device such as a finger or an input pen.
  • This embodiment is not particularly limited.
  • the trigger element may include, but is not limited to, a floating component.
  • the floating window component which is a view component provided by the Android operating system, can be added to the floating window component through the addView (View v) method of the WindowManager class provided by the Android operating system, and the removeView (View) v) Method to achieve removal of the floating window component.
  • the floating window component can specifically perform a response operation preset for an operation event such as a moving operation or a click operation.
  • the floating window component may specifically trigger the call instruction for the click operation.
  • the first application may specifically detect the terminal where the first application is located
  • the displayed interface further sets the transparency parameter of the floating component according to the interface displayed by the terminal where the first application is located.
  • a timer task may be specifically enabled to detect whether the interface displayed by the terminal is a desktop every 500 milliseconds (ms).
  • the transparency parameter of the floating window component is set to 0 to implement the non-transparent display floating window component.
  • the interface element surrounded by the broken line in FIG. 3 is a floating window component.
  • the transparency parameter of the floating window component is set to a value greater than 0 and less than 1, for example, a value such as 0.5 or 0.9, to achieve Translucent display of the floating window assembly.
  • the interface element surrounded by the broken line in FIG. 4 is a floating window component.
  • the floating window component may be re-added through the addView (View v) method of the WindowManager class provided by the Android operating system.
  • the first application such as the call instruction of the input method application
  • the trigger element is clicked or triggered.
  • the gesture is executed or the trigger button is triggered by the click, which can effectively improve the input efficiency of the second application.
  • the second application can further eliminate the input box, which can effectively reduce the development efficiency of the second application.
  • condition for performing the following operations does not depend on an operating state of the second application.
  • the execution of the above three operations does not depend on whether the second application is shipped.
  • the line can be executed while the second application is running, or can also be executed when the second application is not running.
  • the trigger element is clicked, for example, a floating window component or the like.
  • the triggering gesture is performed, for example, a left-to-right stroke of a specified gesture such as a screen.
  • the trigger button is clicked, for example, a designated button such as a confirmation button on the keyboard.
  • the triggering action is performed, for example, a specified action such as shaking.
  • the input device involved in this embodiment may include, but is not limited to, at least one of a keyboard, a mouse, a touch screen, an image collection device, and an audio collection device.
  • a keyboard a mouse
  • a touch screen a touch screen
  • an image collection device a touch screen
  • an audio collection device a microphone
  • the input sequence collected by the first application may include, but is not limited to, at least one of text, image, audio, video, and file. This embodiment is not particularly limited in this regard.
  • the user may input text corresponding to a different language in an input box provided by the first application, and the text may be a pinyin sequence, or may be a Roman sequence, or may be a sequence of glyphs, etc., in this embodiment, Special restrictions are made.
  • the user can directly input at least one of an image, an audio, a video, and a file stored by the terminal by using a function button provided by the first application, or start the collection.
  • the device is at least one of an image capture device and an audio capture device, and is used to input at least one of an image, an audio, a video, and a file collected by the capture device, which is not specifically limited in this embodiment.
  • the first application may specifically process the input sequence according to the input intention to obtain the input content.
  • the first application may specifically encode the input sequence of the collected pinyin sequence, Roman sequence or glyph sequence to obtain corresponding candidates. Further, according to the selection instruction input by the user, one candidate is selected from a plurality of candidates as the input content.
  • the input intention is an input image
  • the first application may specifically perform upload processing on the collected image as the input content.
  • the first application may specifically edit the processed image to obtain a target image to be input, and then the target image may be uploaded and processed as an input. content.
  • the first application is an input method application
  • it is also required to separately divide the local input method application and the cloud input method application as follows.
  • the first application may directly process the input sequence to obtain a processing structure. For example, the first application encodes the input sequence to obtain a corresponding plurality of candidates, and then selects one of the plurality of candidates as the input content according to the selection instruction input by the user.
  • the first application may specifically send the input sequence to the cloud server, and the cloud server performs corresponding operations on the input sequence. And then send the processing result to the first application.
  • the cloud server encodes the input sequence to obtain corresponding candidates, and then selects one candidate from the plurality of candidates according to the selection instruction input by the user as the input content, and sends the input content to The first application.
  • This embodiment is not particularly limited to the above two cases.
  • the first application may specifically utilize another suspension component, such as a floating window component, etc., to display an element related to the input function, for example, an input box.
  • Elements such as candidate boxes and store buttons to perform related input functions.
  • the floating window component is a view component provided by the Android operating system.
  • the addView (View v) method of the WindowManager class provided by the Android operating system can be used to add the floating window component, and removeView ( View v) method to remove the floating window component.
  • the first application may specifically set a transparency parameter of the suspension component.
  • the transparency parameter of the suspension component can be set to a value greater than or equal to 0 and less than 1, for example, a value of 0.5 or 0.9, to achieve translucent or non-transparent presentation of the suspension component.
  • the first application may specifically store the input content in a fast storage device, for example, in a memory.
  • the memory may be the memory of the computer, or may be the running memory of the mobile phone, that is, the system memory, for example, a random access memory (RAM), etc.
  • RAM random access memory
  • the first application may specifically store the input content in a slow storage device.
  • the slow storage device may be a hard disk of the computer, or may be a non-operating memory of the mobile phone, that is, a physical memory, such as a read-only memory (ROM) and a memory card. Limited.
  • the input sequence input by the input device is collected by the first application, and then the input content is obtained according to the input sequence, and the input content is stored in the storage device, so that the second application can obtain The input content stored in the storage device is input, and the input content is input and processed, and the second application is not required to run the second application, and the first application is used to start editing the input content required by the second application in advance, and is performed. Storage, the second application can directly obtain the stored input content, thereby improving the input efficiency.
  • FIG. 5 is a schematic structural diagram of a content input system according to another embodiment of the present invention, as shown in FIG. 5.
  • the content input system of the present embodiment may include a first input device 51 and a second input device 52.
  • the first input device 51 is configured to collect an input sequence input by the input device; Obtaining the input content according to the input sequence; and storing the input content in a storage device;
  • the second input device 52 is configured to acquire the input content stored by the storage device; and for the input content, Perform input processing.
  • the second application corresponding to the second input device 52 no longer needs to include the input service logic, but directly obtains the input obtained by the first application.
  • the content can realize the input of the corresponding content, and can avoid the same input business logic of each application which is caused by the repeated development of the same input business logic for the input content required for each application in the prior art.
  • the problem of terminal memory thus saving the resources of the terminal.
  • the first application can implement input of any content
  • the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
  • the second application obtains the required input content by using the first application.
  • the second application can utilize the input content to perform various input related operations, such as an upper screen operation, a send operation, a storage operation, and the like.
  • This embodiment is not particularly limited.
  • the second input device may correspond to the second application, may be an input method application located in the local terminal, or may be an input method application located in the cloud, or may also be located locally.
  • the input function unit such as a plug-in or a software development kit (SDK) in other applications of the terminal is not particularly limited in this embodiment.
  • the first input device provided in this embodiment may correspond to the first application, may be an input method application located in the local terminal, or may be an input method application located in the cloud.
  • the function unit may be input to a plug-in or a software development kit (SDK) in another application of the local terminal, and is not particularly limited in this embodiment.
  • SDK software development kit
  • the input sequence collected by the first input device may include, but is not limited to, at least one of text, image, audio, video, and file.
  • the embodiment is not particularly limited thereto.
  • the first input device 51 is further configured to receive a call instruction, where the call instruction is triggered by:
  • the trigger element is clicked; or
  • Trigger gesture is executed
  • the trigger button is clicked; or
  • the trigger action is executed.
  • the trigger element may include, but is not limited to, a floating component.
  • the first input device 51 may be further configured to detect an interface displayed by the terminal where the first application corresponding to the first input device 51 is located; And setting a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
  • the condition for performing the following operations does not depend on an operating state of the second application corresponding to the second input device 52. That is to say, the execution of the above three operations does not depend on whether the second application is running, may be executed when the second application is running, or may also be executed when the second application is not running.
  • the trigger element is clicked, for example, a floating window component or the like.
  • the triggering gesture is performed, for example, a left-to-right stroke of a specified gesture such as a screen.
  • the trigger button is clicked, for example, a designated button such as a confirmation button on the keyboard.
  • the triggering action is performed, for example, a specified action such as shaking.
  • the input device involved in this embodiment may include, but is not limited to, at least one of a keyboard, a mouse, a touch screen, an image collection device, and an audio collection device.
  • a keyboard a mouse
  • a touch screen a touch screen
  • an image collection device a touch screen
  • an audio collection device a microphone
  • the first input device 51 may be specifically configured to store the input content in a fast storage device.
  • the first input device 51 may be specifically configured to store the input content in a slow storage device.
  • the input sequence input by the input device is collected by the first input device, and then the input content is obtained according to the input sequence, and the input content is stored in the storage device, so that the second input device
  • the input content stored by the storage device can be obtained, and the input content is input and processed, and the terminal can be utilized without running the second application.
  • the other application that is, the content input device starts to edit the input content required by the second application in advance, and stores the input content, and the second application can directly obtain the stored input content, thereby improving the input efficiency.
  • the second application since the content input device can implement input of any content, the second application no longer needs to include the input service logic, but directly obtains the input content obtained by the first application to implement the corresponding content.
  • the input can avoid the problem that the same input service logic of each application has an additional terminal memory caused by repeatedly developing the same input service logic for the input content required for each application in the prior art. Thereby saving the resources of the terminal.
  • the content input device can implement input of any content
  • the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
  • the content input device such as the call instruction of the input method application
  • the content input device is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations. That is, when the trigger element is clicked or the trigger gesture is executed or the trigger button is clicked, the input efficiency of the second application can be effectively improved.
  • the content input device such as the call instruction of the input method application
  • the trigger element is triggered by the click or the trigger gesture is executed or the trigger button is clicked, so that the second application can no longer include the input box, which can effectively reduce the development efficiency of the second application.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), and a random access memory (Random Access).
  • ROM read-only memory
  • Random Access random access memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A content input method, system and device and a non-volatile computer storage medium. An input sequence input by an input device is acquired by a first application (201); accordingly, according to the input sequence, the input content is obtained (202); and the input content is stored in the storage device (203), so that a second application can acquire the input content stored by the storage device (101), and perform input processing on the input content (102). Without needing to run a second application, a terminal can utilize another application, i.e. a first application, to start editing input content required by the second application in advance, and store same, and the second application can directly acquire the stored input content, so as to improve the input efficiency.

Description

内容输入方法、系统、设备及非易失性计算机存储介质Content input method, system, device and non-volatile computer storage medium
本申请要求了申请日为2014年10月27日,申请号为201410584689.7发明名称为“内容输入方法及系统”的中国专利申请的优先权。The present application claims priority to Chinese Patent Application No. 201410584689.7, entitled "Content Input Method and System", filed on October 27, 2014.
技术领域Technical field
本发明涉及输入法技术,特别涉及一种内容输入方法、系统、设备及非易失性计算机存储介质。The present invention relates to input method technologies, and in particular, to a content input method, system, device, and non-volatile computer storage medium.
背景技术Background technique
随着通信技术的发展,终端集成了越来越多的功能,从而使得终端的系统功能列表中包含了越来越多相应的应用(Application,APP)。有些应用中会涉及内容输入的功能,例如,浏览器、微信、QQ等应用。在这些应用(以下称为目标应用)获取到输入内容之前,需要终端先运行该目标应用,才能开始编辑所需要的输入内容。With the development of communication technology, the terminal integrates more and more functions, so that the system function list of the terminal contains more and more corresponding applications (Application, APP). Some applications involve content input features such as browsers, WeChat, QQ, and more. Before these applications (hereinafter referred to as target applications) obtain the input content, the terminal needs to run the target application before starting the editing of the required input content.
然而,由于当前应用所涉及业务流程会具有一定的连续性例如,视频APP、小说APP等应用,因此,使得用户可能会不太希望终端立即退出当前应用,而是稍后再运行目标应用,以开始编辑所需要的输入内容,从而导致了输入效率的降低。However, since the business process involved in the current application may have a certain continuity, for example, an application such as a video APP or a novel APP, the user may not want the terminal to immediately exit the current application, but then run the target application later, Start editing the input you need, resulting in reduced input efficiency.
发明内容Summary of the invention
本发明的多个方面提供一种内容输入方法及系统,用以提高输入效 率。Aspects of the present invention provide a content input method and system for improving input efficiency rate.
本发明的一方面,提供一种内容输入方法,包括:An aspect of the present invention provides a content input method, including:
第二应用获取存储设备所存储的输入内容;The second application acquires input content stored by the storage device;
所述第二应用对所述输入内容,进行输入处理;其中,The second application performs input processing on the input content;
所述输入内容采用如下方法获得:The input content is obtained by the following method:
第一应用采集输入设备输入的输入序列;The first application collects an input sequence input by the input device;
所述第一应用根据所述输入序列,获得所述输入内容;The first application obtains the input content according to the input sequence;
所述第一应用将所述输入内容存储在所述存储设备中。The first application stores the input content in the storage device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述输入序列包括文本、图像、音频、视频和文件中的至少一项。In an aspect as described above and any possible implementation, an implementation is further provided, the input sequence comprising at least one of text, image, audio, video, and file.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一应用采集输入设备输入的输入序列之前,还包括:The foregoing aspect, and any possible implementation manner, further provide an implementation manner, where the first application, before collecting the input sequence input by the input device, further includes:
所述第一应用接收调用指令,所述调用指令为执行下列操作所触发:The first application receives a call instruction that is triggered by performing the following operations:
触发元素被点击;或者The trigger element is clicked; or
触发手势被执行;或者Trigger gesture is executed; or
触发按键被点击;或者The trigger button is clicked; or
触发动作被执行。The trigger action is executed.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述触发元素包括悬浮组件。 In an aspect as described above and any possible implementation, an implementation is further provided, the trigger element comprising a floating component.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:The aspect as described above and any possible implementation manner further provide an implementation manner, where the method further includes:
所述第一应用检测所述第一应用所在终端所显示的界面;The first application detects an interface displayed by the terminal where the first application is located;
所述第一应用根据所述第一应用所在终端所显示的界面,设置所述悬浮组件的透明度参数。The first application sets a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述执行下列操作的条件不依赖于所述第二应用的运行状态。The aspect and any possible implementations described above further provide an implementation that does not depend on the operating state of the second application.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,An aspect of the above, and any possible implementation, further providing an implementation manner,
所述触发元素被点击,包括:The trigger element is clicked, including:
在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发元素被点击;或者The triggering element is clicked on the running interface of the second application or on the running interface of the other application or on the desktop; or
所述触发手势被执行,包括:The trigger gesture is executed, including:
在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发手势被执行;或者The trigger gesture is executed on the running interface of the second application or on the running interface of other applications or on the desktop; or
所述触发按键被点击,包括:The trigger button is clicked, including:
在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发按键被点击;或者The trigger button is clicked while the second application is running or while other applications are running or when no applications are running; or
所述触发动作被执行,包括:The triggering action is performed, including:
在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发动作被执行。 The triggering action is performed when the second application is running or while other applications are running or when there is no application running.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一应用将所述输入内容存储在所述存储设备中,包括:The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the first application stores the input content in the storage device, including:
所述第一应用将所述输入内容存储在快速存储设备中;或者The first application stores the input content in a fast storage device; or
所述第一应用将所述输入内容存储在慢速存储设备中。The first application stores the input content in a slow storage device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一应用为输入法应用。In an aspect as described above and any possible implementation, an implementation is further provided, the first application being an input method application.
本发明的另一方面,提供一种内容输入系统,包括:In another aspect of the invention, a content input system is provided, comprising:
第一输入装置,用于采集输入设备输入的输入序列;根据所述输入序列,获得所述输入内容;以及将所述输入内容存储在存储设备中;a first input device, configured to collect an input sequence input by the input device; obtain the input content according to the input sequence; and store the input content in a storage device;
第二输入装置,用于获取所述存储设备所存储的输入内容;以及对所述输入内容,进行输入处理。a second input device, configured to acquire input content stored by the storage device; and perform input processing on the input content.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述输入序列包括文本、图像、音频、视频和文件中的至少一项。In an aspect as described above and any possible implementation, an implementation is further provided, the input sequence comprising at least one of text, image, audio, video, and file.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一输入装置,还用于The aspect as described above and any possible implementation manner further provide an implementation manner, the first input device is further used for
接收调用指令,所述调用指令为执行下列操作所触发:A call instruction is received, the call instruction being triggered by:
触发元素被点击;或者The trigger element is clicked; or
触发手势被执行;或者 Trigger gesture is executed; or
触发按键被点击;或者The trigger button is clicked; or
触发动作被执行。The trigger action is executed.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述触发元素包括悬浮组件。In an aspect as described above and any possible implementation, an implementation is further provided, the trigger element comprising a floating component.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一输入装置,还用于The aspect as described above and any possible implementation manner further provide an implementation manner, the first input device is further used for
检测所述第一输入装置所对应的第一应用所在终端所显示的界面;Detecting an interface displayed by the terminal where the first application corresponding to the first input device is located;
根据所述第一应用所在终端所显示的界面,设置所述悬浮组件的透明度参数。And setting a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述执行下列操作的条件不依赖于所述第二输入装置所对应的第二应用的运行状态。The aspect as described above and any possible implementation manner further provide an implementation manner, wherein the condition for performing the following operations does not depend on an operating state of the second application corresponding to the second input device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,An aspect of the above, and any possible implementation, further providing an implementation manner,
所述触发元素被点击,包括:The trigger element is clicked, including:
在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发元素被点击;或者The triggering element is clicked on the running interface of the second application or on the running interface of the other application or on the desktop; or
所述触发手势被执行,包括:The trigger gesture is executed, including:
在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发手势被执行;或者 The trigger gesture is executed on the running interface of the second application or on the running interface of other applications or on the desktop; or
所述触发按键被点击,包括:The trigger button is clicked, including:
在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发按键被点击;或者The trigger button is clicked while the second application is running or while other applications are running or when no applications are running; or
所述触发动作被执行,包括:The triggering action is performed, including:
在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发动作被执行。The triggering action is performed when the second application is running or while other applications are running or when there is no application running.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一输入装置,具体用于An aspect of the foregoing, and any possible implementation, further providing an implementation manner, where the first input device is specifically configured to
将所述输入内容存储在快速存储设备中;或者Storing the input in a fast storage device; or
将所述输入内容存储在慢速存储设备中。The input content is stored in a slow storage device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一输入装置所对应的第一应用为输入法应用。The aspect as described above and any possible implementation manner further provide an implementation manner, where the first application corresponding to the first input device is an input method application.
本发明的另一方面,提供一种设备,包括:In another aspect of the invention, an apparatus is provided, comprising:
一个或者多个处理器;One or more processors;
存储器;Memory
一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:One or more programs, the one or more programs being stored in the memory, when executed by the one or more processors:
获取存储设备所存储的输入内容;Obtaining input content stored by the storage device;
对所述输入内容,进行输入处理;其中,Performing input processing on the input content; wherein
所述输入内容采用如下方法获得: The input content is obtained by the following method:
第一应用采集输入设备输入的输入序列;The first application collects an input sequence input by the input device;
所述第一应用根据所述输入序列,获得所述输入内容;The first application obtains the input content according to the input sequence;
所述第一应用将所述输入内容存储在所述存储设备中。The first application stores the input content in the storage device.
本发明的另一方面,提供一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:In another aspect of the present invention, a nonvolatile computer storage medium storing one or more programs when the one or more programs are executed by a device causes The device:
获取存储设备所存储的输入内容;Obtaining input content stored by the storage device;
对所述输入内容,进行输入处理;其中,Performing input processing on the input content; wherein
所述输入内容采用如下方法获得:The input content is obtained by the following method:
第一应用采集输入设备输入的输入序列;The first application collects an input sequence input by the input device;
所述第一应用根据所述输入序列,获得所述输入内容;The first application obtains the input content according to the input sequence;
所述第一应用将所述输入内容存储在所述存储设备中。The first application stores the input content in the storage device.
由上述技术方案可知,本发明实施例通过第一应用采集输入设备输入的输入序列,进而根据所述输入序列,获得所述输入内容,并将所述输入内容存储在所述存储设备中,使得第二应用能够获取存储设备所存储的输入内容,并对所述输入内容,进行输入处理,无需终端运行第二应用,就能利用其他应用即第一应用提前开始编辑该第二应用所需要的输入内容,并进行存储,第二应用则可以直接获取存储的输入内容,从而提高了输入效率。According to the foregoing technical solution, the embodiment of the present invention collects an input sequence input by the input device by using the first application, and further obtains the input content according to the input sequence, and stores the input content in the storage device, so that The second application is capable of acquiring the input content stored by the storage device, and performing input processing on the input content, and the second application is required to start editing the second application in advance by using the other application, that is, the first application. The content is input and stored, and the second application can directly obtain the stored input content, thereby improving input efficiency.
另外,采用本发明提供的技术方案,由于第一应用能够实现任何内 容的输入,使得第二应用不再需要包含输入业务逻辑,而是直接获取第一应用所获得的输入内容即可实现相应内容的输入,能够避免现有技术中由于针对每个应用所需的输入内容重复开发相同的输入业务逻辑而导致的每个应用所具有的相同的输入业务逻辑都额外占用一定的终端内存的问题,从而节省了终端的资源。In addition, by adopting the technical solution provided by the present invention, since the first application can implement any The input of the content makes the second application no longer need to include the input business logic, but directly obtains the input content obtained by the first application to input the corresponding content, which can avoid the prior art required for each application. The same input business logic that each application has caused by the input content repeatedly developing the same input business logic additionally takes up a certain terminal memory problem, thereby saving the resources of the terminal.
另外,采用本发明提供的技术方案,由于第一应用能够实现任何内容的输入,使得第二应用不再需要包含输入业务逻辑,能够有效降低第二应用的开发效率。In addition, with the technical solution provided by the present invention, since the first application can implement input of any content, the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
另外,采用本发明提供的技术方案,由于第一应用如输入法应用的调用指令不再单纯为第二应用的输入框内的任意区域被点击所触发,而是还可以为其他操作所触发,即为触发元素被点击或触发手势被执行或触发按键被点击所触发,能够有效提高第二应用的输入效率。In addition, with the technical solution provided by the present invention, since the calling instruction of the first application, such as the input method application, is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations, That is, when the trigger element is clicked or the trigger gesture is executed or the trigger button is clicked, the input efficiency of the second application can be effectively improved.
另外,采用本发明提供的技术方案,由于第一应用如输入法应用的调用指令不再单纯为第二应用的输入框内的任意区域被点击所触发,而是还可以为其他操作所触发,即为触发元素被点击或触发手势被执行或触发按键被点击所触发,使得第二应用可以不再包含输入框,能够有效降低第二应用的开发效率。In addition, with the technical solution provided by the present invention, since the calling instruction of the first application, such as the input method application, is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations, That is, the trigger element is triggered by the click or the trigger gesture is executed or the trigger button is clicked, so that the second application can no longer include the input box, which can effectively reduce the development efficiency of the second application.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或 现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will The drawings used in the description of the prior art are briefly described. It is obvious that the drawings in the following description are some embodiments of the present invention, and are not laborious for those skilled in the art. Further drawings can also be obtained from these drawings.
图1为本发明一实施例提供的内容输入方法的流程示意图;FIG. 1 is a schematic flowchart of a content input method according to an embodiment of the present invention;
图2为图1对应的实施例中输入内容的获得方法的流程示意图;2 is a schematic flow chart of a method for obtaining input content in the embodiment corresponding to FIG. 1;
图3为图1对应的实施例中终端所显示的一界面示意图;3 is a schematic diagram of an interface displayed by a terminal in the embodiment corresponding to FIG. 1;
图4为图1对应的实施例中终端所显示的另一界面示意图;4 is a schematic diagram of another interface displayed by the terminal in the embodiment corresponding to FIG. 1;
图5为本发明另一实施例提供的内容输入系统的结构示意图。FIG. 5 is a schematic structural diagram of a content input system according to another embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,本发明实施例中所涉及的终端可以包括但不限于手机、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、个人电脑(Personal Computer,PC)、MP3播放器、MP4播放器等。It should be noted that the terminals involved in the embodiments of the present invention may include, but are not limited to, a mobile phone, a personal digital assistant (PDA), a wireless handheld device, a tablet computer, and a personal computer (Personal Computer, PC). ), MP3 player, MP4 player, etc.
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。 In addition, the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist at the same time. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
图1为本发明一实施例提供的内容输入方法的流程示意图,如图1所示。FIG. 1 is a schematic flowchart of a content input method according to an embodiment of the present invention, as shown in FIG. 1 .
101、第二应用获取存储设备所存储的输入内容。101. The second application acquires input content stored by the storage device.
102、所述第二应用对所述输入内容,进行输入处理。102. The second application performs input processing on the input content.
其中,among them,
所述输入内容具体可以采用图2所示的方法获得,如图2所示。The input content can be obtained by the method shown in FIG. 2, as shown in FIG. 2 .
201、第一应用采集输入设备输入的输入序列。201. The first application collects an input sequence input by the input device.
202、所述第一应用根据所述输入序列,获得所述输入内容。202. The first application obtains the input content according to the input sequence.
203、所述第一应用将所述输入内容存储在所述存储设备中。203. The first application stores the input content in the storage device.
由于第一应用能够实现任何内容的输入,使得第二应用不再需要包含输入业务逻辑,而是直接获取第一应用所获得的输入内容即可实现相应内容的输入,能够避免现有技术中由于针对每个应用所需的输入内容重复开发相同的输入业务逻辑而导致的每个应用所具有的相同的输入业务逻辑都额外占用一定的终端内存的问题,从而节省了终端的资源。Since the first application can implement the input of any content, the second application no longer needs to include the input service logic, but directly obtains the input content obtained by the first application to implement input of the corresponding content, which can avoid the prior art Repetitively developing the same input service logic for each application's input requires the same input service logic of each application to occupy a certain terminal memory problem, thereby saving the terminal resources.
另外,采用本发明提供的技术方案,由于第一应用能够实现任何内容的输入,使得第二应用不再需要包含输入业务逻辑,能够有效降低第二应用的开发效率。In addition, with the technical solution provided by the present invention, since the first application can implement input of any content, the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
至此,第二应用利用第一应用获得了所需要的输入内容。在获得输入内容之后,第二应用可以利用该输入内容,执行各种输入相关的操作,例如,上屏操作、发送操作、存储操作等。本实施例对此不进行特别限定。So far, the second application obtains the required input content by using the first application. After the input content is obtained, the second application can utilize the input content to perform various input related operations, such as an upper screen operation, a send operation, a storage operation, and the like. This embodiment is not particularly limited.
需要说明的是,101和102的执行主体第二应用,可以为位于本地终端的输入法应用,或者还可以为位于云端的输入法应用,或者还可以 为位于本地终端的其他应用中的插件或软件开发工具包(Software Development Kit,SDK)等输入功能单元,本实施例对此不进行特别限定。It should be noted that the second application of the execution body of 101 and 102 may be an input method application located in the local terminal, or may be an input method application located in the cloud, or may also be The input function unit for a plug-in or a software development kit (SDK) in other applications of the local terminal is not particularly limited in this embodiment.
另外,201~203的执行主体所述第一应用,可以为位于本地终端的输入法应用,或者还可以为位于云端的输入法应用,或者还可以为位于本地终端的其他应用中的插件或软件开发工具包(Software Development Kit,SDK)等输入功能单元,本实施例对此不进行特别限定。In addition, the first application of the execution body of 201 to 203 may be an input method application located at the local terminal, or may be an input method application located in the cloud, or may be a plug-in or software located in another application of the local terminal. An input function unit such as a software development kit (SDK) is not particularly limited in this embodiment.
输入法,是指为将各种字符输入终端而采用的编码方法,不同语言、国家、或地区,有多种不同的输入法,例如,搜狗拼音输入法、百度输入法、QQ拼音输入法等。一般来说,输入法应用可以根据用户输入的输入序列,向用户展现与该输入序列对应的若干个候选项,以供用户选择一个候选项完成输入序列的输入操作,例如,上屏操作。The input method refers to the encoding method used to input various characters into the terminal. There are many different input methods for different languages, countries, or regions, for example, Sogou Pinyin input method, Baidu input method, QQ Pinyin input method, etc. . In general, the input method application can display a plurality of candidates corresponding to the input sequence to the user according to the input sequence input by the user, so that the user selects a candidate to complete the input operation of the input sequence, for example, the upper screen operation.
可以理解的是,所述其他应用可以是安装在终端上的本地程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本实施例对此不进行限定。It is to be understood that the other application may be a local application (nativeApp) installed on the terminal, or may be a web application (webApp) of the browser on the terminal, which is not limited in this embodiment.
这样,通过第一应用采集输入设备输入的输入序列,进而根据所述输入序列,获得所述输入内容,并将所述输入内容存储在所述存储设备中,使得第二应用能够获取存储设备所存储的输入内容,并对所述输入内容,进行输入处理,无需终端运行第二应用,就能利用其他应用即第一应用提前开始编辑该第二应用所需要的输入内容,并进行存储,第二应用则可以直接获取存储的输入内容,从而提高了输入效率。In this way, the input sequence input by the input device is collected by the first application, and the input content is obtained according to the input sequence, and the input content is stored in the storage device, so that the second application can acquire the storage device. Storing the input content, and performing input processing on the input content, without using the terminal to run the second application, the other application, that is, the first application, can start editing the input content required by the second application in advance, and store the content. The second application can directly obtain the stored input content, thereby improving the input efficiency.
可选地,在本实施例的一个可能的实现方式中,在201之前,所述 第一应用还可以进一步接收调用指令,有时也可以称为激活指令,该指令用于激活所述第一应用开始运行。其中,所述调用指令可以包括但不限于为执行下列操作所触发:Optionally, in a possible implementation manner of this embodiment, before 201, the The first application may further receive a call instruction, sometimes referred to as an activation instruction, for activating the first application to begin operation. The call instruction may include, but is not limited to, being triggered to perform the following operations:
触发元素被点击;或者The trigger element is clicked; or
触发手势被执行;或者Trigger gesture is executed; or
触发按键被点击;或者The trigger button is clicked; or
触发动作被执行。The trigger action is executed.
其中,所谓的点击这一操作,可以为用户利用鼠标或键盘等外部输入设备控制光标所进行的触发操作,或者还可以为用户利用手指或输入笔等触控输入设备所进行的触碰操作,本实施例对此不进行特别限定。The so-called click operation can control the trigger operation performed by the cursor by the user using an external input device such as a mouse or a keyboard, or can also perform a touch operation by the user using a touch input device such as a finger or an input pen. This embodiment is not particularly limited.
具体地,所述触发元素可以包括但不限于悬浮组件。例如,浮窗组件,其是安卓操作系统提供的一个视图(View)组件,具体可以通过安卓操作系统提供的WindowManager类的addView(View v)方法,实现对浮窗组件的添加,以及removeView(View v)方法,实现对浮窗组件移除。该浮窗组件具体可以对移动操作、点击操作等操作事件进行预先设置的响应操作。如该浮窗组件具体可以对点击操作进行所述调用指令的触发。Specifically, the trigger element may include, but is not limited to, a floating component. For example, the floating window component, which is a view component provided by the Android operating system, can be added to the floating window component through the addView (View v) method of the WindowManager class provided by the Android operating system, and the removeView (View) v) Method to achieve removal of the floating window component. The floating window component can specifically perform a response operation preset for an operation event such as a moving operation or a click operation. For example, the floating window component may specifically trigger the call instruction for the click operation.
进一步可选地,还可以进一步将浮窗组件的属性设置成:flags=LayoutParams.FLAG_NOT_TOUCH_MODAL|LayoutParams.FLAG_NOT_FOCUSABLE,以实现浮窗组件只响应其自身覆盖的坐标范围之内的移动操作、点击操作等操作事件。这样,能够不影响用户对浮窗组件覆盖的坐标范围之外的任何操作。Further, optionally, the attribute of the floating window component is further set to: flags=LayoutParams.FLAG_NOT_TOUCH_MODAL|LayoutParams.FLAG_NOT_FOCUSABLE, so that the floating window component only responds to the moving operation, the click operation, and the like within the coordinate range covered by the floating window component. event. In this way, it is possible to not affect any operation outside the range of coordinates that the user covers the floating window component.
进一步可选地,所述第一应用具体可以检测所述第一应用所在终端 所显示的界面,进而根据所述第一应用所在终端所显示的界面,设置悬浮组件的透明度参数。Further optionally, the first application may specifically detect the terminal where the first application is located The displayed interface further sets the transparency parameter of the floating component according to the interface displayed by the terminal where the first application is located.
具体地,具体可以开启一个计时器任务,以实现每500毫秒(ms)检测所在终端所显示的界面是否为桌面。Specifically, a timer task may be specifically enabled to detect whether the interface displayed by the terminal is a desktop every 500 milliseconds (ms).
若终端所显示的界面为桌面,则将浮窗组件的透明度参数设置为0,以实现非透明展现浮窗组件。如图3所示,图3中虚线所包围的界面元素即为浮窗组件。If the interface displayed by the terminal is a desktop, the transparency parameter of the floating window component is set to 0 to implement the non-transparent display floating window component. As shown in FIG. 3, the interface element surrounded by the broken line in FIG. 3 is a floating window component.
若终端所显示的界面不为桌面即终端所显示的界面为其他应用的运行界面,则将浮窗组件的透明度参数设置为大于0且小于1的数值,例如,0.5或0.9等数值,以实现半透明展现浮窗组件。如图4所示,图4中虚线所包围的界面元素即为浮窗组件。If the interface displayed by the terminal is not the desktop, that is, the interface displayed by the terminal is the running interface of other applications, the transparency parameter of the floating window component is set to a value greater than 0 and less than 1, for example, a value such as 0.5 or 0.9, to achieve Translucent display of the floating window assembly. As shown in FIG. 4, the interface element surrounded by the broken line in FIG. 4 is a floating window component.
进一步地,还可以进一步检测所在终端是否显示浮窗组件。如果浮窗组件由于异常原因消失即终端没有显示浮窗组件,具体可以再通过安卓操作系统提供的WindowManager类的addView(View v)方法,进行浮窗组件的重新添加。Further, it is further possible to detect whether the floating terminal component is displayed at the terminal. If the floating window component disappears due to an abnormal reason, the terminal does not display the floating window component. Specifically, the floating window component may be re-added through the addView (View v) method of the WindowManager class provided by the Android operating system.
这样,由于第一应用如输入法应用的调用指令不再单纯为第二应用的输入框内的任意区域被点击所触发,而是还可以为其他操作所触发,即为触发元素被点击或触发手势被执行或触发按键被点击所触发,能够有效提高第二应用的输入效率。In this way, since the first application, such as the call instruction of the input method application, is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations, that is, the trigger element is clicked or triggered. The gesture is executed or the trigger button is triggered by the click, which can effectively improve the input efficiency of the second application.
另外,还使得第二应用可以不再包含输入框,能够有效降低第二应用的开发效率。In addition, the second application can further eliminate the input box, which can effectively reduce the development efficiency of the second application.
进一步可选地,所述执行下列操作的条件不依赖于所述第二应用的运行状态。也就是说,上述三种操作的执行,不依赖于第二应用是否运 行,可以在第二应用运行时执行,或者还可以在第二应用没有运行时执行。Further optionally, the condition for performing the following operations does not depend on an operating state of the second application. In other words, the execution of the above three operations does not depend on whether the second application is shipped. The line can be executed while the second application is running, or can also be executed when the second application is not running.
例如,在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发元素被点击,例如,浮窗组件等。For example, on the running interface of the second application or on the running interface of other applications or on the desktop, the trigger element is clicked, for example, a floating window component or the like.
或者,再例如,在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发手势被执行,例如,从左到右划过屏幕等指定手势。Alternatively, for example, on the running interface of the second application or on the running interface of other applications or on the desktop, the triggering gesture is performed, for example, a left-to-right stroke of a specified gesture such as a screen.
或者,再例如,在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发按键被点击,例如,键盘上的确认按键等指定按键。Alternatively, for example, when the second application is running or when other applications are running or when there is no application running, the trigger button is clicked, for example, a designated button such as a confirmation button on the keyboard.
或者,再例如,在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发动作被执行,例如,摇一摇等指定动作。Alternatively, for example, when the second application is running or when other applications are running or when there is no application running, the triggering action is performed, for example, a specified action such as shaking.
可选地,在本实施例的一个可能的实现方式中,本实施例中所涉及的所述输入设备可以包括但不限于键盘、鼠标、触摸屏、图像采集设备和音频采集设备中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, the input device involved in this embodiment may include, but is not limited to, at least one of a keyboard, a mouse, a touch screen, an image collection device, and an audio collection device. This embodiment is not particularly limited.
可选地,在本实施例的一个可能的实现方式中,在201中,所述第一应用所采集的所述输入序列可以包括但不限于文本、图像、音频、视频和文件中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, in 201, the input sequence collected by the first application may include, but is not limited to, at least one of text, image, audio, video, and file. This embodiment is not particularly limited in this regard.
例如,用户可以在第一应用所提供的输入框中输入不同语言所对应的文本,该文本可以为拼音序列,或者还可以为罗马序列,或者还可以为字形序列等,本实施例对此不进行特别限定。For example, the user may input text corresponding to a different language in an input box provided by the first application, and the text may be a pinyin sequence, or may be a Roman sequence, or may be a sequence of glyphs, etc., in this embodiment, Special restrictions are made.
或者,再例如,用户可以利用第一应用所提供的功能按钮,直接输入终端所存储的图像、音频、视频和文件中的至少一项,或者开启采集 设备如图像采集设备和音频采集设备中的至少一项,以输入采集设备所采集的图像、音频、视频和文件中的至少一项,本实施例对此不进行特别限定。Or, for example, the user can directly input at least one of an image, an audio, a video, and a file stored by the terminal by using a function button provided by the first application, or start the collection. The device is at least one of an image capture device and an audio capture device, and is used to input at least one of an image, an audio, a video, and a file collected by the capture device, which is not specifically limited in this embodiment.
具体地,第一应用具体可以根据输入意图,对所述输入序列进行相应的处理,以获得输入内容。Specifically, the first application may specifically process the input sequence according to the input intention to obtain the input content.
例如,输入意图为输入汉字等各种语言的字符,那么,第一应用则具体可以对所采集的拼音序列、罗马序列或字形序列等输入序列进行编码处理,以获得对应的若干个候选项,进而根据用户输入的选择指令,从若干个候选项中选择一个候选项,以作为输入内容。For example, if the input intention is to input characters in various languages such as Chinese characters, then the first application may specifically encode the input sequence of the collected pinyin sequence, Roman sequence or glyph sequence to obtain corresponding candidates. Further, according to the selection instruction input by the user, one candidate is selected from a plurality of candidates as the input content.
或者,再例如,输入意图为输入图像,那么,第一应用则具体可以对所采集的图像进行上传处理,以作为输入内容。Or, for example, the input intention is an input image, and then the first application may specifically perform upload processing on the collected image as the input content.
或者,再例如,输入意图为输入图像,那么,第一应用则具体可以对所采集的图像依次编辑处理,以获得待输入的目标图像,进而则可以对该目标图像进行上传处理,以作为输入内容。Alternatively, for example, if the input intention is an input image, the first application may specifically edit the processed image to obtain a target image to be input, and then the target image may be uploaded and processed as an input. content.
需要说明的是,针对第一应用为输入法应用的情况,还需要分为本地输入法应用和云输入法应用两种情况分别进行如下特别说明。It should be noted that, in the case where the first application is an input method application, it is also required to separately divide the local input method application and the cloud input method application as follows.
情况一,当输入法应用为本地输入法应用时,所述第一应用具体可以直接对所述输入序列进行相应的处理,以获得处理结构。例如,第一应用对输入序列进行编码处理,以获得对应的若干个候选项,进而根据用户输入的选择指令,从若干个候选项中选择一个候选项,以作为输入内容。In the first case, when the input method is applied to the local input method, the first application may directly process the input sequence to obtain a processing structure. For example, the first application encodes the input sequence to obtain a corresponding plurality of candidates, and then selects one of the plurality of candidates as the input content according to the selection instruction input by the user.
情况二,当输入法应用为云输入法应用时,所述第一应用具体可以将输入序列发送给云服务器,由云服务器对所述输入序列进行相应的处 理,进而将处理结果发送给第一应用。例如,云服务器对输入序列进行编码处理,以获得对应的若干个候选项,进而根据用户输入的选择指令,从若干个候选项中选择一个候选项,以作为输入内容,并将输入内容发送给第一应用。In the second case, when the input method is applied to the cloud input method, the first application may specifically send the input sequence to the cloud server, and the cloud server performs corresponding operations on the input sequence. And then send the processing result to the first application. For example, the cloud server encodes the input sequence to obtain corresponding candidates, and then selects one candidate from the plurality of candidates according to the selection instruction input by the user as the input content, and sends the input content to The first application.
本实施例对上述两种情况并没有进行特别限定。This embodiment is not particularly limited to the above two cases.
可选地,在本实施例的一个可能的实现方式中,所述第一应用具体可以利用另一个悬浮组件,例如,浮窗组件等,展现第一应用与输入功能相关的元素例如,输入框、候选框和存储按钮等元素,以执行相关的输入功能。以浮窗组件为例,其是安卓操作系统提供的一个视图(View)组件,具体可以通过安卓操作系统提供的WindowManager类的addView(View v)方法,实现对浮窗组件的添加,以及removeView(View v)方法,实现对浮窗组件移除。进一步可选地,还可以进一步将浮窗组件的属性设置成:flags=LayoutParams.FLAG_NOT_TOUCH_MODAL,以实现在浮窗组件存在的情况下,用户可以操作未被浮窗组件遮挡的部分屏幕所显示的界面。Optionally, in a possible implementation manner of the embodiment, the first application may specifically utilize another suspension component, such as a floating window component, etc., to display an element related to the input function, for example, an input box. Elements such as candidate boxes and store buttons to perform related input functions. Take the floating window component as an example, which is a view component provided by the Android operating system. Specifically, the addView (View v) method of the WindowManager class provided by the Android operating system can be used to add the floating window component, and removeView ( View v) method to remove the floating window component. Further optionally, the attribute of the floating window component may be further set to: flags=LayoutParams.FLAG_NOT_TOUCH_MODAL, so that in the presence of the floating window component, the user can operate the interface displayed by part of the screen not blocked by the floating window component. .
进一步可选地,所述第一应用具体可以设置该悬浮组件的透明度参数。具体地,可以将该悬浮组件的透明度参数设置为大于或等于0且小于1的数值,例如,0.5或0.9等数值,以实现半透明或非透明展现该悬浮组件。Further optionally, the first application may specifically set a transparency parameter of the suspension component. Specifically, the transparency parameter of the suspension component can be set to a value greater than or equal to 0 and less than 1, for example, a value of 0.5 or 0.9, to achieve translucent or non-transparent presentation of the suspension component.
可选地,在本实施例的一个可能的实现方式中,在203中,所述第一应用具体可以将所述输入内容存储在快速存储设备中,例如,内存中。其中,所述内存可以为电脑的内存,或者还可以为手机的运行内存即系统内存例如,随机存储器(Random Access Memory,RAM)等,本实 施例对此不进行限定。Optionally, in a possible implementation manner of this embodiment, in 203, the first application may specifically store the input content in a fast storage device, for example, in a memory. The memory may be the memory of the computer, or may be the running memory of the mobile phone, that is, the system memory, for example, a random access memory (RAM), etc. The embodiment does not limit this.
可选地,在本实施例的一个可能的实现方式中,在203中,所述第一应用具体可以将所述输入内容存储在慢速存储设备中。其中,所述慢速存储设备可以为电脑的硬盘,或者还可以为手机的非运行内存即物理内存例如,只读存储器(Read-Only Memory,ROM)和内存卡等,本实施例对此不进行限定。Optionally, in a possible implementation manner of this embodiment, in 203, the first application may specifically store the input content in a slow storage device. The slow storage device may be a hard disk of the computer, or may be a non-operating memory of the mobile phone, that is, a physical memory, such as a read-only memory (ROM) and a memory card. Limited.
本实施例中,通过第一应用采集输入设备输入的输入序列,进而根据所述输入序列,获得所述输入内容,并将所述输入内容存储在所述存储设备中,使得第二应用能够获取存储设备所存储的输入内容,并对所述输入内容,进行输入处理,无需终端运行第二应用,就能利用其他应用即第一应用提前开始编辑该第二应用所需要的输入内容,并进行存储,第二应用则可以直接获取存储的输入内容,从而提高了输入效率。In this embodiment, the input sequence input by the input device is collected by the first application, and then the input content is obtained according to the input sequence, and the input content is stored in the storage device, so that the second application can obtain The input content stored in the storage device is input, and the input content is input and processed, and the second application is not required to run the second application, and the first application is used to start editing the input content required by the second application in advance, and is performed. Storage, the second application can directly obtain the stored input content, thereby improving the input efficiency.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
图5为本发明另一实施例提供的内容输入系统的结构示意图,如图5所示。本实施例的内容输入系统可以包括第一输入装置51和第二输入装置52。其中,第一输入装置51,用于采集输入设备输入的输入序列; 根据所述输入序列,获得所述输入内容;以及将所述输入内容存储在存储设备中;第二输入装置52,用于获取所述存储设备所存储的输入内容;以及对所述输入内容,进行输入处理。FIG. 5 is a schematic structural diagram of a content input system according to another embodiment of the present invention, as shown in FIG. 5. The content input system of the present embodiment may include a first input device 51 and a second input device 52. The first input device 51 is configured to collect an input sequence input by the input device; Obtaining the input content according to the input sequence; and storing the input content in a storage device; the second input device 52 is configured to acquire the input content stored by the storage device; and for the input content, Perform input processing.
由于第一输入装置51所对应的第一应用能够实现任何内容的输入,使得第二输入装置52所对应的第二应用不再需要包含输入业务逻辑,而是直接获取第一应用所获得的输入内容即可实现相应内容的输入,能够避免现有技术中由于针对每个应用所需的输入内容重复开发相同的输入业务逻辑而导致的每个应用所具有的相同的输入业务逻辑都额外占用一定的终端内存的问题,从而节省了终端的资源。Since the first application corresponding to the first input device 51 can implement input of any content, the second application corresponding to the second input device 52 no longer needs to include the input service logic, but directly obtains the input obtained by the first application. The content can realize the input of the corresponding content, and can avoid the same input business logic of each application which is caused by the repeated development of the same input business logic for the input content required for each application in the prior art. The problem of terminal memory, thus saving the resources of the terminal.
另外,采用本发明提供的技术方案,由于第一应用能够实现任何内容的输入,使得第二应用不再需要包含输入业务逻辑,能够有效降低第二应用的开发效率。In addition, with the technical solution provided by the present invention, since the first application can implement input of any content, the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
至此,第二应用利用第一应用获得了所需要的输入内容。在获得输入内容之后,第二应用可以利用该输入内容,执行各种输入相关的操作,例如,上屏操作、发送操作、存储操作等。本实施例对此不进行特别限定。So far, the second application obtains the required input content by using the first application. After the input content is obtained, the second application can utilize the input content to perform various input related operations, such as an upper screen operation, a send operation, a storage operation, and the like. This embodiment is not particularly limited.
需要说明的是,本实施例所提供的第二输入装置,可以对应于第二应用,可以为位于本地终端的输入法应用,或者还可以为位于云端的输入法应用,或者还可以为位于本地终端的其他应用中的插件或软件开发工具包(Software Development Kit,SDK)等输入功能单元,本实施例对此不进行特别限定。It should be noted that the second input device provided in this embodiment may correspond to the second application, may be an input method application located in the local terminal, or may be an input method application located in the cloud, or may also be located locally. The input function unit such as a plug-in or a software development kit (SDK) in other applications of the terminal is not particularly limited in this embodiment.
另外,本实施例所提供的第一输入装置,可以对应于第一应用,可以为位于本地终端的输入法应用,或者还可以为位于云端的输入法应用, 或者还可以为位于本地终端的其他应用中的插件或软件开发工具包(Software Development Kit,SDK)等输入功能单元,本实施例对此不进行特别限定。In addition, the first input device provided in this embodiment may correspond to the first application, may be an input method application located in the local terminal, or may be an input method application located in the cloud. Alternatively, the function unit may be input to a plug-in or a software development kit (SDK) in another application of the local terminal, and is not particularly limited in this embodiment.
可选地,在本实施例的一个可能的实现方式中,所述第一输入装置所采集的所述输入序列可以包括但不限于文本、图像、音频、视频和文件中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, the input sequence collected by the first input device may include, but is not limited to, at least one of text, image, audio, video, and file. The embodiment is not particularly limited thereto.
可选地,在本实施例的一个可能的实现方式中,所述第一输入装置51,还可以进一步用于接收调用指令,所述调用指令为执行下列操作所触发:Optionally, in a possible implementation manner of the embodiment, the first input device 51 is further configured to receive a call instruction, where the call instruction is triggered by:
触发元素被点击;或者The trigger element is clicked; or
触发手势被执行;或者Trigger gesture is executed; or
触发按键被点击;或者The trigger button is clicked; or
触发动作被执行。The trigger action is executed.
其中,所述触发元素可以包括但不限于悬浮组件。The trigger element may include, but is not limited to, a floating component.
可选地,在本实施例的一个可能的实现方式中,所述第一输入装置51,还可以进一步用于检测所述第一输入装置51所对应的第一应用所在终端所显示的界面;以及根据所述第一应用所在终端所显示的界面,设置所述悬浮组件的透明度参数。Optionally, in a possible implementation manner of the embodiment, the first input device 51 may be further configured to detect an interface displayed by the terminal where the first application corresponding to the first input device 51 is located; And setting a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
可选地,在本实施例的一个可能的实现方式中,所述执行下列操作的条件不依赖于所述第二输入装置52所对应的第二应用的运行状态。也就是说,上述三种操作的执行,不依赖于第二应用是否运行,可以在第二应用运行时执行,或者还可以在第二应用没有运行时执行。Optionally, in a possible implementation manner of the embodiment, the condition for performing the following operations does not depend on an operating state of the second application corresponding to the second input device 52. That is to say, the execution of the above three operations does not depend on whether the second application is running, may be executed when the second application is running, or may also be executed when the second application is not running.
例如,在所述第二应用的运行界面上或在其他应用的运行界面上或 在桌面上,所述触发元素被点击,例如,浮窗组件等。For example, on the running interface of the second application or on the running interface of other applications or On the desktop, the trigger element is clicked, for example, a floating window component or the like.
或者,再例如,在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发手势被执行,例如,从左到右划过屏幕等指定手势。Alternatively, for example, on the running interface of the second application or on the running interface of other applications or on the desktop, the triggering gesture is performed, for example, a left-to-right stroke of a specified gesture such as a screen.
或者,再例如,在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发按键被点击,例如,键盘上的确认按键等指定按键。Alternatively, for example, when the second application is running or when other applications are running or when there is no application running, the trigger button is clicked, for example, a designated button such as a confirmation button on the keyboard.
或者,再例如,在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发动作被执行,例如,摇一摇等指定动作。Alternatively, for example, when the second application is running or when other applications are running or when there is no application running, the triggering action is performed, for example, a specified action such as shaking.
可选地,在本实施例的一个可能的实现方式中,本实施例中所涉及的所述输入设备可以包括但不限于键盘、鼠标、触摸屏、图像采集设备和音频采集设备中的至少一项,本实施例对此不进行特别限定。Optionally, in a possible implementation manner of this embodiment, the input device involved in this embodiment may include, but is not limited to, at least one of a keyboard, a mouse, a touch screen, an image collection device, and an audio collection device. This embodiment is not particularly limited.
可选地,在本实施例的一个可能的实现方式中,所述第一输入装置51,具体可以用于将所述输入内容存储在快速存储设备中。Optionally, in a possible implementation manner of the embodiment, the first input device 51 may be specifically configured to store the input content in a fast storage device.
可选地,在本实施例的一个可能的实现方式中,所述第一输入装置51,具体可以用于将所述输入内容存储在慢速存储设备中。Optionally, in a possible implementation manner of the embodiment, the first input device 51 may be specifically configured to store the input content in a slow storage device.
需要说明的是,图1对应的实施例中方法,可以由本实施例提供的内容输入系统实现。详细描述可以参见图1对应的实施例中的相关内容,此处不再赘述。It should be noted that the method in the embodiment corresponding to FIG. 1 can be implemented by the content input system provided in this embodiment. For details, refer to related content in the embodiment corresponding to FIG. 1, and details are not described herein again.
本实施例中,通过第一输入装置采集输入设备输入的输入序列,进而根据所述输入序列,获得所述输入内容,并将所述输入内容存储在所述存储设备中,使得第二输入装置能够获取存储设备所存储的输入内容,并对所述输入内容,进行输入处理,无需终端运行第二应用,就能利用 其他应用即内容输入装置提前开始编辑该第二应用所需要的输入内容,并进行存储,第二应用则可以直接获取存储的输入内容,从而提高了输入效率。In this embodiment, the input sequence input by the input device is collected by the first input device, and then the input content is obtained according to the input sequence, and the input content is stored in the storage device, so that the second input device The input content stored by the storage device can be obtained, and the input content is input and processed, and the terminal can be utilized without running the second application. The other application, that is, the content input device starts to edit the input content required by the second application in advance, and stores the input content, and the second application can directly obtain the stored input content, thereby improving the input efficiency.
另外,采用本发明提供的技术方案,由于内容输入装置能够实现任何内容的输入,使得第二应用不再需要包含输入业务逻辑,而是直接获取第一应用所获得的输入内容即可实现相应内容的输入,能够避免现有技术中由于针对每个应用所需的输入内容重复开发相同的输入业务逻辑而导致的每个应用所具有的相同的输入业务逻辑都额外占用一定的终端内存的问题,从而节省了终端的资源。In addition, with the technical solution provided by the present invention, since the content input device can implement input of any content, the second application no longer needs to include the input service logic, but directly obtains the input content obtained by the first application to implement the corresponding content. The input can avoid the problem that the same input service logic of each application has an additional terminal memory caused by repeatedly developing the same input service logic for the input content required for each application in the prior art. Thereby saving the resources of the terminal.
另外,采用本发明提供的技术方案,由于内容输入装置能够实现任何内容的输入,使得第二应用不再需要包含输入业务逻辑,能够有效降低第二应用的开发效率。In addition, with the technical solution provided by the present invention, since the content input device can implement input of any content, the second application no longer needs to include input service logic, and the development efficiency of the second application can be effectively reduced.
另外,采用本发明提供的技术方案,由于内容输入装置如输入法应用的调用指令不再单纯为第二应用的输入框内的任意区域被点击所触发,而是还可以为其他操作所触发,即为触发元素被点击或触发手势被执行或触发按键被点击所触发,能够有效提高第二应用的输入效率。In addition, according to the technical solution provided by the present invention, since the content input device, such as the call instruction of the input method application, is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations. That is, when the trigger element is clicked or the trigger gesture is executed or the trigger button is clicked, the input efficiency of the second application can be effectively improved.
另外,采用本发明提供的技术方案,由于内容输入装置如输入法应用的调用指令不再单纯为第二应用的输入框内的任意区域被点击所触发,而是还可以为其他操作所触发,即为触发元素被点击或触发手势被执行或触发按键被点击所触发,使得第二应用可以不再包含输入框,能够有效降低第二应用的开发效率。In addition, according to the technical solution provided by the present invention, since the content input device, such as the call instruction of the input method application, is no longer simply triggered by clicking on any area in the input box of the second application, but can also be triggered by other operations. That is, the trigger element is triggered by the click or the trigger gesture is executed or the trigger button is clicked, so that the second application can no longer include the input box, which can effectively reduce the development efficiency of the second application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例 中的对应过程,在此不再赘述。It will be apparent to those skilled in the art that for the convenience and brevity of the description, the specific working processes of the systems, devices and units described above may be referred to the foregoing method embodiments. The corresponding process in the description will not be repeated here.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access  Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), and a random access memory (Random Access). A variety of media that can store program code, such as Memory, RAM, or a disk.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (20)

  1. 一种内容输入方法,其特征在于,包括:A content input method, comprising:
    第二应用获取存储设备所存储的输入内容;The second application acquires input content stored by the storage device;
    所述第二应用对所述输入内容,进行输入处理;其中,The second application performs input processing on the input content;
    所述输入内容采用如下方法获得:The input content is obtained by the following method:
    第一应用采集输入设备输入的输入序列;The first application collects an input sequence input by the input device;
    所述第一应用根据所述输入序列,获得所述输入内容;The first application obtains the input content according to the input sequence;
    所述第一应用将所述输入内容存储在所述存储设备中。The first application stores the input content in the storage device.
  2. 根据权利要求1所述的方法,其特征在于,所述输入序列包括文本、图像、音频、视频和文件中的至少一项。The method of claim 1 wherein the input sequence comprises at least one of text, images, audio, video, and files.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一应用采集输入设备输入的输入序列之前,还包括:The method according to claim 1 or 2, wherein before the first application collects the input sequence input by the input device, the method further includes:
    所述第一应用接收调用指令,所述调用指令为执行下列操作所触发:The first application receives a call instruction that is triggered by performing the following operations:
    触发元素被点击;或者The trigger element is clicked; or
    触发手势被执行;或者Trigger gesture is executed; or
    触发按键被点击;或者The trigger button is clicked; or
    触发动作被执行。The trigger action is executed.
  4. 根据权利要求3所述的方法,其特征在于,所述触发元素包括悬浮组件。The method of claim 3 wherein said triggering element comprises a floating component.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    所述第一应用检测所述第一应用所在终端所显示的界面;The first application detects an interface displayed by the terminal where the first application is located;
    所述第一应用根据所述第一应用所在终端所显示的界面,设置所述悬浮组件的透明度参数。 The first application sets a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
  6. 根据权利要求3所述的方法,其特征在于,所述执行下列操作的条件不依赖于所述第二应用的运行状态。The method of claim 3 wherein said condition for performing the following operations is independent of an operational state of said second application.
  7. 根据权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述触发元素被点击,包括:The trigger element is clicked, including:
    在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发元素被点击;或者The triggering element is clicked on the running interface of the second application or on the running interface of the other application or on the desktop; or
    所述触发手势被执行,包括:The trigger gesture is executed, including:
    在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发手势被执行;或者The trigger gesture is executed on the running interface of the second application or on the running interface of other applications or on the desktop; or
    所述触发按键被点击,包括:The trigger button is clicked, including:
    在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发按键被点击;或者The trigger button is clicked while the second application is running or while other applications are running or when no applications are running; or
    所述触发动作被执行,包括:The triggering action is performed, including:
    在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发动作被执行。The triggering action is performed when the second application is running or while other applications are running or when there is no application running.
  8. 根据权利要求1~7任一权利要求所述的方法,其特征在于,所述第一应用将所述输入内容存储在所述存储设备中,包括:The method according to any one of claims 1 to 7, wherein the first application stores the input content in the storage device, including:
    所述第一应用将所述输入内容存储在快速存储设备中;或者The first application stores the input content in a fast storage device; or
    所述第一应用将所述输入内容存储在慢速存储设备中。The first application stores the input content in a slow storage device.
  9. 根据权利要求1~8任一权利要求所述的方法,其特征在于,所述第一应用为输入法应用。The method according to any one of claims 1 to 8, wherein the first application is an input method application.
  10. 一种内容输入系统,其特征在于,包括:A content input system, comprising:
    第一输入装置,用于采集输入设备输入的输入序列;根据所述输入 序列,获得所述输入内容;以及将所述输入内容存储在存储设备中;a first input device for collecting an input sequence input by the input device; a sequence of obtaining the input content; and storing the input content in a storage device;
    第二输入装置,用于获取所述存储设备所存储的输入内容;以及对所述输入内容,进行输入处理。a second input device, configured to acquire input content stored by the storage device; and perform input processing on the input content.
  11. 根据权利要求10所述的系统,其特征在于,所述输入序列包括文本、图像、音频、视频和文件中的至少一项。The system of claim 10 wherein the input sequence comprises at least one of text, images, audio, video, and files.
  12. 根据权利要求10或11所述的系统,其特征在于,所述第一输入装置,还用于The system according to claim 10 or 11, wherein said first input means is further used for
    接收调用指令,所述调用指令为执行下列操作所触发:A call instruction is received, the call instruction being triggered by:
    触发元素被点击;或者The trigger element is clicked; or
    触发手势被执行;或者Trigger gesture is executed; or
    触发按键被点击;或者The trigger button is clicked; or
    触发动作被执行。The trigger action is executed.
  13. 根据权利要求12所述的系统,其特征在于,所述触发元素包括悬浮组件。The system of claim 12 wherein said triggering element comprises a floating component.
  14. 根据权利要求13所述的系统,其特征在于,所述第一输入装置,还用于The system of claim 13 wherein said first input device is further
    检测所述第一输入装置所对应的第一应用所在终端所显示的界面;Detecting an interface displayed by the terminal where the first application corresponding to the first input device is located;
    根据所述第一应用所在终端所显示的界面,设置所述悬浮组件的透明度参数。And setting a transparency parameter of the suspension component according to an interface displayed by the terminal where the first application is located.
  15. 根据权利要求12所述的系统,其特征在于,所述执行下列操作的条件不依赖于所述第二输入装置所对应的第二应用的运行状态。The system according to claim 12, wherein said condition for performing the following operation does not depend on an operating state of the second application corresponding to said second input device.
  16. 根据权利要求15所述的系统,其特征在于,The system of claim 15 wherein:
    所述触发元素被点击,包括: The trigger element is clicked, including:
    在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发元素被点击;或者The triggering element is clicked on the running interface of the second application or on the running interface of the other application or on the desktop; or
    所述触发手势被执行,包括:The trigger gesture is executed, including:
    在所述第二应用的运行界面上或在其他应用的运行界面上或在桌面上,所述触发手势被执行;或者The trigger gesture is executed on the running interface of the second application or on the running interface of other applications or on the desktop; or
    所述触发按键被点击,包括:The trigger button is clicked, including:
    在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发按键被点击;或者The trigger button is clicked while the second application is running or while other applications are running or when no applications are running; or
    所述触发动作被执行,包括:The triggering action is performed, including:
    在所述第二应用运行时或在其他应用运行时或在没有任何应用运行时,所述触发动作被执行。The triggering action is performed when the second application is running or while other applications are running or when there is no application running.
  17. 根据权利要求10~16任一权利要求所述的系统,其特征在于,所述第一输入装置,具体用于The system according to any one of claims 10 to 16, wherein the first input device is specifically used for
    将所述输入内容存储在快速存储设备中;或者Storing the input in a fast storage device; or
    将所述输入内容存储在慢速存储设备中。The input content is stored in a slow storage device.
  18. 根据权利要求10~17任一权利要求所述的系统,其特征在于,所述第一输入装置所对应的第一应用为输入法应用。The system according to any one of claims 10 to 17, wherein the first application corresponding to the first input device is an input method application.
  19. 一种设备,包括:A device that includes:
    一个或者多个处理器;One or more processors;
    存储器;Memory
    一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:One or more programs, the one or more programs being stored in the memory, when executed by the one or more processors:
    获取存储设备所存储的输入内容; Obtaining input content stored by the storage device;
    对所述输入内容,进行输入处理;其中,Performing input processing on the input content; wherein
    所述输入内容采用如下方法获得:The input content is obtained by the following method:
    第一应用采集输入设备输入的输入序列;The first application collects an input sequence input by the input device;
    所述第一应用根据所述输入序列,获得所述输入内容;The first application obtains the input content according to the input sequence;
    所述第一应用将所述输入内容存储在所述存储设备中。The first application stores the input content in the storage device.
  20. 一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:A non-volatile computer storage medium storing one or more programs, when the one or more programs are executed by a device, causing the device to:
    获取存储设备所存储的输入内容;Obtaining input content stored by the storage device;
    对所述输入内容,进行输入处理;其中,Performing input processing on the input content; wherein
    所述输入内容采用如下方法获得:The input content is obtained by the following method:
    第一应用采集输入设备输入的输入序列;The first application collects an input sequence input by the input device;
    所述第一应用根据所述输入序列,获得所述输入内容;The first application obtains the input content according to the input sequence;
    所述第一应用将所述输入内容存储在所述存储设备中。 The first application stores the input content in the storage device.
PCT/CN2015/080982 2014-10-27 2015-06-08 Content input method, system and device and non-volatile computer storage medium WO2016065903A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410584689.7 2014-10-27
CN201410584689.7A CN104407763A (en) 2014-10-27 2014-10-27 Content input method and system

Publications (1)

Publication Number Publication Date
WO2016065903A1 true WO2016065903A1 (en) 2016-05-06

Family

ID=52645398

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080982 WO2016065903A1 (en) 2014-10-27 2015-06-08 Content input method, system and device and non-volatile computer storage medium

Country Status (2)

Country Link
CN (1) CN104407763A (en)
WO (1) WO2016065903A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407763A (en) * 2014-10-27 2015-03-11 百度在线网络技术(北京)有限公司 Content input method and system
CN109284041A (en) * 2018-09-18 2019-01-29 维沃移动通信有限公司 A kind of application interface switching method and mobile terminal
CN111338525A (en) * 2020-02-21 2020-06-26 维沃移动通信有限公司 Control method of electronic equipment and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130990A (en) * 2010-01-20 2011-07-20 富士通东芝移动通信株式会社 Mobile communication terminal and method for controlling application program
CN102945233A (en) * 2011-08-15 2013-02-27 联想(北京)有限公司 Electronic equipment and data management method thereof
CN104063071A (en) * 2014-07-18 2014-09-24 百度在线网络技术(北京)有限公司 Content input method and device
CN104407763A (en) * 2014-10-27 2015-03-11 百度在线网络技术(北京)有限公司 Content input method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764762A (en) * 2008-10-24 2010-06-30 北京亿企通信息技术有限公司 Method for providing quickly inputted commonly used phrases in on-line customer service
CN102117166A (en) * 2009-12-31 2011-07-06 联想(北京)有限公司 Electronic equipment, method for realizing prearranged operation instructions, and handset
CN101697107A (en) * 2009-10-30 2010-04-21 青岛海信移动通信技术股份有限公司 Method and device for inputting characters in touch mobile communication terminal
CN102314441A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for user to input individualized primitive data and equipment and system
CN103559046A (en) * 2013-09-10 2014-02-05 北京三星通信技术研究有限公司 Method and device for starting functions of terminal, and terminal equipment
CN103677634A (en) * 2013-12-04 2014-03-26 安徽科大讯飞信息科技股份有限公司 Method and system for fast inputting common phrases

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130990A (en) * 2010-01-20 2011-07-20 富士通东芝移动通信株式会社 Mobile communication terminal and method for controlling application program
CN102945233A (en) * 2011-08-15 2013-02-27 联想(北京)有限公司 Electronic equipment and data management method thereof
CN104063071A (en) * 2014-07-18 2014-09-24 百度在线网络技术(北京)有限公司 Content input method and device
CN104407763A (en) * 2014-10-27 2015-03-11 百度在线网络技术(北京)有限公司 Content input method and system

Also Published As

Publication number Publication date
CN104407763A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
EP2990930B1 (en) Scraped information providing method and apparatus
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US20190028418A1 (en) Apparatus and method for providing information
CN104375758B (en) Method and apparatus for icon-based application control
US20160147725A1 (en) Entity based content selection
TWI612467B (en) Mobile device and method for operating application thereof
CN109446832B (en) Screen capturing method and device
WO2016090888A1 (en) Method, apparatus and device for moving icon, and non-volatile computer storage medium
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
US11010211B2 (en) Content processing across applications
CN108370396B (en) Electronic device, notification display method of electronic device, and computer-readable medium
US10430040B2 (en) Method and an apparatus for providing a multitasking view
CN104063071A (en) Content input method and device
CN105335383B (en) Input information processing method and device
WO2017113551A1 (en) System and method for operating system of mobile device
US20170068374A1 (en) Changing an interaction layer on a graphical user interface
WO2016065903A1 (en) Content input method, system and device and non-volatile computer storage medium
CN104267867A (en) Content input method and device
WO2016172825A1 (en) Method for displaying view and terminal device
TWI594180B (en) Method and computer system for splitting a file and merging files via a motion input on a graphical user interface
JP6342194B2 (en) Electronic device, method and program
EP2849058A1 (en) Method and device for displaying a message associated with an application
WO2018113751A1 (en) Method for setting communication shortcut and electronic device
US20140245214A1 (en) Enabling search in a touchscreen device
WO2021088865A1 (en) Gesture operation method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15855358

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15855358

Country of ref document: EP

Kind code of ref document: A1