Auxiliary input method and electronic equipment

By using the auxiliary input method on an electronic device that does not support touch screen, using the connection between the first electronic device and the second electronic device, displaying the input window and obtaining the contents input by the user, the problem of low input efficiency and accuracy is solved, and the problem of low input efficiency and accuracy is realized. Quick input between multiple devices, improving user experience.

CN119024972APending Publication Date: 2024-11-26HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310609437.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

When touch screen input is not supported in existing electronic devices, the input efficiency and accuracy are low, and a fast input method is lacking.

Method used

Provide an auxiliary input method, through the connection between the first electronic device and the second electronic device, display the input window and obtain the content input by the user, realize auxiliary input to the second electronic device, and support full-screen, suspended or split-screen display. , and includes minimizing and closing controls to optimize the user experience.

Benefits of technology

It improves the input efficiency and accuracy of users on touch-screen electronic devices that do not support touch screen, allowing users to quickly switch inputs between multiple devices, meeting the needs of simultaneous input of multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119024972A_ABST
    Figure CN119024972A_ABST
Patent Text Reader

Abstract

The invention provides an auxiliary input method and electronic equipment. In the method, in response to a first operation or receiving an auxiliary input request sent by a second electronic device, a first electronic device displays a first input window; the first input window is used for carrying out auxiliary input on the second electronic equipment. In response to the second operation, the first electronic equipment obtains first content corresponding to the second operation and sends the first content to the second electronic equipment; the second operation is an operation of selecting the first content from the plurality of candidate contents when the content is input in the first input window. Through the scheme, the first electronic equipment can be used as input auxiliary equipment of the second electronic equipment, so that a user can conveniently and quickly input contents on the second electronic equipment. The first electronic device can send the content input by the user to the second electronic device every time after obtaining the content input by the user, and it is guaranteed that the second electronic device synchronously displays the content input by the user through the first electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to an auxiliary input method and electronic equipment. Background Art

[0002] Currently, in electronic devices that support touch screens, soft keyboard input has become the most commonly used input method for users, greatly improving the input efficiency of users. Electronic devices that do not support touch screens can only rely on input methods such as remote controls, physical buttons or voice dictation for input, and both input efficiency and accuracy need to be improved.

[0003] Therefore, there is an urgent need for a quick input method that can be applied to various electronic devices. Summary of the invention

[0004] The present application provides an auxiliary input method and an electronic device, which are used to provide an efficient and fast auxiliary input mode.

[0005] In a first aspect, the present application provides an auxiliary input method, which can be performed by a first electronic device. The method includes: in response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, displaying a first input window; the first operation is to trigger the operation of starting auxiliary input for the second electronic device, and the first input window is used for auxiliary input for the second electronic device; in response to detecting a second operation, obtaining a first content corresponding to the second operation, and sending the first content to the second electronic device; the second operation is to select the first content from multiple candidate contents when inputting content in the first input window.

[0006] In the above method, the first electronic device can be used as an input auxiliary device for the second electronic device, so that the user can quickly input content on the second electronic device and improve input efficiency. After the first electronic device obtains the content input by the user each time, it can send the content input by the user to the second electronic device, so as to ensure that the second electronic device synchronously displays the content input by the user through the first electronic device.

[0007] In one possible design, the first input window is a full-screen window; or the first input window is a floating window located on the current display interface of the first electronic device; or the first input window is a split-screen window.

[0008] Through this design, the first electronic device can flexibly display the first input window in the form of full screen, split screen or floating window, so that when the user uses the first electronic device to assist the input of the second electronic device, the user can still process the business of the first electronic device, thereby improving the user experience.

[0009] In one possible design, the first input window includes a minimize control and a close control; the minimize control is used to set the first input window to run in the background and suspend the auxiliary input to the second electronic device; the close control is used to close the first input window and end the auxiliary input to the second electronic device.

[0010] Through this design, the first input window in the present application can include a minimize control and a close control to quickly switch or close the auxiliary input function.

[0011] In one possible design, the method further includes: pausing the auxiliary input to the second electronic device when a service having a higher priority than the auxiliary input is received; and resuming the auxiliary input to the second electronic device when the service is determined to be ended.

[0012] With this design, when the first electronic device receives a service with a higher priority than the auxiliary input, the auxiliary input can be paused and the higher priority service can be executed, ensuring that the auxiliary input does not affect the normal service processing of the first electronic device.

[0013] In one possible design, the service having a higher priority than the auxiliary input is the incoming call service.

[0014] Through this design, when the first electronic device receives an incoming call service, the first electronic device can process the incoming call service with priority.

[0015] In one possible design, before sending the first content to the second electronic device through the connection between the first electronic device and the second electronic device, the method further includes: compressing the first content;

[0016] The sending the first content to the second electronic device includes: sending the compressed first content to the second electronic device.

[0017] Through this design, the first electronic device can send the compressed first content to the second electronic device, thereby improving communication efficiency.

[0018] In one possible design, the method further includes: detecting a delete operation in the first input window, and sending a delete instruction to the second electronic device.

[0019] Through this design, when the user triggers a deletion operation in the input window of the first electronic device, the first electronic device can send a deletion instruction to the second electronic device, and the second electronic device can execute the deletion instruction to ensure that the content in the first input control of the second electronic device is consistent with the content in the input window of the first electronic device.

[0020] In a possible design, the deletion operation is a one-click operation performed by the user on the deletion control.

[0021] Through this design, the deletion operation in the present application can be that the user clicks the delete control once. Each time the user clicks the delete control, the first electronic device can send a deletion instruction to the second electronic device, thereby ensuring that the second electronic device can perform the deletion operation synchronously with the first electronic device, making the auxiliary input more accurate.

[0022] In one possible design, the method also includes: in response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, enabling auxiliary input to the third electronic device; the third operation is an operation that triggers the enabling of auxiliary input to the third electronic device; in response to detecting a fourth operation, determining that the third electronic device is an assisted device; in response to detecting a fifth operation, acquiring second content corresponding to the fifth operation, and sending the second content to the third electronic device; the fifth operation is an operation of selecting the second content from multiple candidate contents.

[0023] Through this design, the first electronic device can simultaneously assist input to multiple electronic devices, and can switch the current assisted input device according to user operations, thereby meeting the user's needs for input on multiple electronic devices at the same time and improving the user experience.

[0024] In one possible design, the first input window is also used for auxiliary input to the third electronic device.

[0025] With this design, the first input window displayed on the first electronic device can be used to assist input on multiple electronic devices, and the user can switch between different assisted devices in one input window, which makes the operation simple.

[0026] In one possible design, after determining that the third electronic device is an assisted device in response to detecting a fourth operation, the method further includes: displaying a second input window, where the second input window is used for auxiliary input to the third electronic device.

[0027] With this design, the first electronic device can create an input window for each assisted device, so that the user can perform auxiliary input on different assisted devices in different input windows, making it easier for the user to distinguish the current assisted device.

[0028] In a second aspect, the present application provides an auxiliary input method, which can be performed by a first electronic device. The method includes: in response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, displaying a first input window; the first operation is to trigger the operation of enabling auxiliary input to the second electronic device; in response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, enabling auxiliary input to the third electronic device; the third operation is to trigger the operation of enabling auxiliary input to the third electronic device; the first input window is used for auxiliary input to the second electronic device and the third electronic device; in response to detecting a sixth operation, determining that the second electronic device is an assisted device; obtaining a third content input by the user in the first input window, and sending the third content to the second electronic device.

[0029] In the above method, the electronic device can simultaneously assist multiple electronic devices in quick input based on one input window, eliminating the need for the user to operate input on each electronic device separately when using multiple electronic devices, thereby meeting the user's input needs when using multiple devices.

[0030] In one possible design, obtaining the third content input by the user in the first input window includes: in response to detecting a seventh operation, obtaining the third content corresponding to the seventh operation; the seventh operation is an operation of selecting the third content from multiple candidate contents when inputting content in the first input window.

[0031] With this design, each time the first electronic device obtains the content input by the user, it can send the content input by the user to the second electronic device, thereby ensuring that the second electronic device synchronously displays the content input by the user through the first electronic device.

[0032] In one possible design, the method further includes: in response to detecting a fourth operation, determining that the third electronic device is an assisted device; obtaining second content input by the user in the first input window, and sending the second content to the third electronic device.

[0033] Through this design, the first electronic device can simultaneously assist input to multiple electronic devices, and can switch the current assisted input device according to user operations, thereby meeting the user's needs for input on multiple electronic devices at the same time and improving the user experience.

[0034] In one possible design, obtaining the second content input by the user in the first input window includes: in response to detecting a fifth operation, obtaining the second content corresponding to the fifth operation; the fifth operation is an operation of selecting the second content from multiple candidate contents when content is input in the first input window.

[0035] In a third aspect, the present application provides an auxiliary input method, which can be performed by a first electronic device. The method includes: in response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, creating a first input window; the first operation is to trigger the operation of starting auxiliary input for the second electronic device, and the first input window is used for auxiliary input for the second electronic device; in response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, creating a second input window; the third operation is to trigger the operation of starting auxiliary input for the third electronic device, and the second input window is used for auxiliary input for the third electronic device; in response to detecting a sixth operation, determining that the second electronic device is an assisted device, setting the focus on the first input window; obtaining the third content entered by the user in the first input window, and sending the third content to the second electronic device.

[0036] In the above method, the electronic device can simultaneously assist multiple electronic devices to perform quick input based on multiple input windows, each input window corresponds to an assisted device, and the user can input content in the input window corresponding to each assisted device to perform auxiliary input on the assisted device. This solution does not require the user to operate input on each electronic device separately when using multiple electronic devices, thus meeting the user's input needs when using multiple devices.

[0037] In one possible design, obtaining the third content input by the user in the first input window includes: in response to detecting a seventh operation, obtaining the third content corresponding to the seventh operation; the seventh operation is an operation of selecting the third content from multiple candidate contents when inputting content in the first input window.

[0038] With this design, each time the first electronic device obtains the content input by the user, it can send the content input by the user to the second electronic device, thereby ensuring that the second electronic device synchronously displays the content input by the user through the first electronic device.

[0039] In one possible design, the method also includes: in response to detecting a fourth operation, determining that the third electronic device is an assisted device, setting the focus on the second input window; obtaining second content input by the user in the second input window, and sending the second content to the third electronic device.

[0040] Through this design, the first electronic device can simultaneously assist input to multiple electronic devices, switch the current assisted input device according to user operations, and set the focus in the input window corresponding to the current assisted device, so as to facilitate the user to input in the input window corresponding to the assisted device, meet the user's needs for input on multiple electronic devices at the same time, and improve the user experience.

[0041] In one possible design, obtaining the second content input by the user in the second input window includes: in response to detecting a fifth operation, obtaining the second content corresponding to the fifth operation; the fifth operation is an operation of selecting the second content from multiple candidate contents when content is input in the second input window.

[0042] In a fourth aspect, the present application provides an electronic device, the electronic device comprising a plurality of functional modules; the plurality of functional modules interact with each other to implement the method performed by the first electronic device in the first aspect and its respective embodiments. The plurality of functional modules may be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules may be arbitrarily combined or divided based on specific implementations.

[0043] In a fifth aspect, the present application provides an electronic device comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes the method executed by the first electronic device in the above-mentioned first aspect and each embodiment thereof.

[0044] In a sixth aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method executed by the first electronic device in any of the above aspects and each embodiment thereof.

[0045] In the seventh aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a computer, the computer executes the method executed by the first electronic device in any of the above aspects and its various embodiments.

[0046] In an eighth aspect, the present application further provides a chip, which is used to read a computer program stored in a memory and execute the method executed by the first electronic device in any of the above aspects and each embodiment thereof.

[0047] In a ninth aspect, the present application further provides a chip system, which includes a processor for supporting a computer device to implement the method executed by the first electronic device in any of the above aspects and each embodiment thereof. In a possible design, the chip system also includes a memory, which is used to store the necessary programs and data of the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of a scenario applicable to an input method provided in an embodiment of the present application;

[0049] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0050] Figure 3 A software structure block diagram of an electronic device provided in an embodiment of the present application;

[0051] Figure 4 A flowchart of an auxiliary input method provided in an embodiment of the present application;

[0052] Figure 5 A schematic diagram of a first operation provided in an embodiment of the present application;

[0053] Figure 6 A schematic diagram of a first operation provided in an embodiment of the present application;

[0054] Figure 7 A schematic diagram of an input window provided in an embodiment of the present application;

[0055] Figure 8 A schematic diagram of a user inputting content in an input window provided in an embodiment of the present application;

[0056] Fig. 9 A flowchart of a method for assisting multi-device input provided in an embodiment of the present application;

[0057] Fig.10 A schematic diagram of a display interface when a first electronic device is used as an auxiliary input device for multiple electronic devices provided in an embodiment of the present application;

[0058] Fig.11 A flowchart of an auxiliary input method provided in an embodiment of the present application;

[0059] Fig.12 A flowchart of an auxiliary input method provided in an embodiment of the present application;

[0060] Fig.13 A flowchart of an auxiliary input method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of the present application, the terms "first" and "second" are used only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0062] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0063] Currently, in electronic devices that support touch screens, soft keyboard input has been widely used and has become the most commonly used input method for users, greatly improving the input efficiency of users. Electronic devices that do not support touch screens can only rely on input methods such as remote controls, physical buttons, or voice dictation for input. For example, smart TVs do not support touch screen operations. When users need to input text, smart TVs display a virtual keyboard on the screen. Users use the remote control to control the cursor to select the letter keys in the virtual keyboard to input content. It can be seen that the input efficiency of this input method is low.

[0064] Based on the above problems, an embodiment of the present application provides an input method. Figure 1 A schematic diagram of a scenario in which an input method provided in an embodiment of the present application is applicable. Figure 1 The interaction scenario may include a first electronic device and a second electronic device, and the first electronic device may be an auxiliary device supporting a touch screen, such as Figure 1 In the example, the first electronic device is a mobile phone; the second electronic device can be an auxiliary device, such as in the example of the second electronic device being a smart TV. A communication connection can be established between the first electronic device and the second electronic device, such as data can be transmitted between the first electronic device and the second electronic device via a Bluetooth connection or a wireless fidelity (Wi-Fi) connection.

[0065] In the input method provided in an embodiment of the present application, in response to a first operation or receiving an auxiliary input request sent by a second electronic device, the first electronic device establishes a connection with the second electronic device. The first electronic device displays a first input window. In response to a second operation, the first electronic device obtains the first content corresponding to the second operation, and sends the first content to the second electronic device through the connection between the first electronic device and the second electronic device, wherein the second operation is an operation in which a user selects the first content from a plurality of candidate contents when inputting content in the first input window. The second electronic device displays the first content in the first input control.

[0066] Through the input method provided in the embodiment of the present application, the first electronic device can be used as an input auxiliary device for the second electronic device, so that the user can quickly input content on the second electronic device and improve input efficiency.

[0067] In some embodiments of the present application, Figure 1 The interactive scenario shown may also include a third electronic device, such as Figure 1 The third electronic device is a smart watch as an example. The first electronic device can be used as an auxiliary input device for the second electronic device and the third electronic device. That is to say, the first electronic device can establish a connection with the second electronic device and the third electronic device at the same time, and the first electronic device can switch to assist the second electronic device or the third electronic device for input, so that one electronic device assists multiple electronic devices for quick input, without the user having to operate the input on each electronic device separately when using multiple electronic devices, thus meeting the user's input needs when using multiple devices.

[0068] Understandably, Figure 1 It is only an example of the scenario to which the auxiliary input method provided in the embodiment of the present application is applicable, but not a limitation. In a specific implementation, the first electronic device can also perform auxiliary input on more electronic devices. For specific implementation methods, please refer to the introduction of the embodiment of the present application, and the repeated parts will not be repeated.

[0069] The following describes electronic devices and embodiments for using such electronic devices. In the embodiments of the present application, the first electronic device may be a touch screen device, such as a tablet computer, a mobile phone, a vehicle-mounted device, a wearable device, etc.; the second electronic device and the third electronic device may be non-touch screen devices or electronic devices that are not convenient for touch screen input, such as smart TVs, smart home devices, wearable devices, etc.; the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0070] Figure 2 FIG. 1 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. Figure 2As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0071] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.

[0072] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.

[0073] The wireless communication function of the electronic device 100 can be implemented by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, antenna 1 can be reused as a diversity antenna of a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0074] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0075] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0076] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0077] The display screen 194 is used to display the display interface of the application, such as displaying the display page of the application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0078] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0079] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, and software code of at least one application, etc. The data storage area can store data generated during the use of the electronic device 100 (such as captured images, recorded videos, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0080] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures and videos are stored in the external memory card.

[0081] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0082] The sensor module 180 may include a pressure sensor 180A, an acceleration sensor 180B, etc. Optionally, when the electronic device 100 is a touch screen device, the sensor module 180 may further include a touch sensor 180C.

[0083] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .

[0084] The touch sensor 180C is also called a "touch panel". The touch sensor 180C can be set on the display screen 194, and the touch sensor 180C and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180C is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180C can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0085] The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The electronic device 100 can receive the button input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 195, or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.

[0086] Understandably, Figure 2 The components shown do not constitute a specific limitation on the electronic device 100. The electronic device may also include more or fewer components than shown, or combine some components, or separate some components, or arrange the components differently. Figure 2 The combination / connection relationship between the components can also be adjusted and modified.

[0087] Figure 3 The software structure block diagram of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the software structure of the electronic device can be a layered architecture, for example, the software can be divided into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer (framework, FWK), the runtime (runtime) and the system library, and the kernel layer.

[0088] The application layer can include a series of application packages. Figure 3 As shown, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, the third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. In the embodiment of the present application, the application layer may include a target installation package of a target application that the electronic device requests to download from a server, and the function files and layout files in the target installation package are adapted to the electronic device.

[0089] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions. Figure 3 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and a Bluetooth framework. In the embodiment of the present application, the application framework layer may also include an input method service.

[0090] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0091] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0092] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).

[0093] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0094] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0095] The input method service can be used to transfer text content to the input method services of other electronic devices. For example, after the user inputs text content in the electronic device 100, the input method service of the electronic device 100 can obtain the text content input by the user from the input method application, compress the text content, and send the compressed text content to the input method service of other electronic devices, thereby enabling the electronic device 100 to serve as an auxiliary input device for other electronic devices. For another example, after the input method service of the electronic device 100 receives the compressed text content sent by the input method service of other electronic devices, it can decompress the compressed text content, obtain the text content, and send the text content to the input method application, thereby enabling the other electronic devices to serve as auxiliary input devices for the electronic device 100.

[0096] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.

[0097] The core library consists of two parts: one is the function that the Java language needs to call, and the other is the core library of the operating system. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0098] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), image processing library, etc.

[0099] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0100] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0101] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0102] A 2D graphics engine is a drawing engine for 2D drawings.

[0103] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, and Bluetooth driver.

[0104] The hardware layer can include various types of sensors, such as accelerometers, gyroscopes, touch sensors, etc.

[0105] It should be noted that Figure 2 and Figure 3 The structure shown is only an example of the electronic device provided by the embodiment of the present application, and cannot be used to limit the electronic device provided by the embodiment of the present application. In specific implementation, the electronic device may have more Figure 2 or Figure 3 More or fewer devices or modules may be included in the structures shown.

[0106] The auxiliary input method provided in the embodiment of the present application is introduced below.

[0107] Figure 4 A flowchart of an auxiliary input method provided in an embodiment of the present application. The method can be Figure 1 The first electronic device and the second electronic device in the illustrated scenario execute. Figure 4 , the method comprises the following steps:

[0108] S401: The second electronic device displays a first interface, where the first interface includes a first input control.

[0109] In an embodiment of the present application, the second electronic device may display a first interface, the first interface including a first input control, and the first input control may be used to input content, such as text content. The embodiment of the present application does not limit the type of the first interface, such as the first interface may be a system interface of the second electronic device or an application interface of various applications installed on the second electronic device. For example, if the first interface is a video application interface, the first input control may be a search box in the video application interface; for another example, if the first interface is a chat interface of an instant messaging application, the first input control may be an input box in the chat interface.

[0110] S402: In response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, the first electronic device displays a first input window.

[0111] Optionally, the first operation may be an operation triggered by a user on the first electronic device to use the first electronic device as an auxiliary input device for the second electronic device. Figure 5 A schematic diagram of a first operation provided in an embodiment of the present application. Figure 5 In (a), the first operation may be a click operation triggered by the user on the auxiliary input control. Figure 5 In (b), the first operation may be an operation by which a user turns on the auxiliary input function in the setting interface.

[0112] Optionally, the first operation may also be an operation triggered by a user on the second electronic device to use the first electronic device as an auxiliary input device of the second electronic device. Figure 6 A schematic diagram of a first operation provided in an embodiment of the present application. Figure 6 In the example, the second electronic device is a smart TV and the first interface is a video application interface. Figure 6 When the second electronic device displays the first interface, when the user operates the remote control device to select the search box, the second electronic device can display a virtual keyboard, and the virtual keyboard includes an auxiliary input control. The first operation can be that the user operates the remote control device to select the auxiliary input control. In this manner, after the second electronic device detects the first operation, it can establish a connection with the first electronic device and send an auxiliary input request to the first electronic device.

[0113] Optionally, if the first electronic device has established a connection with the second electronic device when the first electronic device detects the first operation or receives the auxiliary input request sent by the second electronic device, the first electronic device can directly display the first input window without executing the step of establishing the connection again.

[0114] In an embodiment of the present application, the connection between the first electronic device and the second electronic device may be a near field communication connection such as a Bluetooth connection, a Wi-Fi connection, or a near field communication (NFC) connection, and the connection may also be a far field communication connection such as an Internet connection.

[0115] It should be noted that if the first electronic device and the second electronic device are connected for the first time, the first electronic device and the second electronic device can be paired, and after the first electronic device and the second electronic device are paired, the first electronic device and the second electronic device can store each other's address and other information. If the first electronic device and the second electronic device are not connected for the first time, the first electronic device and the second electronic device can establish a connection with each other based on the stored address and other information, and the process can be done without manual operation by the user.

[0116] In an optional implementation, the first electronic device may display a first input window, which may be displayed in a full-screen form, a floating window form, or a split-screen form. Figure 7 A schematic diagram of a first input window provided in an embodiment of the present application, referring to Figure 7 In (a), the first electronic device may display the first input window in full screen. Figure 7 In (b), assuming that the first electronic device displays the second interface before displaying the first input window, such as the second interface may be a chat interface, the first electronic device may display the first input window on the second interface in the form of a floating window. When the focus is on the first input window, the user may input content in the first input window, and when the focus is on the second interface, the user may trigger various operations in the second interface. Figure 7 In (c), the first electronic device may also display the first input window in a split screen format, such as the first electronic device displays the second interface in the first area after the split screen, and displays the first input window in the second area after the split screen. The user may perform operations in the second interface and the first input window displayed in the split screen, respectively.

[0117] Optionally, the first input window may also include a minimize control and a close control. After the user clicks the minimize control, the first electronic device may minimize the first input window, and the first input window enters the background, at which time the first electronic device may suspend the auxiliary input function. After the user clicks to restore the display of the first input window, the first electronic device may continue to perform auxiliary input on the second electronic device, thereby not affecting the user's normal use of the first electronic device. The user may close the first input window by clicking the close control, and end the auxiliary input on the second electronic device.

[0118] Optionally, when the first input window is displayed in a floating window form and a split screen form, the first input window may further include a maximize control, and after the user clicks the maximize control, the first electronic device may display the first input window in full screen. When the first input window is displayed in full screen form, the first input window may further include a reduce control, and after the user clicks the reduce control, the first electronic device may display the first input window in a floating window form or a split screen form.

[0119] In some embodiments, when the first electronic device displays the first input window, if a higher priority service is received, the auxiliary input function can be suspended. After the first electronic device determines that the higher priority service has ended, the auxiliary input to the second electronic device can be restored, thereby ensuring the normal use of the first electronic device. If the first electronic device receives an incoming call when the first input window is displayed, the first electronic device can switch the first input window to the background, suspend the auxiliary input function, and handle the incoming call service. After the first electronic device determines that the incoming call service has ended, it can restore the foreground display of the first input window to continue to assist the second electronic device in inputting content.

[0120] In the embodiment of the present application, the first input window may include an input control, and the input control may be used to input content. It should be noted that the embodiment of the present application does not limit the form of the input control, and the input control may be an input box, and the user may perform an input operation after clicking the input box. In some embodiments of the present application, the first input window itself may be used as an input control, and the user may directly perform an input operation after clicking the first input window.

[0121] S403: In response to detecting the second operation, the first electronic device obtains first content corresponding to the second operation.

[0122] Optionally, the second operation may be an operation of selecting the first content from a plurality of candidate contents when the user inputs content in the first input window.

[0123] For example, when the user inputs content in the first input window, the first electronic device calls the input method application and displays the virtual keyboard. Taking the user inputting Chinese as an example, the user clicks on multiple letters in the virtual keyboard, and the input method application can provide multiple candidate contents based on the multiple letters input by the user, and the user can select the first content from the multiple candidate contents.

[0124] For example, Figure 8 A schematic diagram of a user inputting content in a first input window provided in an embodiment of the present application. Figure 8The first electronic device calls the input method application, and after displaying the virtual keyboard, the user clicks "w", "o", "m", "e", and "n" respectively in the virtual keyboard. The input method application determines multiple candidate contents as "we", "our", "I'm bored", "I", "oh" and other words according to the letters clicked by the user. The user clicks any of the words to trigger the second operation. For example, the user clicks "we", or when the first electronic device displays that "we" is selected, the user clicks the space control to trigger the second operation, then the first electronic device can obtain the first content as "we".

[0125] S404: The first electronic device sends the first content to the second electronic device.

[0126] In an optional implementation, the first electronic device may compress the first content, and send the compressed first content to the second electronic device through the connection between the first electronic device and the second electronic device.

[0127] In an embodiment of the present application, the application framework layer of the first electronic device may include a first input method service. The input method application of the first electronic device can send the first content to the first input method service. The first input method service can compress the first content and send the compressed first content to the second input method service of the second electronic device.

[0128] S405: The second electronic device displays the first content in the first input control.

[0129] In an optional implementation, the application framework layer of the second electronic device may include a second input method service. When the second input method service receives the first content, if the second input method service receives the compressed first content, the second input method service may decompress the compressed first content to obtain the first content. The second input method service may send the first content to an input method application of the second electronic device, the input method application sends the first content to the first input control, and the first input control may display the first content.

[0130] It can be understood that in the embodiment of the present application, the first electronic device transmits the content input by the user once to the second electronic device each time, and an input refers to the content input after the user triggers a selection operation (such as the second operation in S403). For example, after the user clicks "w", "o", "m", "e", and "n" in the virtual keyboard respectively, and selects "we" from multiple candidate contents, "we" is the content input by the user once. After the first electronic device compresses the text content "we", the compressed data is sent to the second electronic device, and the second electronic device decompresses the received data to obtain the text "we", and the second electronic device displays the text "we" in the first input control. After the user continues to click "q" and "u" in the virtual keyboard respectively, and selects "go" from multiple candidate contents, "go" is the content input by the user once. After the first electronic device compresses the text content "go", the compressed data is sent to the second electronic device, and the second electronic device decompresses the received data to obtain the text "go", and the second electronic device displays the text "go" in the first input control. At this time, the text displayed in the first input control is "we go". In this way, the second electronic device can synchronously display the content input by the user in the input window of the first electronic device in the first input control, thereby providing the user with an interactive experience.

[0131] S406: The first electronic device detects a deletion operation in the first input window, and sends a deletion instruction to the second electronic device.

[0132] In an embodiment of the present application, a user may trigger a delete operation in a first input window displayed by a first electronic device. The delete operation may be a click operation by the user on a delete control, such as a user may click a delete control in a virtual keyboard of an input method application. After the user triggers the delete operation, the first electronic device may delete the content in the first input window. For example, if the text "Let's go to the park" is displayed in the first input window, and the user clicks the delete control once, the first electronic device deletes the text "Park"; the user clicks the delete control again, and the first electronic device deletes the text "Public". After detecting the delete operation, the first electronic device may send a delete instruction to the second electronic device.

[0133] S407: The second electronic device deletes the content displayed in the first input control according to the deletion instruction.

[0134] In an optional implementation manner, when the second electronic device receives a delete instruction, it can delete a text before the cursor position in the first input control.

[0135] Through this design, when the user triggers a deletion operation in the input window of the first electronic device, the first electronic device can send a deletion instruction to the second electronic device, and the second electronic device executes the deletion instruction, which can ensure that the content in the first input control of the second electronic device is consistent with the content in the input window of the first electronic device.

[0136] Through the aforementioned Figure 1 As can be seen from the interactive scenarios shown, the embodiments of the present application can also be applied to scenarios where an auxiliary device performs auxiliary input with multiple assisted devices. The following describes the manner in which the first electronic device performs auxiliary input on the second electronic device and the third electronic device. Fig. 9 A flowchart of a method for assisting multi-device input provided by an embodiment of the present application. Fig. 9 , the method comprises the following steps:

[0137] S901: In response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device; and in response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, the first electronic device enables auxiliary input to the second electronic device and the third electronic device.

[0138] In an optional implementation, a user can trigger a first operation on the first electronic device or the second electronic device to use the first electronic device as an auxiliary input device for the second electronic device, and the first electronic device and the second electronic device are connected. A user can trigger a third operation on the first electronic device or the third electronic device to use the first electronic device as an auxiliary input device for the third electronic device, and the first electronic device and the third electronic device are connected. After the first electronic device is connected to the second electronic device and the third electronic device respectively, the first electronic device can be used as an auxiliary input device for the second electronic device and the third electronic device to perform auxiliary input on any of the devices. For details, please refer to S402 implementation, and the repeated parts will not be repeated.

[0139] S902: The first electronic device displays an input window.

[0140] In an optional implementation, when the first electronic device is used as an auxiliary input device for multiple electronic devices at the same time, the first electronic device can generate an input window corresponding to each electronic device, such as the first input window is the input window corresponding to the second electronic device, and the second input window is the input window corresponding to the third electronic device. When the focus of the first electronic device is located at the first input window, the user can input content in the first input window, and when the focus of the first electronic device is located at the second input window, the user can input content in the second input window.

[0141] Optionally, the first electronic device may display the first input window and the second input window in split screen, and the user may click on different input windows to switch the input window of the current input content. Fig.10 A schematic diagram of a display interface of a first electronic device provided in an embodiment of the present application when the first electronic device is used as an auxiliary input device for multiple electronic devices. Fig.10 In (a), the first electronic device displays a first input window and a second input window in split screen. When the user clicks any position of the first input window, the first electronic device can switch the focus to the first input window, and the user can enter content in the first input window. When the user clicks any position of the second input window, the first electronic device can switch the focus to the second input window, and the user can enter content in the second input window.

[0142] Optionally, the first electronic device may also display any one of the first input window and the second input window, and after the user triggers the switching operation, the other input window is switched to be displayed. Fig.10 In (b), the user can display the names of multiple input windows in the navigation bar, such as the name of the first input window can be "First Input Window (Auxiliary Device 2)", and the name of the second input window can be "Second Input Window (Auxiliary Device 3)". When the user clicks the name of the first input window in the navigation bar, the first electronic device can display the first input window in the foreground; when the user clicks the name of the second input window in the navigation bar, the first electronic device can display the second input window in the foreground.

[0143] For example, refer to Fig.10 In (c), the navigation bar includes a selection control, and the user can select a second electronic device (device 2 in the figure) or a third electronic device (device 3 in the figure) from multiple options of the assisted device. When the user selects the second electronic device, the first electronic device can display the first input window in the foreground; when the user selects the third electronic device, the first electronic device can display the second input window in the foreground.

[0144] In another optional implementation, when the first electronic device is used as an auxiliary input device for multiple electronic devices at the same time, the first electronic device can create an input window, such as a first input window. The first input window can be used to assist the second electronic device and the third electronic device in inputting. The first input window can include a selection control, and the user can select the assisted device as the second electronic device or the third electronic device in the selection control. The first input window in this method can also be as shown in FIG. Fig.10 As shown in (c) in Fig.10The first input window shown in (c) can be used to assist input to the second electronic device or the third electronic device. Specifically, when the user selects the second electronic device as the assisted device, the first electronic device can send the content input by the user in the first input window to the second electronic device; when the user selects the third electronic device as the assisted device, the first electronic device can send the content input by the user in the first input window to the third electronic device.

[0145] S903: In response to detecting the sixth operation, the first electronic device determines that the second electronic device is an assisted device.

[0146] Optionally, the sixth operation may be an operation triggered by the user to select the second electronic device as the assisted device. Fig.10 For example, the sixth operation may be that the user clicks Fig.10 For example, the sixth operation may be that the user selects Fig.10 Operation of the second electronic device in the drop-down menu of the selection control shown in (c).

[0147] In the embodiment of the present application, when the first electronic device creates an input window for each assisted device, such as in S902, the first input window is used for assisting input to the second electronic device, and the second input window is used for assisting input to the third electronic device, the first electronic device can set the focus in the first input window when determining that the second electronic device is an assisted device. In other words, the first electronic device displays the first input window in the foreground, and the user can perform input operations in the first input window.

[0148] S904: In response to detecting the seventh operation, the first electronic device obtains third content corresponding to the seventh operation.

[0149] Optionally, the seventh operation may be an operation in which the user inputs in the input window and selects the third content from a plurality of candidate contents.

[0150] S905: The first electronic device sends the third content to the second electronic device.

[0151] The specific way in which the first electronic device executes S904-S905 can refer to the implementation of S403-S404, and the repeated parts will not be repeated.

[0152] S906: The second electronic device displays third content in the first input control.

[0153] S907: In response to detecting the third operation, the first electronic device determines that the third electronic device is an assisted device.

[0154] Optionally, the third operation may be an operation triggered by the user to select the second electronic device as the assisted device. Fig.10 The third operation may be the operation of the first input window shown in (a) of FIG. Fig.10 For example, the third operation may be that the user selects Fig.10 Operation of the second electronic device in the drop-down menu of the selection control shown in (c).

[0155] In the embodiment of the present application, when the first electronic device creates an input window for each assisted device, such as in S902, the first input window is used for assisting input to the second electronic device, and the second input window is used for assisting input to the third electronic device, the first electronic device can set the focus in the second input window when determining that the third electronic device is an assisted device. In other words, the first electronic device displays the second input window in the foreground, and the user can perform input operations in the second input window.

[0156] S908: In response to detecting the fourth operation, the first electronic device obtains second content corresponding to the fourth operation.

[0157] Optionally, the fourth operation may be an operation in which the user inputs in the input window and selects the second content from a plurality of candidate contents.

[0158] S909: The first electronic device sends the second content to the third electronic device.

[0159] The specific manner in which the first electronic device executes S908-S909 can be referred to S403-S404, and the repeated parts will not be repeated here.

[0160] S910: The third electronic device displays second content in the second input control.

[0161] In this way, an electronic device can simultaneously assist multiple electronic devices in quick input, eliminating the need for users to operate and input on each electronic device separately when using multiple electronic devices, thereby meeting the input needs of users when using multiple devices.

[0162] Based on the above embodiments, the application framework layer of the electronic device in the embodiment of the present application may include an input method service, and the input method service may be used to receive content sent by the input method application and compress the received content. The input method server may also be used to deliver compressed text content to the input method service of other electronic devices. In the embodiment of the present application, the input method service may be a system-level service, and each input method application installed in the electronic device may interact with the input method service to implement the auxiliary input method provided in the embodiment of the present application. Therefore, the embodiment of the present application does not limit the input method applications installed in the first electronic device, the second electronic device, and the third electronic device.

[0163] It can be understood that the auxiliary input method provided in the embodiment of the present application can also be used as an application-level function of an electronic device. For example, auxiliary input applications can be installed in the first electronic device, the second electronic device, and the third electronic device. The input method service can be an application-level service provided by the auxiliary input application. The input method application installed in the electronic device can interact with the input method service in the auxiliary input application to implement the auxiliary input method provided in the embodiment of the present application.

[0164] The following takes the interaction between the input control, the input method service, and the input method application in the electronic device as an example to further introduce the auxiliary input method provided in the embodiment of the present application:

[0165] 1. A scenario in which the first electronic device serves as an auxiliary input device for the second electronic device.

[0166] Fig.11 A flowchart of an auxiliary input method provided in an embodiment of the present application. Fig.11 , the method comprises the following steps:

[0167] S1101: In response to detecting a first operation, a first input method service of a first electronic device establishes a connection with a second input method service of a second electronic device.

[0168] Optionally, the connection between the first input method service and the second input method service may be a Bluetooth connection, a Wi-Fi connection, an NFC connection, an Internet connection, etc. between the first electronic device and the second electronic device.

[0169] S1102: The first input control of the second electronic device turns on the input mode, and starts the second input method application of the second electronic device.

[0170] S1103: The second input method service of the second electronic device sends a remote input request to the first input method service of the first electronic device.

[0171] S1104: The first electronic device displays a first input window.

[0172] S1105: In response to detecting the second operation, the first input method application of the first electronic device obtains first content corresponding to the second operation.

[0173] S1106: The first input method application of the first electronic device sends the first content to the first input window.

[0174] S1107: The first input window of the first electronic device displays the first content.

[0175] S1108: The first input method application of the first electronic device sends the first content to the first input method service.

[0176] S1109: The first input method service of the first electronic device compresses the first content.

[0177] S1110: The first input method service of the first electronic device sends the compressed first content to the second input method service of the second electronic device.

[0178] S1111: The second input method service of the second electronic device decompresses the compressed first content to obtain the first content.

[0179] S1112: The second input method service of the second electronic device sends the first content to the second input method application.

[0180] S1113: The second input method application of the second electronic device sends the first content to the first input control.

[0181] S1114: The first input control of the second electronic device displays the first content.

[0182] 2. A scenario in which the first electronic device serves as an auxiliary input device for the second electronic device and the third electronic device.

[0183] Fig.12 A flowchart of an auxiliary input method provided in an embodiment of the present application. Fig.12 , the method comprises the following steps:

[0184] S1201: A first input method service of a first electronic device establishes a connection with a second input method service of a second electronic device, and a first input method service of the first electronic device establishes a connection with a third input method service of a third electronic device.

[0185] S1202: The first input control of the second electronic device turns on the input mode, and starts the second input method application of the second electronic device.

[0186] S1203: The second input method service of the second electronic device sends a remote input request to the first input method service of the first electronic device.

[0187] S1204: The second input control of the third electronic device turns on the input mode, and starts the third input method application of the third electronic device.

[0188] S1205: The third input method service of the third electronic device sends a remote input request to the first input method service of the first electronic device.

[0189] S1206: The first electronic device creates a first input window and a second input window, and displays the first input window and / or the second input window.

[0190] Optionally, the first input window is an input window corresponding to the second electronic device, and the second input window is an input window corresponding to the third electronic device.

[0191] S1207: In response to detecting the sixth operation, the first electronic device determines that the second electronic device is an assisted device, and sets the focus on the first input window.

[0192] Optionally, the sixth operation may be an operation triggered by the user to select the second electronic device as the assisted device.

[0193] S1208: In response to detecting the seventh operation, the first input method application of the first electronic device obtains third content corresponding to the seventh operation in the first input window.

[0194] Optionally, the seventh operation may be an operation in which the user performs input in the first input window and selects the third content from a plurality of candidate contents.

[0195] S1209: The first input method application of the first electronic device sends the third content to the first input window.

[0196] S1210: The first input window displays third content.

[0197] S1211: The first input method application of the first electronic device sends the third content to the first input method service.

[0198] S1212: The first input method service of the first electronic device compresses the third content.

[0199] S1213: The first input method service of the first electronic device sends the compressed third content to the second input method service of the second electronic device.

[0200] S1214: The second input method service of the second electronic device decompresses the compressed third content to obtain the third content.

[0201] S1215: The second input method service of the second electronic device sends the third content to the second input method application.

[0202] S1216: The second input method application of the second electronic device sends the third content to the first input control.

[0203] S1217: The first input control of the second electronic device displays third content.

[0204] S1218: In response to detecting the fourth operation, the first electronic device sets the focus on the second input window.

[0205] Optionally, the fourth operation may be an operation triggered by the user to select a third electronic device as the assisted device.

[0206] S1219: In response to detecting the fifth operation, the first input method application of the first electronic device obtains second content corresponding to the fifth operation in the second input window.

[0207] Optionally, the fifth operation may be an operation in which the user inputs in the first input window and selects the second content from a plurality of candidate contents.

[0208] S1220: The first input method application of the first electronic device sends the second content to the second input window.

[0209] S1221: The second input window displays the second content.

[0210] S1222: The first input method application of the first electronic device sends the second content to the first input method service.

[0211] S1223: The first input method service of the first electronic device compresses the second content.

[0212] S1224: The first input method service of the first electronic device sends the compressed second content to the third input method service of the third electronic device.

[0213] S1225: The third input method service of the third electronic device decompresses the compressed second content to obtain the second content.

[0214] S1226: The third input method service of the third electronic device sends the second content to the third input method application.

[0215] S1227: The third input method application of the third electronic device sends the second content to the second input control.

[0216] S1228: The second input control of the third electronic device displays the second content.

[0217] It should be noted that Fig.12The illustrated embodiment is an example and not limitation of the auxiliary input method provided by the present application applied to the scenario where the first electronic device is used as an auxiliary input device for the second electronic device and the third electronic device. The embodiment of the present application does not limit the execution order of S1202-S1203 and S1204-S1205. In the specific implementation, S1202-S1203 may be executed first, and then S1204-S1205, or S1204-S1205 may be executed first, and then S1202-S1203, or S1202-S1203 and S1204-S1205 may be executed simultaneously. The embodiment of the present application does not limit the execution order of S1207-S1217 and S1218-S1228. In the specific implementation, S1207-S1217 may be executed first, and then S1218-S1228, or S1218-S1228 may be executed first, and then S1207-S1217.

[0218] Based on the same concept, an embodiment of the present application also provides an auxiliary input method, which can be executed by a first electronic device. Fig.13 A flowchart of an auxiliary input method provided in an embodiment of the present application, refer to Fig.13 , the method comprises the following steps:

[0219] S1301: In response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, the first electronic device displays a first input window.

[0220] Optionally, the first operation is an operation of triggering to start auxiliary input to the second electronic device, and the first input window is used for auxiliary input to the second electronic device.

[0221] S1302: In response to detecting the second operation, the first electronic device obtains first content corresponding to the second operation, and sends the first content to the second electronic device.

[0222] Optionally, the second operation is an operation of selecting the first content from a plurality of candidate contents when content is input in the first input window.

[0223] It should be noted that this application Fig.13 The auxiliary input method shown can be specifically implemented by referring to the above embodiments of the present application, and the repeated parts will not be repeated.

[0224] Based on the above embodiments, the present application further provides an electronic device, the electronic device comprising multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the first electronic device in each method described in the embodiments of the present application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on specific implementations.

[0225] Based on the above embodiments, the present application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions, and when the electronic device is running, the at least one processor executes the functions performed by the first electronic device in each method described in the embodiments of the present application.

[0226] Based on the above embodiments, the present application further provides a computer program product comprising instructions, and when the computer program product is run on a computer, the computer is enabled to execute the methods described in the embodiments of the present application.

[0227] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.

[0228] Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the methods described in the embodiments of the present application.

[0229] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0230] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0231] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0232] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0233] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0234] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of protection of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An auxiliary input method, characterized in that: Applied to a first electronic device, the method includes: In response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, displaying a first input window; the first operation is an operation that triggers the start of auxiliary input for the second electronic device, and the first input window is used for auxiliary input for the second electronic device; In response to detecting a second operation, first content corresponding to the second operation is acquired, and the first content is sent to the second electronic device; the second operation is an operation of selecting the first content from multiple candidate contents when content is input in the first input window.

2. The method according to claim 1, characterized in that The first input window is a full-screen window; or the first input window is a floating window located on the current display interface of the first electronic device; or the first input window is a split-screen window.

3. The method according to claim 1 or 2, characterized in that The first input window includes a minimize control and a close control; the minimize control is used to set the first input window to run in the background and suspend the auxiliary input to the second electronic device; the close control is used to close the first input window and end the auxiliary input to the second electronic device.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When receiving a service with a higher priority than the auxiliary input, suspending the auxiliary input to the second electronic device; It is determined that the service is ended, and the auxiliary input to the second electronic device is restored.

5. The method according to claim 4, characterized in that The service having a higher priority than the auxiliary input is the incoming call service.

6. The method according to any one of claims 1 to 5, characterized in that: Before sending the first content to the second electronic device through the connection between the first electronic device and the second electronic device, the method further includes: compressing the first content; The sending the first content to the second electronic device includes: The compressed first content is sent to the second electronic device.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: A delete operation in the first input window is detected, and a delete instruction is sent to the second electronic device.

8. The method according to claim 7, characterized in that The delete operation is a one-click operation performed by the user on the delete control.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: In response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, enabling auxiliary input to the third electronic device; the third operation is an operation that triggers enabling auxiliary input to the third electronic device; In response to detecting a fourth operation, determining that the third electronic device is an assisted device; In response to detecting a fifth operation, second content corresponding to the fifth operation is acquired, and the second content is sent to the third electronic device; the fifth operation is an operation of selecting the second content from a plurality of candidate contents.

10. The method according to claim 9, characterized in that The first input window is also used for auxiliary input to the third electronic device.

11. The method according to claim 9, characterized in that After, in response to detecting the fourth operation, determining that the third electronic device is an assisted device, the method further includes: A second input window is displayed, where the second input window is used for auxiliary input to the third electronic device.

12. An auxiliary input method, characterized in that: Applied to a first electronic device, the method includes: In response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, displaying a first input window; the first operation is an operation of triggering and starting auxiliary input for the second electronic device; In response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, enabling auxiliary input to the third electronic device; the third operation is an operation that triggers enabling auxiliary input to the third electronic device; the first input window is used for auxiliary input to the second electronic device and the third electronic device; In response to detecting a sixth operation, determining that the second electronic device is an assisted device; Acquire third content input by the user in the first input window, and send the third content to the second electronic device.

13. The method according to claim 12, characterized in that The obtaining of the third content input by the user in the first input window includes: In response to detecting a seventh operation, third content corresponding to the seventh operation is acquired; the seventh operation is an operation of selecting the third content from a plurality of candidate contents when content is input in the first input window.

14. The method according to claim 12 or 13, characterized in that The method further comprises: In response to detecting a fourth operation, determining that the third electronic device is an assisted device; Acquire second content input by the user in the first input window, and send the second content to the third electronic device.

15. The method according to claim 14, characterized in that The obtaining of the second content input by the user in the first input window includes: In response to detecting a fifth operation, obtaining second content corresponding to the fifth operation; the fifth operation is an operation of selecting the second content from a plurality of candidate contents when content is input in the first input window.

16. An auxiliary input method, characterized in that: Applied to a first electronic device, the method includes: In response to detecting a first operation or receiving an auxiliary input request sent by a second electronic device, creating a first input window; the first operation is an operation that triggers the start of auxiliary input for the second electronic device, and the first input window is used for auxiliary input for the second electronic device; In response to detecting a third operation or receiving an auxiliary input request sent by a third electronic device, creating a second input window; the third operation is an operation that triggers the start of auxiliary input for the third electronic device, and the second input window is used for auxiliary input for the third electronic device; In response to detecting a sixth operation, determining that the second electronic device is an assisted device, and setting a focus on the first input window; Acquire third content input by the user in the first input window, and send the third content to the second electronic device.

17. The method according to claim 16, characterized in that The obtaining of the third content input by the user in the first input window includes: In response to detecting a seventh operation, third content corresponding to the seventh operation is acquired; the seventh operation is an operation of selecting the third content from a plurality of candidate contents when content is input in the first input window.

18. The method according to claim 16 or 17, characterized in that The method further comprises: In response to detecting a fourth operation, determining that the third electronic device is an assisted device, and setting a focus on the second input window; Acquire second content input by the user in the second input window, and send the second content to the third electronic device.

19. The method according to claim 18, characterized in that The obtaining of the second content input by the user in the second input window includes: In response to detecting a fifth operation, obtaining second content corresponding to the fifth operation; the fifth operation is an operation of selecting the second content from a plurality of candidate contents when inputting content in the second input window.

20. An electronic device, characterized in that: The method comprises at least one processor coupled to at least one memory, wherein the at least one processor is used to read a computer program stored in the at least one memory to execute a method as claimed in any one of claims 1 to 11, or a method as claimed in any one of claims 12 to 15, or a method as claimed in any one of claims 16 to 19.

21. An electronic device, characterized in that: It comprises a plurality of functional modules; the plurality of functional modules interact with each other to implement the method as claimed in any one of claims 1 to 11, or execute the method as claimed in any one of claims 12 to 15, or execute the method as claimed in any one of claims 16 to 19.

22. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 11, or the method according to any one of claims 12 to 15, or the method according to any one of claims 16 to 19.

23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method described in any one of claims 1 to 11, or the method described in any one of claims 12 to 15, or the method described in any one of claims 16 to 19.