WO2018054321A1 - Character input method, electronic device and intelligent terminal - Google Patents

Character input method, electronic device and intelligent terminal Download PDF

Info

Publication number
WO2018054321A1
WO2018054321A1 PCT/CN2017/102660 CN2017102660W WO2018054321A1 WO 2018054321 A1 WO2018054321 A1 WO 2018054321A1 CN 2017102660 W CN2017102660 W CN 2017102660W WO 2018054321 A1 WO2018054321 A1 WO 2018054321A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
input
smart terminal
electronic device
edit box
Prior art date
Application number
PCT/CN2017/102660
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 WO2018054321A1 publication Critical patent/WO2018054321A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Definitions

  • the present disclosure relates to the field of electronic device technologies, for example, to a character input method, an electronic device, and an intelligent terminal.
  • a method for implementing a character string input in a set top box is generally as follows.
  • the input method module built in the set top box is called, and the input method module is controlled by using a button on the remote control panel, by means of the remote controller and the The input method module inputs the target character string one by one in the set top box;
  • the external keyboard is connected to the set top box, and the target character string is input one by one in the set top box by means of the button on the external keyboard.
  • the present disclosure provides a character input method, an electronic device, and an intelligent terminal.
  • a shortcut input of a complex character string in a set top box is realized, a process of interactive input between a user and a set top box is simplified, and a user interaction input is reduced. Time has improved the user's interactive experience.
  • an input method comprising:
  • the focus cursor is detected in the edit box
  • the sending the character editing request to the smart terminal that establishes the connection includes:
  • the character edit request including the character content two is sent to the smart terminal establishing the connection.
  • the method before the sending the character editing request to the smart terminal that establishes the connection, the method further includes:
  • the sending a connection establishment request to the smart terminal includes:
  • a connection establishment request is sent to the smart terminal via Bluetooth or WIFI.
  • the filling the first character content into the edit box comprises: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit frame.
  • an input method comprising:
  • an input method comprising:
  • the set top box detects that the focus cursor is located in the edit box, and sends a character edit request to the smart terminal that establishes the connection;
  • the smart terminal receives the character editing request, pops up an input edit box, and calls up an input method; receives a character content input by the user in the input edit box; receives a determination command input by the user, and reads the input edit
  • the character content of the box is sent to the set top box by the character content information including the character content one;
  • the set top box receives the character content information that is sent by the smart terminal and includes the character content one; parses the character content information to obtain the character content one; and fills the character content into the edit box.
  • an input system comprising:
  • a detection module configured to detect that the focus cursor is located in the edit box
  • a request sending module configured to send a character editing request to the smart terminal establishing the connection
  • An information receiving module configured to receive character content information sent by the smart terminal according to the character editing request
  • a parsing module configured to parse the character content information to obtain a character content one
  • the request sending module is set to:
  • the character edit request including the character content two is sent to the smart terminal establishing the connection.
  • an input system comprising:
  • the request receiving module is configured to receive a character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box;
  • the input method calls up the module, sets the pop-up input edit box, and calls up the input method
  • a character content receiving module configured to receive a character content input by the user in the input edit box
  • the information sending module is configured to receive a determination command input by the user, read the character content of the input edit box, and send the character content information including the character content one to the set top box, so that the set top box will The character content is filled in the edit box.
  • an input system comprising:
  • the input subsystem applied to the set top box is configured to detect that the focus cursor is located in the edit box, and send a character edit request to the smart terminal that establishes the connection;
  • An input subsystem applied to the smart terminal configured to receive the character editing request, pop up an input edit box, and call up an input method; receive a character content input by the user in the input edit box; receive the user input Determining a command, reading the character content of the input edit box, and transmitting the character content information including the character content one to the set top box;
  • the input subsystem applied to the set top box is further configured to receive character content information including the character content 1 sent by the smart terminal; parse the character content information to obtain a character content 1; Enter the edit box.
  • the embodiment further provides a character input method, which is applied to an electronic device, and includes:
  • the target character is input to the character edit box.
  • the method further includes:
  • the character edit request includes the input character.
  • the method before the step of sending a character editing request to the smart terminal that establishes a connection with the electronic device, the method further includes:
  • the step of inputting the target character into the character edit box includes:
  • the target character is input to the character edit box using the input method application.
  • the embodiment further provides a character input method, which is applied to the smart terminal, and includes:
  • the character editing request includes a character that has been input in the character edit box.
  • receiving an electronic device that establishes a connection with the smart terminal when detecting that the focus cursor is located Before the steps of the character edit request sent by the character edit box, it also includes:
  • the embodiment further provides an electronic device, including:
  • a detection module configured to detect whether the focus of the cursor is in a character edit box
  • a request sending module configured to send a character editing request to the smart terminal establishing a connection with the electronic device when the cursor focus is located in the character edit box;
  • An information receiving module configured to receive character editing information sent by the smart terminal according to the character editing request
  • a parsing module configured to parse the character editing information to obtain a target character to be input
  • An input module configured to input the target character into the character edit box.
  • it also includes:
  • Entering a character judging module configured to, after the step of detecting that the cursor focus is within the character edit box, and before the step of transmitting a character edit request to the smart terminal establishing a connection with the electronic device, Determining whether there is an input character in the character edit box;
  • the character edit request includes the input character.
  • it also includes:
  • connection requesting module configured to send a connection establishment request to the smart terminal before the step of transmitting a character editing request to the smart terminal establishing a connection with the electronic device
  • the connection determining module is configured to determine whether a connection is established with the smart terminal within a preset time period
  • the application calling module is set to invoke the input method application of the electronic device configuration if no connection is established.
  • the input module includes:
  • a target character sending unit configured to send the target character to an input method application of the electronic device configuration
  • the target character input unit is configured to input the target character into the character edit box by using the input method.
  • the embodiment further provides an intelligent terminal, including:
  • the request receiving module is configured to receive a character editing request sent by the electronic device when detecting that the focus cursor is located in the character edit box;
  • the input method application calling module is set to pop up an input character edit box, and the input method application is called up;
  • a target character receiving module configured to receive a target character input in the input character edit box
  • the information sending module is configured to: when the determining command is detected, read the target character in the input character edit box, and send the character edit information including the target character to the electronic device, so that the electronic device The target character is entered into the character edit box.
  • the character editing request includes the input character in the character edit box.
  • the method before receiving, by the electronic device that establishes a connection with the smart terminal, the step of detecting a character editing request sent by the focus cursor when the focus cursor is located in the character edit box, the method further includes:
  • the embodiment further provides a computer readable storage medium, configured in the electronic device, and storing computer executable instructions for performing the method of any one of the electronic device side.
  • the embodiment further provides an electronic device, including a communication interface; at least one processor;
  • a memory communicatively coupled to the at least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to perform the method of any of the above.
  • the embodiment further provides a computer readable storage medium, configured in the smart terminal, and storing computer executable instructions for performing the method according to any one of the smart terminal sides.
  • the embodiment further provides an intelligent terminal, including a communication interface; at least one processor;
  • a memory communicatively coupled to the at least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to perform the method of any of the above.
  • the present disclosure establishes a connection with an intelligent terminal, realizes fast input of a complex character string in a set top box, simplifies the process of interactive input between the user and the set top box, reduces time for user interaction input, and improves user interaction experience. .
  • 1 is a flow chart of a method of a first embodiment of an input method provided in this embodiment.
  • FIG. 2 is a flow chart of a method of a second embodiment of an input method provided in this embodiment.
  • FIG. 3 is a flow chart of a method of a third embodiment of an input method provided in this embodiment.
  • FIG. 4 is a flow chart of a method of a fourth embodiment of an input method provided in this embodiment.
  • FIG. 5 is a flow chart of a method of a fifth embodiment of an input method provided in this embodiment.
  • Figure 6 is a block diagram showing the structure of a first embodiment of an input system provided in the present embodiment.
  • Figure 7 is a block diagram showing the structure of a second embodiment of an input system provided in the present embodiment.
  • Figure 8 is a block diagram showing the structure of a third embodiment of an input system provided in the present embodiment.
  • FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a smart terminal according to an embodiment of the present disclosure.
  • FIG. 1 is a flow chart of a method of a first embodiment of an input method provided in this embodiment. As shown in FIG. 1, the character input method includes: S110-S180.
  • the electronic device detects whether its own cursor focus is within the character edit box.
  • the electronic device when the electronic device detects that the cursor focus is located in the character edit box, the electronic device sends a character edit request to the smart terminal that establishes a connection with the electronic device.
  • the smart terminal receives the character editing request sent by the established electronic device when detecting that the focus cursor is located in the character edit box.
  • the smart terminal pops up the input character edit box and calls up the input method application.
  • the input method application may be a local input method application or a cloud input method application.
  • the smart terminal receives the target character input by the user in the input character edit box.
  • the smart terminal when the smart terminal detects the determination command, the smart terminal reads the target character in the input character edit box, and transmits the character edit information including the target character to the electronic device.
  • the determining command may be sent by the user to the smart terminal.
  • the electronic device receives the character editing information sent by the smart terminal according to the character editing request.
  • the electronic device parses the character editing information, obtains a target character to be input, and inputs the target character into the character editing frame.
  • the execution body of this embodiment is an electronic device, such as a set top box. As shown in FIG. 2, the method includes:
  • the set-top box detects the position of the focus cursor in real time. When it is detected that the focus cursor is located in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box, and then sends a character edit request to the smart terminal that establishes the connection, that is, Execute S220.
  • the focus cursor refers to the above cursor focus.
  • the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection. If there is no character content 2 in the edit box, a character edit request may be sent to the smart terminal establishing the connection. In this way, when there is no character content in the edit box, the character edit request is directly sent; when there is character content in the edit box, if the user performs an edit operation such as adding, deleting, modifying, etc. with the input character content, as long as the edit is included
  • the character editing request of the character content in the box can be sent to the smart terminal.
  • the smart terminal comprises a handheld terminal, such as a smart phone, a tablet or a palmtop computer.
  • the smart terminal pops up an input edit box and calls up an input method. If the character content information includes character content, the included character content is displayed in an input edit box, and the user utilizes the smart terminal.
  • the input method inputs character content or edits the character content in the input edit box.
  • the smart terminal receives the determination command input by the user, and then sends the character content information to the set top box. Accordingly, the set top box receives the smart terminal according to the smart terminal.
  • the character edits the character content information requested by the character.
  • the set-top box monitors whether the smart terminal sends character content information through the socket Socket.
  • the character content information is parsed to obtain character content one.
  • the set top box receives the smart terminal to send the character content information, parses the character content information, and obtains the character content one. It should be noted that the character content here is different from the character content of the edit box in S220.
  • the character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S220. Character content.
  • the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box.
  • the embodiment uses the input method on the smart terminal by establishing a connection with the smart terminal. Completing the input of complex strings, and then sending the input character content to the set-top box, realizing the fast input of complex strings in the set-top box, simplifying the process of interactive input between the user and the set-top box, reducing the time for user interaction input, and improving the user's Interactive experience.
  • FIG. 3 is a flowchart of a method of a third embodiment of an input method provided in this embodiment. As shown, the method includes:
  • the set-top box detects the position of the focus cursor in real time. When it detects that the focus cursor is in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box.
  • the sending a connection establishment request to the smart terminal includes: sending a connection establishment request to the smart terminal by using Bluetooth or WIFI.
  • the set-top box and the smart terminal can be connected to the same local area network through the WIFI hotspot to connect; or can be interconnected through Bluetooth. Users can choose to establish a connection with the set-top box via Bluetooth or WIFI according to their needs or habits.
  • the smart terminal is a smart phone, a tablet computer or a palmtop computer.
  • S201 and S202 and S203 have no certain order, and may execute S202 and S203 first, and then execute S201; or S202 and S201 may be executed first, and then S203 is executed; however, it is determined that the connection request must be sent and the connection is determined successfully. S204 is executed after the connection is established.
  • the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection. If there is no character content 2 in the edit box, a character edit request may be sent to the smart terminal establishing the connection. In this way, when there is no character content in the edit box, the character edit request is directly sent; when there is character content in the edit box, if the user performs an edit operation such as adding, deleting, modifying, etc. with the input character content, as long as the edit is included The character editing request of the character content in the box can be sent to the smart terminal.
  • the smart terminal After receiving the character editing request, the smart terminal pops up the input edit box and calls up the input method. If the character content information contains the character content, the included character content is displayed in the input edit box, and the user inputs through the smart terminal.
  • Method using the convenience of the touch operation of the smart terminal, in the edit box Quickly enter the target characters one by one. For example, the user should input a webpage address composed of a complex string: "http://wengengmiao.baijia.baidu.com/article/558596", and the user can conveniently input the above character content through the interactive interface of the input method of the smart terminal.
  • the character content information is parsed to obtain character content one.
  • the set top box receives the smart terminal to send the character content information, parses the character content information, and obtains the character content one. It should be noted that the character content here is different from the character content of the edit box in S204.
  • the character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S204. Character content.
  • the filling the first character content into the edit box may include: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit box.
  • the set top box obtains the character content one
  • the character content is filled into the edit box, and the user will see the previously input character content in the edit box.
  • the character content "http://wengengmiao.baijia.baidu.com/article/558596" input by the user in the S205 using the smart terminal is displayed in the browser webpage address editing column of the set top box terminal.
  • the local input method of the set-top box or the cloud input method is called out for input.
  • the convenience and the touchability of the smart terminal are skillfully utilized.
  • the set top box needs to input the character content
  • the user conveniently inputs the character content through the smart terminal input method module, and uses WIFI or The Bluetooth content is transmitted to the set-top box, the set-top box terminal receives the character content, and the character string content input by the user is presented in the related function module.
  • This embodiment provides an input method for the user to interact with the set-top box, and implements a complex character string in the set-top box.
  • the quick input in the middle simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
  • FIG. 4 is a flowchart of a method of a fourth embodiment of an input method provided in this embodiment.
  • the execution entity of this embodiment is a smart terminal.
  • the smart terminal is a smart phone, a tablet computer or a palmtop computer.
  • the method includes:
  • a set-top box that establishes a connection is received to detect a character editing request sent when the focus cursor is located in the edit box.
  • the set-top box detects the position of the focus cursor in real time. When it is detected that the focus cursor is located in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box, and then sends a connection connection request to the smart terminal, correspondingly, The smart terminal receives the set-up box that establishes the connection, and detects the character editing request sent when the focus cursor is located in the edit box.
  • the method before receiving the character editing request sent by the set top box when the focus cursor is located in the edit box, the method further includes: receiving the connection establishment request sent by the set top box.
  • Smart terminals and set-top boxes can be interconnected via Bluetooth or WIFI.
  • the set top box that receives the connection establishment sends a character edit request including the character content two.
  • the smart terminal receiver sends a character edit request to the top box; when there is character content in the edit box, if the user performs an edit operation such as adding, deleting, modifying, etc. with the input character content, then A character editing request sent by the smart terminal receiver top box containing the character content in the edit box.
  • the smart terminal After receiving the character editing request, the smart terminal pops up the input edit box and calls up the input method. If the character content information contains the character content, the included character content is displayed in the input edit box.
  • the user utilizes the convenience of the touch operation of the smart terminal, and inputs the target characters one by one in the edit box conveniently and quickly.
  • the user should input a webpage address composed of a complex string: "http://wengengmiao.baijia.baidu.com/article/558596", and the user can conveniently input the above character content through the interactive interface of the input method of the smart terminal. .
  • S304 receiving a determination command input by the user, reading the character content 1 in the input edit box, and transmitting the character content information including the character content one to the set top box, so that the set top box displays the character content. Fill in the edit box.
  • the character content here is different from the character content of the edit box in S302.
  • the character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S302. Character content.
  • the set-top box monitors whether the smart terminal has character content information sent through the socket Socket.
  • the set top box receives the smart terminal to send the character content information, parses the character content information, and obtains the character content.
  • the character content is then filled into the edit box.
  • the set top box transmits the character content one to the local input method module, and the local input method module fills the character content into the edit box.
  • the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box.
  • the character webpage "http://wengengmiao.baijia.baidu.com/article/558596" input by the user in the S303 using the smart terminal is displayed in the browser webpage address editing column of the set top box terminal.
  • the convenience and the touchability of the smart terminal are skillfully utilized.
  • the set top box needs to input the character content
  • the user conveniently inputs the character content through the smart terminal input method module, and uses WIFI or The Bluetooth content is transmitted to the set-top box, the set-top box terminal receives the character content, and the character string content input by the user is presented in the related function module.
  • This embodiment provides an input method for the user to interact with the set-top box, and implements a complex character string in the set-top box.
  • the quick input in the middle simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
  • FIG. 5 is a flowchart of a method of a fifth embodiment of an input method provided in this embodiment.
  • the embodiment is implemented based on the entire input system formed by the set top box and the smart terminal, and the smart terminal is a smart phone, a tablet computer or a palmtop computer.
  • the method includes:
  • the set-top box detects the position of the focus cursor in real time. When it is detected that the focus cursor is located in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box, and then sends a character edit request to the smart terminal that establishes the connection. And the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection. If there is no character content 2 in the edit box, a character edit request may be sent to the smart terminal establishing the connection.
  • the method before the sending the character editing request to the smart terminal that establishes the connection, the method further includes: sending a connection establishment request to the smart terminal.
  • the set top box can send a connection establishment request to the smart terminal via Bluetooth or WIFI.
  • the set-top box and the smart terminal can be connected to the same local area network through the WIFI hotspot to connect; or can be interconnected through Bluetooth. Users can choose to establish a connection with the set-top box via Bluetooth or WIFI according to their needs or habits.
  • the step of detecting the position of the focus cursor in real time by the set top box has no order relationship with the sending connection request to the smart terminal, and may first detect the location where the focus cursor is located, and then send a connection establishment request to the smart terminal; Can The connection establishment request is sent to the smart terminal, and then the location where the focus cursor is located is detected; or both are performed simultaneously.
  • the method further includes: determining whether the connection is successfully established with the smart terminal, and if successful, continuing to perform the The step of establishing a connected smart terminal to send a character editing request; if it fails, the local input method is called up and input.
  • the smart terminal is a smart phone, a tablet computer or a palmtop computer.
  • the smart terminal receives the character editing request, pops up an input edit box, and calls up an input method; receives a character content input by the user in the input edit box; receives a determination command input by the user, and reads
  • the character content of the input edit box is sent to the set top box by the character content information including the character content one.
  • the user utilizes the convenience of the touch operation of the smart terminal, and inputs the target characters one by one in the edit box conveniently and quickly.
  • the user should input a webpage address composed of a complex string: "http://wengengmiao.baijia.baidu.com/article/558596", and the user can conveniently input the above character content through the interactive interface of the input method of the smart terminal.
  • character content here is different from the character content of the edit box in S401.
  • the character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S401. Character content.
  • the set top box receives the character content information that is sent by the smart terminal and includes the character content one; parses the character content information to obtain the character content one; and fills the character content into the edit box.
  • the set top box receives the character content information sent by the smart terminal, parses the character content information, and obtains the character content one, and fills the character content into the edit box.
  • the filling the first character content into the edit box may include: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit box.
  • the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box.
  • the character webpage "http://wengengmiao.baijia.baidu.com/article/558596" input by the user in the S402 using the smart terminal is displayed in the browser webpage address editing column of the set top box terminal.
  • the set-top box and the smart terminal establish a connection through WIFI or Bluetooth, and the convenience and the touchability of the smart terminal are skillfully utilized.
  • the input method module conveniently inputs the character content, and transmits the character content to the set top box
  • the set top box terminal receives the character content, and presents the string content input by the user in the related function module.
  • This embodiment provides an input method for the user to interact with the set top box. The scenario realizes the fast input of complex strings in the set-top box, simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
  • FIG. 6 is a structural block diagram of a first embodiment of an input system provided in the present embodiment. This embodiment is implemented on the basis of the second embodiment and the third embodiment of an input method provided in the specific embodiment of the present disclosure. For details not in this embodiment, please refer to the foregoing input method.
  • the second embodiment and the third embodiment. As shown, the system can be a set top box, including:
  • the detecting module 51 is configured to detect that the focus cursor is located in the edit box.
  • the request sending module 52 is configured to send a character editing request to the smart terminal establishing the connection.
  • the request sending module 52 is configured to: if the edit box has the character content 2, send a character editing request including the character content 2 to the smart terminal establishing the connection.
  • the request sending module 52 is configured to send a connection establishment request to the smart terminal by using Bluetooth or WIFI.
  • the information receiving module 53 is configured to receive character content information sent by the smart terminal according to the character editing request.
  • the parsing module 54 is configured to parse the character content information to obtain the character content one.
  • the filling module 55 is arranged to fill the character box into the edit box.
  • the system also includes:
  • the connection request sending module 56 is configured to send a connection establishment request to the smart terminal.
  • the connection judging module 57 is configured to determine whether the connection with the smart terminal is successfully established.
  • the request sending module 52 is configured to: if the connection determining module 57 determines that the smart terminal successfully establishes a connection, send a character editing request to the established smart terminal.
  • the present embodiment intelligently utilizes the convenience and touchability of the smart terminal by establishing a connection with the smart terminal.
  • the user conveniently inputs the character content through the smart terminal input method module. And transfer the character content to the set-top box by means of WIFI or Bluetooth.
  • the set-top terminal receives the character content, presents the string content input by the user in the relevant function module, realizes the quick input of the complex character string in the set-top box, simplifies the process of interactive input between the user and the set-top box, and reduces the time when the user inputs the interaction. , improve the user's interactive experience.
  • FIG. 7 is a structural block diagram of a second embodiment of an input system provided in the present embodiment.
  • This embodiment is implemented on the basis of the third embodiment of an input method provided in the specific embodiment of the present disclosure.
  • the system can be a smart terminal, including:
  • the request receiving module 61 is configured to receive a character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box.
  • the input method calls up the module 62, sets the pop-up input edit box, and calls up the input method.
  • the smart terminal After receiving the character editing request, the smart terminal pops up the input edit box and calls up the input method. If the character content information contains the character content, the included character content is displayed in the input edit box.
  • the character content receiving module 63 is configured to receive the character content one input by the user in the input edit box.
  • the information sending module 64 is configured to receive a determination command input by the user, read the character content 1 in the input edit box, and send the character content information including the character content one to the set top box, so that the set top box will be The character content is filled in the edit box.
  • the set-top box monitors whether the smart terminal has character content information sent through the socket Socket.
  • the set top box receives the smart terminal to send the character content information, parses the character content information, obtains the character content one, and then fills the character content into the edit box.
  • the set top box transmits the character content one to the local input method module, and the local input method module fills the character content into the edit box.
  • the system also includes:
  • the connection request receiving module 65 is configured to receive the connection establishment request sent by the set top box. If the connection is successful, the request receiving module 61 receives the character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box.
  • Smart terminals and set-top boxes can be interconnected via Bluetooth or WIFI.
  • the input system provided by the embodiment is applicable to the application scenario in which the user interacts with the set-top box, and the connection between the smart terminal and the set-top box is utilized, and the convenience and touchability of the smart terminal are skillfully utilized.
  • the set-top box needs to input the character content
  • the user conveniently inputs the character content through the intelligent terminal input method module, and transmits the character content to the set-top box by using WIFI or Bluetooth, thereby realizing the quick input of the complex character string in the set-top box, simplifying the interaction between the user and the set-top box.
  • the input process reduces the time for user interaction to input complex strings, improving the user's interaction experience with the set-top box.
  • FIG. 8 is a structural block diagram of a third embodiment of an input system provided in this embodiment. This embodiment is implemented on the basis of the fourth embodiment of an input method provided in the specific embodiment. For the detailed content in this embodiment, please refer to the fourth embodiment of the foregoing input method. As shown, the system includes:
  • the input subsystem 71 applied to the set top box is configured to detect that the focus cursor is located in the edit box, and send a character edit request to the smart terminal that establishes the connection.
  • the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection.
  • the input subsystem 71 applied to the set top box before the input subsystem 71 applied to the set top box sends a character editing request to the smart terminal establishing the connection, it is further configured to: send a connection establishment request to the smart terminal.
  • the input subsystem 71 applied to the set top box can send a connection establishment request to the input subsystem 72 applied to the smart terminal via Bluetooth or WIFI.
  • the input subsystem 71 After the input subsystem 71 applied to the set-top box sends a connection establishment request to the smart terminal, before sending the character editing request to the smart terminal establishing the connection, the input subsystem 71 is further configured to: determine whether the smart terminal successfully establishes a connection with the smart terminal. If successful, the step of sending a character editing request to the established smart terminal is continued; if it fails, the local input method is called up and input is performed.
  • the input subsystem 72 applied to the smart terminal is configured to receive the character editing request, pop up an input edit box, and call up an input method; receive a character content input by the user in the input edit box; receive user input And determining the character content of the input edit box, and transmitting the character content information including the character content one to the set top box.
  • the smart terminal is a smart phone, a tablet computer or a palmtop computer.
  • the input subsystem 71 applied to the set top box is further configured to receive character content information including the character content 1 sent by the smart terminal; parse the character content information to obtain a character content 1; Fill in the edit box.
  • the filling the first character content into the edit box may include: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit box. After the set top box obtains the character content one, the character content is filled into the edit box, and the user will The edit box sees the previously entered character content.
  • the input system provided by the embodiment is applicable to the application scenario in which the user interacts with the set-top box, and the input subsystem applied to the set-top box and the input subsystem applied to the smart terminal establish a connection through WIFI or Bluetooth, and the smart use is utilized.
  • the convenience and touchability of the smart terminal When the set-top box needs to input character content, the user conveniently inputs the character content through the intelligent terminal input method module, and transmits the character content to the set-top box, thereby realizing the shortcut of the complex character string in the set-top box.
  • the input simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
  • the embodiment further provides a computer readable storage medium, configured in the electronic device, and storing computer executable instructions for executing the input method on the electronic device side of the above embodiment.
  • the embodiment further provides a computer readable storage medium, which is disposed in the smart terminal and stores computer executable instructions, and the computer executable instructions are used to execute the input method on the smart terminal side of the foregoing embodiment.
  • FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present invention.
  • the electronic device provided in this embodiment may include a processor 801 and a memory 803, and may further include a communication interface 802 and a bus 804.
  • the processor 801, the communication interface 802, and the memory 803 can complete communication with each other through the bus 804.
  • Communication interface 802 can be used for information transmission.
  • the processor 801 can call logic instructions in the memory 803 to perform the input method of the above embodiment.
  • the logic instructions in the memory 803 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • a medium that can store program code, or a transitory storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • FIG. 10 is a structural block diagram of a smart terminal according to an embodiment of the present disclosure.
  • the smart terminal provided in this embodiment may include: a processor 901 and a memory 903, and may also include communication. Interfaces 902 and bus 904.
  • the processor 901, the communication interface 902, and the memory 903 can complete communication with each other through the bus 904.
  • Communication interface 902 can be used for information transmission.
  • the processor 901 can call logic instructions in the memory 903 to perform the input method of the above embodiment.
  • the logic instructions in the memory 903 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • a medium that can store program code, or a transitory storage medium including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the disclosure establishes a connection with the intelligent terminal, realizes the fast input of the complex character string in the set top box, simplifies the process of the user inputting with the set top box, reduces the time when the user inputs the interaction, and improves the interaction experience of the user.

Abstract

A character input method, applied to an electronic device, comprising: detecting whether a cursor focus of the electronic device is located in a character editing box; sending, when it is detected that the cursor focus is located in the character editing box, a character editing request to an intelligent terminal that establishes a connection to the electronic device; receiving character editing information sent by the intelligent terminal according to the character editing request; parsing the character editing information to obtain a target character to be input; and inputting the target character into the character editing box.

Description

字符输入方法、电子设备及智能终端Character input method, electronic device and intelligent terminal 技术领域Technical field
本公开涉及电子设备技术领域,例如涉及一种字符输入方法、电子设备及智能终端。The present disclosure relates to the field of electronic device technologies, for example, to a character input method, an electronic device, and an intelligent terminal.
背景技术Background technique
在随着数字电视技术的日益发展,传统的电视收看方式正在发生改变,数字电视业务逐步呈现出多样化和智能化的趋势,越来越多的功能需要用户与机顶盒和/或电视机之间进行交互才能完成,用户主要通过机顶盒电视机进行交互。With the development of digital TV technology, the traditional TV viewing mode is changing, and the digital TV business is gradually showing a trend of diversification and intelligence. More and more functions need to be between users and set-top boxes and/or TV sets. The interaction can be completed, and the user interacts mainly through the set-top box television.
相关技术中,用户在机顶盒中实现字符串输入的方法,通常存在如下两种:方案一,调用机顶盒内置的输入法模块,使用遥控器面板上的按键控制该输入法模块,借助遥控器和该输入法模块,在机顶盒中逐个输入目标字符串;方案二,将外置键盘接入机顶盒,借助外置键盘上的按键在机顶盒中逐个输入目标字符串。In the related art, a method for implementing a character string input in a set top box is generally as follows. In the first method, the input method module built in the set top box is called, and the input method module is controlled by using a button on the remote control panel, by means of the remote controller and the The input method module inputs the target character string one by one in the set top box; in the second method, the external keyboard is connected to the set top box, and the target character string is input one by one in the set top box by means of the button on the external keyboard.
但是,对于方案一,由于遥控器面板的物理空间较小,面板上布局的按键数目较少,导致无法实现英文字母和特殊字符的完整布局,在实现较为复杂的字符串输入时,往往需要通过操作遥控器的方向键,控制字符选择光标在机顶盒的输入法模块中多次来回移动,以选择目标字符,来完成目标字符串的输入。这种方法需要用户操作遥控器按键的步骤繁多,输入字符串的效率极低,大大影响了用户的交互体验效果。对于方案二,由于外置键盘的体积较大,用户使用起来需要靠双手操作才能完成,而且很多外设键盘是有线键盘,外置键盘的摆放和与机顶盒的连接较为繁琐,影响用户操作使用的方便性。However, for the first solution, since the physical space of the remote control panel is small, the number of keys arranged on the panel is small, which makes it impossible to realize the complete layout of the English alphabet and the special characters. When implementing a relatively complicated character string input, it is often necessary to pass Operate the direction button of the remote control, and control the character selection cursor to move back and forth multiple times in the input method module of the set-top box to select the target character to complete the input of the target character string. This method requires a lot of steps for the user to operate the remote control button, and the input string is extremely inefficient, which greatly affects the user's interactive experience. For the second solution, because the external keyboard is large in size, the user needs to operate by two hands to complete, and many peripheral keyboards are wired keyboards. The placement of the external keyboard and the connection with the set top box are cumbersome, affecting the user operation. Convenience.
发明内容Summary of the invention
本公开提供了一种字符输入方法、电子设备及智能终端,通过与智能终端建立连接,实现复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入时的时间,提高了用户的交互体验。The present disclosure provides a character input method, an electronic device, and an intelligent terminal. By establishing a connection with a smart terminal, a shortcut input of a complex character string in a set top box is realized, a process of interactive input between a user and a set top box is simplified, and a user interaction input is reduced. Time has improved the user's interactive experience.
本公开采用以下技术方案:The present disclosure adopts the following technical solutions:
第一方面,提供了一种输入方法,该方法,包括:In a first aspect, an input method is provided, the method comprising:
检测出焦点光标位于编辑框; The focus cursor is detected in the edit box;
向建立连接的智能终端发送字符编辑请求;Sending a character editing request to the smart terminal establishing the connection;
接收所述智能终端根据所述字符编辑请求发送的字符内容信息;Receiving character content information sent by the smart terminal according to the character editing request;
解析所述字符内容信息,得到字符内容一;Parsing the character content information to obtain a character content one;
将所述字符内容一填入所述编辑框。Filling the character content into the edit box.
可选的,所述向建立连接的智能终端发送字符编辑请求,包括:Optionally, the sending the character editing request to the smart terminal that establishes the connection includes:
若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。If the edit box has the character content two, the character edit request including the character content two is sent to the smart terminal establishing the connection.
可选的,所述向建立连接的智能终端发送字符编辑请求之前,还包括:Optionally, before the sending the character editing request to the smart terminal that establishes the connection, the method further includes:
向所述智能终端发送建立连接请求;Sending a connection establishment request to the smart terminal;
判断与所述智能终端是否成功建立连接,若成功,则继续执行所述向建立连接的智能终端发送字符编辑请求的步骤;若失败,则调出本地输入法;Determining whether the smart terminal successfully establishes a connection with the smart terminal, and if successful, continuing to perform the step of sending a character editing request to the smart terminal establishing the connection; if not, calling the local input method;
所述向所述智能终端发送建立连接请求,包括:The sending a connection establishment request to the smart terminal includes:
通过蓝牙或WIFI向所述智能终端发送建立连接请求。A connection establishment request is sent to the smart terminal via Bluetooth or WIFI.
可选的,所述将所述第一字符内容填入所述编辑框,包括:将所述字符内容一传送到本地输入法模块,本地输入法模块将所述字符内容一填入所述编辑框。Optionally, the filling the first character content into the edit box comprises: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit frame.
第二方面,提供了一种输入方法,该方法,包括:In a second aspect, an input method is provided, the method comprising:
接收建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求;Receiving a character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box;
弹出输入编辑框,并调出输入法;Pop up the input edit box and call up the input method;
接收到用户在所述输入编辑框中输入的字符内容一;Receiving a character content input by the user in the input edit box;
接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒,以使机顶盒将所述字符内容一填入所述编辑框。Receiving a determination command input by the user, reading the character content 1 in the input edit box, and transmitting the character content information including the character content one to the set top box, so that the set top box fills in the character content Said edit box.
第三方面,提供了一种输入方法,该方法,包括:In a third aspect, an input method is provided, the method comprising:
机顶盒检测出焦点光标位于编辑框时,向建立连接的智能终端发送字符编辑请求;The set top box detects that the focus cursor is located in the edit box, and sends a character edit request to the smart terminal that establishes the connection;
智能终端接收所述字符编辑请求,弹出输入编辑框,并调出输入法;接收到用户在所述输入编辑框中输入的字符内容一;接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒; The smart terminal receives the character editing request, pops up an input edit box, and calls up an input method; receives a character content input by the user in the input edit box; receives a determination command input by the user, and reads the input edit The character content of the box is sent to the set top box by the character content information including the character content one;
机顶盒接收所述智能终端发送的包含所述字符内容一的字符内容信息;解析所述字符内容信息,得到字符内容一;将所述字符内容一填入所述编辑框。The set top box receives the character content information that is sent by the smart terminal and includes the character content one; parses the character content information to obtain the character content one; and fills the character content into the edit box.
第四方面,提供了一种输入系统,该系统,包括:In a fourth aspect, an input system is provided, the system comprising:
检测模块,设置为检测出焦点光标位于编辑框;a detection module, configured to detect that the focus cursor is located in the edit box;
请求发送模块,设置为向建立连接的智能终端发送字符编辑请求;a request sending module, configured to send a character editing request to the smart terminal establishing the connection;
信息接收模块,设置为接收所述智能终端根据所述字符编辑请求发送的字符内容信息;An information receiving module, configured to receive character content information sent by the smart terminal according to the character editing request;
解析模块,设置为解析所述字符内容信息,得到字符内容一;a parsing module configured to parse the character content information to obtain a character content one;
填入模块,设置为将所述字符内容一填入所述编辑框。Fill in the module, set to fill the edit box with the character content.
可选的,所述请求发送模块是设置为:Optionally, the request sending module is set to:
若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。If the edit box has the character content two, the character edit request including the character content two is sent to the smart terminal establishing the connection.
第五方面,提供了一种输入系统,该系统,包括:In a fifth aspect, an input system is provided, the system comprising:
请求接收模块,设置为接收建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求;The request receiving module is configured to receive a character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box;
输入法调出模块,设置为弹出输入编辑框,并调出输入法;The input method calls up the module, sets the pop-up input edit box, and calls up the input method;
字符内容接收模块,设置为接收到用户在所述输入编辑框中输入的字符内容一;a character content receiving module, configured to receive a character content input by the user in the input edit box;
信息发送模块,设置为接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒,以使机顶盒将所述字符内容一填入所述编辑框。The information sending module is configured to receive a determination command input by the user, read the character content of the input edit box, and send the character content information including the character content one to the set top box, so that the set top box will The character content is filled in the edit box.
第六方面,提供了一种输入系统,该系统,包括:In a sixth aspect, an input system is provided, the system comprising:
应用于机顶盒的输入子系统,设置为检测出焦点光标位于编辑框时,向建立连接的智能终端发送字符编辑请求;The input subsystem applied to the set top box is configured to detect that the focus cursor is located in the edit box, and send a character edit request to the smart terminal that establishes the connection;
应用于智能终端的输入子系统,设置为接收所述字符编辑请求,弹出输入编辑框,并调出输入法;接收到用户在所述输入编辑框中输入的字符内容一;接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒;An input subsystem applied to the smart terminal, configured to receive the character editing request, pop up an input edit box, and call up an input method; receive a character content input by the user in the input edit box; receive the user input Determining a command, reading the character content of the input edit box, and transmitting the character content information including the character content one to the set top box;
所述应用于机顶盒的输入子系统,还设置为接收所述智能终端发送的包含所述字符内容一的字符内容信息;解析所述字符内容信息,得到字符内容一;将所述字符内容一填入所述编辑框。 The input subsystem applied to the set top box is further configured to receive character content information including the character content 1 sent by the smart terminal; parse the character content information to obtain a character content 1; Enter the edit box.
本实施例还提供了一种字符输入方法,应用于电子设备,包括:The embodiment further provides a character input method, which is applied to an electronic device, and includes:
检测所述电子设备的光标焦点是否位于字符编辑框内;Detecting whether a cursor focus of the electronic device is located in a character edit box;
当检测所述光标焦点位于所述字符编辑框内时,向与所述电子设备建立连接的智能终端发送字符编辑请求;Sending a character editing request to the smart terminal establishing a connection with the electronic device when detecting that the cursor focus is located in the character edit box;
接收所述智能终端根据所述字符编辑请求发送的字符编辑信息;Receiving character editing information sent by the smart terminal according to the character editing request;
解析所述字符编辑信息,得到待输入的目标字符;以及Parsing the character editing information to obtain a target character to be input;
将所述目标字符输入所述字符编辑框。The target character is input to the character edit box.
可选的,所述检测出所述光标焦点位于所述字符编辑框内的步骤之后,以及所述向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,还包括:Optionally, after the step of detecting that the cursor focus is located in the character edit box, and the step of sending a character edit request to the smart terminal establishing a connection with the electronic device, the method further includes:
判断所述字符编辑框内是否存在已输入的字符;Determining whether there is an input character in the character edit box;
其中,若所述字符编辑框内存在已输入的字符,则所述字符编辑请求中包括所述已输入的字符。Wherein, if there is an input character in the character edit box, the character edit request includes the input character.
可选的,所述向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,还包括:Optionally, before the step of sending a character editing request to the smart terminal that establishes a connection with the electronic device, the method further includes:
向所述智能终端发送建立连接请求;Sending a connection establishment request to the smart terminal;
在预设时间内,判断与所述智能终端是否建立连接;以及Determining whether a connection is established with the smart terminal within a preset time;
若没有建立连接,则调用所述电子设备配置的输入法应用。If no connection is established, the input method application of the electronic device configuration is invoked.
可选的,所述将所述目标字符输入所述字符编辑框的步骤包括:Optionally, the step of inputting the target character into the character edit box includes:
发送所述目标字符至所述电子设备配置的输入法应用;以及Transmitting the target character to an input method application of the electronic device configuration;
利用所述输入法应用,将所述目标字符输入所述字符编辑框。The target character is input to the character edit box using the input method application.
本实施例还提供了一种字符输入方法,应用于智能终端,包括:The embodiment further provides a character input method, which is applied to the smart terminal, and includes:
接收与所述智能终端建立连接的电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求;Receiving, by the electronic device establishing a connection with the smart terminal, a character editing request sent when the focus cursor is located in the character edit box;
弹出输入字符编辑框,并调出输入法应用;Pop up the input character edit box and call up the input method application;
接收所述输入字符编辑框中输入的目标字符;以及Receiving a target character input in the input character edit box;
当检测到确定命令,则读取所述输入字符编辑框中的目标字符,将包含所述目标字符的字符编辑信息发送给所述电子设备,以使电子设备将所述目标字符输入所述字符编辑框。When the determining command is detected, reading the target character in the input character edit box, and transmitting the character edit information including the target character to the electronic device, so that the electronic device inputs the target character into the character Edit box.
可选的,所述字符编辑请求中包括所述字符编辑框内已输入的字符。Optionally, the character editing request includes a character that has been input in the character edit box.
可选的,接收与所述智能终端建立连接的电子设备当检测出焦点光标位于 字符编辑框时发送的字符编辑请求的步骤之前,还包括:Optionally, receiving an electronic device that establishes a connection with the smart terminal, when detecting that the focus cursor is located Before the steps of the character edit request sent by the character edit box, it also includes:
接收所述电子设备发送的建立连接请求。Receiving a connection establishment request sent by the electronic device.
本实施例还提供了一种电子设备,包括:The embodiment further provides an electronic device, including:
检测模块,设置为检测光标焦点是否位于字符编辑框;a detection module configured to detect whether the focus of the cursor is in a character edit box;
请求发送模块,设置为当所述光标焦点位于所述字符编辑框时,向与所述电子设备建立连接的智能终端发送字符编辑请求;a request sending module, configured to send a character editing request to the smart terminal establishing a connection with the electronic device when the cursor focus is located in the character edit box;
信息接收模块,设置为接收所述智能终端根据所述字符编辑请求发送的字符编辑信息;An information receiving module, configured to receive character editing information sent by the smart terminal according to the character editing request;
解析模块,设置为解析所述字符编辑信息,以得到待输入的目标字符;以及a parsing module configured to parse the character editing information to obtain a target character to be input;
输入模块,设置为将所述目标字符输入所述字符编辑框。An input module configured to input the target character into the character edit box.
可选的,还包括:Optionally, it also includes:
已输入字符判断模块,设置为在所述检测出所述光标焦点位于所述字符编辑框内的步骤之后,以及所述向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,判断所述字符编辑框内是否存在已输入的字符;Entering a character judging module, configured to, after the step of detecting that the cursor focus is within the character edit box, and before the step of transmitting a character edit request to the smart terminal establishing a connection with the electronic device, Determining whether there is an input character in the character edit box;
其中,若所述字符编辑框内存在已输入的字符,则所述字符编辑请求中包括所述已输入的字符。Wherein, if there is an input character in the character edit box, the character edit request includes the input character.
可选的,还包括:Optionally, it also includes:
连接请求模块,设置为在向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,向所述智能终端发送建立连接请求;以及a connection requesting module, configured to send a connection establishment request to the smart terminal before the step of transmitting a character editing request to the smart terminal establishing a connection with the electronic device;
连接判断模块,设置为在预设时间内,判断与所述智能终端是否建立连接;The connection determining module is configured to determine whether a connection is established with the smart terminal within a preset time period;
应用调用模块,设置为若没有建立连接,则调用所述电子设备配置的输入法应用。The application calling module is set to invoke the input method application of the electronic device configuration if no connection is established.
可选的,所述输入模块包括:Optionally, the input module includes:
目标字符发送单元,设置为发送所述目标字符至所述电子设备配置的输入法应用;以及a target character sending unit configured to send the target character to an input method application of the electronic device configuration;
目标字符输入单元,设置为利用所述输入法应用,将所述目标字符输入所述字符编辑框。The target character input unit is configured to input the target character into the character edit box by using the input method.
本实施例还提供了一种智能终端,包括:The embodiment further provides an intelligent terminal, including:
请求接收模块,设置为接收电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求; The request receiving module is configured to receive a character editing request sent by the electronic device when detecting that the focus cursor is located in the character edit box;
输入法应用调用模块,设置为弹出输入字符编辑框,并调出输入法应用;The input method application calling module is set to pop up an input character edit box, and the input method application is called up;
目标字符接收模块,设置为接收所述输入字符编辑框中输入的目标字符;以及a target character receiving module configured to receive a target character input in the input character edit box;
信息发送模块,设置为当检测到确定命令,则读取所述输入字符编辑框中的目标字符,将包含所述目标字符的字符编辑信息发送给所述电子设备,以使电子设备将所述目标字符输入所述字符编辑框。The information sending module is configured to: when the determining command is detected, read the target character in the input character edit box, and send the character edit information including the target character to the electronic device, so that the electronic device The target character is entered into the character edit box.
可选的,所述字符编辑请求中包括所述字符编辑框内的已输入的字符。Optionally, the character editing request includes the input character in the character edit box.
可选的,接收与所述智能终端建立连接的电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求的步骤之前,还包括:Optionally, before receiving, by the electronic device that establishes a connection with the smart terminal, the step of detecting a character editing request sent by the focus cursor when the focus cursor is located in the character edit box, the method further includes:
接收所述电子设备发送的建立连接请求。本实施例还提供了一种计算机可读存储介质,配置于电子设备内,存储有计算机可执行指令,所述计算机可执行指令用于执行上述电子设备侧的任一项所述的方法。Receiving a connection establishment request sent by the electronic device. The embodiment further provides a computer readable storage medium, configured in the electronic device, and storing computer executable instructions for performing the method of any one of the electronic device side.
本实施例还提供了一种电子设备,包括通信接口;至少一个处理器;以及The embodiment further provides an electronic device, including a communication interface; at least one processor;
与所述至少一个处理器通信连接的存储器;a memory communicatively coupled to the at least one processor;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,执行如上述任一项所述的方法。Wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to perform the method of any of the above.
本实施例还提供了一种计算机可读存储介质,配置于智能终端内,存储有计算机可执行指令,所述计算机可执行指令用于执行上述智能终端侧的任一项所述的方法。The embodiment further provides a computer readable storage medium, configured in the smart terminal, and storing computer executable instructions for performing the method according to any one of the smart terminal sides.
本实施例还提供了一种智能终端,包括通信接口;至少一个处理器;以及The embodiment further provides an intelligent terminal, including a communication interface; at least one processor;
与所述至少一个处理器通信连接的存储器;a memory communicatively coupled to the at least one processor;
其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,执行如上述任一项所述的方法。Wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to perform the method of any of the above.
与相关技术相比,本公开通过与智能终端建立连接,实现复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入时的时间,提高了用户的交互体验。Compared with related technologies, the present disclosure establishes a connection with an intelligent terminal, realizes fast input of a complex character string in a set top box, simplifies the process of interactive input between the user and the set top box, reduces time for user interaction input, and improves user interaction experience. .
附图概述BRIEF abstract
图1是本具体实施方式中提供的一种输入方法的第一实施例的方法流程图。1 is a flow chart of a method of a first embodiment of an input method provided in this embodiment.
图2是本具体实施方式中提供的一种输入方法的第二实施例的方法流程图。 2 is a flow chart of a method of a second embodiment of an input method provided in this embodiment.
图3是本具体实施方式中提供的一种输入方法的第三实施例的方法流程图。3 is a flow chart of a method of a third embodiment of an input method provided in this embodiment.
图4是本具体实施方式中提供的一种输入方法的第四实施例的方法流程图。4 is a flow chart of a method of a fourth embodiment of an input method provided in this embodiment.
图5是本具体实施方式中提供的一种输入方法的第五实施例的方法流程图。FIG. 5 is a flow chart of a method of a fifth embodiment of an input method provided in this embodiment.
图6是本具体实施方式中提供的一种输入系统的第一实施例的结构方框图。Figure 6 is a block diagram showing the structure of a first embodiment of an input system provided in the present embodiment.
图7是本具体实施方式中提供的一种输入系统的第二实施例的结构方框图。Figure 7 is a block diagram showing the structure of a second embodiment of an input system provided in the present embodiment.
图8是本具体实施方式中提供的一种输入系统的第三实施例的结构方框图。Figure 8 is a block diagram showing the structure of a third embodiment of an input system provided in the present embodiment.
图9为本实施例提供的电子设备的结构框图。FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present invention.
图10为本实施例提供的智能终端的结构框图。FIG. 10 is a structural block diagram of a smart terminal according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合附图对本实施例的技术方案作详细描述。The technical solutions of the present embodiment will be described in detail below with reference to the accompanying drawings.
图1是本具体实施方式中提供的一种输入方法的第一实施例的方法流程图。如图1所示,该字符输入方法,包括:S110-S180。1 is a flow chart of a method of a first embodiment of an input method provided in this embodiment. As shown in FIG. 1, the character input method includes: S110-S180.
在S110中,电子设备检测自身的光标焦点是否位于字符编辑框内。In S110, the electronic device detects whether its own cursor focus is within the character edit box.
在S120中,当电子设备检测到所述光标焦点位于所述字符编辑框内时,电子设备向与所述电子设备建立连接的智能终端发送字符编辑请求。In S120, when the electronic device detects that the cursor focus is located in the character edit box, the electronic device sends a character edit request to the smart terminal that establishes a connection with the electronic device.
在S130中,智能终端接收建立连接的电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求。In S130, the smart terminal receives the character editing request sent by the established electronic device when detecting that the focus cursor is located in the character edit box.
在S140中,智能终端弹出输入字符编辑框,并调出输入法应用。In S140, the smart terminal pops up the input character edit box and calls up the input method application.
其中,所述输入法应用可以是本地输入法应用或云输入法应用。The input method application may be a local input method application or a cloud input method application.
在S150中,智能终端接收用户在所述输入字符编辑框中输入的目标字符。In S150, the smart terminal receives the target character input by the user in the input character edit box.
在S160中,当智能终端检测到确定命令,则智能终端读取所述输入字符编辑框中的目标字符,并将包含所述目标字符的字符编辑信息发送给所述电子设备。其中,所述确定命令可以是用户发给智能终端的。In S160, when the smart terminal detects the determination command, the smart terminal reads the target character in the input character edit box, and transmits the character edit information including the target character to the electronic device. The determining command may be sent by the user to the smart terminal.
在S170中,电子设备接收所述智能终端根据所述字符编辑请求发送的字符编辑信息。In S170, the electronic device receives the character editing information sent by the smart terminal according to the character editing request.
在S180中,电子设备解析所述字符编辑信息,得到待输入的目标字符,并将所述目标字符输入所述字符编辑框。In S180, the electronic device parses the character editing information, obtains a target character to be input, and inputs the target character into the character editing frame.
图2是本具体实施方式中提供的一种输入方法的第二实施例的方法流程图。本实施例的执行主体为电子设备,例如机顶盒,如图2所示,该方法,包括:2 is a flow chart of a method of a second embodiment of an input method provided in this embodiment. The execution body of this embodiment is an electronic device, such as a set top box. As shown in FIG. 2, the method includes:
在S210中,检测焦点光标是否位于编辑框。 In S210, it is detected whether the focus cursor is located in the edit box.
机顶盒实时检测焦点光标所处的位置,当检测出焦点光标位于编辑框时,说明用户需要输入字符或需要对编辑框中的字符内容进行编辑,则向建立连接的智能终端发送字符编辑请求,即执行S220。其中,焦点光标是指上述光标焦点。The set-top box detects the position of the focus cursor in real time. When it is detected that the focus cursor is located in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box, and then sends a character edit request to the smart terminal that establishes the connection, that is, Execute S220. Among them, the focus cursor refers to the above cursor focus.
在S220中,当所述焦点光标位于所述编辑框时,向建立连接的智能终端发送字符编辑请求。In S220, when the focus cursor is located in the edit box, a character edit request is sent to the smart terminal establishing the connection.
所述向建立连接的智能终端发送字符编辑请求,包括:若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。若所述编辑框中没有字符内容二,则向建立连接的智能终端发送字符编辑请求即可。这样,当编辑框中有没有字符内容,则是直接发送字符编辑请求;当编辑框中有字符内容,若用户相对以输入的字符内容进行增加、删除、修改等编辑操作时,只要把包含编辑框中的字符内容的字符编辑请求发送给智能终端即可。可选地,所述智能终端包括手持终端,例如智能手机、平板电脑或掌上电脑等。And the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection. If there is no character content 2 in the edit box, a character edit request may be sent to the smart terminal establishing the connection. In this way, when there is no character content in the edit box, the character edit request is directly sent; when there is character content in the edit box, if the user performs an edit operation such as adding, deleting, modifying, etc. with the input character content, as long as the edit is included The character editing request of the character content in the box can be sent to the smart terminal. Optionally, the smart terminal comprises a handheld terminal, such as a smart phone, a tablet or a palmtop computer.
在S230中,接收所述智能终端根据所述字符编辑请求发送的字符内容信息。In S230, the character content information sent by the smart terminal according to the character editing request is received.
智能终端接收到所述字符编辑请求后,弹出输入编辑框,并调出输入法,若字符内容信息中包含字符内容,则会包含的字符内容显示在输入编辑框中,用户利用智能终端上的输入法在输入编辑框中输入字符内容或编辑已由的字符内容,编辑完成之后,智能终端接收到用户输入的确定命令,则向机顶盒发送字符内容信息,相应的,机顶盒接收所述智能终端根据所述字符编辑请求发送的字符内容信息。机顶盒通过套接字Socket监控智能终端是否字符内容信息发送过来。After receiving the character editing request, the smart terminal pops up an input edit box and calls up an input method. If the character content information includes character content, the included character content is displayed in an input edit box, and the user utilizes the smart terminal. The input method inputs character content or edits the character content in the input edit box. After the editing is completed, the smart terminal receives the determination command input by the user, and then sends the character content information to the set top box. Accordingly, the set top box receives the smart terminal according to the smart terminal. The character edits the character content information requested by the character. The set-top box monitors whether the smart terminal sends character content information through the socket Socket.
在S240中,解析所述字符内容信息,得到字符内容一。In S240, the character content information is parsed to obtain character content one.
机顶盒接收到智能终端发送字符内容信息,解析所述字符内容信息,得到字符内容一。需要说明的是,这里的字符内容一只是与S220中编辑框的字符内容二做区别,字符内容一是用户在智能终端上编辑完之后的字符内容,而字符内容二是在S220中编辑框中的字符内容。The set top box receives the smart terminal to send the character content information, parses the character content information, and obtains the character content one. It should be noted that the character content here is different from the character content of the edit box in S220. The character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S220. Character content.
在S250中,将所述字符内容一填入所述编辑框。In S250, the character content is filled in the edit box.
机顶盒得到字符内容一之后,将所述字符内容一填入所述编辑框,用户便会在编辑框中看到之前输入的字符内容。After the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box.
综上所述,本实施例通过与智能终端建立连接,利用智能终端上的输入法 完成复杂字符串的输入,然后把输入的字符内容发送给机顶盒,实现复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入时的时间,提高了用户的交互体验。In summary, the embodiment uses the input method on the smart terminal by establishing a connection with the smart terminal. Completing the input of complex strings, and then sending the input character content to the set-top box, realizing the fast input of complex strings in the set-top box, simplifying the process of interactive input between the user and the set-top box, reducing the time for user interaction input, and improving the user's Interactive experience.
请参考图3,其是本具体实施方式中提供的一种输入方法的第三实施例的方法流程图。如图所示,该方法,包括:Please refer to FIG. 3 , which is a flowchart of a method of a third embodiment of an input method provided in this embodiment. As shown, the method includes:
在S201中,检测出焦点光标位于编辑框。In S201, it is detected that the focus cursor is located in the edit box.
机顶盒实时检测焦点光标所处的位置,当检测出焦点光标位于编辑框时,说明用户需要输入字符或需要对编辑框中的字符内容进行编辑。The set-top box detects the position of the focus cursor in real time. When it detects that the focus cursor is in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box.
在S202中,向所述智能终端发送建立连接请求。In S202, a connection establishment request is sent to the smart terminal.
所述向所述智能终端发送建立连接请求,包括:通过蓝牙或WIFI向所述智能终端发送建立连接请求。机顶盒与智能终端可通过WIFI热点接入到同一个局域网内,进行连接;也可以通过蓝牙进行互联。用户可根据自身需要或使用习惯选择通过蓝牙还是通过WIFI与机顶盒建立连接。可选地,所述智能终端为智能手机、平板电脑或掌上电脑等。The sending a connection establishment request to the smart terminal includes: sending a connection establishment request to the smart terminal by using Bluetooth or WIFI. The set-top box and the smart terminal can be connected to the same local area network through the WIFI hotspot to connect; or can be interconnected through Bluetooth. Users can choose to establish a connection with the set-top box via Bluetooth or WIFI according to their needs or habits. Optionally, the smart terminal is a smart phone, a tablet computer or a palmtop computer.
在S203中,判断与所述智能终端是否成功建立连接;若成功,则继续执行S204;若失败,则执行S208。In S203, it is determined whether the connection with the smart terminal is successfully established; if successful, proceed to S204; if not, execute S208.
S201与S202及S203没有一定的顺序,可以先执行S202、S203,再执行S201;也可以是先执行S202、S201,再执行S203;不过需要确定的是,一定是发送建立连接请求,而且确定成功建立连接之后才执行S204。S201 and S202 and S203 have no certain order, and may execute S202 and S203 first, and then execute S201; or S202 and S201 may be executed first, and then S203 is executed; however, it is determined that the connection request must be sent and the connection is determined successfully. S204 is executed after the connection is established.
在S204中,向建立连接的智能终端发送字符编辑请求。In S204, a character editing request is sent to the smart terminal establishing the connection.
所述向建立连接的智能终端发送字符编辑请求,包括:若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。若所述编辑框中没有字符内容二,则向建立连接的智能终端发送字符编辑请求即可。这样,当编辑框中有没有字符内容,则是直接发送字符编辑请求;当编辑框中有字符内容,若用户相对以输入的字符内容进行增加、删除、修改等编辑操作时,只要把包含编辑框中的字符内容的字符编辑请求发送给智能终端即可。And the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection. If there is no character content 2 in the edit box, a character edit request may be sent to the smart terminal establishing the connection. In this way, when there is no character content in the edit box, the character edit request is directly sent; when there is character content in the edit box, if the user performs an edit operation such as adding, deleting, modifying, etc. with the input character content, as long as the edit is included The character editing request of the character content in the box can be sent to the smart terminal.
在S205中,接收所述智能终端根据所述字符编辑请求发送的字符内容信息。In S205, the character content information sent by the smart terminal according to the character editing request is received.
智能终端接收到所述字符编辑请求后,弹出输入编辑框,并调出输入法,若字符内容信息中包含字符内容,则会包含的字符内容显示在输入编辑框中,用户通过智能终端的输入法,利用智能终端触控操作的便利性,在编辑框中方 便快捷的逐个输入目标字符。比如用户要输入一个由复杂字符串构成网页地址:“http://wengengmiao.baijia.baidu.com/article/558596”,用户通过智能终端的输入法的交互界面很方便的完成上述字符内容的输入,编辑完成之后,用户点击确定按键,智能终端便接收到用户输入的确定命令,则向机顶盒发送字符内容信息,相应的,机顶盒接收所述智能终端根据所述字符编辑请求发送的字符内容信息。机顶盒通过套接字Socket监控智能终端是否有字符内容信息发送过来。After receiving the character editing request, the smart terminal pops up the input edit box and calls up the input method. If the character content information contains the character content, the included character content is displayed in the input edit box, and the user inputs through the smart terminal. Method, using the convenience of the touch operation of the smart terminal, in the edit box Quickly enter the target characters one by one. For example, the user should input a webpage address composed of a complex string: "http://wengengmiao.baijia.baidu.com/article/558596", and the user can conveniently input the above character content through the interactive interface of the input method of the smart terminal. After the editing is completed, the user clicks the OK button, and the smart terminal receives the determination command input by the user, and then sends the character content information to the set top box. Accordingly, the set top box receives the character content information sent by the smart terminal according to the character editing request. The set-top box monitors whether the smart terminal has character content information sent through the socket Socket.
在S206中,解析所述字符内容信息,得到字符内容一。In S206, the character content information is parsed to obtain character content one.
机顶盒接收到智能终端发送字符内容信息,解析所述字符内容信息,得到字符内容一。需要说明的是,这里的字符内容一只是与S204中编辑框的字符内容二做区别,字符内容一是用户在智能终端上编辑完之后的字符内容,而字符内容二是在S204中编辑框中的字符内容。The set top box receives the smart terminal to send the character content information, parses the character content information, and obtains the character content one. It should be noted that the character content here is different from the character content of the edit box in S204. The character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S204. Character content.
在S207中,将所述字符内容一填入所述编辑框。In S207, the character content is filled in the edit box.
所述将所述第一字符内容填入所述编辑框,可以是包括:将所述字符内容一传送到本地输入法模块,本地输入法模块将所述字符内容一填入所述编辑框。机顶盒得到字符内容一之后,将所述字符内容一填入所述编辑框,用户便会在编辑框中看到之前输入的字符内容。此时,机顶盒终端的浏览器网页地址编辑栏中呈现出用户在S205中利用智能终端输入的字符内容“http://wengengmiao.baijia.baidu.com/article/558596”。The filling the first character content into the edit box may include: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit box. After the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box. At this time, the character content "http://wengengmiao.baijia.baidu.com/article/558596" input by the user in the S205 using the smart terminal is displayed in the browser webpage address editing column of the set top box terminal.
在S208中,调出本地输入法或者云端输入法。In S208, the local input method or the cloud input method is called up.
若机顶盒与智能终端建立连接失败,则调出机顶盒的本地输入法或者云端输入法,进行输入。If the connection between the set-top box and the smart terminal fails, the local input method of the set-top box or the cloud input method is called out for input.
本实施例通过与智能终端建立连接,巧妙的利用了智能终端的便利性和可触控性,当机顶盒需要输入字符内容时,用户通过智能终端输入法模块方便地输入字符内容,并借助WIFI或者蓝牙将字符内容传输至机顶盒,机顶盒终端接收字符内容,在相关功能模块中呈现用户输入的字符串内容,本实施例提供输入方法针对用户与机顶盒进行交互的应用场景,实现了复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入复杂字符串的时间,提高了用户与机顶盒的交互体验。In this embodiment, by establishing a connection with the smart terminal, the convenience and the touchability of the smart terminal are skillfully utilized. When the set top box needs to input the character content, the user conveniently inputs the character content through the smart terminal input method module, and uses WIFI or The Bluetooth content is transmitted to the set-top box, the set-top box terminal receives the character content, and the character string content input by the user is presented in the related function module. This embodiment provides an input method for the user to interact with the set-top box, and implements a complex character string in the set-top box. The quick input in the middle simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
请参考图4,其是本具体实施方式中提供的一种输入方法的第四实施例的方法流程图。本实施例的执行主体是智能终端,可选地,所述智能终端为智能手机、平板电脑或掌上电脑等。如图4所示,该方法,包括: Please refer to FIG. 4 , which is a flowchart of a method of a fourth embodiment of an input method provided in this embodiment. The execution entity of this embodiment is a smart terminal. Optionally, the smart terminal is a smart phone, a tablet computer or a palmtop computer. As shown in FIG. 4, the method includes:
在S301中,接收建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求。In S301, a set-top box that establishes a connection is received to detect a character editing request sent when the focus cursor is located in the edit box.
机顶盒实时检测焦点光标所处的位置,当检测出焦点光标位于编辑框时,说明用户需要输入字符或需要对编辑框中的字符内容进行编辑,便会向智能终端发送建立连接请求,对应的,智能终端接收建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求。The set-top box detects the position of the focus cursor in real time. When it is detected that the focus cursor is located in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box, and then sends a connection connection request to the smart terminal, correspondingly, The smart terminal receives the set-up box that establishes the connection, and detects the character editing request sent when the focus cursor is located in the edit box.
可选地,所述S301中,接收建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求之前,还包括:接收到机顶盒发送的建立连接请求。智能终端与机顶盒可通过蓝牙或WIFI进行互联。Optionally, in the S301, before receiving the character editing request sent by the set top box when the focus cursor is located in the edit box, the method further includes: receiving the connection establishment request sent by the set top box. Smart terminals and set-top boxes can be interconnected via Bluetooth or WIFI.
若所述编辑框有字符内容二,则接收到建立连接的机顶盒发送包含所述字符内容二的字符编辑请求。这样,当编辑框中有没有字符内容,则智能终端接收机顶盒发送的字符编辑请求;当编辑框中有字符内容,若用户相对以输入的字符内容进行增加、删除、修改等编辑操作时,则智能终端接收机顶盒发送的包含编辑框中的字符内容的字符编辑请求。If the edit box has the character content two, the set top box that receives the connection establishment sends a character edit request including the character content two. In this way, when there is no character content in the edit box, the smart terminal receiver sends a character edit request to the top box; when there is character content in the edit box, if the user performs an edit operation such as adding, deleting, modifying, etc. with the input character content, then A character editing request sent by the smart terminal receiver top box containing the character content in the edit box.
在S302中,弹出输入编辑框,并调出输入法。In S302, an input edit box is popped up and the input method is called up.
智能终端接收到所述字符编辑请求后,弹出输入编辑框,并调出输入法,若字符内容信息中包含字符内容,则会把包含的字符内容显示在输入编辑框中。After receiving the character editing request, the smart terminal pops up the input edit box and calls up the input method. If the character content information contains the character content, the included character content is displayed in the input edit box.
在S303中,接收到用户在所述输入编辑框中输入的字符内容一。In S303, the character content one input by the user in the input edit box is received.
用户通过智能终端的输入法,利用智能终端触控操作的便利性,在编辑框中方便快捷的逐个输入目标字符。比如用户要输入一个由复杂字符串构成网页地址:“http://wengengmiao.baijia.baidu.com/article/558596”,用户通过智能终端的输入法的交互界面很方便的完成上述字符内容的输入。Through the input method of the smart terminal, the user utilizes the convenience of the touch operation of the smart terminal, and inputs the target characters one by one in the edit box conveniently and quickly. For example, the user should input a webpage address composed of a complex string: "http://wengengmiao.baijia.baidu.com/article/558596", and the user can conveniently input the above character content through the interactive interface of the input method of the smart terminal. .
在S304中,接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒,以使机顶盒将所述字符内容一填入所述编辑框。In S304, receiving a determination command input by the user, reading the character content 1 in the input edit box, and transmitting the character content information including the character content one to the set top box, so that the set top box displays the character content. Fill in the edit box.
编辑完成之后,用户点击确定按键,智能终端便接收到用户输入的确定命令,则向机顶盒发送字符内容信息。需要说明的是,这里的字符内容一只是与S302中编辑框的字符内容二做区别,字符内容一是用户在智能终端上编辑完之后的字符内容,而字符内容二是在S302中编辑框中的字符内容。After the editing is completed, the user clicks the OK button, and the smart terminal receives the determination command input by the user, and then sends the character content information to the set top box. It should be noted that the character content here is different from the character content of the edit box in S302. The character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S302. Character content.
机顶盒通过套接字Socket监控智能终端是否有字符内容信息发送过来。机顶盒接收到智能终端发送字符内容信息,解析所述字符内容信息,得到字符内容 一,然后将所述字符内容一填入所述编辑框。机顶盒将所述字符内容一传送到本地输入法模块,本地输入法模块将所述字符内容一填入所述编辑框。机顶盒得到字符内容一之后,将所述字符内容一填入所述编辑框,用户便会在编辑框中看到之前输入的字符内容。此时,机顶盒终端的浏览器网页地址编辑栏中呈现出用户在S303中利用智能终端输入的字符内容“http://wengengmiao.baijia.baidu.com/article/558596”。The set-top box monitors whether the smart terminal has character content information sent through the socket Socket. The set top box receives the smart terminal to send the character content information, parses the character content information, and obtains the character content. First, the character content is then filled into the edit box. The set top box transmits the character content one to the local input method module, and the local input method module fills the character content into the edit box. After the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box. At this time, the character webpage "http://wengengmiao.baijia.baidu.com/article/558596" input by the user in the S303 using the smart terminal is displayed in the browser webpage address editing column of the set top box terminal.
本实施例通过与智能终端建立连接,巧妙的利用了智能终端的便利性和可触控性,当机顶盒需要输入字符内容时,用户通过智能终端输入法模块方便地输入字符内容,并借助WIFI或者蓝牙将字符内容传输至机顶盒,机顶盒终端接收字符内容,在相关功能模块中呈现用户输入的字符串内容,本实施例提供输入方法针对用户与机顶盒进行交互的应用场景,实现了复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入复杂字符串的时间,提高了用户与机顶盒的交互体验。In this embodiment, by establishing a connection with the smart terminal, the convenience and the touchability of the smart terminal are skillfully utilized. When the set top box needs to input the character content, the user conveniently inputs the character content through the smart terminal input method module, and uses WIFI or The Bluetooth content is transmitted to the set-top box, the set-top box terminal receives the character content, and the character string content input by the user is presented in the related function module. This embodiment provides an input method for the user to interact with the set-top box, and implements a complex character string in the set-top box. The quick input in the middle simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
请参考图5,其是本具体实施方式中提供的一种输入方法的第五实施例的方法流程图。本实施例是基于机顶盒和智能终端形成的整个输入系统实现的,所述智能终端为智能手机、平板电脑或掌上电脑等。如图所示,该方法,包括:Please refer to FIG. 5, which is a flowchart of a method of a fifth embodiment of an input method provided in this embodiment. The embodiment is implemented based on the entire input system formed by the set top box and the smart terminal, and the smart terminal is a smart phone, a tablet computer or a palmtop computer. As shown, the method includes:
在S401中,机顶盒检测出焦点光标位于编辑框时,向建立连接的智能终端发送字符编辑请求。In S401, when the set top box detects that the focus cursor is located in the edit box, it sends a character edit request to the smart terminal that establishes the connection.
机顶盒实时检测焦点光标所处的位置,当检测出焦点光标位于编辑框时,说明用户需要输入字符或需要对编辑框中的字符内容进行编辑,则向建立连接的智能终端发送字符编辑请求。所述向建立连接的智能终端发送字符编辑请求,包括:若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。若所述编辑框中没有字符内容二,则向建立连接的智能终端发送字符编辑请求即可。The set-top box detects the position of the focus cursor in real time. When it is detected that the focus cursor is located in the edit box, it indicates that the user needs to input characters or needs to edit the character content in the edit box, and then sends a character edit request to the smart terminal that establishes the connection. And the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection. If there is no character content 2 in the edit box, a character edit request may be sent to the smart terminal establishing the connection.
作为另一个实施例,所述向建立连接的智能终端发送字符编辑请求之前,还包括:向所述智能终端发送建立连接请求。机顶盒可通过蓝牙或WIFI向所述智能终端发送建立连接请求。机顶盒与智能终端可通过WIFI热点接入到同一个局域网内,进行连接;也可以通过蓝牙进行互联。用户可根据自身需要或使用习惯选择通过蓝牙还是通过WIFI与机顶盒建立连接。机顶盒实时检测焦点光标所处的位置的步骤与向所述智能终端发送建立连接请求之间没有一定顺序关系,可以先检测焦点光标所处的位置,再向所述智能终端发送建立连接请求;也可 以先向所述智能终端发送建立连接请求,再检测焦点光标所处的位置;或是两者同时进行。所述向所述智能终端发送建立连接请求之后,所述向建立连接的智能终端发送字符编辑请求之前,还包括:判断与所述智能终端是否成功建立连接,若成功,则继续执行所述向建立连接的智能终端发送字符编辑请求的步骤;若失败,则调出本地输入法,进行输入。In another embodiment, before the sending the character editing request to the smart terminal that establishes the connection, the method further includes: sending a connection establishment request to the smart terminal. The set top box can send a connection establishment request to the smart terminal via Bluetooth or WIFI. The set-top box and the smart terminal can be connected to the same local area network through the WIFI hotspot to connect; or can be interconnected through Bluetooth. Users can choose to establish a connection with the set-top box via Bluetooth or WIFI according to their needs or habits. The step of detecting the position of the focus cursor in real time by the set top box has no order relationship with the sending connection request to the smart terminal, and may first detect the location where the focus cursor is located, and then send a connection establishment request to the smart terminal; Can The connection establishment request is sent to the smart terminal, and then the location where the focus cursor is located is detected; or both are performed simultaneously. After the sending the connection establishment request to the smart terminal, before the sending the character editing request to the smart terminal establishing the connection, the method further includes: determining whether the connection is successfully established with the smart terminal, and if successful, continuing to perform the The step of establishing a connected smart terminal to send a character editing request; if it fails, the local input method is called up and input.
可选地,所述智能终端为智能手机、平板电脑或掌上电脑等。Optionally, the smart terminal is a smart phone, a tablet computer or a palmtop computer.
在S402中,智能终端接收所述字符编辑请求,弹出输入编辑框,并调出输入法;接收到用户在所述输入编辑框中输入的字符内容一;接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒。In S402, the smart terminal receives the character editing request, pops up an input edit box, and calls up an input method; receives a character content input by the user in the input edit box; receives a determination command input by the user, and reads The character content of the input edit box is sent to the set top box by the character content information including the character content one.
用户通过智能终端的输入法,利用智能终端触控操作的便利性,在编辑框中方便快捷的逐个输入目标字符。比如用户要输入一个由复杂字符串构成网页地址:“http://wengengmiao.baijia.baidu.com/article/558596”,用户通过智能终端的输入法的交互界面很方便的完成上述字符内容的输入,编辑完成之后,用户点击确定按键,智能终端便接收到用户输入的确定命令,则向机顶盒发送包含用户输入的字符内容的字符内容信息。Through the input method of the smart terminal, the user utilizes the convenience of the touch operation of the smart terminal, and inputs the target characters one by one in the edit box conveniently and quickly. For example, the user should input a webpage address composed of a complex string: "http://wengengmiao.baijia.baidu.com/article/558596", and the user can conveniently input the above character content through the interactive interface of the input method of the smart terminal. After the editing is completed, the user clicks the OK button, and the smart terminal receives the determination command input by the user, and then sends the character content information including the character content input by the user to the set top box.
需要说明的是,这里的字符内容一只是与S401中编辑框的字符内容二做区别,字符内容一是用户在智能终端上编辑完之后的字符内容,而字符内容二是在S401中编辑框中的字符内容。It should be noted that the character content here is different from the character content of the edit box in S401. The character content is the character content after the user edits on the smart terminal, and the character content 2 is in the edit box in S401. Character content.
在S403中,机顶盒接收所述智能终端发送的包含所述字符内容一的字符内容信息;解析所述字符内容信息,得到字符内容一;将所述字符内容一填入所述编辑框。In S403, the set top box receives the character content information that is sent by the smart terminal and includes the character content one; parses the character content information to obtain the character content one; and fills the character content into the edit box.
机顶盒接收到智能终端发送字符内容信息,解析所述字符内容信息,得到字符内容一,将所述字符内容一填入所述编辑框。所述将所述第一字符内容填入所述编辑框,可以是包括:将所述字符内容一传送到本地输入法模块,本地输入法模块将所述字符内容一填入所述编辑框。机顶盒得到字符内容一之后,将所述字符内容一填入所述编辑框,用户便会在编辑框中看到之前输入的字符内容。此时,机顶盒终端的浏览器网页地址编辑栏中呈现出用户在S402中利用智能终端输入的字符内容“http://wengengmiao.baijia.baidu.com/article/558596”。The set top box receives the character content information sent by the smart terminal, parses the character content information, and obtains the character content one, and fills the character content into the edit box. The filling the first character content into the edit box may include: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit box. After the set top box obtains the character content one, the character content is filled into the edit box, and the user will see the previously input character content in the edit box. At this time, the character webpage "http://wengengmiao.baijia.baidu.com/article/558596" input by the user in the S402 using the smart terminal is displayed in the browser webpage address editing column of the set top box terminal.
本实施例机顶盒与智能终端通过WIFI或蓝牙建立连接,巧妙的利用了智能终端的便利性和可触控性,当机顶盒需要输入字符内容时,用户通过智能终端 输入法模块方便地输入字符内容,并将字符内容传输至机顶盒,机顶盒终端接收字符内容,在相关功能模块中呈现用户输入的字符串内容,本实施例提供输入方法针对用户与机顶盒进行交互的应用场景,实现了复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入复杂字符串的时间,提高了用户与机顶盒的交互体验。In this embodiment, the set-top box and the smart terminal establish a connection through WIFI or Bluetooth, and the convenience and the touchability of the smart terminal are skillfully utilized. When the set-top box needs to input character content, the user passes the smart terminal. The input method module conveniently inputs the character content, and transmits the character content to the set top box, the set top box terminal receives the character content, and presents the string content input by the user in the related function module. This embodiment provides an input method for the user to interact with the set top box. The scenario realizes the fast input of complex strings in the set-top box, simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
以下是本具体实施方式中提供的一种输入系统的实施例,系统的实施例基于上述的一种输入方法的实施例实现,在一种输入系统中未尽的描述,请参考前述一种输入方法的实施例。The following is an embodiment of an input system provided in this embodiment. The embodiment of the system is implemented based on an embodiment of the above input method. In an input system, please refer to the foregoing input. An embodiment of the method.
请参考图6,其是本具体实施方式中提供的一种输入系统的第一实施例的结构方框图。本实施例是在本公开具体实施例中提供的一种输入方法的第二实施例和第三实施例的基础上实现的,在本实施例中未详尽的内容,请参考前述一种输入方法的第二实施例和第三实施例。如图所示,该系统可以为机顶盒,包括:Please refer to FIG. 6, which is a structural block diagram of a first embodiment of an input system provided in the present embodiment. This embodiment is implemented on the basis of the second embodiment and the third embodiment of an input method provided in the specific embodiment of the present disclosure. For details not in this embodiment, please refer to the foregoing input method. The second embodiment and the third embodiment. As shown, the system can be a set top box, including:
检测模块51,设置为检测出焦点光标位于编辑框。The detecting module 51 is configured to detect that the focus cursor is located in the edit box.
请求发送模块52,设置为向建立连接的智能终端发送字符编辑请求。The request sending module 52 is configured to send a character editing request to the smart terminal establishing the connection.
所述请求发送模块52是设置为:若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。The request sending module 52 is configured to: if the edit box has the character content 2, send a character editing request including the character content 2 to the smart terminal establishing the connection.
作为一个实施例,所述请求发送模块52是设置为:通过蓝牙或WIFI向所述智能终端发送建立连接请求。As an embodiment, the request sending module 52 is configured to send a connection establishment request to the smart terminal by using Bluetooth or WIFI.
信息接收模块53,设置为接收所述智能终端根据所述字符编辑请求发送的字符内容信息。The information receiving module 53 is configured to receive character content information sent by the smart terminal according to the character editing request.
解析模块54,设置为解析所述字符内容信息,得到字符内容一。The parsing module 54 is configured to parse the character content information to obtain the character content one.
填入模块55,设置为将所述字符内容一填入所述编辑框。The filling module 55 is arranged to fill the character box into the edit box.
所述系统还包括:The system also includes:
连接请求发送模块56,设置为向所述智能终端发送建立连接请求。The connection request sending module 56 is configured to send a connection establishment request to the smart terminal.
连接判断模块57,设置为判断与所述智能终端是否成功建立连接。The connection judging module 57 is configured to determine whether the connection with the smart terminal is successfully established.
所述请求发送模块52是设置为:若所述连接判断模块57判断出与所述智能终端成功建立连接,则向建立连接的智能终端发送字符编辑请求。The request sending module 52 is configured to: if the connection determining module 57 determines that the smart terminal successfully establishes a connection, send a character editing request to the established smart terminal.
综上所述,本实施例通过与智能终端建立连接,巧妙的利用了智能终端的便利性和可触控性,当机顶盒需要输入字符内容时,用户通过智能终端输入法模块方便地输入字符内容,并借助WIFI或者蓝牙将字符内容传输至机顶盒,机 顶盒终端接收字符内容,在相关功能模块中呈现用户输入的字符串内容,实现复了杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入时的时间,提高了用户的交互体验。In summary, the present embodiment intelligently utilizes the convenience and touchability of the smart terminal by establishing a connection with the smart terminal. When the set top box needs to input the character content, the user conveniently inputs the character content through the smart terminal input method module. And transfer the character content to the set-top box by means of WIFI or Bluetooth. The set-top terminal receives the character content, presents the string content input by the user in the relevant function module, realizes the quick input of the complex character string in the set-top box, simplifies the process of interactive input between the user and the set-top box, and reduces the time when the user inputs the interaction. , improve the user's interactive experience.
请参考图7,其是本具体实施方式中提供的一种输入系统的第二实施例的结构方框图。本实施例是在本公开具体实施例中提供的一种输入方法的第三实施例的基础上实现的,在本实施例中未详尽的内容,请参考前述一种输入方法的第三实施例。如图所示,该系统可以为智能终端,包括:Please refer to FIG. 7, which is a structural block diagram of a second embodiment of an input system provided in the present embodiment. This embodiment is implemented on the basis of the third embodiment of an input method provided in the specific embodiment of the present disclosure. For details not in this embodiment, please refer to the third embodiment of the foregoing input method. . As shown, the system can be a smart terminal, including:
请求接收模块61,设置为接收建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求。The request receiving module 61 is configured to receive a character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box.
输入法调出模块62,设置为弹出输入编辑框,并调出输入法。The input method calls up the module 62, sets the pop-up input edit box, and calls up the input method.
智能终端接收到所述字符编辑请求后,弹出输入编辑框,并调出输入法,若字符内容信息中包含字符内容,则会把包含的字符内容显示在输入编辑框中。After receiving the character editing request, the smart terminal pops up the input edit box and calls up the input method. If the character content information contains the character content, the included character content is displayed in the input edit box.
字符内容接收模块63,设置为接收到用户在所述输入编辑框中输入的字符内容一。The character content receiving module 63 is configured to receive the character content one input by the user in the input edit box.
信息发送模块64,设置为接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒,以使机顶盒将所述字符内容一填入所述编辑框。The information sending module 64 is configured to receive a determination command input by the user, read the character content 1 in the input edit box, and send the character content information including the character content one to the set top box, so that the set top box will be The character content is filled in the edit box.
编辑完成之后,用户点击确定按键,信息发送模块64便接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,向机顶盒发送包含所述字符内容一的字符内容信息。机顶盒通过套接字Socket监控智能终端是否有字符内容信息发送过来。机顶盒接收到智能终端发送字符内容信息,解析所述字符内容信息,得到字符内容一,然后将所述字符内容一填入所述编辑框。机顶盒将所述字符内容一传送到本地输入法模块,本地输入法模块将所述字符内容一填入所述编辑框。After the editing is completed, the user clicks the OK button, and the information sending module 64 receives the determination command input by the user, reads the character content of the input edit box, and sends the character content information including the character content one to the set top box. The set-top box monitors whether the smart terminal has character content information sent through the socket Socket. The set top box receives the smart terminal to send the character content information, parses the character content information, obtains the character content one, and then fills the character content into the edit box. The set top box transmits the character content one to the local input method module, and the local input method module fills the character content into the edit box.
所述系统还包括:The system also includes:
连接请求接收模块65,设置为接收到机顶盒发送的建立连接请求。若连接成功,则请求接收模块61接收到建立连接的机顶盒当检测出焦点光标位于编辑框时发送的字符编辑请求。The connection request receiving module 65 is configured to receive the connection establishment request sent by the set top box. If the connection is successful, the request receiving module 61 receives the character editing request sent by the set top box that establishes the connection when detecting that the focus cursor is located in the edit box.
智能终端与机顶盒可通过蓝牙或WIFI进行互联。Smart terminals and set-top boxes can be interconnected via Bluetooth or WIFI.
本实施例提供的输入系统针对用户与机顶盒进行交互的应用场景,通过使智能终端与机顶盒建立连接,巧妙的利用了智能终端的便利性和可触控性,当 机顶盒需要输入字符内容时,用户通过智能终端输入法模块方便地输入字符内容,并借助WIFI或者蓝牙将字符内容传输至机顶盒,实现了复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入复杂字符串的时间,提高了用户与机顶盒的交互体验。The input system provided by the embodiment is applicable to the application scenario in which the user interacts with the set-top box, and the connection between the smart terminal and the set-top box is utilized, and the convenience and touchability of the smart terminal are skillfully utilized. When the set-top box needs to input the character content, the user conveniently inputs the character content through the intelligent terminal input method module, and transmits the character content to the set-top box by using WIFI or Bluetooth, thereby realizing the quick input of the complex character string in the set-top box, simplifying the interaction between the user and the set-top box. The input process reduces the time for user interaction to input complex strings, improving the user's interaction experience with the set-top box.
请参考图8,其是本具体实施方式中提供的一种输入系统的第三实施例的结构方框图。本实施例是在具体实施方式中提供的一种输入方法的第四实施例的基础上实现的,在本实施例中为详尽的内容,请参考前述一种输入方法的第四实施例。如图所示,该系统,包括:Please refer to FIG. 8, which is a structural block diagram of a third embodiment of an input system provided in this embodiment. This embodiment is implemented on the basis of the fourth embodiment of an input method provided in the specific embodiment. For the detailed content in this embodiment, please refer to the fourth embodiment of the foregoing input method. As shown, the system includes:
应用于机顶盒的输入子系统71,设置为检测出焦点光标位于编辑框时,向建立连接的智能终端发送字符编辑请求。The input subsystem 71 applied to the set top box is configured to detect that the focus cursor is located in the edit box, and send a character edit request to the smart terminal that establishes the connection.
所述向建立连接的智能终端发送字符编辑请求,包括:若所述编辑框有字符内容二,则向建立连接的智能终端发送包含所述字符内容二的字符编辑请求。And the sending the character editing request to the smart terminal that establishes the connection includes: if the edit box has the character content 2, sending a character editing request including the character content 2 to the smart terminal establishing the connection.
作为另一个实施例,所述应用于机顶盒的输入子系统71向建立连接的智能终端发送字符编辑请求之前,还设置为:向所述智能终端发送建立连接请求。应用于机顶盒的输入子系统71可通过蓝牙或WIFI向所述应用于智能终端的输入子系统72发送建立连接请求。As another embodiment, before the input subsystem 71 applied to the set top box sends a character editing request to the smart terminal establishing the connection, it is further configured to: send a connection establishment request to the smart terminal. The input subsystem 71 applied to the set top box can send a connection establishment request to the input subsystem 72 applied to the smart terminal via Bluetooth or WIFI.
所述应用于机顶盒的输入子系统71向所述智能终端发送建立连接请求之后,所述向建立连接的智能终端发送字符编辑请求之前,还设置为:判断与所述智能终端是否成功建立连接,若成功,则继续执行所述向建立连接的智能终端发送字符编辑请求的步骤;若失败,则调出本地输入法,进行输入。After the input subsystem 71 applied to the set-top box sends a connection establishment request to the smart terminal, before sending the character editing request to the smart terminal establishing the connection, the input subsystem 71 is further configured to: determine whether the smart terminal successfully establishes a connection with the smart terminal. If successful, the step of sending a character editing request to the established smart terminal is continued; if it fails, the local input method is called up and input is performed.
应用于智能终端的输入子系统72,设置为接收所述字符编辑请求,弹出输入编辑框,并调出输入法;接收到用户在所述输入编辑框中输入的字符内容一;接收到用户输入的确定命令,读取所述输入编辑框中的字符内容一,将包含所述字符内容一的字符内容信息发送给所述机顶盒。The input subsystem 72 applied to the smart terminal is configured to receive the character editing request, pop up an input edit box, and call up an input method; receive a character content input by the user in the input edit box; receive user input And determining the character content of the input edit box, and transmitting the character content information including the character content one to the set top box.
可选地,所述智能终端为智能手机、平板电脑或掌上电脑等。Optionally, the smart terminal is a smart phone, a tablet computer or a palmtop computer.
所述应用于机顶盒的输入子系统71,还设置为接收所述智能终端发送的包含所述字符内容一的字符内容信息;解析所述字符内容信息,得到字符内容一;将所述字符内容一填入所述编辑框。The input subsystem 71 applied to the set top box is further configured to receive character content information including the character content 1 sent by the smart terminal; parse the character content information to obtain a character content 1; Fill in the edit box.
所述将所述第一字符内容填入所述编辑框,可以是包括:将所述字符内容一传送到本地输入法模块,本地输入法模块将所述字符内容一填入所述编辑框。机顶盒得到字符内容一之后,将所述字符内容一填入所述编辑框,用户便会在 编辑框中看到之前输入的字符内容。The filling the first character content into the edit box may include: transmitting the character content one to a local input method module, and the local input method module filling the character content into the edit box. After the set top box obtains the character content one, the character content is filled into the edit box, and the user will The edit box sees the previously entered character content.
综上所述,本实施例提供的输入系统,针对用户与机顶盒进行交互的应用场景,应用于机顶盒的输入子系统与应用于智能终端的输入子系统通过WIFI或蓝牙建立连接,巧妙的利用了智能终端的便利性和可触控性,当机顶盒需要输入字符内容时,用户通过智能终端输入法模块方便地输入字符内容,并将字符内容传输至机顶盒,实现了复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入复杂字符串的时间,提高了用户与机顶盒的交互体验。In summary, the input system provided by the embodiment is applicable to the application scenario in which the user interacts with the set-top box, and the input subsystem applied to the set-top box and the input subsystem applied to the smart terminal establish a connection through WIFI or Bluetooth, and the smart use is utilized. The convenience and touchability of the smart terminal. When the set-top box needs to input character content, the user conveniently inputs the character content through the intelligent terminal input method module, and transmits the character content to the set-top box, thereby realizing the shortcut of the complex character string in the set-top box. The input simplifies the process of interactive input between the user and the set-top box, reduces the time for the user to input complex strings, and improves the interaction experience between the user and the set-top box.
本实施例还提供了一种计算机可读存储介质,配置于电子设备内,存储有计算机可执行指令,所述计算机可执行指令用于执行上述实施例所述电子设备侧的输入方法。The embodiment further provides a computer readable storage medium, configured in the electronic device, and storing computer executable instructions for executing the input method on the electronic device side of the above embodiment.
本实施例还提供了一种计算机可读存储介质,配置于智能终端内,存储有计算机可执行指令,所述计算机可执行指令用于执行上述实施例所述智能终端侧的输入方法。The embodiment further provides a computer readable storage medium, which is disposed in the smart terminal and stores computer executable instructions, and the computer executable instructions are used to execute the input method on the smart terminal side of the foregoing embodiment.
图9为本实施例提供的电子设备的结构框图。本实施例提供的电子设备可以是包括:处理器(processor)801和存储器(memory)803,还可以包括通信接口(Communications Interface)802和总线804。其中,处理器801、通信接口802、存储器803可以通过总线804完成相互间的通信。通信接口802可以用于信息传输。处理器801可以调用存储器803中的逻辑指令,以执行上述实施例的输入方法。FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present invention. The electronic device provided in this embodiment may include a processor 801 and a memory 803, and may further include a communication interface 802 and a bus 804. The processor 801, the communication interface 802, and the memory 803 can complete communication with each other through the bus 804. Communication interface 802 can be used for information transmission. The processor 801 can call logic instructions in the memory 803 to perform the input method of the above embodiment.
此外,上述的存储器803中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。In addition, the logic instructions in the memory 803 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code, or a transitory storage medium.
图10为本实施例提供的智能终端的结构框图。本实施例提供的智能终端可以是包括:处理器(processor)901和存储器(memory)903,还可以包括通信 接口(Communications Interface)902和总线904。其中,处理器901、通信接口902、存储器903可以通过总线904完成相互间的通信。通信接口902可以用于信息传输。处理器901可以调用存储器903中的逻辑指令,以执行上述实施例的输入方法。FIG. 10 is a structural block diagram of a smart terminal according to an embodiment of the present disclosure. The smart terminal provided in this embodiment may include: a processor 901 and a memory 903, and may also include communication. Interfaces 902 and bus 904. The processor 901, the communication interface 902, and the memory 903 can complete communication with each other through the bus 904. Communication interface 902 can be used for information transmission. The processor 901 can call logic instructions in the memory 903 to perform the input method of the above embodiment.
此外,上述的存储器903中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。In addition, the logic instructions in the memory 903 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in various embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code, or a transitory storage medium.
工业实用性Industrial applicability
本公开通过与智能终端建立连接,实现复杂字符串在机顶盒中的快捷输入,简化用户与机顶盒进行交互输入的过程,减少用户交互输入时的时间,提高了用户的交互体验。 The disclosure establishes a connection with the intelligent terminal, realizes the fast input of the complex character string in the set top box, simplifies the process of the user inputting with the set top box, reduces the time when the user inputs the interaction, and improves the interaction experience of the user.

Claims (16)

  1. 一种字符输入方法,应用于电子设备,包括:A character input method applied to an electronic device, including:
    检测所述电子设备的光标焦点是否位于字符编辑框内;Detecting whether a cursor focus of the electronic device is located in a character edit box;
    当检测所述光标焦点位于所述字符编辑框内时,向与所述电子设备建立连接的智能终端发送字符编辑请求;Sending a character editing request to the smart terminal establishing a connection with the electronic device when detecting that the cursor focus is located in the character edit box;
    接收所述智能终端根据所述字符编辑请求发送的字符编辑信息;Receiving character editing information sent by the smart terminal according to the character editing request;
    解析所述字符编辑信息,得到待输入的目标字符;以及Parsing the character editing information to obtain a target character to be input;
    将所述目标字符输入所述字符编辑框。The target character is input to the character edit box.
  2. 根据权利要求1所述的方法,其中,所述检测出所述光标焦点位于所述字符编辑框内的步骤之后,以及所述向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,还包括:The method according to claim 1, wherein said step of detecting that said cursor focus is within said character edit box, and said step of transmitting a character edit request to said smart terminal establishing a connection with said electronic device Previously, it also included:
    判断所述字符编辑框内是否存在已输入的字符;Determining whether there is an input character in the character edit box;
    其中,若所述字符编辑框内存在已输入的字符,则所述字符编辑请求中包括所述已输入的字符。Wherein, if there is an input character in the character edit box, the character edit request includes the input character.
  3. 根据权利要求1所述的方法,其中,所述向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,还包括:The method of claim 1, wherein the step of transmitting a character editing request to the smart terminal establishing a connection with the electronic device further comprises:
    向所述智能终端发送建立连接请求;Sending a connection establishment request to the smart terminal;
    在预设时间内,判断与所述智能终端是否建立连接;以及Determining whether a connection is established with the smart terminal within a preset time;
    若没有建立连接,则调用所述电子设备配置的输入法应用。If no connection is established, the input method application of the electronic device configuration is invoked.
  4. 根据权利要求1所述的方法,其中,所述将所述目标字符输入所述字符编辑框的步骤包括:The method of claim 1, wherein the step of inputting the target character into the character edit box comprises:
    发送所述目标字符至所述电子设备配置的输入法应用;以及Transmitting the target character to an input method application of the electronic device configuration;
    利用所述输入法应用,将所述目标字符输入所述字符编辑框。The target character is input to the character edit box using the input method application.
  5. 一种字符输入方法,应用于智能终端,包括:A character input method is applied to a smart terminal, including:
    接收与所述智能终端建立连接的电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求;Receiving, by the electronic device establishing a connection with the smart terminal, a character editing request sent when the focus cursor is located in the character edit box;
    弹出输入字符编辑框,并调出输入法应用;Pop up the input character edit box and call up the input method application;
    接收所述输入字符编辑框中输入的目标字符;以及Receiving a target character input in the input character edit box;
    当检测到确定命令,则读取所述输入字符编辑框中的目标字符,将包含所述目标字符的字符编辑信息发送给所述电子设备,以使电子设备将所述目标字符输入所述字符编辑框。When the determining command is detected, reading the target character in the input character edit box, and transmitting the character edit information including the target character to the electronic device, so that the electronic device inputs the target character into the character Edit box.
  6. 根据权利要求5所述的方法,其中,所述字符编辑请求中包括所述字符编 辑框内已输入的字符。The method of claim 5, wherein said character editing request includes said character encoding The characters that have been entered in the box.
  7. 根据权利要求5所述的方法,其中,接收与所述智能终端建立连接的电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求的步骤之前,还包括:The method of claim 5, wherein the step of receiving the character editing request sent by the electronic device that establishes the connection with the smart terminal when detecting that the focus cursor is located in the character edit box further comprises:
    接收所述电子设备发送的建立连接请求。Receiving a connection establishment request sent by the electronic device.
  8. 一种电子设备,包括:An electronic device comprising:
    检测模块,设置为检测光标焦点是否位于字符编辑框;a detection module configured to detect whether the focus of the cursor is in a character edit box;
    请求发送模块,设置为当所述光标焦点位于所述字符编辑框时,向与所述电子设备建立连接的智能终端发送字符编辑请求;a request sending module, configured to send a character editing request to the smart terminal establishing a connection with the electronic device when the cursor focus is located in the character edit box;
    信息接收模块,设置为接收所述智能终端根据所述字符编辑请求发送的字符编辑信息;An information receiving module, configured to receive character editing information sent by the smart terminal according to the character editing request;
    解析模块,设置为解析所述字符编辑信息,以得到待输入的目标字符;以及a parsing module configured to parse the character editing information to obtain a target character to be input;
    输入模块,设置为将所述目标字符输入所述字符编辑框。An input module configured to input the target character into the character edit box.
  9. 根据权利要求8所述的电子设备,还包括:The electronic device of claim 8 further comprising:
    已输入字符判断模块,设置为在所述检测出所述光标焦点位于所述字符编辑框内的步骤之后,以及所述向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,判断所述字符编辑框内是否存在已输入的字符;Entering a character judging module, configured to, after the step of detecting that the cursor focus is within the character edit box, and before the step of transmitting a character edit request to the smart terminal establishing a connection with the electronic device, Determining whether there is an input character in the character edit box;
    其中,若所述字符编辑框内存在已输入的字符,则所述字符编辑请求中包括所述已输入的字符。Wherein, if there is an input character in the character edit box, the character edit request includes the input character.
  10. 根据权利要求9所述的电子设备,还包括:The electronic device of claim 9, further comprising:
    连接请求模块,设置为在向与所述电子设备建立连接的智能终端发送字符编辑请求的步骤之前,向所述智能终端发送建立连接请求;以及a connection requesting module, configured to send a connection establishment request to the smart terminal before the step of transmitting a character editing request to the smart terminal establishing a connection with the electronic device;
    连接判断模块,设置为在预设时间内,判断与所述智能终端是否建立连接;The connection determining module is configured to determine whether a connection is established with the smart terminal within a preset time period;
    应用调用模块,设置为若没有建立连接,则调用所述电子设备配置的输入法应用。The application calling module is set to invoke the input method application of the electronic device configuration if no connection is established.
  11. 根据权利要求9所述的电子设备,其中,所述输入模块包括:The electronic device of claim 9, wherein the input module comprises:
    目标字符发送单元,设置为发送所述目标字符至所述电子设备配置的输入法应用;以及a target character sending unit configured to send the target character to an input method application of the electronic device configuration;
    目标字符输入单元,设置为利用所述输入法应用,将所述目标字符输入所述字符编辑框。 The target character input unit is configured to input the target character into the character edit box by using the input method.
  12. 一种智能终端,包括:An intelligent terminal comprising:
    请求接收模块,设置为接收电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求;The request receiving module is configured to receive a character editing request sent by the electronic device when detecting that the focus cursor is located in the character edit box;
    输入法应用调用模块,设置为弹出输入字符编辑框,并调出输入法应用;The input method application calling module is set to pop up an input character edit box, and the input method application is called up;
    目标字符接收模块,设置为接收所述输入字符编辑框中输入的目标字符;以及a target character receiving module configured to receive a target character input in the input character edit box;
    信息发送模块,设置为当检测到确定命令,则读取所述输入字符编辑框中的目标字符,将包含所述目标字符的字符编辑信息发送给所述电子设备,以使电子设备将所述目标字符输入所述字符编辑框。The information sending module is configured to: when the determining command is detected, read the target character in the input character edit box, and send the character edit information including the target character to the electronic device, so that the electronic device The target character is entered into the character edit box.
  13. 根据权利要求12所述的智能终端,其中,所述字符编辑请求中包括所述字符编辑框内的已输入的字符。The smart terminal according to claim 12, wherein said character editing request includes an input character in said character edit box.
  14. 根据权利要求12所述的智能终端,其中,接收与所述智能终端建立连接的电子设备当检测出焦点光标位于字符编辑框时发送的字符编辑请求的步骤之前,还包括:The smart terminal according to claim 12, wherein the step of receiving the character editing request sent by the electronic device that establishes the connection with the smart terminal, when detecting that the focus cursor is located in the character edit box, further comprises:
    接收所述电子设备发送的建立连接请求。Receiving a connection establishment request sent by the electronic device.
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-4任一项所述的方法。A computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-4.
  16. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求5-7任一项所述的方法。 A computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 5-7.
PCT/CN2017/102660 2016-09-22 2017-09-21 Character input method, electronic device and intelligent terminal WO2018054321A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610841634.9A CN106375814A (en) 2016-09-22 2016-09-22 Input method and system
CN201610841634.9 2016-09-22

Publications (1)

Publication Number Publication Date
WO2018054321A1 true WO2018054321A1 (en) 2018-03-29

Family

ID=57898048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102660 WO2018054321A1 (en) 2016-09-22 2017-09-21 Character input method, electronic device and intelligent terminal

Country Status (2)

Country Link
CN (1) CN106375814A (en)
WO (1) WO2018054321A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815434A (en) * 2019-01-18 2019-05-28 深圳壹账通智能科技有限公司 Page editing method, apparatus, equipment and storage medium
CN115052195A (en) * 2022-06-24 2022-09-13 深圳创维-Rgb电子有限公司 Remote input method, device, equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375814A (en) * 2016-09-22 2017-02-01 深圳创维数字技术有限公司 Input method and system
CN111158503A (en) * 2019-12-31 2020-05-15 深圳Tcl新技术有限公司 Method, device, equipment and storage medium compatible with multi-equipment character input
CN111522450A (en) * 2020-04-08 2020-08-11 深圳市中诺通讯有限公司 Intelligent watch information input method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1598734A1 (en) * 2004-05-20 2005-11-23 Mitsumi Electric Co., Ltd. Cellular phone, computer-readable medium having program emboided therein, and internet connection device using the same
CN101924813A (en) * 2009-06-10 2010-12-22 中国联合网络通信集团有限公司 Text message processing indication method, as well as text message processing method, device and system
US20110072460A1 (en) * 2009-09-23 2011-03-24 Samsung Electronics Co., Ltd. Broadcast receiver and channel changing method thereof
CN103593213A (en) * 2013-11-04 2014-02-19 华为技术有限公司 Text message input method and device
CN103974110A (en) * 2014-05-16 2014-08-06 烽火通信科技股份有限公司 Method for inputting characters into intelligent set top box through mobile terminal
CN106375814A (en) * 2016-09-22 2017-02-01 深圳创维数字技术有限公司 Input method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1598734A1 (en) * 2004-05-20 2005-11-23 Mitsumi Electric Co., Ltd. Cellular phone, computer-readable medium having program emboided therein, and internet connection device using the same
CN101924813A (en) * 2009-06-10 2010-12-22 中国联合网络通信集团有限公司 Text message processing indication method, as well as text message processing method, device and system
US20110072460A1 (en) * 2009-09-23 2011-03-24 Samsung Electronics Co., Ltd. Broadcast receiver and channel changing method thereof
CN103593213A (en) * 2013-11-04 2014-02-19 华为技术有限公司 Text message input method and device
CN103974110A (en) * 2014-05-16 2014-08-06 烽火通信科技股份有限公司 Method for inputting characters into intelligent set top box through mobile terminal
CN106375814A (en) * 2016-09-22 2017-02-01 深圳创维数字技术有限公司 Input method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815434A (en) * 2019-01-18 2019-05-28 深圳壹账通智能科技有限公司 Page editing method, apparatus, equipment and storage medium
CN115052195A (en) * 2022-06-24 2022-09-13 深圳创维-Rgb电子有限公司 Remote input method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106375814A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
WO2018054321A1 (en) Character input method, electronic device and intelligent terminal
US10831314B2 (en) Method and electronic device for preventing touch button from being false triggered
KR101385364B1 (en) Method and apparatus for providing application interface portions on peripheral computer devices
US10154529B2 (en) Method and apparatus for connecting peripheral devices
KR102045585B1 (en) Adaptive input language switching
KR102032449B1 (en) Method for displaying image and mobile terminal
KR101448336B1 (en) A method of service extension using message input window included in chatting window providing instant messaging service
US20220155922A1 (en) Side-toolbar-display method, terminal, and storage medium
US10084729B2 (en) Apparatuses and methods for web page sharing
WO2017156983A1 (en) List callup method and device
WO2015074619A1 (en) Method for using terminal in combination, terminal and communication system
CN106406924B (en) Control method and device for starting and quitting picture of application program and mobile terminal
JP2016502781A (en) Service updates during real-time communication and experience sharing sessions
US20230138804A1 (en) Enhanced video call method and system, and electronic device
WO2014206037A1 (en) Apparatuses and methods for web page sharing
CN107577358A (en) Dummy keyboard input method, device and computer-readable recording medium
US20150109210A1 (en) Control method, and input device of touch screen terminal
US20230333803A1 (en) Enhanced Screen Sharing Method and System, and Electronic Device
CN105893624B (en) Data display method and system
WO2015085953A1 (en) Method and device for starting browser in smart tv
US20140104183A1 (en) Method and device for controlling at least one apparatus by at least one other apparatus, system implementing such a device
EP3704861B1 (en) Networked user interface back channel discovery via wired video connection
US20150234546A1 (en) Method for Quickly Displaying a Skype Contacts List and Computer Program Thereof and Portable Electronic Device for Using the Same
US20230216912A1 (en) Page Display Method and Electronic Device
CN115904514B (en) Method for realizing cloud rendering pixel flow based on three-dimensional scene and terminal equipment

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: 17852389

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: 17852389

Country of ref document: EP

Kind code of ref document: A1