CN107256170A - Method and apparatus for the activation input method setting option of terminal device - Google Patents

Method and apparatus for the activation input method setting option of terminal device Download PDF

Info

Publication number
CN107256170A
CN107256170A CN201710458447.7A CN201710458447A CN107256170A CN 107256170 A CN107256170 A CN 107256170A CN 201710458447 A CN201710458447 A CN 201710458447A CN 107256170 A CN107256170 A CN 107256170A
Authority
CN
China
Prior art keywords
input method
setting option
method setting
terminal device
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710458447.7A
Other languages
Chinese (zh)
Other versions
CN107256170B (en
Inventor
范敏虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710458447.7A priority Critical patent/CN107256170B/en
Publication of CN107256170A publication Critical patent/CN107256170A/en
Application granted granted Critical
Publication of CN107256170B publication Critical patent/CN107256170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

This application discloses the method and apparatus of the activation input method setting option for terminal device.One embodiment of this method includes:Satisfaction in response to determining preparatory condition, determines whether the input method setting option of input method application is active;In response to determining that input method setting option is not in state of activation, the device identification of terminal device is sent to first server, so that first server generates the active information of input method setting option, and send device identification and active information to second server, second server is searched the first length by device identification and connected, and sent active information to terminal device by the first length connection, wherein, the first length connection is the long connection pre-established between second server and terminal device;In response to receiving active information, input method setting option is activated using active information.The embodiment realizes rapidly activation input method setting option.

Description

Method and apparatus for the activation input method setting option of terminal device
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, more particularly, to terminal device Activation input method setting option method and apparatus.
Background technology
With the development of science and technology, Mobile operating system IOS has been widely used in mobile phone, tablet personal computer, calculating In the multiple terminal equipment such as machine.Due to being limited by technology, the input method installed in the operating system of more than IOS8 versions should With being to realize that but Keyboard Extension do not have right of recording by Keyboard Extension (expanded keyboard) Limit, therefore speech voice input function can not be realized.
In order to realize sound-recording function on the terminal device using IOS, existing input method application is equal Input method setting option can be set, recorded using input method setting option and speech recognition.
However, input method setting option may be carried out clearing up manually to terminal device, operated in terminal device shutdown, user System resource is killed when reclaiming by operating system, so as to lead to not proceed recording and speech recognition.So When input method setting option is manslaughtered, how rapidly to activate input method setting option just becomes most important.
The content of the invention
The purpose of the embodiment of the present application is to propose a kind of improved activation input method setting option for terminal device Method and apparatus, to solve the technical problem that background section above is mentioned.
In a first aspect, a kind of method that the embodiment of the present application provides activation input method setting option for terminal device, This method includes:Whether the satisfaction in response to determining preparatory condition, determine the input method setting option of input method application in activation State;In response to determining that input method setting option is not in state of activation, the device identification of terminal device is sent to the first clothes It is engaged in device, so that first server generates the active information of input method setting option, and device identification and active information is sent to the Two servers, second server is searched the first length by device identification and connected, and is sent active information by the first length connection To terminal device, wherein, the first length connection is the long connection pre-established between second server and terminal device;In response to connecing Active information is received, input method setting option is activated using active information.
In certain embodiments, preparatory condition includes at least one of following:User performs the input for starting input method application The operation of panel;User performs the operation for the phonetic entry pattern for starting input method application;And current point in time reaches each The default detection time point of default detection cycle.
In certain embodiments, determine whether the input method setting option of input method application is active, including:To defeated The input method setting option for entering method application sends first message;If received in preset time period input method setting option return with Corresponding second message of first message, it is determined that input method setting option is active;If not connect in preset time period Receive the second message of input method setting option return, it is determined that input method setting option is not in state of activation.
In certain embodiments, determine whether the input method setting option of input method application is active, including:Obtain The identification list for the program currently run;If there is the mark of input method setting option in identification list, it is determined that input method is set Item is active;If the mark of input method setting option is not present in identification list, it is determined that input method setting option is not place In state of activation.
In certain embodiments, determine whether the input method setting option of input method application is active, including:Utilize TIP detects the state of the first shared file, wherein, the first shared file is the TIP and input method previously generated Shared file between setting option, the state of the first shared file includes lock-out state and released state;If the first shared file It is in the lock state, it is determined that input method setting option is active;If the first shared file is in released state, it is determined that Input method setting option is not in state of activation.
In certain embodiments, this method also includes:If input method setting option is active, set using input method Item receives the voice of user's input, and voice is identified to obtain text corresponding with voice;Shown using TIP Text corresponding with voice.
Second aspect, the embodiment of the present application provides a kind of device of activation input method setting option for terminal device, The device includes:Determining unit, is configured to the satisfaction in response to determining preparatory condition, determines that the input method of input method application is set Put whether item is active;Transmitting element, is configured in response to determining that input method setting option is not in state of activation, The device identification of terminal device is sent to first server, so that the activation letter of first server generation input method setting option Breath, and device identification and active information are sent to second server, second server is searched the first length by device identification and connected Connect, and sent active information to terminal device by the first length connection, wherein, first to grow connection be second server and terminal The long connection pre-established between equipment;Unit is activated, is configured in response to receiving active information, is swashed using active information Input method setting option living.
In certain embodiments, preparatory condition includes at least one of following:User performs the input for starting input method application The operation of panel;User performs the operation for the phonetic entry pattern for starting input method application;And current point in time reaches each The default detection time point of default detection cycle.
In certain embodiments, determining unit, including:Transmission sub-unit, is configured to the input method applied to input method Setting option sends first message;First determination subelement, if being configured to receive input method setting option in preset time period The second message corresponding with first message returned, it is determined that input method setting option is active;Second determination subelement, If being configured to be not received by the second message of input method setting option return in preset time period, it is determined that input method is set Item is not in state of activation.
In certain embodiments, determining unit, including:Subelement is obtained, is configured to obtain the program currently run Identification list;3rd determination subelement, if being configured to the mark that there is input method setting option in identification list, it is determined that input Method setting option is active;4th determination subelement, if being configured in identification list in the absence of input method setting option Mark, it is determined that input method setting option is not in state of activation.
In certain embodiments, determining unit, including:Detection sub-unit, is configured to utilize TIP detection first The state of shared file, wherein, the first shared file is shared between the TIP and input method setting option previously generated File, the state of the first shared file includes lock-out state and released state;5th determination subelement, is total to if being configured to first Enjoy file to be in the lock state, it is determined that input method setting option is active;6th determination subelement, if being configured to One shared file is in released state, it is determined that input method setting option is not in state of activation.
In certain embodiments, the device also includes:Recognition unit, if being configured to input method setting option is in activation shape State, the voice of user's input is received using input method setting option, and voice is identified to obtain text corresponding with voice; Display unit, is configured to show text corresponding with voice using TIP.
The third aspect, the embodiment of the present application provides a kind of terminal device, and the terminal device includes:One or more processing Device;Storage device, for storing one or more programs;When one or more programs are executed by one or more processors, make Obtain method of the one or more processors realization as described in any implementation in first aspect.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, realizes the method as described in any implementation in first aspect when the computer program is executed by processor.
The method and apparatus for the activation input method setting option for terminal device that the embodiment of the present application is provided, it is determined that pre- If in the case of the satisfaction of condition, whether terminal device can determine the input method setting option of input method application in activation shape State;In the case of it is determined that input method setting option is not in state of activation, terminal device can be by the equipment mark of terminal device Know and send to first server;After device identification is received, first server can generate the activation letter of input method setting option Breath, and device identification and active information are sent to second server;Second server can pass through received equipment mark Know and search the first length connection, and sent active information to terminal device by the first length connection;Terminal device can utilize institute The active information activation input method setting option received.It is achieved thereby that rapidly activating input method setting option.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the embodiment of the present application can apply to exemplary system architecture figure therein;
Fig. 2 is the stream of one embodiment of the method for the activation input method setting option for terminal device according to the application Cheng Tu;
Fig. 3 is an application of the method for the activation input method setting option for terminal device according to the embodiment of the present application The schematic diagram of scene;
Fig. 4 is another embodiment of the method for the activation input method setting option for terminal device according to the application Flow chart;
Fig. 5 is the knot of one embodiment of the device of the activation input method setting option for terminal device according to the application Structure schematic diagram;
Fig. 6 is adapted for the structural representation of the computer system of the terminal device for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to Be easy to description, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for the activation input method setting option for terminal device of the application or for end The exemplary system architecture 100 of the embodiment of the device of the activation input method setting option of end equipment.
As shown in figure 1, system architecture 100 can include terminal device 101, first server 102, second server 103 With network 104.Network 104 between terminal device 101, first server 102 and second server 103 to provide communication chain The medium on road.Network 104 can include various connection types, such as wired, wireless communication link or fiber optic cables etc..
Terminal device 101 can be provided with input method application various electronic equipments, including but not limited to smart mobile phone, Tablet personal computer, pocket computer on knee and desktop computer etc..
First server 102 can be to provide the server of various services, such as input to being installed on terminal device 101 Method application provides the backstage input method server supported.Backstage input method server can be to receiving from terminal device 101 The data such as device identification analyze etc. processing, and by result (such as device identification and active information) transmission to second Server 103.
Second server 103 can be to provide the server of various services, for example, send sending out notice to terminal device 101 Backstage sending out notice server.Backstage sending out notice server can be by being received from first server 102 equipment The length connection of identifier lookup first, and sent active information to terminal device 101 by the first length connection, so that terminal device 101 activate input method setting option using the active information received from second server 103.
It should be noted that the method for the activation input method setting option for terminal device that the embodiment of the present application is provided Typically performed by terminal device 101, correspondingly, the device for the activation input method setting option of terminal device is generally positioned at end In end equipment 101.
It should be understood that the number of the terminal device, first server, second server and network in Fig. 1 is only signal Property.According to needs are realized, can have any number of terminal device, first server, second server and network.
With continued reference to Fig. 2, the method for the activation input method setting option for terminal device according to the application is shown The flow 200 of one embodiment.This is used for the method for the activation input method setting option of terminal device, comprises the following steps:
Step 201, determine whether preparatory condition meets.
In the present embodiment, the method for the activation input method setting option of terminal device runs terminal device thereon (such as the terminal device 101 shown in Fig. 1) can determine whether preparatory condition meets.If it is determined that the satisfaction of preparatory condition, then after It is continuous to perform step 202;If it is determined that being unsatisfactory for for preparatory condition, then terminate.
In some optional implementations of the present embodiment, preparatory condition can include but is not limited to following at least one :
1st, user performs the operation for the TIP for starting input method application.Wherein, input method application can be mounted in Third party's input method application on terminal device.TIP can include but is not limited at least one of following:It is dummy keyboard, defeated Enter frame, the corresponding button of various input patterns etc..As an example, when user clicks on the icon or input method of input method application During the input frame of application, then illustrate that user performs the operation for the TIP for starting input method application, now just meet pre- If condition.
2nd, user performs the operation for the phonetic entry pattern for starting input method application.As an example, input method application is defeated Button corresponding with phonetic entry pattern can be provided with by entering on panel, when user clicks on button corresponding with phonetic entry pattern When, then illustrate that user performs the operation for the phonetic entry pattern for starting input method application, now just meet preparatory condition.Its In, input method application can include a variety of input patterns, for example, Pinyin Input pattern, the Five-stroke Method input pattern, handwriting input Pattern and phonetic entry pattern etc..Button corresponding with input pattern can be physical button or virtual key.
3rd, current point in time reaches the default detection time point of each default detection cycle.Here, terminal device can week Detect to phase property whether preparatory condition meets.Specifically, terminal device can pre-set each detection cycle and each inspection The detection time point in survey cycle;Then current point in time and the detection time point of each detection cycle are compared;Finally, if Current point in time is identical with the detection time point of a detection cycle, then illustrates that current point in time reaches a default detection week The default detection time point of phase, now just meets preparatory condition.
Step 202, determine whether the input method setting option of input method application is active.
In the present embodiment, it is determined that in the case of the satisfaction of preparatory condition, terminal device can determine input method application Input method setting option whether be active.If it is determined that input method setting option is not in state of activation, then continue executing with Step 203.Wherein, input method setting option has a variety of functions, for example, setting the input mode of input method application, setting input The input pattern of method application, recorded and speech recognition etc..Input mode can include transverse screen input mode and portrait layout is inputted Mode etc..State of activation is that input method setting option is in normal operating condition.
In the present embodiment, whether terminal device can determine input method setting option in activation shape by various modes State.
In some optional implementations of the present embodiment, the input method that terminal device can be applied to input method is set Item sends first message;If the return of input method setting option is received in preset time period corresponding with first message second disappears Breath, it is determined that input method setting option is active;If being not received by the return of input method setting option in preset time period The second message, it is determined that input method setting option is not in state of activation.If as an example, being sent to input method setting option In 2 seconds after first message, terminal device receives the second message of input method setting option return, then illustrates that input method is set It is active;If in 2 seconds after sending first message to input method setting option, terminal device is not received by input The second message that method setting option is returned, then illustrate that input method is set and be not in state of activation.
In some optional implementations of the present embodiment, terminal device can obtain the mark for the program currently run List;If there is the mark of input method setting option in identification list, it is determined that input method setting option is active;If mark The mark of input method setting option is not present in list, it is determined that input method setting option is not in state of activation.Wherein, program Mark is made up of numeral, letter, symbol etc., can be used for unique mark program.The mark of input method setting option can be used for Unique identification input method setting option.
In some optional implementations of the present embodiment, terminal device can be shared using TIP detection first The state of file;If the first shared file is in the lock state, it is determined that input method setting option is active;If first is total to Enjoy file and be in released state, it is determined that input method setting option is not in state of activation.Wherein, the first shared file is advance Shared file between the TIP and input method setting option of generation, the state of the first shared file can include lock-out state And released state.As an example, input method setting option can call a file locking instruction every preset duration, by first Shared file locks preset duration;If input method setting option is active, the first shared file will always be in locking State;If input method setting option is not in state of activation, the first shared file can be automatic after locking preset duration Unblock, and it is constantly in released state.
Step 203, the device identification of terminal device is sent to first server, so that first server generates input method The active information of setting option, and device identification and active information are sent to second server, second server passes through equipment mark Know and search the first length connection, and sent active information to terminal device by the first length connection.
In the present embodiment, in the case of it is determined that input method setting option is not in state of activation, first, terminal device The device identification of terminal device can be obtained, and device identification is sent to first server;Then, first server can give birth to Sent into the active information of input method setting option, and by device identification and active information to second server;Finally, second service Device can find the connection of the first length by device identification, and be sent active information to terminal device by the first length connection.
In the present embodiment, after user installs input method application on the terminal device, input method setting option can be obtained The device identification of terminal device is taken, and is written into the shared text that the various applications installed on terminal device can be accessed mutually In part.In the case of it is determined that input method setting option is not in state of activation, terminal device can be obtained from shared file Device identification.Wherein, device identification is made up of numeral, letter, symbol etc., can be used for unique mark equipment.
In the present embodiment, first server can be the background server of input method application, and it can generate activation letter Breath.Wherein, active information is that the data structure specification of the sending out notice that can be pushed according to second server is generated, and be can be used for Activate input method setting option.
In the present embodiment, second server can be sending out notice server, can be connected by the first length to terminal Equipment pushes various notify.Wherein, the first length connection is the long connection pre-established between second server and terminal device.
Step 204, in response to receiving active information, input method setting option is activated using active information.
In the present embodiment, in the case where receiving active information, terminal device can utilize received activation Information activation input method setting option.
With continued reference to Fig. 3, Fig. 3 is the side of the activation input method setting option for terminal device according to the embodiment of the present application One schematic diagram of the application scenarios of method.In Fig. 3 application scenarios, it is determined that what the satisfaction and input method of preparatory condition were applied In the case that input method setting option is not in state of activation, terminal device 301 can be by the device identification of terminal device 301 304 send to first server 302;After device identification 304 is received, first server 302 can generate input method setting The active information 305 of item, and device identification 304 and active information 305 are sent to second server 303;Second server 303 The first length connection 306 can be searched by received device identification 304, and 306 are connected by active information by the first length 305 send to terminal device 301;Terminal device 301 can be set using the received activation input method of active information 305 .
The method for the activation input method setting option for terminal device that the embodiment of the present application is provided, it is determined that preparatory condition Satisfaction in the case of, terminal device can determine input method application input method setting option whether be active;True Determine in the case that input method setting option is not in state of activation, terminal device the device identification of terminal device can be sent to First server;After device identification is received, first server can generate the active information of input method setting option, and will set Standby mark and active information are sent to second server;Second server can search first by received device identification Long connection, and sent active information to terminal device by the first length connection;Terminal device can be swashed using received Information activation input method setting option living.It is achieved thereby that rapidly activating input method setting option.
With further reference to Fig. 4, it illustrates another reality of the method for the activation input method setting option for terminal device Apply the flow 400 of example.This is used for the flow 400 of the method for the activation input method setting option of terminal device, comprises the following steps:
Step 401, determine whether preparatory condition meets.
In the present embodiment, the method for the activation input method setting option of terminal device runs terminal device thereon (such as the terminal device 101 shown in Fig. 1) can determine whether preparatory condition meets.If it is determined that the satisfaction of preparatory condition, then after It is continuous to perform step 402;If it is determined that being unsatisfactory for for preparatory condition, then terminate.
Step 402, determine whether the input method setting option of input method application is active.
In the present embodiment, it is determined that in the case of the satisfaction of preparatory condition, terminal device can determine input method application Input method setting option whether be active.If it is determined that input method setting option is not in state of activation, then continue executing with Step 403;If it is determined that input method setting option is active, then execution step 405 is directly redirected.
Step 403, the device identification of terminal device is sent to first server, so that first server generates input method The active information of setting option, and device identification and active information are sent to second server, second server passes through equipment mark Know and search the first length connection, and sent active information to terminal device by the first length connection.
In the present embodiment, in the case of it is determined that input method setting option is not in state of activation, first, terminal device The device identification of terminal device can be obtained, and device identification is sent to first server;Then, first server can give birth to Sent into the active information of input method setting option, and by device identification and active information to second server;Finally, second service Device can find the connection of the first length by device identification, and be sent active information to terminal device by the first length connection. Wherein, the first length connection is the long connection pre-established between second server and terminal device.
Step 404, in response to receiving active information, input method setting option is activated using active information.
In the present embodiment, in the case where receiving active information, terminal device can utilize received activation Information activation input method setting option.
Step 405, the voice of user's input is received using input method setting option, and voice is identified to obtain and language The corresponding text of sound.
In the present embodiment, in the case where input method setting option is active, terminal device can utilize input Method sets the voice for receiving user's input, and voice is carried out speech recognition to obtain text corresponding with voice.
Step 406, text corresponding with voice is shown using TIP.
In the present embodiment, terminal device can show text corresponding with voice using TIP.Specifically, terminal Equipment can be included text corresponding with voice in the input frame on TIP.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, the activation for terminal device in the present embodiment The flow 400 of the method for input method setting option adds step 405 and step 406.Thus, the scheme of the present embodiment description is defeated Enter in the case that method setting option is active, terminal device can set the language for receiving user's input first with input method Sound, and voice is carried out speech recognition to obtain text corresponding with voice;Then show corresponding with voice using TIP Text.So as to realize the phonetic entry of terminal device.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, set this application provides one kind for terminal One embodiment of the device of standby activation input method setting option, the device embodiment is relative with the embodiment of the method shown in Fig. 2 Should, the device specifically can apply in various electronic equipments.
As shown in figure 5, the device 500 of the activation input method setting option for terminal device of the present embodiment can include: Determining unit 501, transmitting element 502 and activation unit 503.Wherein it is determined that unit 501, is configured to default in response to determining The satisfaction of condition, determines whether the input method setting option of input method application is active;Transmitting element 502, is configured to In response to determining that input method setting option is not in state of activation, the device identification of terminal device is sent to first server, So that first server generates the active information of input method setting option, and device identification and active information are sent to second service Device, second server is searched the first length by device identification and connected, and is sent active information to terminal by the first length connection Equipment, wherein, the first length connection is the long connection pre-established between second server and terminal device;Unit 503 is activated, is matched somebody with somebody Put in response to receiving active information, input method setting option to be activated using active information.
In the present embodiment, determining unit 501 can be it is determined that in the case of the satisfaction of preparatory condition, determine that input method should Whether input method setting option is active.
In some optional implementations of the present embodiment, preparatory condition can include but is not limited to following at least one :User performs the operation for the TIP for starting input method application;User performs the phonetic entry mould for starting input method application The operation of formula;And current point in time reaches the default detection time point of each default detection cycle.
In some optional implementations of the present embodiment, determining unit 501 can include:Transmission sub-unit is (in figure It is not shown), the input method setting option for being configured to apply to input method sends first message;First determination subelement is (in figure not Show), if be configured to receive the return of input method setting option in preset time period corresponding with first message second disappears Breath, it is determined that input method setting option is active;Second determination subelement (not shown), if being configured to default The second message of input method setting option return is not received by period, it is determined that input method setting option is not in activating shape State.
In some optional implementations of the present embodiment, determining unit 501 can include:Subelement is obtained (in figure It is not shown), it is configured to obtain the identification list for the program currently run;3rd determination subelement (not shown), configuration If for there is the mark of input method setting option in identification list, it is determined that input method setting option is active;4th is true Stator unit (not shown), if being configured to be not present the mark of input method setting option in identification list, it is determined that input Method setting option is not in state of activation.
In some optional implementations of the present embodiment, determining unit 501 can include:Detection sub-unit is (in figure It is not shown), it is configured to detect the state of the first shared file using TIP, wherein, the first shared file is pre- Mr. Into TIP and input method setting option between shared file, the state of the first shared file includes lock-out state and unblock State;5th determination subelement (not shown), is in the lock state if being configured to the first shared file, it is determined that input Method setting option is active;6th determination subelement (not shown), if being configured to the first shared file is in solution Lock status, it is determined that input method setting option is not in state of activation.
In the present embodiment, in the case where determining unit 501 determines that input method setting option is not in state of activation, hair Send unit 502 to obtain the device identification of terminal device, and device identification is sent to first server, so that first service Device generates the active information of input method setting option, and device identification and active information are sent to second server, second service Device is searched the first length by device identification and connected, and is sent active information to terminal device by the first length connection.Wherein, One length connection is the long connection pre-established between second server and terminal device.
In the present embodiment, in the case where receiving active information, activation unit 503 can be swashed using received Information activation input method setting option living.
In some optional implementations of the present embodiment, the device for the activation input method setting option of terminal device 500 can also include:Recognition unit (not shown), is active if being configured to input method setting option, using defeated Enter method setting option and receive the voice of user's input, and voice is identified to obtain text corresponding with voice;Display unit (not shown), is configured to show text corresponding with voice using TIP.
The device for the activation input method setting option for terminal device that the embodiment of the present application is provided, it is determined that preparatory condition Satisfaction in the case of, determining unit can determine input method application input method setting option whether be active;True Determine in the case that input method setting option is not in state of activation, transmitting element the device identification of terminal device can be sent to First server, so that first server generates the active information of input method setting option, and device identification and active information is sent out Second server is delivered to, and second server is searched the first length by device identification and connected, and activation is believed by the first length connection Breath is sent to terminal device;Activating unit can be using received active information activation input method setting option.So as to realize Rapidly activate input method setting option.
Below with reference to Fig. 6, it illustrates suitable for for the computer system 600 for the terminal device for realizing the embodiment of the present application Structural representation.Terminal device shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model Shroud carrys out any limitation.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be read-only according to being stored in Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and Perform various appropriate actions and processing.In RAM 603, the system that is also stored with 600 operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Including such as liquid crystal Show the output par, c 607 of device (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.;And including such as LAN The communications portion 609 of the NIC of card, modem etc..Communications portion 609 is performed via the network of such as internet Communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as disk, CD, magneto-optic Disk, semiconductor memory etc., are arranged on driver 610, in order to the computer program root read from it as needed Part 608 is stored according to needing to be mounted into.
Especially, in accordance with an embodiment of the present disclosure, the process described above with reference to flow chart may be implemented as computer Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality Apply in example, the computer program can be downloaded and installed by communications portion 609 from network, and/or from detachable media 611 are mounted.When the computer program is performed by CPU (CPU) 601, perform what is limited in the present processes Above-mentioned functions.
It should be noted that the above-mentioned computer-readable medium of the application can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded execution system, device or device and use or in connection.And at this In application, computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limit In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for Used by instruction execution system, device or device or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or above-mentioned Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, the part of the module, program segment or code is used comprising one or more In the executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, being marked in square frame The function of note can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actually It can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note Meaning, the combination of each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart can be with holding The special hardware based system of function or operation as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag Include determining unit, transmitting element and activation unit.Wherein, the title of these units is not constituted to the unit under certain conditions The restriction of itself, for example, determining unit is also described as, " satisfaction in response to determining preparatory condition determines that input method should The unit whether input method setting option is active ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be Included in terminal device described in above-described embodiment;Can also be individualism, and without be incorporated the terminal device in. Above computer computer-readable recording medium carries one or more program, when said one or multiple programs are held by the terminal device During row so that the terminal device:In response to determine preparatory condition satisfaction, determine input method application input method setting option whether It is active;In response to determining that input method setting option is not in state of activation, the device identification of terminal device is sent To first server, so that first server generates the active information of input method setting option, and by device identification and active information Send to second server, second server is searched the first length by device identification and connected, and will activation by the first length connection Information is sent to terminal device, wherein, the first length connection is the long connection pre-established between second server and terminal device; In response to receiving active information, input method setting option is activated using active information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, is carried out by above-mentioned technical characteristic or its equivalent feature Other technical schemes formed by any combination.Such as features described above has similar work(with (but not limited to) disclosed herein The technical characteristic of energy carries out technical scheme formed by replacement mutually.

Claims (14)

1. a kind of method of activation input method setting option for terminal device, it is characterised in that methods described includes:
Satisfaction in response to determining preparatory condition, determines whether the input method setting option of input method application is active;
In response to determining that the input method setting option is not in the state of activation, the device identification of the terminal device is sent out First server is delivered to, so that the first server generates the active information of the input method setting option, and by the equipment Mark and the active information are sent to second server, and the second server is searched the first length by the device identification and connected Connect, and sent the active information to the terminal device by the described first length connection, wherein, described first, which grows connection, is The long connection pre-established between the second server and the terminal device;
In response to receiving the active information, the input method setting option is activated using the active information.
2. according to the method described in claim 1, it is characterised in that the preparatory condition includes at least one of following:
User performs the operation for the TIP for starting the input method application;
User performs the operation for the phonetic entry pattern for starting the input method application;And
Current point in time reaches the default detection time point of each default detection cycle.
3. according to the method described in claim 1, it is characterised in that whether the input method setting option for determining input method application It is active, including:
The input method setting option applied to input method sends first message;
If receiving the second message corresponding with the first message that the input method setting option is returned in preset time period, Then determine that the input method setting option is active;
If being not received by second message that the input method setting option is returned in the preset time period, it is determined that institute State input method setting option and be not in the state of activation.
4. according to the method described in claim 1, it is characterised in that whether the input method setting option for determining input method application It is active, including:
Obtain the identification list for the program currently run;
If there is the mark of input method setting option in the identification list, it is determined that the input method setting option is in activation shape State;
If the mark of the input method setting option is not present in the identification list, it is determined that the input method setting option is not place In the state of activation.
5. according to the method described in claim 1, it is characterised in that whether the input method setting option for determining input method application It is active, including:
The state of the first shared file is detected using TIP, wherein, first shared file is previously generate described Shared file between TIP and the input method setting option, the state of first shared file include lock-out state and Released state;
If first shared file is in the lock-out state, it is determined that the input method setting option is active;
If first shared file is in the released state, it is determined that the input method setting option is not in the activation State.
6. the method according to one of claim 1-5, it is characterised in that methods described also includes:
If the input method setting option is in the state of activation, the language of user's input is received using the input method setting option Sound, and the voice is identified to obtain text corresponding with the voice;
Text corresponding with the voice is shown using the TIP.
7. the device of a kind of activation input method setting option for terminal device, it is characterised in that described device includes:
Determining unit, is configured to the satisfaction in response to determining preparatory condition, determines the input method setting option of input method application and is It is no to be active;
Transmitting element, is configured in response to determining that the input method setting option is not in the state of activation, by the end The device identification of end equipment is sent to first server, so that the first server generates the activation of the input method setting option Information, and the device identification and the active information are sent to second server, the second server is set by described Standby identifier lookup first grows connection, and is sent the active information to the terminal device by the described first length connection, its In, the first length connection is the long connection pre-established between the second server and the terminal device;
Unit is activated, is configured in response to receiving the active information, the input method is activated using the active information Setting option.
8. device according to claim 7, it is characterised in that the preparatory condition includes at least one of following:
User performs the operation for the TIP for starting the input method application;
User performs the operation for the phonetic entry pattern for starting the input method application;And
Current point in time reaches the default detection time point of each default detection cycle.
9. device according to claim 7, it is characterised in that the determining unit, including:
Transmission sub-unit, the input method setting option for being configured to apply to input method sends first message;
First determination subelement, if be configured to receive in preset time period the input method setting option returns with it is described Corresponding second message of first message, it is determined that the input method setting option is active;
Second determination subelement, if being configured to be not received by the input method setting option return in the preset time period Second message, it is determined that the input method setting option is not in the state of activation.
10. device according to claim 7, it is characterised in that the determining unit, including:
Subelement is obtained, is configured to obtain the identification list for the program currently run;
3rd determination subelement, if being configured to the mark that there is input method setting option in the identification list, it is determined that described Input method setting option is active;
4th determination subelement, if being configured to be not present the mark of the input method setting option in the identification list, really The fixed input method setting option is not in the state of activation.
11. device according to claim 7, it is characterised in that the determining unit, including:
Detection sub-unit, is configured to detect the state of the first shared file using TIP, wherein, the described first shared text Part is the shared file between the TIP and the input method setting option previously generated, first shared file State includes lock-out state and released state;
5th determination subelement, if being configured to first shared file is in the lock-out state, it is determined that the input Method setting option is active;
6th determination subelement, if being configured to first shared file is in the released state, it is determined that the input Method setting option is not in the state of activation.
12. the device according to one of claim 7-11, it is characterised in that described device also includes:
Recognition unit, if being configured to the input method setting option is in the state of activation, utilizes the input method setting option The voice of user's input is received, and the voice is identified to obtain text corresponding with the voice;
Display unit, is configured to show text corresponding with the voice using the TIP.
13. a kind of terminal device, it is characterised in that the terminal device includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processors are real The existing method as described in any in claim 1-6.
14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The method as described in any in claim 1-6 is realized when being executed by processor.
CN201710458447.7A 2017-06-16 2017-06-16 Method and device for activating input method setting items of terminal equipment Active CN107256170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710458447.7A CN107256170B (en) 2017-06-16 2017-06-16 Method and device for activating input method setting items of terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710458447.7A CN107256170B (en) 2017-06-16 2017-06-16 Method and device for activating input method setting items of terminal equipment

Publications (2)

Publication Number Publication Date
CN107256170A true CN107256170A (en) 2017-10-17
CN107256170B CN107256170B (en) 2020-11-24

Family

ID=60023120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710458447.7A Active CN107256170B (en) 2017-06-16 2017-06-16 Method and device for activating input method setting items of terminal equipment

Country Status (1)

Country Link
CN (1) CN107256170B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173910A (en) * 2017-12-18 2018-06-15 网宿科技股份有限公司 A kind of method and system for managing application

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003296315A (en) * 2002-03-29 2003-10-17 Hitachi Koukiyou Syst Eng Kk METHOD AND DEVICE FOR INPUTTING EXTERNAL CHARACTER IN Web SYSTEM
CN101694608A (en) * 2008-12-04 2010-04-14 北京搜狗科技发展有限公司 Input method and system of same
CN102207816A (en) * 2010-07-16 2011-10-05 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN102929401A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Method and device for processing input method application resource or function based on input behavior
CN103336650A (en) * 2013-06-05 2013-10-02 百度在线网络技术(北京)有限公司 Method and device for adjusting input method panel of mobile terminal
CN103902213A (en) * 2012-12-27 2014-07-02 ***通信集团河南有限公司 Text information generating method and device
CN104850237A (en) * 2014-02-19 2015-08-19 马舜尧 Method for generating and processing derived candidate item in input method
CN105279267A (en) * 2015-10-23 2016-01-27 广州视睿电子科技有限公司 Data caching method and device
CN106201015A (en) * 2016-07-08 2016-12-07 百度在线网络技术(北京)有限公司 Pronunciation inputting method based on input method application software and device
CN106776073A (en) * 2016-12-16 2017-05-31 北京奇虎科技有限公司 Wearable device and its task execution control method and device
CN106850605A (en) * 2017-01-20 2017-06-13 北京云知声信息技术有限公司 A kind of data processing method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003296315A (en) * 2002-03-29 2003-10-17 Hitachi Koukiyou Syst Eng Kk METHOD AND DEVICE FOR INPUTTING EXTERNAL CHARACTER IN Web SYSTEM
CN101694608A (en) * 2008-12-04 2010-04-14 北京搜狗科技发展有限公司 Input method and system of same
CN102207816A (en) * 2010-07-16 2011-10-05 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN102929401A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Method and device for processing input method application resource or function based on input behavior
CN103902213A (en) * 2012-12-27 2014-07-02 ***通信集团河南有限公司 Text information generating method and device
CN103336650A (en) * 2013-06-05 2013-10-02 百度在线网络技术(北京)有限公司 Method and device for adjusting input method panel of mobile terminal
CN104850237A (en) * 2014-02-19 2015-08-19 马舜尧 Method for generating and processing derived candidate item in input method
CN105279267A (en) * 2015-10-23 2016-01-27 广州视睿电子科技有限公司 Data caching method and device
CN106201015A (en) * 2016-07-08 2016-12-07 百度在线网络技术(北京)有限公司 Pronunciation inputting method based on input method application software and device
CN106776073A (en) * 2016-12-16 2017-05-31 北京奇虎科技有限公司 Wearable device and its task execution control method and device
CN106850605A (en) * 2017-01-20 2017-06-13 北京云知声信息技术有限公司 A kind of data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈艇 等: ""在VB实现中英文输入法的自动切换"", 《数字技术与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173910A (en) * 2017-12-18 2018-06-15 网宿科技股份有限公司 A kind of method and system for managing application
CN108173910B (en) * 2017-12-18 2021-06-22 网宿科技股份有限公司 Method and system for managing application

Also Published As

Publication number Publication date
CN107256170B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN107357914B (en) Information processing method and device
CN107393541A (en) Information Authentication method and apparatus
CN107622135A (en) Method and apparatus for display information
CN105447204A (en) Website recognition method and apparatus
CN108229704A (en) For the method and apparatus of pushed information
CN108737243A (en) Conversation message quality detecting method and device
CN107766747A (en) Method, mobile terminal and the server of verification Application program installation kit integrality
CN109934191A (en) Information processing method and device
CN107770380A (en) Information processing method and device
CN109408754A (en) Processing method, device, electronic equipment and the storage medium of web page operation data
CN112397057A (en) Voice processing method, device, equipment and medium based on generation countermeasure network
CN110336781A (en) A kind of method and apparatus based on browser identification terminal uniqueness
CN106445743A (en) Data backup transmission method and mobile terminal
CN105701198B (en) Page verification method and device
CN104346550A (en) Information processing method and electronic equipment
CN108021816B (en) Electronic device test method and device, storage medium and electronic device
CN109408748A (en) Method and apparatus for handling information
CN108089870A (en) For repairing the method and apparatus of application
CN107895573A (en) Method and device for identification information
CN105978878B (en) Webpage verification using data-hiding technology method and device
CN107256170A (en) Method and apparatus for the activation input method setting option of terminal device
CN108182180A (en) For generating the method and apparatus of information
US9483280B2 (en) Information processing apparatus, program, and information processing system
CN109947526A (en) Method and apparatus for output information
CN108810105A (en) For pushed information, the method and apparatus for showing information

Legal Events

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