CN109672646B - Cross-device input method and device and cross-device input device - Google Patents
Cross-device input method and device and cross-device input device Download PDFInfo
- Publication number
- CN109672646B CN109672646B CN201710954920.0A CN201710954920A CN109672646B CN 109672646 B CN109672646 B CN 109672646B CN 201710954920 A CN201710954920 A CN 201710954920A CN 109672646 B CN109672646 B CN 109672646B
- Authority
- CN
- China
- Prior art keywords
- client
- user account
- input
- cross
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 230000001360 synchronised effect Effects 0.000 claims description 21
- 238000013507 mapping Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 7
- 230000003111 delayed effect Effects 0.000 claims description 5
- 230000002093 peripheral effect Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 19
- 230000008569 process Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000005096 rolling process Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 235000016496 Panda oleosa Nutrition 0.000 description 1
- 240000000220 Panda oleosa Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a cross-device input method and device and a cross-device input device, wherein the method specifically comprises the following steps: establishing connection between a first client logged in by a first user account and a second client logged in by a second user account; synchronizing input content between the first client and the second client over the connection. The embodiment of the invention can realize remote cross-device input.
Description
Technical Field
The invention relates to the technical field of information input, in particular to a cross-device input method and device and a cross-device input device.
Background
The device is used as a bridge for the communication between the computer system and the user or other devices, is one of main devices for information interaction between the user and the computer system, and can facilitate the user to input information in various occasions. For example, a user may enter keywords in a search engine to search for web pages, text in an instant messaging tool to communicate with other users, text in an office application to edit documents, and so on.
At present, a user generally inputs information through a keyboard, however, the size of the keyboard such as a physical keyboard and a virtual keyboard is generally limited by the screen size of the device, which makes the traditional input method lack flexibility.
In order to improve flexibility of information input, the related art may provide cross-device input, and in particular, information input through a mobile phone is displayed on a PC (Personal Computer). In practical application, the PC can display the two-dimensional code, so that the mobile phone establishes a connection with the PC by scanning the two-dimensional code, and then sends information input by the user through the mobile phone to the PC through the connection.
However, when there is a certain distance between the mobile phone and the PC, the mobile phone cannot establish a connection with the PC terminal by scanning the two-dimensional code, and thus the related art cannot implement remote cross-device input.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a cross-device input method, a cross-device input apparatus, and an apparatus for cross-device input that overcome or at least partially solve the above problems, and can implement remote cross-device input.
In order to solve the above problem, an embodiment of the present invention discloses a cross-device input method, which is applied to a first terminal, and includes:
establishing connection between a first client logged in by a first user account and a second client logged in by a second user account;
synchronizing input content between the first client and the second client over the connection.
Optionally, the second user account is the same as the first user account, or the second user account and the first user account have a mapping relationship.
Optionally, the establishing a connection between a first client logged in by a first user account and a second client logged in by a second user account includes:
receiving a cross-device input request;
responding to the cross-device input request, and determining a second client of a second user account login needing to establish connection with a first client of the first user account login;
sending a connection request to the second client to establish a connection between the first client and the second client.
Optionally, the determining, in response to the cross-device input request, a second client logged in to a second user account that needs to establish a connection with a first client logged in to a first user account includes:
determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and determining a second client for logging in a second user account connected with the first client for logging in the first user account according to the selection operation of the user on the equipment in the equipment list.
Optionally, the method further comprises:
taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And after the cross-device input request is received, displaying a login interface, and acquiring a first user account corresponding to the cross-device input request through the login interface.
Optionally, the synchronizing input content between the first client and the second client through the connection includes:
displaying the received input content corresponding to the second client in real time; and/or
Performing delay display on the received input content corresponding to the second client; and/or
And taking the received input content corresponding to the second client as the input content to be synchronized, and prompting.
Optionally, the instantly displaying the received input content corresponding to the second client includes:
instantly displaying the received input content corresponding to the second client in the candidate area; or
And displaying the received input content corresponding to the second client in a preset area.
Optionally, the performing, by delaying the received input content corresponding to the second client, includes:
writing the received input content corresponding to the second client into a cache;
upon detecting input focus, displaying the input content in the cache in a candidate area.
Optionally, the method further comprises:
and responding to the preset operation of the user, and emptying the cache.
On the other hand, the embodiment of the invention discloses a cross-device input device, which comprises:
the connection establishing module is used for establishing connection between a first client logged in by a first user account and a second client logged in by a second user account;
and the input content synchronization module is used for synchronizing the input content between the first client and the second client through the connection.
Optionally, the second user account is the same as the first user account, or the second user account and the first user account have a mapping relationship.
Optionally, the connection establishing module includes:
a receiving submodule for receiving a cross-device input request;
the second client determining submodule is used for responding to the cross-device input request, and determining a second client for logging in a second user account which needs to establish connection with a first client for logging in the first user account; and
and the connection request sending submodule is used for sending a connection request to the second client so as to establish connection between the first client and the second client.
Optionally, the second client determining sub-module includes:
the device list determining and displaying unit is used for determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and the second client determining unit is used for determining a second client logged in by a second user account which establishes connection with the first client logged in by the first user account according to the selection operation of the user on the equipment in the equipment list.
Optionally, the apparatus further comprises:
the first user account determining module is used for taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And the second user account determining module is used for displaying a login interface after receiving the cross-device input request, and acquiring the first user account corresponding to the cross-device input request through the login interface.
Optionally, the input content synchronization module includes:
the instant display sub-module is used for instantly displaying the received input content corresponding to the second client; and/or
The delay display sub-module is used for performing delay display on the received input content corresponding to the second client; and/or
And the prompting submodule is used for taking the received input content corresponding to the second client as the input content to be synchronized to prompt.
Optionally, the instant display sub-module includes:
the first display unit is used for instantly displaying the received input content corresponding to the second client in the candidate area; or
And the second display unit is used for displaying the received input content corresponding to the second client in a preset area.
Optionally, the time delay display sub-module includes:
the write cache unit is used for writing the received input content corresponding to the second client into a cache;
and the buffer display unit is used for displaying the input content in the buffer in the candidate area when the input focus is detected.
Optionally, the apparatus further comprises:
and the cache emptying module is used for responding to the preset operation of a user and emptying the cache.
In yet another aspect, an embodiment of the present invention discloses an apparatus for cross-device input, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors include instructions for:
establishing connection between a first client logged in by a first user account and a second client logged in by a second user account;
synchronizing input content between the first client and the second client over the connection.
One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the cross-device input methods described above.
The embodiment of the invention has the following advantages:
according to the embodiment of the invention, the connection between different devices is realized through the user account, so that the distance limitation caused by scanning the two-dimensional code can be avoided, and the long-distance cross-device input can be realized, namely, under the condition that the distance between the first device and the second device is longer, the connection between the first device and the second device can still be realized through the user account, and the synchronization of the input content between the first device and the second device can be realized through the connection.
Drawings
FIG. 1 is a flow chart of the steps of one cross-device input method embodiment of the present invention;
FIG. 2 is a flow chart of the steps of another cross-device input method embodiment of the present invention;
FIG. 3 is a flow chart of steps of yet another cross-device input method embodiment of the present invention;
FIG. 4 is a block diagram of an embodiment of an input device of a cross-device of the present invention;
FIG. 5 is a block diagram of an apparatus 900 for cross device input of the present invention; and
fig. 6 is a schematic diagram of a server according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The embodiment of the invention provides a cross-device input scheme, which can realize the connection between different devices through a user account and synchronously input contents between different devices through the connection; specifically, a connection is established between a first client terminal logged in by a first user account and a second client terminal logged in by a second user account; and through the connection, input content is synchronously input between the first client and the second client, that is, the input content corresponding to the first client can be sent to the second client through the connection, and/or the input content corresponding to the second client is received.
According to the embodiment of the invention, the connection between different devices is realized through the user account, so that the distance limitation caused by scanning the two-dimensional code is avoided, and the long-distance cross-device input can be realized, namely, under the condition that the distance between the first device and the second device is long, the connection between the first device and the second device can still be realized through the user account, and the synchronization of the input content between the first device and the second device is realized through the connection. Furthermore, the embodiments of the present invention may also implement synchronization of input content between two or more devices, for example, synchronization of input content between a first device and a second device, synchronization of input content between the first device and a third device, synchronization of input content between the second device and the second device, and the like.
The embodiment of the invention can be applied to any cross-device input scene. In practical applications, the device may be any device, for example, the device may specifically include but is not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like.
The cross-device of the embodiment of the invention can comprise: for convenience of description, the embodiments of the present invention mainly use a first device and a second device as examples, and the second device may refer to a device different from the first device. The first device is provided with a first client for logging in a first user account, the second device is provided with a second client for logging in a second user account, connection can be established between the first client and the second client, and content can be synchronously input between the first client and the second client.
The client is a program corresponding to the server and providing a local service to the user. The client in the embodiment of the present invention may be a program providing a local input service, such as an input method program, and the specific client is not limited in the embodiment of the present invention.
The embodiment of the invention can be applied to input method programs of input modes such as keyboard symbol input, handwriting input, voice input, scanning input and the like. The keyboard symbol input mode refers to inputting through keys on a keyboard, the handwriting input mode refers to handwriting on a screen through a built-in touch pen, the voice input mode refers to converting voice signals input by a user into texts, the scanning input mode refers to inputting text information through a picture scanning mode, and specifically, characters in pictures can be converted into text formats through an OCR (Optical Character Recognition) technology.
For convenience of description, the embodiment of the present invention refers to the encoded character string input by the user in the above input mode as an input string. In the field of input methods, for input method programs in, for example, chinese, japanese, korean, or other languages, an input string input by a user may be generally converted into a candidate for a corresponding language. The input process of the embodiment of the invention is mainly explained by taking Chinese as an example, and other languages can be referred to each other. It is to be understood that the chinese input method may include, but is not limited to, a full pinyin, a simple pinyin, a stroke, a five-stroke, etc., and the embodiment of the present invention is not limited to a specific input method program corresponding to a certain language.
According to some embodiments, the input string may include, but is not limited to: a key symbol or a combination of a plurality of key symbols input by a user through a key. The key symbol may specifically include: pinyin, strokes, kana, etc.
In an application example of the present invention, it is assumed that the first device and the second device are a mobile phone and a PC, respectively, and then the input content generated by the user on the PC through a keyboard symbol input mode can be synchronized to the mobile phone in real time, so that the problem of the limited size of the keyboard of the mobile phone can be overcome; or the input content generated by the user on the mobile phone in a voice input mode can be synchronized to the PC in real time, so that the problem of inconvenience in key pressing can be solved, and the advantage of voice input is brought into play; or the input content generated by the user on the mobile phone in a scanning input mode can be synchronized to the PC in real time, so that the advantages of the camera of the mobile phone can be achieved. Through the double-end equipment input of the embodiment of the invention, the problems that the mobile phone is slow to type, the PC end cannot input voice when no voice acquisition hardware exists, the PC end is inconvenient to scan characters and the like can be solved, and the input efficiency of a user is improved.
Of course, the cross-device input scenario corresponding to the above example is only an example, and in fact, the embodiment of the present invention supports synchronization of input content generated by any input mode on one device to another device, and no limitation is imposed on the specific cross-device input scenario.
Method embodiment
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a cross-device input method according to the present invention is shown, which may specifically include the following steps:
In the embodiment of the present invention, the user account may be a record composed of all information defining the user to a certain system, and the user account may provide security credentials for the user or the device, specifically including but not limited to a user name and a password required for user login, so that the user and the device can log in to the client and access the right and right of the client resource.
In the embodiment of the present invention, the first user account and the second user account may be accounts provided for a platform to which the client belongs, or may be accounts provided for a third party platform. For example, the platform to which the client belongs is an input method platform, and the first user account and the second user account may be accounts provided by a non-input method platform (such as an instant messaging platform, a social platform, and the like).
Step 101 and step 102 of the embodiment of the present invention may be executed by a first client or a first device where the first client is located, may also be executed by a second client or a second device where the second client is located, or may be executed by a server corresponding to the first client and the second client.
In one embodiment of the invention, the second user account may be the same as the first user account. For example, a user logs in through a user account "abc" on a first device, that is, a first client logged in through the user account "abc" is run on the first device; meanwhile, the user logs in through the user account "abc" on the second device, that is, the second device runs the second client that is logged in through the user account "abc", so that a connection can be established between the plurality of clients corresponding to the user account "abc", and the content can be synchronously input between the plurality of clients corresponding to the user account "abc" through the connection.
In another embodiment of the present invention, the second user account and the first user account may have a mapping relationship. The platform to which the client belongs may determine a mapping relationship between the first user account and the second user account according to the friend relationship chain corresponding to the user account, or may determine the mapping relationship between the first user account and the second user account according to a setting instruction of the user. The friend relationship chain data comprises other user information associated with a user account, and it can be understood that the friend relationship chain of the user account is personal information of other users associated with the user account; the friend relationship chain is specifically personal information of other users who become friend relationships (or pay attention to each other) with the user account; the personal information of the other users specifically includes but is not limited to: the Identity ID (Identity) of the other user, which may be a user account of the other user in the platform to which the client belongs or a third-party platform, such as a QQ number, a micro signal, a mobile phone number, and the like of the other user.
According to the embodiment of the invention, the connection is established between the first client terminal logged in by the first user account and the second client terminal logged in by the second user account, and the connection can be local area network connection or wide area network connection.
For the lan connection, the first client and the second client may communicate in the lan, and communication data between the first client and the second client may be transferred through a router in the lan, for example, the first client and the second client may communicate in the same WIFI (Wireless Fidelity) network.
For wide area network connections, long-range communication between a first client and a second client may be enabled; specifically, the communication data between the first client and the second client may be relayed through the server, for example, the process of sending the input content corresponding to the first client to the second client may include: and sending the input content corresponding to the first client to the server, and sending the input content corresponding to the first client to the second client by the server.
Of course, the local area network connection or the wide area network connection is only used as an optional embodiment, and actually, the specific connection mode between the first client and the second client is not limited in the embodiment of the present invention, and the connection mode between the first client and the second client may further include: the coverage range of WIFI communication is usually between 50 and 100 meters, and the coverage range of Bluetooth communication is usually between 40 and 50 meters.
In practical applications, an interface may be provided to enable a user to establish a connection between a first client logged in to a first user account and a second client logged in to a second user account through the interface triggering step 101. The interface may be a control on a UI (user interface), a menu shortcut key, or a shortcut key corresponding to a keyboard key.
In practical applications, the connection establishment between the first client and the second client may be triggered by the first client, and specifically, the first client may send a connection request to the second client to establish the connection between the first client and the second client. Alternatively, the establishment of the connection between the first client and the second client may be triggered by the second client, and in particular, the second client may send a connection request to the first client to establish the connection between the first client and the second client. The embodiment of the invention mainly takes the example that the first client sends the connection request to the second client as an example to explain the connection establishment process, and the corresponding connection establishment processes are mutually referred to when the second client sends the connection request to the first client.
In an optional embodiment of the present invention, the step 101 of establishing a connection between a first client logged in to a first user account and a second client logged in to a second user account may include: receiving a cross-device input request; responding to the cross-device input request, and determining a second client of a second user account login needing to establish connection with a first client of the first user account login; sending a connection request to the second client to establish a connection between the first client and the second client.
The cross-device input request is used to trigger step 101 to establish a connection between a first client logged in to a first user account and a second client logged in to a second user account. In practical applications, the user may trigger the cross-device input request with or without logging into the user account. That is, the user may first log in to the user account, and then trigger the cross-device input request; alternatively, the user may first trigger the cross-device input request described above and then log into the user account. Alternatively, the user may trigger the cross-device input request through the interface described above, e.g., the user may trigger the cross-device input request through a control on the UI.
The determination mode of the first user account corresponding to the cross-device input request may include:
determining a mode 1, and taking a user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And determining a mode 2, after receiving the cross-device input request, displaying a login interface, and acquiring a first user account corresponding to the cross-device input request through the login interface.
The determination method 1 may be applied to a situation where the user triggers the cross-device input request after having logged in the first user account, and since the user has logged in the first user account, the user account that triggers the cross-device input request may be used as the first user account corresponding to the cross-device input request.
The determination method 2 may be applied to a situation where the user triggers the cross-device input request when the user does not log in the user account, and since the user does not log in the user account, a login interface may be displayed, and the first user account corresponding to the cross-device input request may be acquired through the login interface.
The above process of determining a second client logged in to a second user account that needs to establish a connection with a first client logged in to a first user account in response to the cross-device input request may include: determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request; and determining a second client for logging in a second user account connected with the first client for logging in the first user account according to the selection operation of the user on the equipment in the equipment list.
The second user account may be the same as the first user account, or may have a mapping relationship with the first user account. In practical application, a second user account corresponding to the first user account may be determined first, and then a device list for logging in the second user account is determined and displayed. The device list may include device information for logging into the second user account, which may be used to uniquely identify the device. For example, for a mobile device, the device information may include: imei (international Mobile Equipment identity); for non-mobile devices, the device information may include: MAC (Media Access Control), network card identifier, and the like, it can be understood that the embodiment of the present invention does not limit specific device information.
The presented device list may include at least one device for selection by the user. Optionally, under the condition that the first user account is the same as the second user account, the first device corresponding to the first client, that is, the device, may also be removed from the devices that log in the second user account, so as to obtain a device list that logs in the second user account.
Further, according to the selection operation of the user on the device in the device list, the client corresponding to the device selected by the user is used as a second client for logging in a second user account which needs to establish connection with the first client.
In practical applications, the process of sending the connection request to the second client may include: and sending a connection request to the server, wherein the connection request can carry equipment information corresponding to the second client, so that the server transfers the connection request to the second client. Of course, the connection request may also be directly sent to the second client through a communication manner such as bluetooth communication, and the specific process of sending the connection request to the second client is not limited in the embodiment of the present invention.
Step 102 may synchronize input content between the first client and the second client over the connection established in step 101. Specifically, for the client, the input content corresponding to the client may be sent to and/or received from other clients connected to the client. For example, for a first client, the input content corresponding to the first client may be sent to the second client, and/or the input content corresponding to the second client may be received; for the second client, the input content corresponding to the second client may be sent to the first client, and/or the input content corresponding to the first client may be received.
In an optional embodiment of the present invention, the received input content corresponding to other clients may also be displayed. Optionally, the received input content corresponding to the other client may be displayed immediately and/or in a delayed manner, where the immediate display may be applicable to a case that the input focus corresponding to the client exists, and the delayed display may be applicable to a case that the input focus corresponding to the client does not exist, where the input focus may be a focus corresponding to the client, the input focus exists when the client is turned up, and the input focus does not exist when the client is not turned up. Under the condition that the client is not called up, the embodiment of the invention can perform delayed display on the received input contents corresponding to other clients so as to avoid the displayed input contents from disturbing the user.
According to an embodiment, the process of synchronizing input content between the first client and the second client through the connection for the first client may include:
displaying the received input content corresponding to the second client in real time; and/or
Performing delay display on the received input content corresponding to the second client; and/or
And taking the received input content corresponding to the second client as the input content to be synchronized, and prompting.
In an optional embodiment of the present invention, the process of instantly displaying the received input content corresponding to the second client includes: instantly displaying the received input content corresponding to the second client in the candidate area; for example, when the input focus exists, that is, the client is turned on, it may be considered that the user has an input requirement, so that the received input content corresponding to the second client may be displayed in the candidate area immediately.
In another optional embodiment of the present invention, the process of performing delayed display on the received input content corresponding to the second client may specifically include: writing the received input content corresponding to the second client into a cache; upon detecting input focus, displaying the input content in the cache in a candidate area. The user can call the client to obtain an input focus through an operation of clicking an input box, and in the case that the client is called, the input content in the cache can be displayed in the candidate area for the user to select. The user can select the input content in the cache displayed in the candidate area to be displayed on the screen, wherein a shortcut key for displaying the screen corresponding to the input content in the cache, such as a space key, can be preset, and the screen is displayed when the space key is clicked. Alternatively, the user may dismiss the input content in the cache displayed in the candidate region from the screen.
It should be noted that the received input content corresponding to the second client is written into a cache, where the cache may be a cache of the first client or a cache of the server, that is, the server may cache the input content corresponding to the second client to be synchronized for the first client.
In yet another optional embodiment of the present invention, the process of prompting, by taking the received input content corresponding to the second client as the input content to be synchronized, may include: and displaying the received input content corresponding to the second client in a preset area. For example, when the input focus does not exist, that is, the client is not turned up, it may be considered that the user does not have an input requirement, so that the received input content corresponding to the second client may be immediately displayed in a preset area of the client, so as to remind the user of the existence of the input content corresponding to the second client to be synchronized. Optionally, in a case that the input focus does not exist, the received input content corresponding to the second client may be scroll-displayed in a preset area.
The preset area can be determined by those skilled in the art according to the actual application requirements. For example, for a PC, the preset area may be a peripheral area of a status bar of the client, such as an upper area of the status bar. For another example, for a mobile device such as a mobile phone, the preset area may be a top area of a screen or a blank area of an interface, and the specific preset area is not limited in the embodiment of the present invention.
It should be noted that, no matter the user puts the input content in the cache displayed in the candidate area on the screen or abandons the input content, the received input content corresponding to the second client may be stopped from being displayed in the preset area.
In addition, it should be noted that, in addition to displaying the received input content corresponding to the second client in the preset area, other prompting manners, such as a voice prompting manner, may also be adopted, for example, a voice of "there is input content to be synchronized" may be played.
In yet another alternative embodiment of the present invention, the method of the embodiment of the present invention may further include: and responding to the preset operation of the user, and emptying the cache. The preset operation may be an input operation of a user after the input content in the cache is displayed in the candidate area, or may also be an on-screen operation of the user on the input content in the cache displayed in the candidate area, or may also be an emptying operation of the cache by the user, and the like.
It can be understood that the above-mentioned clearing processing of the cache in response to the preset operation of the user is only an optional embodiment, and in fact, the embodiment of the present invention may also perform clearing processing of the cache automatically to save a memory space, for example, the cache may be cleared within a preset time after the input content in the cache is displayed in the candidate region, and the embodiment of the present invention does not impose a limitation on a specific condition for clearing processing of the cache.
To sum up, the cross-device input method according to the embodiment of the present invention implements connection between different devices through the user account, so that the distance limitation caused by scanning the two-dimensional code is not required, and thus, remote cross-device input can be implemented, that is, when the distance between the first device and the second device is long, connection between the first device and the second device can still be implemented through the user account, and synchronization of input contents of the first device and the second device is implemented through the connection.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a cross-device input method according to the present invention is shown, and the method is applied to a first client for logging in a first user account, and specifically may include the following steps:
and step 206, when the input focus is detected, displaying the input content in the cache in the candidate area.
The embodiment of the invention can be applied to the first client, the first client can establish connection with the second client, and synchronous input of double ends is realized through the connection, so that the problems that the mobile phone is slow to type, the PC end cannot input voice when no voice acquisition hardware exists, the PC end is inconvenient to scan characters and the like can be solved, and the input efficiency of a user is improved.
And under the condition that the input focus exists, the received input content corresponding to the second client can be displayed in real time so as to meet the real-time input requirement of the user.
Under the condition that the input focus does not exist, the received input content corresponding to the second client can be displayed in a rolling mode in a preset area so as to remind a user of the existence of the input content corresponding to the second client to be synchronized; and writing the received input content corresponding to the second client into a cache, and displaying the input content in the cache in a candidate area when an input focus is detected, so that the input content in the cache is provided for the user in time when the user has an input demand. In addition, the caching mechanism of the embodiment of the invention can also relieve the problem that the input content is lost when the connection between the first client and the second client is unstable.
Referring to fig. 3, a flowchart illustrating steps of an embodiment of a cross-device input method according to the present invention is shown, and the method is applied to a second client for logging in a second user account, and specifically may include the following steps:
305, displaying the received input content corresponding to the first client in a rolling mode in a preset area, and writing the received input content corresponding to the first client into a cache;
and step 306, when the input focus is detected, displaying the input content in the cache in the candidate area.
The embodiment of the invention can be applied to the second client, the second client can establish connection with the first client, and synchronous input of double ends is realized through the connection, so that the problems that the mobile phone is slow to type, the PC end cannot input voice when no voice acquisition hardware exists, the PC end is inconvenient to scan characters and the like can be solved, and the input efficiency of a user is improved.
And under the condition that the input focus exists, the received input content corresponding to the first client can be displayed in real time so as to meet the real-time input requirement of the user.
Under the condition that the input focus does not exist, the received input content corresponding to the first client side can be displayed in a rolling mode in a preset area, so that a user is reminded of the existence of the input content corresponding to the first client side to be synchronized; and writing the received input content corresponding to the first client into a cache, and displaying the input content in the cache in a candidate area when an input focus is detected, so that the input content in the cache is provided for the user in time when the user has an input demand. In addition, the caching mechanism of the embodiment of the invention can also relieve the problem that the input content is lost when the connection between the first client and the second client is unstable.
In an optional embodiment of the present invention, the step 301 of establishing a connection between the present client and a first client logged in to a first user account may include: receiving a cross-device input request; responding to the cross-device input request, and determining a first client of a first user account login needing to establish connection with a second client of a second user account login; sending a connection request to the first client to establish a connection between the first client and the second client.
The cross device input request described above is used to trigger step 301. In practical applications, the user may trigger the cross-device input request with or without logging into the user account. That is, the user may first log in to the user account, and then trigger the cross-device input request; alternatively, the user may first trigger the cross-device input request described above and then log into the user account. Alternatively, the user may trigger the cross-device input request through the interface described above, e.g., the user may trigger the cross-device input request through a control on the UI.
The determining mode of the second user account corresponding to the cross-device input request may include:
taking the user account triggering the cross-device input request as a second user account corresponding to the cross-device input request; or
And after the cross-device input request is received, displaying a login interface, and acquiring a second user account corresponding to the cross-device input request through the login interface.
The above process of determining a first client logged in to a first user account that needs to establish a connection with a second client logged in to a second user account in response to the cross-device input request may include: determining and displaying a device list for logging in the first user account aiming at a second user account corresponding to the cross-device input request; and determining a first client logged in by a first user account which establishes connection with a second client logged in by the second user account according to the selection operation of the user on the equipment in the equipment list. For the determination process of the device list for logging in the first user account, since it is similar to the determination process of the device list for logging in the second user account, it is not repeated herein and may refer to each other.
It should be noted that, for the connection between the first client and the second client, the connection request may be initiated by any one of the first client and the second client. The client or the server receiving the connection request can verify the connection request, and if the verification is passed, the connection can be established with the client sending the connection request. Optionally, the process of verifying the connection request may include: matching the user account sending the connection request with the user account receiving the connection request, and if the two are matched, the verification is passed, wherein the matching of the two may include: the two are the same or have a mapping relation.
In addition, in a case that both the input focuses of the first client and the second client exist, the input contents of the first client and the second client may be synchronized in real time, specifically, the input content corresponding to the second client may be displayed in real time in the candidate area of the first client, and the input content corresponding to the first client may be displayed in real time in the candidate area of the second client.
In the case that the input focus of one of the first client and the second client does not exist, the input content corresponding to the end where the input focus exists may be synchronized to the other end where the input focus does not exist in a cache form, and after detecting that the input focus exists, the input content in the cache is presented in a candidate manner.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no moving act is required as an embodiment of the invention.
Device embodiment
Referring to fig. 4, a block diagram of a terminal finding apparatus according to an embodiment of the present invention is shown, which may specifically include: a connection establishment module 401 and an input content synchronization module 402.
The connection establishing module 401 is configured to establish a connection between a first client logged in by a first user account and a second client logged in by a second user account;
an input content synchronization module 402 configured to synchronize input content between the first client and the second client via the connection.
Optionally, the second user account is the same as the first user account, or the second user account and the first user account have a mapping relationship.
Optionally, the connection establishing module 401 may include:
a receiving submodule for receiving a cross-device input request;
the second client determining submodule is used for responding to the cross-device input request, and determining a second client for logging in a second user account which needs to establish connection with a first client for logging in the first user account; and
and the connection request sending submodule is used for sending a connection request to the second client so as to establish connection between the first client and the second client.
Optionally, the second client determining sub-module may include:
the device list determining and displaying unit is used for determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and the second client determining unit is used for determining a second client logged in by a second user account which establishes connection with the first client logged in by the first user account according to the selection operation of the user on the equipment in the equipment list.
Optionally, the apparatus may further include:
the first user account determining module is used for taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And the second user account determining module is used for displaying a login interface after receiving the cross-device input request, and acquiring the first user account corresponding to the cross-device input request through the login interface.
Optionally, the input content synchronization module 402 may include:
the instant display sub-module is used for instantly displaying the received input content corresponding to the second client; and/or
The delay display sub-module is used for performing delay display on the received input content corresponding to the second client; and/or
And the prompting submodule is used for taking the received input content corresponding to the second client as the input content to be synchronized to prompt.
Optionally, the instant display sub-module may include:
the first display unit is used for instantly displaying the received input content corresponding to the second client in the candidate area; or
And the second display unit is used for displaying the received input content corresponding to the second client in a preset area.
Optionally, the delay display sub-module may include:
the write cache unit is used for writing the received input content corresponding to the second client into a cache;
and the buffer display unit is used for displaying the input content in the buffer in the candidate area when the input focus is detected.
Optionally, the apparatus may further include:
and the cache emptying module is used for responding to the preset operation of a user and emptying the cache.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Embodiments of the present invention also provide an apparatus for cross-device input, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: establishing connection between a first client logged in by a first user account and a second client logged in by a second user account; synchronizing input content between the first client and the second client over the connection.
Optionally, the second user account is the same as the first user account, or the second user account and the first user account have a mapping relationship.
Optionally, the establishing a connection between a first client logged in by a first user account and a second client logged in by a second user account includes:
receiving a cross-device input request;
responding to the cross-device input request, and determining a second client of a second user account login needing to establish connection with a first client of the first user account login;
sending a connection request to the second client to establish a connection between the first client and the second client.
Optionally, the determining, in response to the cross-device input request, a second client logged in to a second user account that needs to establish a connection with a first client logged in to a first user account includes:
determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and determining a second client for logging in a second user account connected with the first client for logging in the first user account according to the selection operation of the user on the equipment in the equipment list.
Optionally, the device is also configured to execute the one or more programs by the one or more processors including instructions for:
taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And after the cross-device input request is received, displaying a login interface, and acquiring a first user account corresponding to the cross-device input request through the login interface.
Optionally, the synchronizing input content between the first client and the second client through the connection includes:
displaying the received input content corresponding to the second client in real time; and/or
Performing delay display on the received input content corresponding to the second client; and/or
And taking the received input content corresponding to the second client as the input content to be synchronized, and prompting.
Optionally, the instantly displaying the received input content corresponding to the second client includes:
instantly displaying the received input content corresponding to the second client in the candidate area; or
And displaying the received input content corresponding to the second client in a preset area.
Optionally, the performing, by delaying the received input content corresponding to the second client, includes:
writing the received input content corresponding to the second client into a cache;
upon detecting input focus, displaying the input content in the cache in a candidate area.
Optionally, the device is also configured to execute the one or more programs by the one or more processors including instructions for:
and responding to the preset operation of the user, and emptying the cache.
FIG. 5 is a block diagram illustrating an apparatus 900 for cross device input in accordance with an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the apparatus 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide motion action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the apparatus 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 6 is a schematic diagram of a server in some embodiments of the invention. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (terminal or server), enable the apparatus to perform a cross-device input method, the method comprising: establishing connection between a first client logged in by a first user account and a second client logged in by a second user account; synchronizing input content between the first client and the second client over the connection.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The present invention provides a cross-device input method, a cross-device input device and a cross-device input device, which are introduced in detail above, and specific examples are applied in this text to explain the principle and the implementation of the present invention, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (28)
1. A cross-device input method, comprising:
establishing connection between a first client logged in by a first user account and a second client logged in by a second user account;
synchronizing input content between the first client and the second client over the connection, comprising: sending first input content corresponding to the second client through the connection, and/or receiving second input content corresponding to the second client;
the first input content is obtained based on a first input mode, and the second input content is obtained based on a second input mode;
the first input mode includes: a voice input mode and/or a scanning input mode, wherein the second input mode comprises: keyboard symbol input mode; or, the first input mode includes: a keyboard symbol input mode, the second input mode comprising: a voice input mode, and/or a scan input mode.
2. The method of claim 1, wherein the second user account is the same as the first user account, or wherein the second user account has a mapping relationship with the first user account.
3. The method according to claim 1 or 2, wherein establishing a connection between a first client logged in to a first user account and a second client logged in to a second user account comprises:
receiving a cross-device input request;
responding to the cross-device input request, and determining a second client of a second user account login needing to establish connection with a first client of the first user account login;
sending a connection request to the second client to establish a connection between the first client and the second client.
4. The method of claim 3, wherein determining, in response to the cross-device input request, a second client logged in to a second user account that requires a connection to be established with a first client logged in to a first user account comprises:
determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and determining a second client for logging in a second user account connected with the first client for logging in the first user account according to the selection operation of the user on the equipment in the equipment list.
5. The method of claim 4, further comprising:
taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And after the cross-device input request is received, displaying a login interface, and acquiring a first user account corresponding to the cross-device input request through the login interface.
6. The method of claim 1 or 2, wherein synchronizing input content between the first client and the second client over the connection comprises:
displaying the received input content corresponding to the second client in real time; and/or
Performing delay display on the received input content corresponding to the second client; and/or
And taking the received input content corresponding to the second client as the input content to be synchronized, and prompting.
7. The method according to claim 6, wherein the instantly displaying the received input content corresponding to the second client comprises:
instantly displaying the received input content corresponding to the second client in the candidate area; or
And displaying the received input content corresponding to the second client in a preset area.
8. The method according to claim 6, wherein the displaying the received input content corresponding to the second client in a delayed manner comprises:
writing the received input content corresponding to the second client into a cache;
upon detecting input focus, displaying the input content in the cache in a candidate area.
9. The method of claim 8, further comprising:
and responding to the preset operation of the user, and emptying the cache.
10. An input apparatus across devices, comprising:
the connection establishing module is used for establishing connection between a first client logged in by a first user account and a second client logged in by a second user account;
an input content synchronization module for synchronizing input content between the first client and the second client over the connection, comprising: sending first input content corresponding to the second client through the connection, and/or receiving second input content corresponding to the second client;
the first input content is obtained based on a first input mode, and the second input content is obtained based on a second input mode;
the first input mode includes: a voice input mode and/or a scanning input mode, wherein the second input mode comprises: keyboard symbol input mode; or, the first input mode includes: a keyboard symbol input mode, the second input mode comprising: a voice input mode, and/or a scan input mode.
11. The apparatus of claim 10, wherein the second user account is the same as the first user account, or wherein the second user account has a mapping relationship with the first user account.
12. The apparatus according to claim 10 or 11, wherein the connection establishing module comprises:
a receiving submodule for receiving a cross-device input request;
the second client determining submodule is used for responding to the cross-device input request, and determining a second client for logging in a second user account which needs to establish connection with a first client for logging in the first user account; and
and the connection request sending submodule is used for sending a connection request to the second client so as to establish connection between the first client and the second client.
13. The apparatus of claim 12, wherein the second client determining submodule comprises:
the device list determining and displaying unit is used for determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and the second client determining unit is used for determining a second client logged in by a second user account which establishes connection with the first client logged in by the first user account according to the selection operation of the user on the equipment in the equipment list.
14. The apparatus of claim 13, further comprising:
the first user account determining module is used for taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And the second user account determining module is used for displaying a login interface after receiving the cross-device input request, and acquiring the first user account corresponding to the cross-device input request through the login interface.
15. The apparatus of claim 10 or 11, wherein the input content synchronization module comprises:
the instant display sub-module is used for instantly displaying the received input content corresponding to the second client; and/or
The delay display sub-module is used for performing delay display on the received input content corresponding to the second client; and/or
And the prompting submodule is used for taking the received input content corresponding to the second client as the input content to be synchronized to prompt.
16. The apparatus of claim 15, wherein the instant display sub-module comprises:
the first display unit is used for instantly displaying the received input content corresponding to the second client in the candidate area; or
And the second display unit is used for displaying the received input content corresponding to the second client in the peripheral area of the status bar.
17. The apparatus of claim 15, wherein the time delay display sub-module comprises:
the write cache unit is used for writing the received input content corresponding to the second client into a cache;
and the buffer display unit is used for displaying the input content in the buffer in the candidate area when the input focus is detected.
18. The apparatus of claim 17, further comprising:
and the cache emptying module is used for responding to the preset operation of a user and emptying the cache.
19. An apparatus for cross-device input, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for:
establishing connection between a first client logged in by a first user account and a second client logged in by a second user account;
synchronizing input content between the first client and the second client over the connection, comprising: sending first input content corresponding to the second client through the connection, and/or receiving second input content corresponding to the second client;
the first input content is obtained based on a first input mode, and the second input content is obtained based on a second input mode;
the first input mode includes: a voice input mode and/or a scanning input mode, wherein the second input mode comprises: keyboard symbol input mode; or, the first input mode includes: a keyboard symbol input mode, the second input mode comprising: a voice input mode, and/or a scan input mode.
20. The apparatus of claim 19, wherein the second user account is the same as the first user account, or wherein the second user account has a mapping relationship with the first user account.
21. The apparatus according to claim 19 or 20, wherein the establishing a connection between a first client logged in to a first user account and a second client logged in to a second user account comprises:
receiving a cross-device input request;
responding to the cross-device input request, and determining a second client of a second user account login needing to establish connection with a first client of the first user account login;
sending a connection request to the second client to establish a connection between the first client and the second client.
22. The apparatus of claim 21, wherein the determining, in response to the cross-device input request, a second client logged in to a second user account that requires a connection to be established with a first client logged in to a first user account comprises:
determining and displaying a device list for logging in a second user account aiming at a first user account corresponding to the cross-device input request;
and determining a second client for logging in a second user account connected with the first client for logging in the first user account according to the selection operation of the user on the equipment in the equipment list.
23. The device of claim 22, wherein the device is also configured to execute the one or more programs by one or more processors includes instructions for:
taking the user account triggering the cross-device input request as a first user account corresponding to the cross-device input request; or
And after the cross-device input request is received, displaying a login interface, and acquiring a first user account corresponding to the cross-device input request through the login interface.
24. The apparatus of claim 19 or 20, wherein the synchronizing input content between the first client and the second client over the connection comprises:
displaying the received input content corresponding to the second client in real time; and/or
Performing delay display on the received input content corresponding to the second client; and/or
And taking the received input content corresponding to the second client as the input content to be synchronized, and prompting.
25. The apparatus of claim 24, wherein the instantly displaying the received input content corresponding to the second client comprises:
instantly displaying the received input content corresponding to the second client in the candidate area; or
And displaying the received input content corresponding to the second client in a preset area.
26. The apparatus of claim 24, wherein the displaying the received input content corresponding to the second client with a delay comprises:
writing the received input content corresponding to the second client into a cache;
upon detecting input focus, displaying the input content in the cache in a candidate area.
27. The device of claim 26, wherein the device is also configured to execute the one or more programs by one or more processors includes instructions for:
and responding to the preset operation of the user, and emptying the cache.
28. One or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform a cross-device input method as recited in one or more of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710954920.0A CN109672646B (en) | 2017-10-13 | 2017-10-13 | Cross-device input method and device and cross-device input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710954920.0A CN109672646B (en) | 2017-10-13 | 2017-10-13 | Cross-device input method and device and cross-device input device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109672646A CN109672646A (en) | 2019-04-23 |
CN109672646B true CN109672646B (en) | 2021-11-30 |
Family
ID=66139955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710954920.0A Active CN109672646B (en) | 2017-10-13 | 2017-10-13 | Cross-device input method and device and cross-device input device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109672646B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760351A (en) * | 2012-06-20 | 2012-10-31 | 上海琥智数码科技有限公司 | Method for implementing remote letter symbol input between intelligent terminals through wireless network |
CN103338255A (en) * | 2013-06-28 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Cross-terminal input method, device and system |
CN103957442A (en) * | 2014-05-13 | 2014-07-30 | 南京睿悦信息技术有限公司 | Cross-screen input program and cross-screen input method of far-end equipment |
CN104202679A (en) * | 2014-08-14 | 2014-12-10 | 小米科技有限责任公司 | Information inputting method and device for playing equipment and equipment |
CN104714634A (en) * | 2013-12-13 | 2015-06-17 | 奇点新源国际技术开发(北京)有限公司 | Remote input method and system |
CN105323616A (en) * | 2014-08-01 | 2016-02-10 | 珠海金山办公软件有限公司 | Cross-screen control method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9001208B2 (en) * | 2011-06-17 | 2015-04-07 | Primax Electronics Ltd. | Imaging sensor based multi-dimensional remote controller with multiple input mode |
-
2017
- 2017-10-13 CN CN201710954920.0A patent/CN109672646B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760351A (en) * | 2012-06-20 | 2012-10-31 | 上海琥智数码科技有限公司 | Method for implementing remote letter symbol input between intelligent terminals through wireless network |
CN103338255A (en) * | 2013-06-28 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Cross-terminal input method, device and system |
CN104714634A (en) * | 2013-12-13 | 2015-06-17 | 奇点新源国际技术开发(北京)有限公司 | Remote input method and system |
CN103957442A (en) * | 2014-05-13 | 2014-07-30 | 南京睿悦信息技术有限公司 | Cross-screen input program and cross-screen input method of far-end equipment |
CN105323616A (en) * | 2014-08-01 | 2016-02-10 | 珠海金山办公软件有限公司 | Cross-screen control method, device and system |
CN104202679A (en) * | 2014-08-14 | 2014-12-10 | 小米科技有限责任公司 | Information inputting method and device for playing equipment and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109672646A (en) | 2019-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12014223B2 (en) | Content sharing method and electronic device | |
CN112968991B (en) | Input method, electronic equipment and screen projection system | |
CN107153541B (en) | Browsing interaction processing method and device | |
CN103455742B (en) | Method, machine readable storage medium and the portable terminal of shortcut key based on fingerprint are provided | |
US20160366713A1 (en) | Pairing of nearby devices using a synchronized cue signal | |
WO2015180621A1 (en) | Method and apparatus for playing im message | |
CN105739857A (en) | Mobile terminal control method and apparatus | |
CN107193393B (en) | Input method switching method and device | |
CN111273850A (en) | Terminal control method and device, computer equipment and storage medium | |
CN103888531A (en) | Reading position synchronization method and reading position obtaining method and device | |
US20180239511A1 (en) | Mobile terminal and control method therefor | |
CN104866198A (en) | A method for quickly switching display interfaces | |
CN112015281B (en) | Cloud association method and related device | |
CN105487799A (en) | Content conversion method and device | |
CN109542244B (en) | Input method, device and medium | |
CN105607958B (en) | Information input method and device | |
CN110648657A (en) | Language model training method, language model construction method and language model construction device | |
CN108874172B (en) | Input method and device | |
CN109672646B (en) | Cross-device input method and device and cross-device input device | |
CN111263004A (en) | Terminal control method, device, computer equipment and storage medium | |
WO2017080203A1 (en) | Handwriting input method and device, and mobile device | |
CN114051157B (en) | Input method and device | |
US20170316039A1 (en) | Information acquisition method, device and system | |
CN109388328B (en) | Input method, device and medium | |
CN111831131B (en) | Association input method and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |