An input method and device
Through NFC communication connection, real-time transmission of input information between the first device that is easy to input and the second device that is inconvenient to input is realized, solving the problem of low input efficiency of existing devices and improving user input efficiency and operation convenience.
Patent Information
- Application Number
- CN202111163989.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Existing smart TVs and smart projection devices are mainly input through remote controls, resulting in low input efficiency and inconvenient operation.
Through NFC communication connection, the input information between the first device that is easy to input (such as a mobile phone or tablet) and the second device that is inconvenient to input (such as a smart TV or smart projection) is transmitted in real time, so that information is uploaded in the input box of the second device.
The user's input efficiency on the second device is improved, allowing the user to quickly and conveniently upload information in the input box of the second device, reducing operational complexity.
Smart Images

Figure CN114051157B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of input technologies, and particularly to an input method and an input device. Background Art
[0002] With the development of Internet technologies, more and more intelligent devices have entered people's living circles. Devices such as smart TVs and smart projectors have entered more and more families or enterprises.
[0003] Currently, some devices such as smart TVs and smart projectors are mainly controlled and input through a remote control. The input method through the remote control requires the user to use the arrow keys on the remote control to select keys one by one in the displayed input method keyboard to achieve input. For users, the input efficiency is low and the operation is inconvenient. Summary of the Invention
[0004] In view of the above problems, embodiments of this application are proposed to provide an input method and a corresponding input device that overcome the above problems or at least partially solve the above problems.
[0005] To solve the above problems, embodiments of this application disclose an input method, including:
[0006] A first device obtains input information input by a user;
[0007] Based on an NFC communication connection with a second device, the first device sends the input information to the second device, so that the second device screens the information in an input box according to the input information.
[0008] Optionally, the first device obtains input information input by a user, including:
[0009] The first device obtains input information input by the user in an input interface of an input method.
[0010] Optionally, it further includes:
[0011] In response to a user operation, an input interface of an input method is opened;
[0012] Or, in response to the establishment of an NFC communication connection with the second device, an input interface of an input method is opened.
[0013] Optionally, the sending the input information to the second device based on an NFC communication connection with the second device includes:
[0014] When obtaining input information input by the user, if an NFC communication connection with the second device has been established, the input information is sent to the second device in real time based on the NFC communication connection with the second device.
[0015] Optionally, it further includes:
[0016] When obtaining the input information entered by the user, if the NFC communication connection with the second device is not established, store the input information;
[0017] Sending the input information to the second device based on the NFC communication connection with the second device includes:
[0018] When the NFC communication connection with the second device is established, send the stored input information to the second device based on the NFC communication connection with the second device.
[0019] An embodiment of the present application also discloses an input method, including:
[0020] The second device receives the input information sent by the first device based on the NFC communication connection with the first device;
[0021] Perform information on-screening in the input box according to the input information.
[0022] Optionally, the performing information on-screening in the input box according to the input information includes:
[0023] When it is detected that the input box obtains focus, perform information on-screening in the input box according to the input information.
[0024] Optionally, it further includes:
[0025] When the input information is received, if it is not detected that the input box obtains focus, store the input information.
[0026] Optionally, the input information includes the on-screen information on the input interface of the input method of the first device;
[0027] The performing information on-screening in the input box according to the input information includes:
[0028] Perform the on-screen information on the input interface of the input method of the first device on the input box.
[0029] Optionally, the input information includes the candidate items determined according to the input sequence on the input interface of the input method of the first device;
[0030] The performing information on-screening in the input box according to the input information includes:
[0031] Display the candidate items determined according to the input sequence on the input interface of the input method of the first device;
[0032] Determine the target candidate item selected by the user, and perform the target candidate item on the input box.
[0033] Optionally, the input information includes an input sequence on the input interface of the input method of the first device;
[0034] Performing information input on the input box according to the input information includes:
[0035] Searching for and displaying candidates matching the input sequence;
[0036] Determining a target candidate selected by the user and inputting the target candidate onto the input box.
[0037] An embodiment of the present application also discloses an input device applied to a first device, the device includes:
[0038] An input information acquisition module, configured to acquire input information input by a user;
[0039] An input information sending module, configured to send the input information to a second device based on an NFC communication connection with the second device, so that the second device performs information input on the input box according to the input information.
[0040] Optionally, the input information acquisition module includes:
[0041] An input interface information acquisition sub-module, configured to acquire, by the first device, input information input by the user on the input interface of the input method.
[0042] Optionally, it further includes:
[0043] An input interface opening module, configured to open the input interface of the input method in response to a user operation; or, open the input interface of the input method in response to the establishment of an NFC communication connection with the second device.
[0044] Optionally, the input information sending module includes:
[0045] An input information real-time sending sub-module, configured to, when acquiring input information input by the user, if an NFC communication connection with the second device has been established, send the input information to the second device in real time based on the NFC communication connection with the second device.
[0046] Optionally, it further includes:
[0047] An input information storage module, configured to, when acquiring input information input by the user, if an NFC communication connection with the second device has not been established, store the input information;
[0048] The input information sending module includes:
[0049] A stored input information sending sub-module, configured to send the stored input information to a second device based on the NFC communication connection with the second device when the NFC communication connection with the second device is established.
[0050] An embodiment of the present application also discloses an input device, including:
[0051] An input information receiving module, configured to receive the input information sent by the first device based on the NFC communication connection with the first device by the second device;
[0052] An information posting module, configured to post the information to an input box according to the input information.
[0053] Optionally, the information posting module includes:
[0054] A focus detection sub-module, configured to post the information to the input box according to the input information when it is detected that the input box obtains focus.
[0055] Optionally, it further includes:
[0056] An input information storage module, configured to store the input information when the input information is received and it is not detected that the input box obtains focus.
[0057] Optionally, the input information includes the information posted on the input interface of the input method of the first device;
[0058] The information posting module includes:
[0059] A first information posting sub-module, configured to post the information posted on the input interface of the input method of the first device to the input box.
[0060] Optionally, the input information includes the candidate items determined according to the input sequence on the input interface of the input method of the first device;
[0061] The information posting module includes:
[0062] A candidate item display sub-module, configured to display the candidate items determined according to the input sequence on the input interface of the input method of the first device;
[0063] A second information posting sub-module, configured to determine the target candidate item selected by the user and post the target candidate item to the input box.
[0064] Optionally, the input information includes the input sequence on the input interface of the input method of the first device;
[0065] The information posting module includes:
[0066] The candidate item search sub-module is used to search for candidate items that match the input sequence and display them;
[0067] The third screen display sub-module is used to determine the target candidate item selected by the user and screen the target candidate item to the input box.
[0068] The embodiments of the present application include the following advantages:
[0069] In the embodiments of the present application, the first device can obtain the input information input by the user; based on the NFC communication connection with the second device, send the input information to the second device, so that the second device screens the information to the input box according to the input information. In the embodiments of the present application, the user can send the input information through the first device that is convenient for input to the second device that is not convenient for input and screen the information to the input box according to the input information, so that the user can quickly and conveniently screen the information to the input box of the second device and improve the user input efficiency. Brief Description of the Drawings
[0070] Figure 1 is a flowchart of the steps of an input method provided by an embodiment of the present application;
[0071] Figure 2 is a flowchart of the steps of another input method provided by an embodiment of the present application;
[0072] Figure 3 is a block diagram of the structure of an input device provided by an embodiment of the present application;
[0073] Figure 4 is a block diagram of the structure of an alternative embodiment of an input device provided by an embodiment of the present application;
[0074] Figure 5 is a block diagram of the structure of another input device provided by an embodiment of the present application;
[0075] Figure 6 is a block diagram of the structure of an alternative embodiment of another input device provided by an embodiment of the present application;
[0076] Figure 7 is a block diagram of the structure of an electronic device for input according to an exemplary embodiment of the present application;
[0077] Figure 8 is a schematic diagram of the structure of an electronic device for input according to another exemplary embodiment of the present application. Detailed Embodiments
[0078] To make the above objects, features, and advantages of the present application more obvious and understandable, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0079] One of the core concepts of the embodiments of this application is that the user can establish an NFC communication connection between an electronic device with convenient input and an electronic device with inconvenient input. The user can input input information through the electronic device with convenient input, and based on the NFC communication connection with the device, send the input information to the electronic device with inconvenient input to be displayed on the input box.
[0080] Referring to Figure 1 , a step flowchart of an input method provided by an embodiment of this application is shown. The method may specifically include the following steps:
[0081] Step 101, the first device obtains the input information input by the user.
[0082] In the embodiments of this application, the first device may be installed with an input method. The user can input input information through the input method on the first device. The input information may include information related to input, such as input sequences, candidate items, and information displayed on the screen (that is, the information in the input box). In an alternative embodiment of this application, the first device may obtain the input information input by the user on the input interface of the input method.
[0083] The input sequence is the content directly input by the user received by the input method. The input method can convert this input content into candidate items according to the input method currently used by the user and provide them for the user to select. The user can select the candidate item to be displayed on the screen in the input box as the information displayed on the screen.
[0084] In the embodiments of the application, the first device may be an electronic device convenient for the user to input, such as a mobile phone, a tablet computer, a laptop computer, etc. The input method of the first device supports multiple input methods. For example, pinyin input, stroke input, Wubi input, voice input, and handwriting input, etc. Through any of the above input methods, the user can complete the input of the input sequence. For input methods such as pinyin input, stroke input, and Wubi input, the input sequence is usually an encoded string input by the user through a keyboard, a touch screen, etc.; for handwriting input, the input sequence may be the movement trajectory input by the user through a handwriting board, a touch screen, etc. This application does not limit the user's input method, and the user can use any input method.
[0085] In an alternative embodiment of this application, the first device may respond to the user's operation and open the input interface of the input method, so that the user can input input information on the input interface.
[0086] Step 102, based on the NFC communication connection with the second device, send the input information to the second device, so that the second device performs information display on the screen in the input box according to the input information.
[0087] In the embodiments of the present application, the second device may be an electronic device that is not convenient for user input, such as a smart TV or a smart projector without a touch screen. For electronic devices without a touch screen, they are currently mainly controlled and input through a remote control or a console. The input method on the second device supports input based on a remote control or a console, so the input efficiency is low and the operation is inconvenient.
[0088] In the embodiments of the present application, both the first device and the second device have NFC (Near Field Communication) modules. By bringing the first device close to the second device so that the distance between the two devices is within the NFC communication range, the NFC module of the first device and the NFC module of the second device establish an NFC communication connection. The NFC peer-to-peer mode enables data transmission between the first device and the second device. Based on the NFC peer-to-peer mode, the input method of the first device can transmit data to the input method of the second device.
[0089] Based on the NFC communication between the first device and the second device, the input method of the first device can send input information to the input method of the second device, so that the input method of the second device screens the information in the input box according to the input information.
[0090] In an alternative embodiment of the present application, when the first device and the second device establish an NFC communication connection, the first device may open the input interface of the input method in response to the establishment of the NFC communication connection with the second device.
[0091] The first device can immediately open the input interface of the input method when the NFC communication connection with the second device is successfully established, so that the user can immediately input input information, saving the time for the user to open the input interface of the input method.
[0092] In an alternative embodiment of the present application, the first device may establish an NFC communication connection with the second device before obtaining the input information input by the user. The step 102 may include: when obtaining the input information input by the user, if an NFC communication connection has been established with the second device, the input information is sent to the second device in real time based on the NFC communication connection with the second device.
[0093] For example, a mobile phone with NFC function is brought into contact with a TV to establish an NFC communication connection, and an input interface is opened through the input method of the mobile phone. When the TV obtains the focus of the input box, the user can input through the input interface on the mobile phone side, and the on-screen information is transmitted to the TV in real time and screened on the input box of the TV.
[0094] In another alternative embodiment of the present application, after obtaining the input information entered by the user, the first device may establish an NFC communication connection with the second device. When obtaining the input information entered by the user, if the NFC communication connection with the second device has not been established, the first device may store the input information. The step 102 may include: when the NFC communication connection with the second device is established, based on the NFC communication connection with the second device, sending the stored input information to the second device.
[0095] For example, when the input interface of the mobile phone's input method is opened and the text "sports meeting" is entered, after the TV obtains the focus of the input box, the user touches the mobile phone with NFC function and the TV, and the on-screen information "sports meeting" of the mobile phone is transmitted to the TV through NFC peer-to-peer transmission and is displayed on the input box of the TV.
[0096] In the embodiment of the present application, the first device may obtain the input information entered by the user; based on the NFC communication connection with the second device, send the input information to the second device so that the second device can perform information on-screen in the input box according to the input information. In the embodiment of the present application, the user can send the input information through the first device that is convenient for input to the second device that is not convenient for input and perform information on-screen in the input box according to the input information, so that the user can quickly and conveniently perform information on-screen in the input box of the second device and improve the user input efficiency.
[0097] Refer to Figure 2 , which shows the step flow chart of another input method provided by the embodiment of the present application. The method may specifically include the following steps:
[0098] Step 201, the second device receives the input information sent by the first device based on the NFC communication connection with the first device.
[0099] In the embodiment of the present application, the second device may be an electronic device that is not convenient for the user to input, such as a smart TV or a smart projector without a touch screen. By bringing the first device close to the second device so that the distance between the two devices is within the NFC communication range, the NFC module of the first device and the NFC module of the second device establish an NFC communication connection. The second device may receive the input information sent by the first device based on the NFC communication connection.
[0100] Step 202, perform information on-screen in the input box according to the input information.
[0101] When the user needs to input on the second device, the user can select the required input box. For example, for a TV, the user can select "Search" on the menu page through the remote control and enter the search page, and there may be an input box on the search page for the user to enter keywords.
[0102] In an alternative embodiment of the present application, when it is detected that the input box gains focus, the input information can be displayed on the input box according to the input information. If the input box gains focus, it means that input can be performed in the input box; if the input box does not gain focus, it means that input cannot be performed in the input box.
[0103] When the input information is received, if the second device does not detect that the input box gains focus, the input information is stored. After detecting that the input box gains focus, the second device then displays the input information on the input box according to the stored input information.
[0104] In an alternative embodiment of the present application, the input information may include the information displayed on the input interface of the input method of the first device; step 202 may include: displaying the information displayed on the input interface of the input method of the first device on the input box.
[0105] Specifically, the user can input an input sequence on the input interface of the input method of the first device. The input method of the first device can query and display the matching candidates according to the input sequence; based on the user's selection operation, the selected candidate is used as the information to be displayed and is displayed on the input box of the input interface. The input method of the first device can send the information to be displayed in the input box of the input interface to the input method of the second device based on the NFC communication connection, and the input method of the second device can display the information to be displayed on the input box of the second device.
[0106] In another alternative embodiment of the present application, the input information includes the candidates determined according to the input sequence on the input interface of the input method of the first device; step 202 may include: displaying the candidates determined according to the input sequence on the input interface of the input method of the first device; determining the target candidate selected by the user, and displaying the target candidate on the input box.
[0107] Specifically, the user can input an input sequence on the input interface of the input method of the first device. The input method of the first device can query the matching candidates according to the input sequence; the input method of the first device can send the candidates to the input method of the second device based on the NFC communication connection, and the input method of the second device can display the candidates; based on the user's selection operation, the selected target candidate is used as the information to be displayed and is displayed on the input box of the second device.
[0108] In another alternative embodiment of the present application, the input information includes the input sequence on the input interface of the input method of the first device; step 202 may include: searching for and displaying the candidates matching the input sequence; determining the target candidate selected by the user, and displaying the target candidate on the input box.
[0109] Specifically, the user can input an input sequence on the input interface of the input method of the first device. The input method of the first device can send the input sequence to the input method of the second device based on the NFC communication connection. The input method of the second device can query and display the matching candidate items according to the input sequence, and use the selected target candidate item as the input information to be inputted onto the input box of the second device based on the user's selection operation.
[0110] In the embodiment of the present application, the second device receives the input information sent by the first device based on the NFC communication connection with the first device, and inputs the information onto the input box according to the input information. In the embodiment of the present application, the user can send the input information from the first device that is convenient for input to the second device that is not convenient for input, and input the information onto the input box according to the input information, so that the user can quickly and conveniently input the information onto the input box of the second device, improving the user input efficiency.
[0111] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the embodiments of the present application are not limited by the described action sequence, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required in the embodiments of the present application.
[0112] Refer to Figure 3 , which shows a structural block diagram of an input device provided by an embodiment of the present application, and specifically may include the following modules:
[0113] The input information acquisition module 301 is configured to acquire the input information input by the user;
[0114] The input information sending module 302 is configured to send the input information to the second device based on the NFC communication connection with the second device, so that the second device inputs the information onto the input box according to the input information.
[0115] Refer to Figure 4 , which shows a structural block diagram of an alternative embodiment of an input device provided by an embodiment of the present application.
[0116] In an alternative embodiment of the present application, the input information acquisition module 301 may include:
[0117] The input interface information acquisition sub-module 3011 is configured to acquire, by the first device, the input information input by the user on the input interface of the input method.
[0118] In an alternative embodiment of the present application, the device may further include:
[0119] An input interface opening module 303, configured to open an input interface of an input method in response to a user operation; or, open an input interface of the input method in response to the establishment of an NFC communication connection with the second device.
[0120] In an optional embodiment of the present application, the input information sending module 302 may include:
[0121] A real-time input information sending sub-module 3021, configured to, when obtaining input information input by a user, if an NFC communication connection has been established with the second device, based on the NFC communication connection with the second device, send the input information to the second device in real time.
[0122] In an optional embodiment of the present application, the device may further include:
[0123] An input information storage module 304, configured to, when obtaining input information input by a user, if an NFC communication connection has not been established with the second device, store the input information;
[0124] The input information sending module 302 may include:
[0125] A stored input information sending sub-module 3022, configured to, when an NFC communication connection with the second device is established, based on the NFC communication connection with the second device, send the stored input information to the second device.
[0126] In an embodiment of the present application, the first device may obtain input information input by a user; based on an NFC communication connection with the second device, send the input information to the second device, so that the second device performs information input on the input box according to the input information. In the embodiment of the present application, the user may send input information through the first device that is convenient for input to the second device that is not convenient for input and perform information input on the input box according to the input information, so that the user can quickly and conveniently perform information input on the input box of the second device, improving the user input efficiency.
[0127] Refer to Figure 5 , which shows a structural block diagram of another input device provided by an embodiment of the present application, and may specifically include the following modules:
[0128] An input information receiving module 501, configured to receive the input information sent by the first device by the second device based on an NFC communication connection with the first device;
[0129] An input-on-screen module 502, configured to perform information input on the input box according to the input information.
[0130] Refer to Figure 6 , which shows a structural block diagram of an optional embodiment of another input device provided by an embodiment of the present application.
[0131] In an optional embodiment of the present application, the upper screen module 502 may include:
[0132] A focus detection sub-module 5021, configured to perform information upper screen in the input box according to the input information when it is detected that the input box obtains focus.
[0133] In an optional embodiment of the present application, the device may further include:
[0134] An input information storage module 503, configured to store the input information when the input information is received and it is not detected that the input box obtains focus.
[0135] In an optional embodiment of the present application, the upper screen module 502 may include:
[0136] A first upper screen sub-module 5022, configured to upper screen the upper screen information of the input interface of the input method of the first device to the input box.
[0137] In an optional embodiment of the present application, the upper screen module 502 may include:
[0138] A candidate item display sub-module 5023, configured to display the candidate items determined according to the input sequence in the input interface of the input method of the first device;
[0139] A second upper screen sub-module 5024, configured to determine the target candidate item selected by the user and upper screen the target candidate item to the input box.
[0140] In an optional embodiment of the present application, the upper screen module 502 may include:
[0141] A candidate item search sub-module 5025, configured to search for and display the candidate items matching the input sequence;
[0142] A third upper screen sub-module 5026, configured to determine the target candidate item selected by the user and upper screen the target candidate item to the input box.
[0143] In the embodiment of the present application, the second device receives the input information sent by the first device based on the NFC communication connection with the first device, and performs information upper screen in the input box according to the input information. In the embodiment of the present application, the user can send the input information from the first device that is convenient for input to the second device that is not convenient for input and perform information upper screen in the input box according to the input information, so that the user can quickly and conveniently perform information upper screen in the input box of the second device, improving the user input efficiency.
[0144] For the apparatus embodiments, since they are substantially similar to the method embodiments, they are described more simply, and for the relevant parts, reference may be made to the partial description of the method embodiments.
[0145] Figure 7 FIG. 4 is a block diagram of an electronic device 700 for input according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a smart wearable device, etc.
[0146] Referring Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716.
[0147] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-described method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0148] The memory 704 is configured to store various types of data to support the operation of the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0149] The power component 706 provides power to various components of the electronic device 700. The power component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 700.
[0150] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0151] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
[0152] The I / O interface 712 provides an interface between the processing component 702 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0153] The sensor component 714 includes one or more sensors for providing a status assessment of various aspects of the electronic device 700. For example, the sensor component 714 can detect the on / off state of the electronic device 700, the relative positioning of components, such as the display and the keypad of the electronic device 700. The sensor component 714 can also detect a change in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700. The sensor component 714 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 714 can also include a light sensor, such as a CMOS or a CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0154] The communication component 716 is configured to facilitate communication between the electronic device 700 and other devices in a wired or wireless manner. The electronic device 700 can access a communication standard-based wireless network, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 714 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 714 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0155] In an exemplary embodiment, the electronic device 700 can be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.
[0156] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 704 including instructions, is also provided. The above instructions can be executed by a processor 720 of the electronic device 700 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0157] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute an input method, the method including:
[0158] The first device obtains input information input by a user;
[0159] Based on an NFC communication connection with a second device, the first device sends the input information to the second device, so that the second device screens the information in an input box according to the input information.
[0160] Optionally, the first device obtaining the input information input by the user includes:
[0161] The first device obtains the input information input by the user in an input interface of an input method.
[0162] Optionally, it further includes:
[0163] In response to a user operation, an input interface of an input method is opened;
[0164] Alternatively, in response to establishing an NFC communication connection with the second device, open the input interface of the input method.
[0165] Optionally, sending input information to the second device based on the NFC communication connection with the second device includes:
[0166] When obtaining the input information input by the user, if an NFC communication connection has been established with the second device, send the input information to the second device in real time based on the NFC communication connection with the second device.
[0167] Optionally, it further includes:
[0168] When obtaining the input information input by the user, if an NFC communication connection has not been established with the second device, store the input information;
[0169] Sending input information to the second device based on the NFC communication connection with the second device includes:
[0170] When the NFC communication connection with the second device is established, send the stored input information to the second device based on the NFC communication connection with the second device.
[0171] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enable the electronic device to execute an input method, and the method includes:
[0172] The second device receives the input information sent by the first device based on the NFC communication connection with the first device;
[0173] Perform information input on the input box according to the input information.
[0174] Optionally, performing information input on the input box according to the input information includes:
[0175] When it is detected that the input box obtains focus, perform information input on the input box according to the input information.
[0176] Optionally, it further includes:
[0177] When receiving the input information, if it is not detected that the input box obtains focus, store the input information.
[0178] Optionally, the input information includes the input information on the input interface of the input method of the first device;
[0179] Performing information input on the input box according to the input information includes:
[0180] Input the input information on the input interface of the input method of the first device into the input box.
[0181] Optionally, the input information includes candidates determined according to an input sequence on an input interface of an input method of the first device.
[0182] Performing information input onto an input box according to the input information includes:
[0183] Displaying the candidates determined according to the input sequence on the input interface of the input method of the first device;
[0184] Determining a target candidate selected by a user, and inputting the target candidate onto the input box.
[0185] Optionally, the input information includes an input sequence on an input interface of an input method of the first device.
[0186] Performing information input onto an input box according to the input information includes:
[0187] Searching for and displaying candidates matching the input sequence;
[0188] Determining a target candidate selected by a user, and inputting the target candidate onto the input box.
[0189] Figure 8 FIG. 800 is a schematic structural diagram of an electronic device for input according to another exemplary embodiment of the present application. The electronic device 800 may be a server, which may vary greatly due to different configurations or performances, and may include one or more central processing units (CPUs) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) for storing application programs 842 or data 844. Among them, the memory 832 and the storage media 830 may be transient storage or persistent storage. The program stored in the storage media 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Further, the central processor 822 may be configured to communicate with the storage media 830 and execute a series of instruction operations in the storage media 830 on the server.
[0190] The server may further include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input / output interfaces 858, one or more keyboards 856, and / or one or more operating systems 841, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so on.
[0191] In an exemplary embodiment, the server is configured to execute, by one or more central processors 822, one or more programs including instructions for performing the following operations:
[0192] The first device obtains input information input by a user;
[0193] Based on an NFC communication connection with the second device, send the input information to the second device, so that the second device screens the information in the input box according to the input information.
[0194] Optionally, the first device obtaining the input information input by the user includes:
[0195] The first device obtains the input information input by the user on the input interface of the input method.
[0196] Optionally, it further includes:
[0197] In response to a user operation, open the input interface of the input method;
[0198] Or, in response to the establishment of an NFC communication connection with the second device, open the input interface of the input method.
[0199] Optionally, the sending the input information to the second device based on the NFC communication connection with the second device includes:
[0200] When obtaining the input information input by the user, if an NFC communication connection has been established with the second device, based on the NFC communication connection with the second device, send the input information to the second device in real time.
[0201] Optionally, it further includes:
[0202] When obtaining the input information input by the user, if an NFC communication connection has not been established with the second device, store the input information;
[0203] The sending the input information to the second device based on the NFC communication connection with the second device includes:
[0204] When the NFC communication connection with the second device is established, based on the NFC communication connection with the second device, send the stored input information to the second device.
[0205] In another exemplary embodiment, the server is configured to execute, by one or more central processors 822, one or more programs including instructions for performing the following operations:
[0206] The second device receives the input information sent by the first device based on the NFC communication connection with the first device;
[0207] Perform information input on the input box according to the input information.
[0208] Optionally, performing information input on the input box according to the input information includes:
[0209] When it is detected that the input box gains focus, perform information input on the input box according to the input information.
[0210] Optionally, it further includes:
[0211] When the input information is received, if it is not detected that the input box gains focus, store the input information.
[0212] Optionally, the input information includes the input information on the input interface of the input method of the first device;
[0213] Performing information input on the input box according to the input information includes:
[0214] Input the input information on the input interface of the input method of the first device into the input box.
[0215] Optionally, the input information includes the candidate items determined according to the input sequence on the input interface of the input method of the first device;
[0216] Performing information input on the input box according to the input information includes:
[0217] Display the candidate items determined according to the input sequence on the input interface of the input method of the first device;
[0218] Determine the target candidate item selected by the user, and input the target candidate item into the input box.
[0219] Optionally, the input information includes the input sequence on the input interface of the input method of the first device;
[0220] Performing information input on the input box according to the input information includes:
[0221] Search for and display the candidate items matching the input sequence;
[0222] Determine the target candidate item selected by the user, and input the target candidate item into the input box.
[0223] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it realizes each process of the above input method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0224] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other.
[0225] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application can take the form of all-hardware embodiments, all-software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments of the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0226] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0227] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0228] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0229] Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0230] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.
[0231] The above has introduced in detail an input method and an input device provided by the present application. Specific examples are used in this text to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. An input method, characterized in that, Applied to a first device, including: When the distance between the first device and the second device is within the NFC communication range, establish an NFC communication connection with the second device; Obtain input information entered by the user in the input interface, where the input information includes one or more of an input sequence, candidate items, and information to be displayed on the screen; Based on the NFC communication connection between the first device and the second device, send the input information to the second device, so that when the second device has obtained the focus of the input box, the information is displayed on the screen in the input box in real time according to the input information, or when the second device has not detected that the input box has obtained the focus, store the input information and display the information on the screen in the input box according to the stored input information after detecting that the input box has obtained the focus; When the first device has not established an NFC communication connection with the second device, store the input information entered by the user in the input interface; In response to the distance between the first device and the second device being within the NFC communication range, establish an NFC communication connection with the second device; Based on the NFC communication connection between the first device and the second device, send the stored input information to the second device, so that when the second device has obtained the focus of the input box, the information is displayed on the screen in the input box according to the input information, or when the second device has not detected that the input box has obtained the focus, store the input information and display the information on the screen in the input box according to the stored input information after detecting that the input box has obtained the focus.
2. The method according to claim 1, characterized in that The obtaining of the input information entered by the user in the input interface includes: Obtain the input information entered by the user in the input interface of the input method.
3. The method according to claim 2, wherein It further includes: In response to a user operation, open the input interface of the input method.
4. An input method, characterized in that, Applied to a second device, including: When the distance between the second device and the first device is within the NFC communication range, establish an NFC communication connection with the first device; Based on the NFC communication connection between the second device and the first device, receive input information, where the input information includes one or more of an input sequence, candidate items, and information to be displayed on the screen, and the input information is obtained by the first device in real time and sent to the second device when establishing an NFC communication connection with the second device, or the input information is stored by the first device when not establishing an NFC communication connection with the second device and sent to the second device after establishing an NFC communication connection with the second device; When the focus of the input box has been obtained, display the information on the screen in the input box according to the input information; When the focus of the input box has not been detected, store the input information, and after detecting that the focus of the input box has been obtained, display the information on the screen in the input box according to the stored input information.
5. An input device, characterized in that, Applied to a first device, the device includes: An input information acquisition module, configured to establish an NFC communication connection with the second device when the distance between the first device and the second device is within the NFC communication range; acquire input information input by a user in an input interface, where the input information includes one or more of an input sequence, a candidate item, and a screen-up information; An input information sending module, configured to send the input information to the second device based on the NFC communication connection between the first device and the second device, so that when the second device has obtained the focus of an input box, the second device performs information screen-up in the input box in real time according to the input information, or when the second device does not detect that the input box has obtained the focus, the second device stores the input information and performs information screen-up in the input box according to the stored input information after detecting that the input box has obtained the focus; An input information storage module, configured to store the input information input by the user in the input interface when the first device does not establish an NFC communication connection with the second device; The input information sending module is further configured to respond to the distance between the first device and the second device being within the NFC communication range, establish an NFC communication connection with the second device; and send the stored input information to the second device based on the NFC communication connection between the first device and the second device, so that when the second device has obtained the focus of an input box, the second device performs information screen-up in the input box according to the input information, or when the second device does not detect that the input box has obtained the focus, the second device stores the input information and performs information screen-up in the input box according to the stored input information after detecting that the input box has obtained the focus.
6. An input device, characterized in that, Applied to a second device, including: An input information receiving module, configured to establish an NFC communication connection with the first device when the distance between the second device and the first device is within the NFC communication range; receive input information based on the NFC communication connection between the second device and the first device, where the input information includes one or more of an input sequence, a candidate item, and a screen-up information, and the input information is obtained by the first device and sent to the second device in real time when the first device establishes an NFC communication connection with the second device, or the input information is stored by the first device when the first device does not establish an NFC communication connection with the second device and sent to the second device after the first device establishes an NFC communication connection with the second device; A screen-up module, configured to perform information screen-up in an input box according to the input information when the focus of the input box has been obtained; store the input information when the focus of the input box has not been detected, and perform information screen-up in the input box according to the stored input information after detecting that the focus of the input box has been obtained.
7. An electronic device, characterized in that, Including: A processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the input method according to any one of claims 1-3 or 4.
8. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the input method according to any one of claims 1-3 or 4 are implemented.
Citation Information
Patent Citations
Cross-screen input method and device
CN112684995A