CN111625371A - Text transmission method, device, PC (personal computer) terminal, mobile terminal and system - Google Patents

Text transmission method, device, PC (personal computer) terminal, mobile terminal and system Download PDF

Info

Publication number
CN111625371A
CN111625371A CN201911221990.0A CN201911221990A CN111625371A CN 111625371 A CN111625371 A CN 111625371A CN 201911221990 A CN201911221990 A CN 201911221990A CN 111625371 A CN111625371 A CN 111625371A
Authority
CN
China
Prior art keywords
text
mobile terminal
terminal
text information
information
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.)
Pending
Application number
CN201911221990.0A
Other languages
Chinese (zh)
Inventor
何建邦
邓志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mushroom Car Union Information Technology Co Ltd
Original Assignee
Mushroom Car Union Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mushroom Car Union Information Technology Co Ltd filed Critical Mushroom Car Union Information Technology Co Ltd
Priority to CN201911221990.0A priority Critical patent/CN111625371A/en
Publication of CN111625371A publication Critical patent/CN111625371A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention discloses a text transmission method, a text transmission device, a PC (personal computer) terminal, a mobile terminal and a text transmission system, wherein the text transmission method comprises the following steps: detecting a user operation for triggering text transmission; acquiring first text information from a clipboard of a Personal Computer (PC) end according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to a mobile terminal by the PC end; performing first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal; and sending the second text information to the mobile terminal so that the mobile terminal pastes the second file information into a text editing box of the mobile terminal. Therefore, the embodiment of the invention realizes the fast copying of the text from the PC terminal to the mobile terminal, simplifies the operation process of text transmission and improves the efficiency of text transmission.

Description

Text transmission method, device, PC (personal computer) terminal, mobile terminal and system
Technical Field
The invention relates to the technical field of communication, in particular to a text transmission method, a text transmission device, a PC (personal computer) terminal, a mobile terminal and a text transmission system.
Background
With the continuous development of communication technology, users have more and more communication terminal devices personally, such as: a PC (Personal Computer), a mobile terminal, and the like. At present, text transmission between a PC and a mobile terminal is generally performed by using tools such as WeChat or QQ. However, the text transmission by WeChat or QQ is inefficient and the operation is complicated.
Disclosure of Invention
Because the existing method has the problems, the embodiment of the invention provides a text transmission method, a text transmission device, a PC (personal computer) end, a mobile terminal and a text transmission system.
In a first aspect, an embodiment of the present invention provides a text transmission method, including:
detecting a user operation for triggering text transmission;
acquiring first text information from a clipboard of a Personal Computer (PC) end according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to a mobile terminal by the PC end;
performing first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
and sending the second text information to the mobile terminal so that the mobile terminal pastes the second file information into a text editing box of the mobile terminal.
Optionally, the user operation includes a text selection and copy operation of the user at the PC end, and a paste operation input by the user on the remote control window; the pasting operation is used for indicating the PC terminal to copy the text to the mobile terminal;
the sending the second text message to the mobile terminal includes:
determining communication connection between the PC terminal and the mobile terminal, wherein the communication connection comprises a socket;
and sending the second text message to the mobile terminal through the socket.
Optionally, the method further comprises:
receiving third text information sent by the mobile terminal, wherein the third text information is text information which needs to be copied to the PC terminal by the mobile terminal;
performing second code conversion on the third text information to obtain fourth text information, and setting the fourth text information in a clipboard of the PC terminal; the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal;
and when a user instruction for triggering text pasting is received, pasting the fourth file information in the clipboard of the PC terminal into a text editing box of the PC terminal according to the user instruction.
In a second aspect, an embodiment of the present invention provides a text transmission method, including:
receiving second text information sent by a PC (personal computer) end, wherein the second text information is obtained by performing first code conversion on the first text information by the PC end; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and pasting the second file information into a text editing box of the mobile terminal.
Optionally, the method further comprises:
when user operation for triggering text transmission is detected, triggering a clipboard monitoring function of the mobile terminal;
when the situation that the clipboard content changes is monitored, third text information is obtained from the clipboard content and used for representing the text information which needs to be copied to the PC terminal by the mobile terminal;
sending the third text information to the PC terminal so that the PC terminal performs second code conversion on the third text information to obtain fourth text information, setting the fourth text information in a clipboard of the PC terminal, and pasting the fourth file information in the clipboard of the PC terminal into a text editing box of the PC terminal according to a user instruction when the user instruction for triggering text pasting is received; and the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal.
In a third aspect, an embodiment of the present invention provides a text transmission apparatus, including:
the detection module is used for detecting user operation for triggering text transmission;
the acquisition module is used for acquiring first text information from a clipboard of a Personal Computer (PC) terminal according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal;
the conversion module is used for carrying out first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
and the sending module is used for sending the second text information to the mobile terminal so as to enable the mobile terminal to paste the second file information into a text editing box of the mobile terminal.
In a fourth aspect, an embodiment of the present invention provides a text transmission apparatus, including:
the receiving module is used for receiving second text information sent by a PC (personal computer) end, wherein the second text information is obtained by performing first code conversion on the first text information by the PC end; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and the pasting module is used for pasting the second file information into a text editing box of the mobile terminal.
In a fifth aspect, an embodiment of the present invention provides a PC, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the text transmission method according to the first aspect when executing the program.
In a sixth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the text transmission method according to the second aspect when executing the program.
In a seventh aspect, an embodiment of the present invention provides a text transmission system, including: the PC terminal according to the fifth aspect, and the mobile terminal according to the sixth aspect.
According to the technical scheme, the embodiment of the invention obtains the first text information from the clipboard of the PC end according to the user operation by detecting the user operation for triggering the text transmission, performs the first code conversion on the first text information to obtain the second text information, and sends the second text information to the mobile terminal, so that the mobile terminal can directly paste the second text information into the text editing box, thereby realizing the quick text copying from the PC end to the mobile terminal, simplifying the operation process of the text transmission and improving the efficiency of the text transmission.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a text transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a text transmission method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a text transmission apparatus according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a text transmission apparatus according to an embodiment of the present invention;
fig. 5 is a schematic physical structure diagram of a PC end according to an embodiment of the present invention;
fig. 6 is a schematic physical structure diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a schematic flowchart of a text transmission method according to an embodiment of the present invention; the method can be used for a PC end, and the function of automatically monitoring the clipboard of the PC end is added to the PC end. Such as: the PC program is used for monitoring the content of the clipboard on the Windows; as shown in fig. 1, the text transmission method may include:
s110, detecting user operation for triggering text transmission.
Specifically, the PC side may copy the text selected by the user to the mobile terminal. The mobile terminal may be an Android device installed with an Android (Android) operating system, for example: smart phones, tablet computers, VR (virtual reality) all-in-one machines, android machines, and the like.
Such as: when the user selects the text and copies (Ctrl + C) on the PC side, and then inputs Ctrl + V into the remote control window, the PC side immediately performs the text transmission operation. The remote control window can be a screen projection assistant window used by the mobile terminal to project a screen to the PC terminal. Such as: the mobile terminal is an Android device provided with an Android (Android) operating system, and the remote operating window is an Android screen-casting assistant window used by the Android device to the PC terminal.
In an embodiment, the user operation in S110 may include: selecting a text and copying operation (Ctrl + C) at the PC end by the user, and inputting a pasting operation (Ctrl + V) on a remote control window by the user; and the pasting operation is used for instructing the PC terminal to copy the text to the mobile terminal.
S120, first text information is obtained from a clipboard of the PC terminal according to user operation, and the first text information is used for representing text information which needs to be copied to the mobile terminal by the PC terminal.
Specifically, the remote control window may be located on a display interface of the PC side, and a paste instruction input by the user on the remote control window indicates that the user needs to copy the text from the PC side to the mobile terminal.
S130, performing first code conversion on the first text information to obtain second text information; wherein, the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal.
Specifically, since the operating systems used by the PC and the mobile terminal are different, the text needs to be transcoded before being transmitted.
Such as: the operating system used by the PC side is a Windows operating system, the android system used by the mobile terminal is an android system, and the two operating systems use different encoding modes in the aspect of text encoding. Wherein, the code used by the PC side may be a uniform code (UNICODE), and the code used by the mobile terminal includes a variable length character code (UTF 8).
And S140, sending the second text information to the mobile terminal so that the mobile terminal pastes the second file information into a text editing box of the mobile terminal.
Specifically, since the second text information is already subjected to transcoding and is suitable for display by the mobile terminal, the mobile terminal can paste the second file information directly into a text editing box of the mobile terminal.
According to the embodiment, the user operation for triggering the text transmission is detected, the first text information is obtained from the clipboard of the PC terminal according to the user operation, the first text information is subjected to the first code conversion to obtain the second text information, and the second text information is sent to the mobile terminal, so that the mobile terminal can directly paste the second text information into the text editing box, the text can be quickly copied from the PC terminal to the mobile terminal, the operation process of the text transmission is simplified, and the efficiency of the text transmission is improved.
Further, based on the method shown in fig. 1, when performing S140, the method may include:
and (1-1) determining communication connection between the PC terminal and the mobile terminal, wherein the communication connection comprises a socket (socket).
Specifically, the communication connection between the PC and the mobile terminal may be implemented by WI-FI (wireless internet access), USB (Universal Serial Bus), or the like.
A socket may refer to a pair of port numbers that are required in a communication connection between the PC side and the mobile terminal.
(1-2) transmitting the second text message to the mobile terminal through the socket.
As can be seen from the above embodiments, by establishing a communication connection between the PC side and the mobile terminal, where the communication connection includes a socket, and sending the second text message to the mobile terminal through the socket, the hardware requirement for text transmission is reduced, and the reliability of text transmission is improved.
Further, based on the method shown in fig. 1, the text transmission method may further include:
(2-1) receiving third text information sent by the mobile terminal, wherein the third text information is text information which needs to be copied to the PC terminal by the mobile terminal.
Specifically, the PC side can copy the text of the mobile terminal to itself, in addition to quickly copying the text from the PC side to the mobile terminal.
(2-2) performing second code conversion on the third text information to obtain fourth text information, and setting the fourth text information in a clipboard of the PC terminal; and the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal.
Specifically, since the operating systems used by the PC and the mobile terminal are different, when text copied by the mobile terminal is received, the text needs to be transcoded and then placed in a clipboard provided on the PC.
(2-3) when receiving a user instruction for triggering text pasting, pasting the fourth file information in the clipboard of the PC terminal into the text editing box of the PC terminal according to the user instruction
Specifically, the user instruction may be a paste instruction (Ctrl + V) input by the user on any window other than the remote control window on the PC side. And after receiving the user instruction, the PC end immediately executes the text pasting operation.
As can be seen from the above embodiment, by receiving third text information sent by the mobile terminal, second code conversion is performed on the third text information to obtain fourth text information, and the fourth text information is set in the clipboard of the PC end; and when a user instruction for triggering text pasting is received, pasting the fourth file information in the clipboard of the PC terminal into the text editing box of the PC terminal according to the user instruction, thereby realizing the rapid text copying from the mobile terminal to the PC terminal, simplifying the operation process of text transmission and improving the efficiency of text transmission.
Fig. 2 is a flowchart illustrating a text transmission method according to an embodiment of the present invention; the method can be applied to a mobile terminal, and the mobile terminal can be an Android device installed with an Android (Android) operating system, such as: the system comprises a smart phone, a tablet personal computer, a VR (virtual reality) all-in-one machine, an android machine and the like; as shown in fig. 2, the text transmission method may include:
and S210, receiving second text information sent by the PC terminal. The second text information is obtained by the PC side performing the first code conversion on the first text information. The first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal.
Specifically, the second text information is subjected to code conversion and is suitable for being displayed by the mobile terminal, so that the mobile terminal can directly paste the second file information into a text editing box of the mobile terminal after receiving the second text information sent by the PC terminal.
Such as: the operating system used by the PC side is a Windows operating system, the android system used by the mobile terminal is an android system, and the two operating systems use different encoding modes in the aspect of text encoding. Wherein, the code used by the PC side may be a uniform code (UNICODE), and the code used by the mobile terminal includes a variable length character code (UTF 8).
And S220, pasting the second file information into a text editing box of the mobile terminal.
The embodiment can be seen that the second text information sent by the PC terminal is received, and the second file information is pasted into the text editing box of the mobile terminal, so that the text can be quickly copied from the PC terminal to the mobile terminal, the operation process of text transmission is simplified, and the efficiency of text transmission is improved.
Further, based on the method shown in fig. 2, the text transmission method may further include:
and (3-1) when detecting a user operation for triggering text transmission, triggering a clipboard listening function of the mobile terminal.
In particular, the user operation for triggering the text transmission may refer to a user selection of a text and copy operation (Ctrl + C) on the mobile terminal.
Also, the clipboard listening function of the mobile terminal may refer to an auto-listening clipboard function of the mobile terminal. Such as: the mobile terminal creates a Listener (Listener) for monitoring the clipboard, the Listener is activated when a user copies text on the mobile terminal, and the mobile terminal sends the text content in the clipboard to the PC through a socket in communication connection between the two.
And (3-2) when the content of the clipboard changes, acquiring third text information from the content of the clipboard, wherein the third text information is used for representing the text information which needs to be copied to the PC terminal by the mobile terminal.
(3-3) sending the third text message to the PC terminal so that the PC terminal performs second code conversion on the third text message to obtain fourth text message, setting the fourth text message in a clipboard of the PC terminal, and pasting the fourth file message in the clipboard of the PC terminal into a text editing box of the PC terminal according to a user instruction when the user instruction for triggering text pasting is received; and the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal.
It can be seen from the above embodiments that, when detecting the user operation for triggering text transmission, the clipboard monitoring function of the mobile terminal is triggered, and when the clipboard content changes, the third text information is obtained from the clipboard content and sent to the PC terminal, so that the text can be quickly copied from the mobile terminal to the PC terminal, the operation process of text transmission is simplified, and the efficiency of text transmission is improved.
Fig. 3 is a flowchart of a text transmission apparatus according to an embodiment of the present invention, where the text transmission apparatus can be used at a PC, and a clipboard function of an auto-monitor PC is added at the PC. Such as: the PC program is used for monitoring the content of the clipboard on the Windows; as shown in fig. 3, the text transmission device may include:
a detection module 31, configured to detect a user operation for triggering text transmission;
an obtaining module 32, configured to obtain first text information from a clipboard of a PC end of a personal computer according to the user operation, where the first text information is used to represent text information that the PC end needs to be copied to a mobile terminal;
a conversion module 33, configured to perform first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
a sending module 34, configured to send the second text message to the mobile terminal, so that the mobile terminal pastes the second file message into a text editing box of the mobile terminal.
According to the embodiment, the user operation for triggering the text transmission is detected, the first text information is obtained from the clipboard of the PC terminal according to the user operation, the first text information is subjected to the first code conversion to obtain the second text information, and the second text information is sent to the mobile terminal, so that the mobile terminal can directly paste the second text information into the text editing box, the text can be quickly copied from the PC terminal to the mobile terminal, the operation process of the text transmission is simplified, and the efficiency of the text transmission is improved.
Further, based on the device shown in fig. 3, the user operation includes a text selecting and copying operation at the PC end by the user, and a pasting operation input on the remote control window by the user; the pasting operation is used for indicating the PC terminal to copy the text to the mobile terminal;
the sending module 34 specifically includes:
the determining submodule is used for determining communication connection between the PC terminal and the mobile terminal, and the communication connection comprises a socket;
and the sending submodule is used for sending the second text message to the mobile terminal through the socket.
Further, based on the apparatus shown in fig. 3, the text transmission apparatus may further include:
the text receiving module is used for receiving third text information sent by the mobile terminal, wherein the third text information is text information which needs to be copied to the PC terminal by the mobile terminal;
the text conversion module is used for performing second code conversion on the third text information to obtain fourth text information, and setting the fourth text information in a clipboard of the PC terminal; the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal;
and the text pasting module is used for pasting the fourth file information in the clipboard of the PC end into the text editing box of the PC end according to the user instruction when the user instruction for triggering text pasting is received.
As can be seen from the above embodiment, by receiving third text information sent by the mobile terminal, second code conversion is performed on the third text information to obtain fourth text information, and the fourth text information is set in the clipboard of the PC end; and when a second pasting instruction input by the user at the PC terminal is received, pasting the fourth file information in the clipboard of the PC terminal into the text editing box of the PC terminal, so that the text is quickly copied from the mobile terminal to the PC terminal, the operation process of text transmission is simplified, and the efficiency of text transmission is improved.
Fig. 4 is a schematic flowchart of a text transmission apparatus according to an embodiment of the present invention, where the text transmission apparatus may be used in a mobile terminal, and the mobile terminal may be an Android device installed with an Android operating system, such as: the system comprises a smart phone, a tablet personal computer, a VR (virtual reality) all-in-one machine, an android machine and the like; as shown in fig. 4, the text transmission device may include:
a receiving module 41, configured to receive second text information sent by a PC, where the second text information is obtained by performing first code conversion on first text information by the PC; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and the pasting module 42 is used for pasting the second file information into a text editing box of the mobile terminal.
The embodiment can be seen that the second text information sent by the PC terminal is received, and the second file information is pasted into the text editing box of the mobile terminal, so that the text can be quickly copied from the PC terminal to the mobile terminal, the operation process of text transmission is simplified, and the efficiency of text transmission is improved.
Further, based on the apparatus shown in fig. 4, the text transmission apparatus may further include:
the monitoring triggering module is used for triggering a clipboard monitoring function of the mobile terminal when detecting user operation for triggering text transmission;
the text acquisition module is used for acquiring third text information from the clipboard content when the clipboard content is monitored to be changed, wherein the third text information is used for representing the text information which needs to be copied to the PC terminal by the mobile terminal;
the text sending module is used for sending the third text information to the PC terminal so that the PC terminal performs second code conversion on the third text information to obtain fourth text information, setting the fourth text information in a clipboard of the PC terminal, and pasting the fourth file information in the clipboard of the PC terminal into a text editing box of the PC terminal according to a user instruction when the user instruction for triggering text pasting is received; and the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal.
It can be seen from the above embodiments that, when detecting the user operation for triggering text transmission, the clipboard monitoring function of the mobile terminal is triggered, and when the clipboard content changes, the third text information is obtained from the clipboard content and sent to the PC terminal, so that the text can be quickly copied from the mobile terminal to the PC terminal, the operation process of text transmission is simplified, and the efficiency of text transmission is improved.
The text transmission apparatus described in this embodiment may be used to implement the above method embodiments, and the principle and technical effect are similar, which are not described herein again.
Fig. 5 is a schematic physical structure diagram of a PC end according to an embodiment of the present invention, and as shown in fig. 5, the PC end may include: a processor (processor)501, a communication Interface (Communications Interface)502, a memory (memory)503, and a communication bus 504, wherein the processor 501, the communication Interface 502, and the memory 503 are configured to communicate with each other via the communication bus 504. The processor 501 may call logic instructions in the memory 503 to perform the following method:
detecting a user operation for triggering text transmission;
acquiring first text information from a clipboard of a Personal Computer (PC) end according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to a mobile terminal by the PC end;
performing first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
and sending the second text information to the mobile terminal so that the mobile terminal pastes the second file information into a text editing box of the mobile terminal.
In addition, the logic instructions in the memory 503 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Fig. 6 is a schematic entity structure diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 6, the mobile terminal may include: a processor (processor)601, a communication Interface (Communications Interface)602, a memory (memory)603 and a communication bus 604, wherein the processor 601, the communication Interface 602 and the memory 603 complete communication with each other through the communication bus 604. The processor 601 may call logic instructions in the memory 603 to perform the following method:
receiving second text information sent by a PC (personal computer) end, wherein the second text information is obtained by performing first code conversion on the first text information by the PC end; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and pasting the second file information into a text editing box of the mobile terminal.
In addition, the logic instructions in the memory 603 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, an embodiment of the present invention discloses a text transmission system, including: a PC terminal shown in fig. 5, and a mobile terminal shown in fig. 6. The PC shown in fig. 5 is used to execute the text transmission method shown in fig. 1, and the mobile terminal shown in fig. 6 is used to execute the text transmission method shown in fig. 2.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising:
detecting a user operation for triggering text transmission;
acquiring first text information from a clipboard of a Personal Computer (PC) end according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to a mobile terminal by the PC end;
performing first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
and sending the second text information to the mobile terminal so that the mobile terminal pastes the second file information into a text editing box of the mobile terminal.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising:
receiving second text information sent by a PC (personal computer) end, wherein the second text information is obtained by performing first code conversion on the first text information by the PC end; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and pasting the second file information into a text editing box of the mobile terminal.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for text transmission, comprising:
detecting a user operation for triggering text transmission;
acquiring first text information from a clipboard of a Personal Computer (PC) end according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to a mobile terminal by the PC end;
performing first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
and sending the second text information to the mobile terminal so that the mobile terminal pastes the second file information into a text editing box of the mobile terminal.
2. The text transmission method according to claim 1, wherein the user operations include a user's text selection and copy operations on the PC side, and a user's paste operation input on a remote control window; the pasting operation is used for indicating the PC terminal to copy the text to the mobile terminal;
the sending the second text message to the mobile terminal includes:
determining communication connection between the PC terminal and the mobile terminal, wherein the communication connection comprises a socket;
and sending the second text message to the mobile terminal through the socket.
3. The text transmission method according to claim 1, further comprising:
receiving third text information sent by the mobile terminal, wherein the third text information is text information which needs to be copied to the PC terminal by the mobile terminal;
performing second code conversion on the third text information to obtain fourth text information, and setting the fourth text information in a clipboard of the PC terminal; the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal;
and when a user instruction for triggering text pasting is received, pasting the fourth file information in the clipboard of the PC terminal into a text editing box of the PC terminal according to the user instruction.
4. A method for text transmission, comprising:
receiving second text information sent by a PC (personal computer) end, wherein the second text information is obtained by performing first code conversion on the first text information by the PC end; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and pasting the second file information into a text editing box of the mobile terminal.
5. The text transmission method according to claim 4, further comprising:
when user operation for triggering text transmission is detected, triggering a clipboard monitoring function of the mobile terminal;
when the situation that the clipboard content changes is monitored, third text information is obtained from the clipboard content and used for representing the text information which needs to be copied to the PC terminal by the mobile terminal;
sending the third text information to the PC terminal so that the PC terminal performs second code conversion on the third text information to obtain fourth text information, setting the fourth text information in a clipboard of the PC terminal, and pasting the fourth file information in the clipboard of the PC terminal into a text editing box of the PC terminal according to a user instruction when the user instruction for triggering text pasting is received; and the second code conversion is used for representing the code used by the mobile terminal to be converted into the code used by the PC terminal.
6. A text transmission device, comprising:
the detection module is used for detecting user operation for triggering text transmission;
the acquisition module is used for acquiring first text information from a clipboard of a Personal Computer (PC) terminal according to the user operation, wherein the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal;
the conversion module is used for carrying out first code conversion on the first text information to obtain second text information; the first code conversion is used for representing the conversion of codes used by the PC terminal into codes used by the mobile terminal;
and the sending module is used for sending the second text information to the mobile terminal so as to enable the mobile terminal to paste the second file information into a text editing box of the mobile terminal.
7. A text transmission device, comprising:
the receiving module is used for receiving second text information sent by a PC (personal computer) end, wherein the second text information is obtained by performing first code conversion on the first text information by the PC end; the first text information is used for representing the text information which needs to be copied to the mobile terminal by the PC terminal, and the first code conversion is used for representing the code used by the PC terminal to be converted into the code used by the mobile terminal;
and the pasting module is used for pasting the second file information into a text editing box of the mobile terminal.
8. A PC comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the text transmission method according to any of claims 1 to 3.
9. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the text transmission method according to claim 4 or 5 are implemented when the processor executes the program.
10. A text transmission system, comprising: a PC terminal as in claim 8, and a mobile terminal as in claim 9.
CN201911221990.0A 2019-12-03 2019-12-03 Text transmission method, device, PC (personal computer) terminal, mobile terminal and system Pending CN111625371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911221990.0A CN111625371A (en) 2019-12-03 2019-12-03 Text transmission method, device, PC (personal computer) terminal, mobile terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911221990.0A CN111625371A (en) 2019-12-03 2019-12-03 Text transmission method, device, PC (personal computer) terminal, mobile terminal and system

Publications (1)

Publication Number Publication Date
CN111625371A true CN111625371A (en) 2020-09-04

Family

ID=72259676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911221990.0A Pending CN111625371A (en) 2019-12-03 2019-12-03 Text transmission method, device, PC (personal computer) terminal, mobile terminal and system

Country Status (1)

Country Link
CN (1) CN111625371A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778714A (en) * 2021-09-13 2021-12-10 北京技德系统技术有限公司 Linux-compatible Android-compatible shear plate sharing method and device
CN115080170A (en) * 2022-06-29 2022-09-20 维沃移动通信有限公司 Information processing method, information processing apparatus, and electronic device
WO2024082803A1 (en) * 2022-10-21 2024-04-25 广州视臻信息科技有限公司 Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium
WO2024104466A1 (en) * 2022-11-18 2024-05-23 广州视源电子科技股份有限公司 Data transmission method, electronic device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262520A (en) * 2010-05-31 2011-11-30 北京创艺和弦科贸有限公司 Test display method based on built-in platform mobile phone and applied device thereof
CN102821140A (en) * 2012-07-17 2012-12-12 北京小米科技有限责任公司 Information sharing method and information sharing terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262520A (en) * 2010-05-31 2011-11-30 北京创艺和弦科贸有限公司 Test display method based on built-in platform mobile phone and applied device thereof
CN102821140A (en) * 2012-07-17 2012-12-12 北京小米科技有限责任公司 Information sharing method and information sharing terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778714A (en) * 2021-09-13 2021-12-10 北京技德系统技术有限公司 Linux-compatible Android-compatible shear plate sharing method and device
CN113778714B (en) * 2021-09-13 2024-01-09 北京技德系统技术有限公司 Shared shear plate method and device compatible with Android for Linux
CN115080170A (en) * 2022-06-29 2022-09-20 维沃移动通信有限公司 Information processing method, information processing apparatus, and electronic device
WO2024082803A1 (en) * 2022-10-21 2024-04-25 广州视臻信息科技有限公司 Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium
WO2024104466A1 (en) * 2022-11-18 2024-05-23 广州视源电子科技股份有限公司 Data transmission method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN111625371A (en) Text transmission method, device, PC (personal computer) terminal, mobile terminal and system
CN108200170B (en) Message processing method and device and readable storage medium
EP3493059A1 (en) Application data migration method and device
CN105871690B (en) Method and device for realizing instant messaging
WO2019099140A1 (en) Publication of applications using server-side virtual screen change capture
WO2018103405A1 (en) Method for identifying access point and hotspot, and related product
CN108234659B (en) Data processing method, device and system
CN108027725B (en) Method, device and equipment for guiding terminal equipment operation
EP2905945A1 (en) Inter-terminal image sharing method, terminal device and communication system
CN112650456A (en) Printing method and device and electronic equipment
CN104811485A (en) Resource sharing method
CN108933947B (en) Bullet screen display method and device
CN105376636A (en) A verification code filling-in method, a verification code filling-in assisting method, an intelligent television set and an intelligent mobile terminal
CN110018978B (en) Data transmission method and system
CN104639973B (en) Information pushing method and device
CN111629020A (en) Remote input method, device, PC (personal computer) terminal, android device and system
CN113741754A (en) Task creation method and device, electronic equipment and computer-readable storage medium
CN112783597A (en) Remote desktop implementation method and related equipment
CN111625372A (en) Text pasting method, device, PC (personal computer) terminal, mobile terminal and system
CN111741453A (en) Bluetooth data encapsulation communication method and device
CN111131323A (en) Message transmission method and related device
CN107318129B (en) Data processing method and device and terminal
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN106815006B (en) Page calling method and device and page management server
CN110602194B (en) IOT message subscription method, IOT message subscription device and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200904

RJ01 Rejection of invention patent application after publication