CN112269952A - Data transmission method and device, terminal equipment and storage medium - Google Patents

Data transmission method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112269952A
CN112269952A CN202011033883.8A CN202011033883A CN112269952A CN 112269952 A CN112269952 A CN 112269952A CN 202011033883 A CN202011033883 A CN 202011033883A CN 112269952 A CN112269952 A CN 112269952A
Authority
CN
China
Prior art keywords
security level
screen
display picture
terminal
terminal device
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
CN202011033883.8A
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011033883.8A priority Critical patent/CN112269952A/en
Publication of CN112269952A publication Critical patent/CN112269952A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure provides a data transmission method, an apparatus, a storage medium and an electronic device, which relate to the technical field of communications and can solve the problems that a user is very inconvenient to use and has poor user experience when working with a computer and operating a mobile phone. The specific technical scheme is as follows: if a display picture acquisition instruction input by a user is received, generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to the user; sending a request message for acquiring the identification information and the security level to a second terminal device; receiving identification information and a second security level sent by second terminal equipment; establishing connection between the first terminal and the second terminal equipment according to the identification information and sending a prompt message for completing connection establishment to the second terminal equipment; receiving a display picture of the second terminal equipment sent by the second terminal equipment; and if the first safety level is higher than or equal to the second safety level, displaying a display picture of the second terminal equipment. The invention is used for improving the user experience.

Description

Data transmission method and device, terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method and apparatus, a terminal device, and a storage medium.
Background
In daily work, people often need to check data through a mobile phone when working on a computer, and need to work through the computer when turning over the mobile phone. Therefore, when the mobile phone is operated while the computer is used for working, the use of the mobile phone is very inconvenient for users, and the user experience is poor.
Disclosure of Invention
The embodiment of the disclosure provides a data transmission method, a data transmission device, a terminal device and a storage medium, which can solve the problems that a user is very inconvenient to use and has poor user experience when working with a computer and operating a mobile phone at the same time. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data transmission method, applied to a first terminal, including:
if a display picture acquisition instruction input by a user is received, generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to the user so that the user can scan the two-dimensional code by using second terminal equipment to trigger a link of the two-dimensional code, wherein the display picture acquisition instruction is used for indicating acquisition of a display picture of the second terminal equipment;
after the link of the two-dimensional code is triggered, sending a request message for acquiring identification information and security level to the second terminal device;
receiving identification information of the second terminal device and a second security level sent by the second terminal device, wherein the second security level is the security level of the second terminal device;
establishing connection between the first terminal and the second terminal device according to the identification information of the second terminal device and sending a prompt message for completing connection establishment to the second terminal device;
receiving a display picture of the second terminal equipment sent by the second terminal equipment;
and if the first security level is determined to be higher than or equal to the second security level, displaying a display picture of the second terminal device on a screen of the first terminal device, wherein the first security level is the security level of the first terminal device.
The data transmission method provided by the embodiment of the disclosure can display the display picture of the mobile phone on the computer when the security level of the first terminal device (computer) is higher than or equal to that of the second terminal device (mobile phone), so that a user can watch the display picture of the mobile phone through the computer without operating the computer to work and operating the mobile phone at the same time, the use of the user is convenient, the user experience is improved, meanwhile, the risk of information leakage of the display picture of the mobile phone is avoided, and the security is improved.
In one embodiment, the method comprises:
and if the first security level is lower than the second security level, displaying a pre-stored target image on a screen of the first terminal device.
When the first security level is lower than the second security level, the prestored target image is displayed on the screen of the computer, and the display picture of the mobile phone is not displayed, so that the risk of information leakage of the display picture of the mobile phone can be avoided, and the security is improved. In one embodiment, establishing the connection between the first terminal and the second terminal according to the identification information of the second terminal includes:
acquiring a first connection address corresponding to the identification information of the second terminal equipment;
and establishing the connection between the first terminal and the second terminal equipment according to the first connection address.
By acquiring the connection address corresponding to the identification information of the second terminal device and establishing the connection between the first terminal and the second terminal device according to the connection address, after the first terminal is connected with the second terminal device, the first terminal device can receive the display picture of the second terminal device sent by the second terminal device and display the display picture of the second terminal device.
In one embodiment, the sending the request message for acquiring the identification information and the security level to the second terminal device includes:
sending a request message for acquiring identification information, screen resolution and the like to the second terminal equipment;
the receiving the identification information of the second terminal device sent by the second terminal device includes:
receiving identification information, a second resolution and the second security level of the second terminal device, which are sent by the second terminal device, wherein the second resolution is the screen resolution of the second terminal device;
the displaying the display screen of the second terminal device on the screen of the first terminal device comprises:
and converting the display picture of the second terminal equipment from the second resolution into a first resolution and displaying the display picture of the second terminal equipment on a screen of the first terminal equipment, wherein the first resolution is the screen resolution of the first terminal equipment.
The display picture of the second terminal equipment can be converted into the resolution matched with the screen of the first terminal equipment by converting the display picture of the second terminal equipment from the second resolution into the first resolution and displaying the display picture of the second terminal equipment on the screen of the first terminal equipment, so that the display effect is better when the display picture of the second terminal equipment is displayed on the first terminal.
In one embodiment, the method comprises:
if a display picture launching instruction input by a user is received, acquiring a second connection address corresponding to the large-screen device to be launched, wherein the display picture launching instruction comprises identification information of the large-screen device to be launched;
sending a request message for establishing connection to the large-screen device to be launched according to the second connection address;
receiving an indication message of connection establishment completion sent by the large-screen device to be launched;
and if the display picture displayed on the screen of the first terminal equipment is determined to be the display picture of the second terminal equipment, sending the second security level and the display picture to the large-screen equipment to be released, so that the display picture is released when the large-screen equipment to be released determines that a third security level is higher than or equal to the second security level, wherein the third security level is the security level of the large-screen equipment to be released.
When the display picture displayed on the screen of the first terminal device (computer) is determined to be the display picture of the second terminal device (mobile phone), the second security level and the display picture of the mobile phone are sent to the large-screen device to be released, so that when the security level of the large-screen device to be released is higher than or equal to that of the mobile phone, the display picture of the mobile phone is released by the large-screen device to be released, a user watches the display picture of the mobile phone through the large-screen device to be released, the viewing experience of the user is improved, meanwhile, the risk of information leakage of the display picture of the mobile phone is avoided, and the security is improved.
In one embodiment, the method further comprises:
and if the display picture displayed on the screen of the first terminal device is determined to be the display picture of the first terminal device, sending the first security level and the display picture to the large-screen device to be released, so that the large-screen device to be released releases the display picture when the third security level is determined to be higher than or equal to the first security level.
When the display picture displayed on the screen of the first terminal device (computer) is determined to be the display picture of the first terminal device (computer), the first security level and the display picture of the computer are sent to the large-screen device to be released, so that the display picture of the computer is released when the security level of the large-screen device to be released is higher than or equal to that of the computer, a user watches the display picture of the computer through the large-screen device to be released, the viewing experience of the user is improved, meanwhile, the risk of information leakage of the display picture of the computer is avoided, and the security is improved.
In one embodiment, the sending the second security level and the display screen of the second terminal device to the to-be-launched large-screen device includes:
and sending the second security level, the display picture and the first resolution to the large-screen device to be released, so that when the large-screen device to be released determines that the third security level is greater than or equal to the second security level, the display picture is converted into a third resolution from the first resolution and released, and the third resolution is the resolution of the large-screen device to be released.
The display picture of the first terminal equipment is sent to the large-screen equipment to be released through the display picture and the first resolution, the large-screen equipment to be released can convert the display picture of the first terminal equipment into the third resolution from the first resolution and release the display picture of the first terminal equipment, the display picture of the first terminal equipment can be converted into the resolution matched with the screen of the large-screen equipment to be released, and the display effect of the display picture of the first terminal equipment on the screen of the large-screen equipment to be released is better.
According to a second aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus, applied to a first terminal, including:
the display picture acquisition instruction receiving module is used for generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to a user if the display picture acquisition instruction input by the user is received, so that the user can scan the two-dimensional code by using second terminal equipment to trigger the link of the two-dimensional code, and the display picture acquisition instruction is used for indicating the acquisition of a display picture of the second terminal equipment;
the identification information request message sending module is used for sending a request message for acquiring identification information and security level to the second terminal device after the link of the two-dimensional code is triggered;
the identification information receiving module is used for receiving a second security level of the identification information of the second terminal device, which is sent by the second terminal device, wherein the second security level is the security level of the second terminal device;
a connection establishment prompt message sending module, configured to establish a connection between the first terminal and the second terminal according to the identifier information of the second terminal, and send a prompt message indicating that the connection establishment is completed to the second terminal;
the display picture receiving module is used for receiving the display picture of the second terminal equipment, which is sent by the second terminal equipment;
and the display image display module is used for displaying the display image of the second terminal device on the screen of the first terminal device if the first security level is higher than or equal to the second security level, wherein the first security level is the security level of the first terminal device.
In one embodiment, the apparatus comprises:
and the target image display module is used for displaying a pre-stored target image on the screen of the first terminal device if the first security level is determined to be smaller than the second security level.
In one embodiment, the connection establishment prompt message sending module is configured to:
acquiring a first connection address corresponding to the identification information of the second terminal equipment;
and establishing the connection between the first terminal and the second terminal equipment according to the first connection address.
In one embodiment, the identification information request message sending module is configured to:
sending a request message for acquiring identification information, screen resolution and the like to the second terminal equipment;
the identification information receiving module is used for:
receiving identification information, a second resolution and the second security level of the second terminal device, which are sent by the second terminal device, wherein the second resolution is the screen resolution of the second terminal device;
the display screen display module is used for:
and converting the display picture of the second terminal equipment from the second resolution into a first resolution and displaying the display picture of the second terminal equipment on a screen of the first terminal equipment, wherein the first resolution is the screen resolution of the first terminal equipment.
In one embodiment, the apparatus comprises: the display image release instruction receiving module is used for acquiring a second connection address corresponding to the large-screen device to be released if a display image release instruction input by a user is received, wherein the display image release instruction comprises identification information of the large-screen device to be released;
a connection establishment request message sending module, configured to send a connection establishment request message to the large-screen device to be launched according to the second connection address;
the connection establishment completion indication message receiving module is used for receiving a connection establishment completion indication message sent by the large-screen device to be launched;
and the display picture sending module is used for sending the second security level and the display picture to the large-screen device to be released if the display picture displayed on the screen of the first terminal device is determined to be the display picture of the second terminal device, so that the display picture is released when the large-screen device to be released determines that a third security level is greater than or equal to the second security level, and the third security level is the security level of the large-screen device to be released.
In one embodiment, the display screen sending module is further configured to:
and if the display picture displayed on the screen of the first terminal device is determined to be the display picture of the first terminal device, sending the first security level and the display picture to the large-screen device to be released, so that the large-screen device to be released releases the display picture when the third security level is determined to be higher than or equal to the first security level.
In one embodiment, the display screen sending module is further configured to:
and sending the second security level, the display picture and the first resolution to the large-screen device to be released, so that when the large-screen device to be released determines that the third security level is higher than or equal to the second security level, the display picture is converted into a third resolution from the first resolution and released, and the third resolution is the resolution of the large-screen device to be released.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, the terminal device comprising a processor and a memory, the memory having at least one computer instruction stored therein, the instruction being loaded and executed by the processor to implement the steps performed in the data transmission method according to any one of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein at least one computer instruction, which is loaded and executed by a processor to implement the steps performed in the data transmission method according to any one of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of a data transmission system provided in an embodiment of the present disclosure;
fig. 2 is a first flowchart of a data transmission method provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a computer screen provided by an embodiment of the present disclosure;
fig. 4 is a flowchart ii of a data transmission method provided in the embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a large screen device screen provided by an embodiment of the present disclosure;
fig. 6 is a flowchart of a display image collecting process provided by an embodiment of the present disclosure;
fig. 7 is a flowchart of a display screen launching process provided by the embodiment of the disclosure;
fig. 8 is a first structural diagram of a data transmission device according to an embodiment of the present disclosure;
fig. 9 is a second structural diagram of a data transmission device according to an embodiment of the present disclosure;
fig. 10 is a structural diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a structural diagram of a data transmission system according to an embodiment of the present disclosure. As shown in fig. 1, the system includes:
a first terminal device 101 and a second terminal device 102 and a large screen device 103. The first terminal device 101 is in communication connection with the second terminal device 102 and the large-screen device 103 respectively.
Illustratively, the first terminal device 101 may be a computer, a mobile phone, a tablet, or other terminal device, and the second terminal device 102 may be a mobile phone or a tablet. For example, in this embodiment, the first terminal device is a computer, and the second terminal device is a mobile phone.
Illustratively, Applications (APPs) based on Windows/Mac and Android/ios systems are installed on the first terminal device and the second terminal device. When a user needs to share the mobile phone screen to the computer screen, a display picture acquisition instruction can be issued in the APP of the computer, and the APP of the computer can start the process of displaying picture acquisition codes. At this time, the mobile phone is used as an acquisition end, the APP of the mobile phone acquires and codes the display picture of the mobile phone, and sends the display picture of the mobile phone to the computer through a network (Wireless-Fidelity (WiFi)/4G/5G). The computer is used as a receiving end for decoding and displaying the display picture received by the mobile phone.
Further, when a user wants to launch a display picture of a mobile phone or a computer displayed on a computer screen onto the large-screen device 103, a launch instruction may be issued in the APP of the computer, and the APP of the computer may start a process of launching a display picture. At this moment, the computer is a collection end, the APP of the computer collects and codes the display picture of the mobile phone or the computer displayed on the screen of the computer, and sends the display picture of the mobile phone or the computer to the large-screen device through the network (WiFi/4G/5G). The large-screen device is used as a receiving end and used for decoding and displaying a display picture received by a mobile phone or a computer.
For example, as shown in fig. 1, display screens of 6 mobile phones are displayed on a computer, and the display screens of 6 mobile phones displayed on the computer can be launched through a large-screen device.
Through the system, when a user works, if the user needs to use the mobile phone and the computer at the same time, the user does not need to operate the computer to work, and operate the mobile phone at the same time, and only needs to watch the display picture of the mobile phone or the computer on the mobile phone of the computer, so that the user can use the system conveniently, and the display picture of the mobile phone or the computer can be put in the large-screen equipment, thereby improving the impression experience of the user.
How the data transmission system provided by the embodiment of the present disclosure performs data transmission is described below. Fig. 2 is a flowchart of a data transmission method provided in an embodiment of the present disclosure. As shown in fig. 2, the method includes:
s201, if a display picture acquisition instruction input by a user is received, generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to the user so that the user can scan the two-dimensional code by using a second terminal device to trigger a link of the two-dimensional code, wherein the display picture acquisition instruction is used for indicating acquisition of a display picture of the second terminal device.
In this embodiment, the first terminal device is a computer, and the second terminal device is a mobile phone. If the computer receives a display picture acquisition instruction input by a user, generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to the user, so that the user can scan the two-dimensional code by using a mobile phone to trigger the link of the two-dimensional code.
For example, after the user scans the two-dimensional code by using the mobile phone, the mobile phone may send a prompt message triggered by the link of the two-dimensional code to the computer.
And S202, after the link of the two-dimensional code is triggered, sending a request message for acquiring the identification information and the security level to the second terminal device.
And after receiving a prompt message triggered by the link of the two-dimensional code sent by the mobile phone, the computer sends a request message for acquiring the request message of the identification information, the screen resolution and the security level to the mobile phone.
S203, receiving the identification information of the second terminal device and a second security level sent by the second terminal device, wherein the second security level is the security level of the second terminal device;
s204, establishing the connection between the first terminal and the second terminal according to the identification information of the second terminal, and sending a prompt message of completing the connection establishment to the second terminal.
Illustratively, when picture acquisition is performed, a mobile phone is an acquisition end, and a computer is a receiving end. After receiving the request message for acquiring the identification information, the screen resolution and the request message sent by the computer, the mobile phone sends the identification information (i.e. Identity document, ID) of the mobile phone, a second resolution and a second security level to the computer, where the second resolution is the screen resolution of the mobile phone, and the second security level is the security level of the mobile phone.
After receiving the collection end ID sent by the mobile phone, the computer acquires a first connection address corresponding to the collection end ID, establishes connection between the computer and the mobile phone according to the first connection address and sends a prompt message of connection establishment completion to the mobile phone.
Illustratively, a connection address corresponding to the collection end ID is obtained from a pre-stored collection end list, and then connection between the computer and the mobile phone is established according to the connection address.
S205, receiving a display picture of the second terminal equipment sent by the second terminal equipment;
and S206, if the first security level is determined to be higher than or equal to the second security level, displaying a display picture of the second terminal device on a screen of the first terminal device, wherein the first security level is the security level of the first terminal device.
After the mobile phone receives the prompt message that the connection establishment is completed and sent by the computer, the display picture of the mobile phone is collected, and then the display picture of the mobile phone is coded and sent to the computer. After the computer receives a display picture of the mobile phone sent by the mobile phone, if the first security level is determined to be greater than or equal to the second security level, the display picture of the mobile phone is decoded, the display picture of the mobile phone is converted from the second resolution to the first resolution, and the display picture of the mobile phone is displayed on a screen of the computer, wherein the first resolution is the screen resolution of the computer.
Specifically, when the security level of the computer is higher than or equal to the security level of the mobile phone, the computer may be considered to be matched with the security level of the mobile phone, and the display screen of the mobile phone may be displayed on the screen of the computer, which may not result in information leakage.
For example, when the security level of the computer is two levels and the security level of the mobile phone is one level, the security level of the computer is lower than that of the mobile phone, and the security level of the computer is not matched with that of the mobile phone.
If the security level of the computer is one level and the security level of the mobile phone is one level, the security level of the computer end is equal to that of the mobile phone end, and the security level of the computer is matched with that of the mobile phone.
Illustratively, if the first security level is lower than the second security level, a pre-stored target image or a prompt message of a display picture of the mobile phone without permission is displayed on a screen of the computer.
The computer may display the display screens of the plurality of mobile phones. As shown in fig. 3, the rectangle of the frame is a screen of a computer, and a display screen of a mobile phone with identification numbers 1 to 6 can be displayed on the screen of the computer. And when the security level of the computer is not matched with the security level of a certain mobile phone, replacing the display picture of the mobile phone with a target image stored in advance.
For example, as shown in fig. 3, the slash image is a pre-stored target image. Specifically, the security level of the computer is two levels, the security level of the mobile phone with the serial number 5 is one level, the security levels of the mobile phones with the serial numbers 1 and 6 are two levels, and the security levels of the mobile phones with the serial numbers 2, 3, and 4 are three levels. The security level of the computer is matched with the security levels of the mobile phones with the identification numbers 1, 2, 3, 4 and 6, that is, the security level of the computer is higher than or equal to the security levels of the mobile phones with the identification numbers 1, 2, 3, 4 and 6, so that the display pictures of the mobile phones with the identification numbers 1, 2, 3, 4 and 6 can be normally displayed on the screen of the computer.
However, the security level of the computer is not matched with the security level of the mobile phone with the identification number of 5, that is, the security level of the computer is lower than that of the mobile phone with the identification number of 5, so that the display screen of the mobile phone with the identification number of 5 cannot be normally displayed on the screen of the computer, and the display screen of the mobile phone with the identification number of 5 is replaced by displaying a pre-stored target image (slash image).
The data transmission method provided by the embodiment of the disclosure can display the display picture of the mobile phone on the computer when the security level of the first terminal device (computer) is higher than or equal to that of the second terminal device (mobile phone), so that a user can watch the display picture of the mobile phone through the computer without operating the computer to work and operating the mobile phone at the same time, the use of the user is convenient, the user experience is improved, meanwhile, the risk of information leakage of the display picture of the mobile phone is avoided, and the security is improved.
Next, how to put the display screen displayed on the screen of the first terminal device to the large-screen device to be put is described. Fig. 4 is a flowchart ii of a data transmission method provided in the embodiment of the present disclosure. As shown in fig. 4, the method includes:
s401, if a display picture launching instruction input by a user is received, acquiring a second connection address corresponding to a large-screen device to be launched, wherein the display picture launching instruction comprises identification information of the large-screen device to be launched;
s402, sending a request message for establishing connection to the large-screen device to be launched according to the second connection address.
In this embodiment, the first terminal device is a computer. Illustratively, when the picture is launched, the computer is a collecting end, and the large-screen device to be launched is a receiving end. After receiving the identification information (i.e. the identification Information (ID) of the receiving end) of the large-screen device to be launched, the computer obtains a second connection address corresponding to the large-screen device to be launched from a pre-stored large-screen device list, and sends a request message for establishing connection to the large-screen device to be launched according to the second connection address.
The pre-stored large-screen device list comprises a second connection address of at least one receiving terminal and a receiving terminal ID.
S403, receiving an indication message of connection establishment completion sent by the large-screen device to be launched;
s404, if the display picture displayed on the screen of the first terminal device is determined to be the display picture of the second terminal device, the second security level and the display picture are sent to the large-screen device to be released, so that the large-screen device to be released releases the display picture when determining that a third security level is higher than or equal to the second security level, wherein the third security level is the security level of the large-screen device to be released.
After receiving a request message for establishing connection sent by a computer, the device to be launched for large screen establishes connection with the computer, and returns an indication message of connection establishment completion to the computer.
In one embodiment, after the computer receives the indication message that the connection establishment is completed, if it is determined that the display picture displayed on the screen of the computer is the display picture of the mobile phone, the computer codes the display picture and sends the second security level and the display picture to the large-screen device to be launched.
After the large-screen device to be launched receives the second security level and the display picture sent by the computer, if the third security level is determined to be higher than or equal to the second security level, the display picture of the display picture is decoded, and then the display picture is converted into a third resolution from the first resolution and launched.
Exemplarily, if the computer establishes a connection with a plurality of mobile phones and a display screen of the plurality of mobile phones is displayed on a screen of the computer, the computer sends the security level of each mobile phone with the established connection, the preset corresponding relationship between the display layout information and the security level of each mobile phone, and the first resolution to the large-screen device to be released.
This is explained in connection with fig. 3. As shown in fig. 3, the preset display layout information and the security level of each mobile phone correspond to each other: the display picture of the first area from left to right in the upper row corresponds to the mobile phone with the serial number of 1, and the security level of the mobile phone with the serial number of 1 is in a second level; the display picture of the second area from left to right in the upper row corresponds to the mobile phone with the serial number of 2, and the security level of the mobile phone with the serial number of 2 is three levels; the display pictures in the third area from left to right in the upper row correspond to the mobile phone with the serial number of 3, and the security level of the mobile phone with the serial number of 3 is three levels; the display picture of the first area from left to right in the lower row corresponds to the mobile phone with the serial number of 4, and the security level of the mobile phone with the serial number of 4 is three levels; the display picture of the second area from left to right in the lower row corresponds to the mobile phone with the serial number 5, the security level of the mobile phone with the serial number 5 is a first level, the display picture of the third area from left to right in the lower row corresponds to the mobile phone with the serial number 6, and the security level of the corresponding mobile phone with the serial number 6 is a second level.
As shown in fig. 5, the rectangle of the frame is a screen of the large-screen device to be launched, if the security level of the large-screen device to be launched is three levels, the security level of the large-screen device to be launched is lower than the security levels of the mobile phones with serial numbers 1, 5, and 6, that is, the security levels of the mobile phones with serial numbers 1, 5, and 6 are not matched with the security level of the large-screen device to be launched, and the display pictures of the mobile phones with serial numbers 1, 5, and 6 are replaced by the prestored target image (slash bar image) or the prompt information of the display picture of the mobile phone to be launched without permission. The security level of the to-be-released large-screen device is equal to the security level of the mobile phones with the serial numbers of 2, 3 and 4, namely the security level of the mobile phones with the serial numbers of 2, 3 and 4 is matched with the security level of the to-be-released large-screen device, the to-be-released large-screen device can release the display pictures of the mobile phones with the serial numbers of 2, 3 and 4, namely the display pictures of the mobile phone ends with the serial numbers of 2, 3 and 4, and the display pictures can be normally displayed on the screen of the to-be-released large-screen device.
In another embodiment, after the computer receives the indication message of the connection establishment completion, if the display picture displayed on the screen of the computer is determined to be the display picture of the computer, the display picture is encoded, and the first security level and the display picture are sent to the large-screen device to be launched.
After the large-screen device to be launched receives the first security level and the display picture sent by the computer, if the third security level is determined to be higher than or equal to the first security level, the display picture is decoded, and then the display picture is converted into a third resolution from the first resolution and launched. And if the third security level is lower than the first security level, releasing a pre-stored target image or releasing prompt information of a computer display picture without permission.
The data transmission method provided by the embodiment of the disclosure can determine that the display picture displayed on the screen of the first terminal device (computer) is the display picture of the second terminal device (mobile phone), and send the second security level and the display picture of the mobile phone to the large-screen device to be released, so that the large-screen device to be released releases the display picture of the mobile phone when the security level of the large-screen device to be released is higher than or equal to the security level of the mobile phone, and a user watches the display picture of the mobile phone through the large-screen device to be released, thereby improving the viewing experience of the user, avoiding the risk of information leakage of the display picture of the mobile phone, and improving the security.
How to perform the display screen acquisition is further described in detail below. Fig. 6 is a flowchart of a display screen collecting process according to an embodiment of the present disclosure. As shown in fig. 6, the method includes:
s601, after acquiring an acquisition instruction issued by a user, a computer terminal determines an R terminal in an idle state, and generates and displays an acquisition two-dimensional code corresponding to the acquisition instruction.
The two-dimensional code acquisition is used for acquiring id (sid) of an acquisition end (S end) on the mobile phone, screen resolution of the mobile phone end and security level of the mobile phone end.
In this step, when the user issues the acquisition instruction, an idle receiving end (R end) may be determined, and the acquisition two-dimensional code may be generated and displayed on the display of the computer end.
Specifically, after the link corresponding to the acquired two-dimensional code is triggered, a request message for acquiring the Sid, the screen resolution and the security level may be sent to the other side. It can be understood that the link corresponding to the two-dimensional code is collected in the APP of the computer terminal.
S602, after the mobile phone terminal scans and collects the two-dimensional code, determining an S terminal in an idle state; and sending the Sid of the S end, the screen resolution and the security level of the self equipment to a computer end by acquiring the two-dimensional code.
In this step, after the collected two-dimensional code is displayed on the display of the computer end, the user can scan the collected two-dimensional code on the display of the computer end by using the mobile phone end; after acquiring the collected two-dimensional code, the mobile phone end determines an idle S end, and sends the Sid of the S end, the screen resolution and the security level of the mobile phone end to the computer end through the collected two-dimensional code.
Specifically, the mobile phone terminal acquires the two-dimensional code by scanning, triggers and acquires a link corresponding to the two-dimensional code, and sends a request message for acquiring the Sid, the screen resolution and the security level to the mobile phone terminal after the link is triggered; after receiving the request message, the mobile phone terminal sends the resolution and the security level of the Sid screen to the link, namely to the computer terminal APP. Therefore, the computer end acquires the Sid of the mobile phone end, the screen resolution of the mobile phone end and the security level of the mobile phone end.
S603, after receiving the Sid, the computer end acquires the connection address of the Sid from a preset S end list; and establishing the connection between the receiving end and the S end according to the connection address of the Sid, and sending the established message to the S end.
In this step, after obtaining the Sid, the computer side obtains the connection address of the Sid from a preset S-side list, and then establishes connection between the R-side and the S-side according to the connection address.
It should be noted that the S-side list and the R-side list may be preset in the computer side in advance. The S-side list comprises Sid and the corresponding Sid connection address. The R-side list includes the connection address of the R-side id (Rid) and the corresponding Rid.
S604, after the S end of the mobile phone end receives the message of the completion of the establishment, the display picture of the mobile phone end is collected, the display picture is coded to generate coded data, and the coded data are sent to the R end of the computer end which is connected with the R end.
In the step, after receiving the message of completing the establishment, the S end of the mobile phone end acquires a display picture of the mobile phone end; and coding the acquired display picture to generate coded data, and sending the coded data to the R end which is connected in the computer end.
S605, after the R end of the computer end receives the coded data, judging whether the security level of the self equipment (the computer end) is higher than or equal to the obtained security level of the mobile phone end; if so, indicating that the security level of the self device is matched with that of the mobile phone end, and executing step S606; if not, it indicates that the security level of the device itself is not matched with the security level of the mobile phone, and step S607 is executed.
Specifically, when the security level of the self device is higher than or equal to that of the mobile phone end, the self device can be considered to be matched with the security level of the mobile phone end, the content of the mobile phone end can be displayed on the screen of the computer end, and information leakage cannot be caused.
For example, the security level of the computer end is two levels, and the security level of the mobile phone end is one level, so that the security level of the computer end is lower than that of the mobile phone end, and then the security levels of the computer end and the mobile phone end are not matched.
For another example, if the security level of the computer end is one level and the security level of the mobile phone end is one level, the security level of the computer end is equal to the security level of the mobile phone end, and then the security levels of the computer end and the mobile phone end are matched.
S606, decoding the encoded data by the R end of the computer end to obtain a display image of the mobile phone end; according to the screen resolution of the mobile phone end and the screen resolution of the self equipment, carrying out resolution conversion on a desktop image of the mobile phone end; and displaying the desktop image of the mobile phone end with the converted resolution on a display according to preset layout information.
The preset layout information refers to a display area of a desktop image of the mobile phone end on a screen of the computer end, and particularly when a plurality of desktop images exist, the layout information includes the display area of each desktop image on the screen of the computer end.
In the step, after the R end of the computer end receives the coded data, decoding is firstly carried out to obtain a display image of the mobile phone end; for better display effect, according to the screen resolution of the mobile phone end (obtained in step S602) and the screen resolution of the own device, converting the resolution of the desktop image of the mobile phone end into a resolution matched with the screen resolution of the own device; and displaying the desktop image with the converted resolution on a display of a computer end.
S607, the R end of the computer end discards the coded data, and displays the preset replacing image on the display of the computer end.
The alternative image may be any image, and may also include a prompt similar to "no permission display".
As shown in fig. 3, the rectangle of the frame is a screen of the computer, wherein the identification number is a display image of each mobile phone. Wherein the slash is a preset replacement image. Specifically, the security level of the computer end is two levels, the security level of the mobile phone end with the serial number 5 is one level, the security levels of the mobile phone ends with the serial numbers 1 and 6 are two levels, and the security levels of the mobile phone ends with the serial numbers 2, 3 and 4 are three levels.
The security level of the computer end is matched with the security level of the mobile phone end with the identification numbers of 1, 2, 3, 4 and 6, namely the security level of the computer end is higher than or equal to the security level of the mobile phone end with the identification numbers of 1, 2, 3, 4 and 6, so that the desktop image of the mobile phone end with the identification numbers of 1, 2, 3, 4 and 6 can be normally displayed on the screen of the display of the computer end.
The security level of the computer end is not matched with the security level of the mobile phone end with the identification number of 5, that is, the security level of the computer end is lower than that of the mobile phone end with the number of 5, so that the desktop image of the mobile phone end with the identification number of 5 cannot be normally displayed on the screen of the display of the computer end, and the desktop image is replaced by a preset replacement image (a slash chart).
How the display screen dropping is performed will be described in further detail below. Fig. 7 is a flowchart of a display screen launch process according to an embodiment of the present disclosure. As shown in fig. 7, the method includes:
s701, after acquiring a release instruction issued by a user, a computer end determines an S end in an idle state, and determines a connection address and Rid of large-screen equipment to be connected from a preset large-screen equipment list; and the S terminal sends a connection request to the R terminal corresponding to the Rid of the large-screen equipment according to the connection address.
Exemplarily, the computer side judges whether the current desktop image is a desktop image of another intelligent terminal (mobile phone), if so, sends the screen resolution of the device itself to the large-screen device according to the connection address, establishes a corresponding relationship between the security level of each connected mobile phone side, the preset layout information and the security level of each mobile phone side, and if not, sends the screen resolution of the device itself and the security level of the device itself (computer side) to the large-screen device according to the connection address.
The preset large-screen device list comprises information such as a connection address of at least one large-screen device and Rid of the R end.
For example, as shown in fig. 3, the correspondence between the preset layout information and the security level of each mobile phone end includes: the security level of the mobile phone end with the sequence number of 1 corresponding to the desktop image in the first area from left to right in the upper row is two, the security level of the mobile phone end with the sequence number of 2 corresponding to the desktop image in the second area from left to right in the upper row is three, the security level of the mobile phone end with the sequence number of 3 corresponding to the desktop image in the third area from left to right in the upper row is three, the security level of the mobile phone end with the sequence number of 4 corresponding to the desktop image in the first area from left to right in the lower row is three, the security level of the mobile phone end with the sequence number of 5 corresponding to the desktop image in the second area from left to right in the lower row is one, and the security level of the mobile phone end with the sequence number.
It should be noted that there may be one or more large-screen devices to be connected. The desktop images of the mobile phone ends with the established connection are displayed on the screen of the computer end.
Specifically, whether the current desktop image is the desktop image of other intelligent terminals (mobile phone terminals) is judged, and whether the current desktop image is connected with the S terminals of other intelligent terminals can be judged by judging the R terminal in the self equipment; if the R end of the self device is connected with the S ends of other intelligent terminals, the current desktop image of the self device can be shown to be the desktop images of other intelligent terminals; if the R end of the self device is not connected with the S ends of other intelligent terminals, it can be shown that the current desktop image of the self device is not the desktop image of other intelligent terminals but the desktop image of the self device.
If the current desktop image is the desktop images of other intelligent terminals, the R end of the large-screen device is required to judge the security level of the large-screen device and the security levels of the other intelligent terminals, and then whether shielding processing is required or not is determined.
If the current desktop image is not the desktop images of other intelligent terminals, the R end of the large-screen device is required to judge the security level of the large-screen device and the security level of the computer end, and then whether shielding processing is required or not is determined.
And S702, after the R end of the large-screen equipment receives the connection request, establishing connection with the S end of the computer end, and returning a message of connection establishment completion to the S end.
S703, after the connection with the R end of the large-screen equipment end is determined, the S end of the computer end acquires a desktop image of the computer end, encodes the desktop image to generate encoded data, and sends the encoded data to the R end with the connection established.
In the step, after receiving the message of connection establishment completion, the S terminal of the computer terminal determines that the connection establishment with the R terminal is completed, and firstly, a desktop image of the computer terminal is collected; and coding the acquired desktop image to generate coded data, and sending the coded data to the R end which is connected in the large-screen equipment.
S704, receiving encoded data at the R end of the large-screen device; if the large-screen device receives the corresponding relation between the security level of each mobile phone end with the established connection, the preset layout information and the security level of each mobile phone end, respectively judging whether the security level of the device (large-screen device) is higher than or equal to the acquired security level of each mobile phone end; if so, it indicates that the security level of the device is matched with that of the mobile phone end, and step S706 is executed; if not, indicating that the security level of the self equipment is not matched with the security level of the mobile phone end, marking the mobile phone end as a target mobile phone end, and executing step S707; if the large-screen device has received the security level of the computer, determining whether the security level of the device (large-screen device) is higher than or equal to the security level of the computer, if so, indicating that the security level of the device is matched with that of the computer, and executing step S705; if not, it indicates that the security level of the device does not match the security level of the computer, and step S707 is executed.
It should be noted that, if the large-screen device has received the corresponding relationship between the security level of each connected mobile phone end, the preset layout information, and the security level of each mobile phone end, it is indicated that the display desktop of the computer end is the display desktop of another intelligent terminal (mobile phone end), and therefore, the security level of the large-screen device needs to be compared with the security levels of the other intelligent terminals (mobile phone ends).
If the large-screen device receives the security level of the computer end, it is indicated that the display desktop of the computer end is not the display desktop of other intelligent terminals (mobile phone ends), and therefore, the security level of the large-screen device only needs to be compared with the security level of the computer end.
Specifically, when the security level of the self device is higher than or equal to that of the mobile phone end, the self device can be considered to be matched with the security level of the mobile phone end, the content of the mobile phone end can be displayed on the screen of the large-screen device, and information leakage cannot be caused.
It can be understood that, when a plurality of mobile phone terminals are connected to the computer terminal, the large-screen device may be matched with the security level of a part of the mobile phone terminals, and may not be matched with the security level of a part of the mobile phone terminals.
S705, decoding the encoded data by the R end of the large-screen device to obtain a desktop image of the computer end; according to the screen resolution of the computer end and the screen resolution of the self equipment, the resolution conversion is carried out on the desktop image of the computer end, and the desktop image after the resolution conversion is displayed on the screen of the large-screen equipment.
In the step, after receiving the coded data, the R end of the large-screen device decodes to obtain a display image of the computer end; for better display effect, converting the resolution of the desktop image of the computer end into the resolution matched with the screen resolution of the self equipment according to the screen resolution of the computer end and the screen resolution of the self equipment; and displaying the desktop image after the resolution conversion on a screen of the large-screen device.
S706, decoding the received coded data by the R end of the large-screen device to obtain a desktop image of the computer end; and displaying the desktop image of the computer end on a screen of the large-screen equipment according to the received security level of each mobile phone end with the established connection and the corresponding relation between the preset layout information and the security level of each mobile phone end.
S707, replacing the desktop image corresponding to the target mobile phone end or the computer end with a preset replacement image; and displaying the replaced desktop image on a screen of the large-screen device.
As shown in fig. 5, the rectangle of the frame is a screen of a large-screen device, and a desktop image acquired from a computer is displayed on the large-screen device. The security level of large-size screen equipment is tertiary, and the security level of the cell-phone end of serial number 5 is the one-level, and the security level of the cell-phone end of serial numbers 1 and 6 is the second grade, and the security level of the cell-phone end of serial numbers 2, 3, 4 is tertiary, and consequently, the security level of the cell-phone end of serial numbers 1, 5 and 6 does not match with the security level of large-size screen equipment, is replaced by preset replacement image (slash drawing). Only the display images of the mobile phone ends with the serial numbers of 2, 3 and 4 can be normally displayed on the screen of the large-screen equipment.
It should be noted that, with reference to fig. 3 and fig. 5, it can be seen that the security level of the computer end is two levels, and desktop images of the mobile phone ends with serial numbers 1, 2, 3, 4, and 6 can be seen, while the security level of the large-screen device is three levels, which is lower than the security level of the computer end, and only desktop images of the mobile phone ends with serial numbers 2, 3, and 4 can be seen.
The alternative image may be any image, and may also include a prompt similar to "no permission display".
According to the method and the system, the desktop image which possibly contains key information can be pertinently shielded according to the security level of the intelligent terminal, information leakage is avoided, and the security is improved.
The invention is suitable for respectively operating each mobile phone terminal, or designing drawings, or drawing, or real-time video, and desktop images of each mobile phone terminal are intensively displayed on a screen of a computer terminal. The computer end can display the images of the mobile phone ends, and the desktop images of the mobile phone ends are released to the large-screen device, so that the user can watch the images conveniently. The large-screen device has a large screen size, so that a user can watch the desktop image of each mobile phone end on the desktop image of the computer end on the large-screen device.
The data transmission method described in the corresponding embodiment above is an embodiment of the apparatus of the present disclosure, and may be used to execute the embodiment of the method of the present disclosure.
Fig. 8 is a first structural diagram of a data transmission apparatus provided in an embodiment of the present disclosure, where the apparatus is applied to a first terminal device. As shown in fig. 8, the apparatus 80 includes:
a display image acquisition instruction receiving module 801, configured to generate a two-dimensional code corresponding to a display image acquisition instruction and display the two-dimensional code to a user if the display image acquisition instruction input by the user is received, so that the user scans the two-dimensional code using a second terminal device to trigger a link of the two-dimensional code, where the display image acquisition instruction is used to instruct to acquire a display image of the second terminal device;
an identification information request message sending module 802, configured to send a request message for acquiring identification information and security level to the second terminal device after the link of the two-dimensional code is triggered;
an identification information receiving module 803, configured to receive a second security level of the identification information of the second terminal device sent by the second terminal device, where the second security level is a security level of the second terminal device;
a connection establishment prompt message sending module 804, configured to establish a connection between the first terminal and the second terminal according to the identifier information of the second terminal, and send a prompt message indicating that the connection establishment is completed to the second terminal;
a display receiving module 805, configured to receive a display of the second terminal device sent by the second terminal device;
a display image displaying module 806, configured to display a display image of the second terminal device on a screen of the first terminal device if it is determined that a first security level is higher than or equal to the second security level, where the first security level is the security level of the first terminal device.
In one embodiment, as shown in fig. 9, the apparatus 80 comprises:
a target image display module 807, configured to display a pre-stored target image on the screen of the first terminal device if it is determined that the first security level is less than the second security level.
In one embodiment, the connection establishment prompt message sending module 805 is configured to:
acquiring a first connection address corresponding to the identification information of the second terminal equipment;
and establishing the connection between the first terminal and the second terminal equipment according to the first connection address.
In one embodiment, the identification information request message sending module 802 is configured to:
sending a request message for acquiring identification information, screen resolution and the like to the second terminal equipment;
the identification information receiving module is used for:
receiving identification information, a second resolution and the second security level of the second terminal device, which are sent by the second terminal device, wherein the second resolution is the screen resolution of the second terminal device;
the display screen display module 806 is configured to:
and converting the display picture of the second terminal equipment from the second resolution into a first resolution and displaying the display picture of the second terminal equipment on a screen of the first terminal equipment, wherein the first resolution is the screen resolution of the first terminal equipment.
In one embodiment, the apparatus 80 comprises:
a display screen launching instruction receiving module 808, configured to, if a display screen launching instruction input by a user is received, obtain a second connection address corresponding to a large-screen device to be launched, where the display screen launching instruction includes identification information of the large-screen device to be launched;
a connection establishment request message sending module 809, configured to send a connection establishment request message to the large-screen device to be launched according to the second connection address;
a connection establishment completion indication message receiving module 810, configured to receive a connection establishment completion indication message sent by the to-be-launched large-screen device;
the display picture sending module 811 is configured to send the second security level and the display picture to the large-screen device to be released if it is determined that the display picture displayed on the screen of the first terminal device is the display picture of the second terminal device, so that the display picture is released when it is determined that a third security level is greater than or equal to the second security level, where the third security level is the security level of the large-screen device to be released.
In one embodiment, the display sending module 811 is further configured to:
and if the display picture displayed on the screen of the first terminal device is determined to be the display picture of the first terminal device, sending the first security level and the display picture to the large-screen device to be released, so that the large-screen device to be released releases the display picture when the third security level is determined to be higher than or equal to the first security level.
In one embodiment, the display sending module 811 is further configured to:
and sending the second security level, the display picture and the first resolution to the large-screen device to be released, so that when the large-screen device to be released determines that the third security level is higher than or equal to the second security level, the display picture is converted into a third resolution from the first resolution and released, and the third resolution is the resolution of the large-screen device to be released.
The implementation process and technical effects of the data transmission device provided in the embodiment of the present disclosure can be seen in the embodiments of fig. 2 to 7, which are not described herein again.
Fig. 10 is a structural diagram of a terminal device according to an embodiment of the present disclosure. As shown in fig. 10, the terminal device 100 includes a processor 1001 and a memory 1002, and the memory 1002 stores at least one computer instruction, which is loaded and executed by the processor 1001 to implement the steps performed in the data transmission method according to any one of the first aspect.
Based on the data transmission methods described in the embodiments corresponding to fig. 2 to fig. 7, embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data transmission method described in the embodiments corresponding to fig. 2 to fig. 7, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A data transmission method is applied to a first terminal and comprises the following steps:
if a display picture acquisition instruction input by a user is received, generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to the user so that the user can scan the two-dimensional code by using second terminal equipment to trigger a link of the two-dimensional code, wherein the display picture acquisition instruction is used for indicating acquisition of a display picture of the second terminal equipment;
after the link of the two-dimensional code is triggered, sending a request message for acquiring identification information and security level to the second terminal device;
receiving identification information of the second terminal device and a second security level sent by the second terminal device, wherein the second security level is the security level of the second terminal device;
establishing connection between the first terminal and the second terminal device according to the identification information of the second terminal device and sending a prompt message for completing connection establishment to the second terminal device;
receiving a display picture of the second terminal equipment sent by the second terminal equipment;
and if the first security level is determined to be higher than or equal to the second security level, displaying a display picture of the second terminal device on a screen of the first terminal device, wherein the first security level is the security level of the first terminal device.
2. The method according to claim 1, characterized in that it comprises:
and if the first security level is lower than the second security level, displaying a pre-stored target image on a screen of the first terminal device.
3. The method of claim 1, wherein establishing the connection between the first terminal and the second terminal according to the identification information of the second terminal comprises:
acquiring a first connection address corresponding to the identification information of the second terminal equipment;
and establishing the connection between the first terminal and the second terminal equipment according to the first connection address.
4. The method of claim 1, wherein the sending the request message for obtaining the identification information and the security level to the second terminal device comprises:
sending a request message for acquiring identification information, screen resolution and the like to the second terminal equipment;
the receiving the identification information of the second terminal device sent by the second terminal device includes:
receiving identification information, a second resolution and the second security level of the second terminal device, which are sent by the second terminal device, wherein the second resolution is the screen resolution of the second terminal device;
the displaying the display screen of the second terminal device on the screen of the first terminal device comprises:
and converting the display picture of the second terminal equipment from the second resolution into a first resolution and displaying the display picture of the second terminal equipment on a screen of the first terminal equipment, wherein the first resolution is the screen resolution of the first terminal equipment.
5. The method of claim 4, wherein the method comprises:
if a display picture launching instruction input by a user is received, acquiring a second connection address corresponding to the large-screen device to be launched, wherein the display picture launching instruction comprises identification information of the large-screen device to be launched;
sending a request message for establishing connection to the large-screen device to be launched according to the second connection address;
receiving an indication message of connection establishment completion sent by the large-screen device to be launched;
and if the display picture displayed on the screen of the first terminal equipment is determined to be the display picture of the second terminal equipment, sending the second security level and the display picture to the large-screen equipment to be released, so that the display picture is released when the large-screen equipment to be released determines that a third security level is higher than or equal to the second security level, wherein the third security level is the security level of the large-screen equipment to be released.
6. The method of claim 5, further comprising:
and if the display picture displayed on the screen of the first terminal device is determined to be the display picture of the first terminal device, sending the first security level and the display picture to the large-screen device to be released, so that the large-screen device to be released releases the display picture when the third security level is determined to be higher than or equal to the first security level.
7. The method according to claim 5, wherein the sending the second security level and the display of the second terminal device to the to-be-launched large-screen device comprises:
and sending the second security level, the display picture and the first resolution to the large-screen device to be released, so that when the large-screen device to be released determines that the third security level is higher than or equal to the second security level, the display picture is converted into a third resolution from the first resolution and released, and the third resolution is the resolution of the large-screen device to be released.
8. A data transmission apparatus, applied to a first terminal, comprising:
the display picture acquisition instruction receiving module is used for generating a two-dimensional code corresponding to the display picture acquisition instruction and displaying the two-dimensional code to a user if the display picture acquisition instruction input by the user is received, so that the user can scan the two-dimensional code by using second terminal equipment to trigger the link of the two-dimensional code, and the display picture acquisition instruction is used for indicating the acquisition of a display picture of the second terminal equipment;
the identification information request message sending module is used for sending a request message for acquiring identification information and security level to the second terminal device after the link of the two-dimensional code is triggered;
the identification information receiving module is used for receiving the identification information of the second terminal equipment and a second security level sent by the second terminal equipment, wherein the second security level is the security level of the second terminal equipment;
a connection establishment prompt message sending module, configured to establish a connection between the first terminal and the second terminal according to the identifier information of the second terminal, and send a prompt message indicating that the connection establishment is completed to the second terminal;
the display picture receiving module is used for receiving the display picture of the second terminal equipment, which is sent by the second terminal equipment;
and the display image display module is used for displaying the display image of the second terminal device on the screen of the first terminal device if the first security level is higher than or equal to the second security level, wherein the first security level is the security level of the first terminal device.
9. A terminal device, characterized in that it comprises a processor and a memory, in which at least one computer instruction is stored, which is loaded and executed by the processor to implement the steps performed in the data transmission method according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon at least one computer instruction which is loaded and executed by a processor to perform the steps performed in the data transmission method of any one of claims 1 to 7.
CN202011033883.8A 2020-09-27 2020-09-27 Data transmission method and device, terminal equipment and storage medium Pending CN112269952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011033883.8A CN112269952A (en) 2020-09-27 2020-09-27 Data transmission method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011033883.8A CN112269952A (en) 2020-09-27 2020-09-27 Data transmission method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112269952A true CN112269952A (en) 2021-01-26

Family

ID=74348882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011033883.8A Pending CN112269952A (en) 2020-09-27 2020-09-27 Data transmission method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112269952A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374545A (en) * 2021-12-21 2022-04-19 北京北信源软件股份有限公司 Method, server, device and electronic equipment for preventing message leakage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114374545A (en) * 2021-12-21 2022-04-19 北京北信源软件股份有限公司 Method, server, device and electronic equipment for preventing message leakage
CN114374545B (en) * 2021-12-21 2024-05-14 北京北信源软件股份有限公司 Method, server, device and electronic equipment for preventing message leakage

Similar Documents

Publication Publication Date Title
US5933478A (en) Data transfer system and handheld terminal device used therefor
JP5978517B2 (en) Method and associated device for accessing an access point
CN104144420A (en) Wireless access method and related equipment and system
US9521262B2 (en) Method and apparatus for calling terminal to join conference
US10602021B2 (en) Authentication setting system and image forming apparatus
CN113329240A (en) Screen projection method and device
CN112135186B (en) Screen projection method, device, equipment and storage medium based on small program
CN112269952A (en) Data transmission method and device, terminal equipment and storage medium
KR20100127585A (en) Apparatus and method for identifying location in portable terminal
CN112769798B (en) Login method and device
CN112261651B (en) Terminal control method, device, terminal and storage medium
CN112269550A (en) Data transmission method and device, terminal equipment and storage medium
CN109246307A (en) Data transmission method and device
CN104506741A (en) Promoting method, equipment and system
KR20090015220A (en) Method and apparatus for providing service using user identification in portable communication system
CN111600987A (en) Method and device for displaying calling name of short message, storage medium, short message service center and receiving terminal
KR20120058763A (en) Apparatus and method for transmitting video data in video device
CN110519634B (en) Screen projection system and screen projection method
KR20090016934A (en) Method and apparatus for providing user authentication function in portable communication system
CN109561113B (en) Transmission relation establishing method and system, equipment, server and storage medium thereof
CN112948046A (en) Screen capturing method, device, equipment and storage medium
CN108416246B (en) Two-dimensional code scanning method and device and computer readable storage medium
CN114788396A (en) Wireless connection system, information terminal, display device, and wireless connection method
CN113709555B (en) Wireless video connection method, device and system
CN114386097B (en) User information management method based on cloud architecture and related equipment

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