CN108848162B - Display device connection method, display device and system - Google Patents

Display device connection method, display device and system Download PDF

Info

Publication number
CN108848162B
CN108848162B CN201810620937.7A CN201810620937A CN108848162B CN 108848162 B CN108848162 B CN 108848162B CN 201810620937 A CN201810620937 A CN 201810620937A CN 108848162 B CN108848162 B CN 108848162B
Authority
CN
China
Prior art keywords
connection
code
display device
address
connection code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810620937.7A
Other languages
Chinese (zh)
Other versions
CN108848162A (en
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810620937.7A priority Critical patent/CN108848162B/en
Publication of CN108848162A publication Critical patent/CN108848162A/en
Application granted granted Critical
Publication of CN108848162B publication Critical patent/CN108848162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of communication. In order to solve the problems of connection code coding space waste and poor user input experience existing when a first display device is connected with a second display device at present, embodiments of the present invention provide a connection method of a display device, a display device and a system, wherein the connection method includes: receiving an instruction to create a connection; displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits. The invention shortens the length of the connection code and improves the user experience.

Description

Display device connection method, display device and system
Technical Field
The invention relates to the technical field of communication, in particular to a connection method of display equipment, the display equipment and a system.
Background
The description of the background of the invention pertaining to the related art to which this invention pertains is given for the purpose of illustration and understanding only of the summary of the invention and is not to be construed as an admission that the applicant is explicitly or implicitly admitted to be prior art to the date of filing this application as first filed with this invention.
The wireless screen transmission system generally comprises first display equipment and second display equipment, wherein the first display equipment is connected with the second display equipment, the first display equipment can be a Windows notebook, a Mac notebook, a Chrome notebook, iOS equipment or Android equipment, the second display equipment can be an intelligent interactive panel, and the first display equipment can be projected to the second display equipment in the using process. In addition, after the first display device is connected with the second display device, screen sharing and conference creation of the first display device and the second display device can be achieved.
At present, when a first display device is connected with a second display device, a user needs to input a connection code consisting of 8-bit letters and numbers into the first display device, but the existing connection code has the problem of waste of coding space, and the input experience of the user is poor.
Disclosure of Invention
In order to solve the problems of wasted coding space of a connection code and poor user input experience when a first display device is connected with a second display device, embodiments of the present invention provide a connection method of a display device, a display device and a system, which shorten the length of the connection code and improve the user experience.
In a first aspect, an embodiment of the present invention provides a method for connecting display devices, including:
receiving an instruction to create a connection;
displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits.
Wherein the instruction to create a connection comprises an instruction to create a conference.
Wherein after receiving the instruction to create the connection, the displaying the connection code comprises:
a connection code is generated.
Wherein the generating the connection code comprises:
a six-bit concatenated code is generated.
When the IP address of the display equipment is an A-type address, Bit29-28 in the connection code is a type, Bit27-26 is a check Bit, Bit25-24 is a port, Bit23-0 is IP address information, and the IP address information comprises the lower 24 bits of the IP address of the display equipment.
Wherein the A-type address is an IP address from 10.0.0.0 to 10.255.255.255.
When the IP address of the display equipment is a B-type address, Bit29-28 in the connection code is of a type, Bit27-25 is a check Bit, Bit24-22 is a change Bit, Bit21-20 is a port, Bit19-0 is IP address information, and the IP address information comprises the lower 20 bits of the IP address of the display equipment.
Wherein the class B address is an IP address from 172.16.0.0 to 172.31.255.255.
When the IP address of the display equipment is a C-type address, Bit29-28 in the connection code is a type, Bit27-22 is a check Bit, Bit21-18 is a change Bit, Bit17-16 is a port, Bit15-0 is IP address information, and the IP address information comprises the lower 16 bits of the IP address of the display equipment.
Wherein the C-type address is an IP address from 192.168.0.0 to 192.168.255.255.
Wherein, still include:
uploading the device information of the display device to a server; (the receiving end has no reference foundation, only has the concept of the receiving end and the transmitting end in the wireless screen transmission scene, and has no transmitting end and receiving end in the practical meaning if the video conference scene is adopted)
Receiving a request code sent by the server according to the equipment information;
and generating the connection code according to the request code.
Wherein, in the connection code, Bit29-28 is type, Bit27-22 is check Bit, and Bit21-0 is the request code.
Wherein the displaying the connection code comprises:
receiving a connection request sent by first display equipment;
and establishing connection with the first display equipment.
In a second aspect, an embodiment of the present invention further provides a display device, where the display device is configured to:
receiving an instruction to create a connection;
displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits.
Wherein the instruction to create a connection comprises an instruction to create a conference.
Wherein the display device is further configured to:
a connection code is generated.
Wherein the display device is further configured to:
a six-bit concatenated code is generated.
Wherein the display device is further configured to: when the IP address of the display equipment is the A-type address, Bit29-28 in the connection code is the type, Bit27-26 is the check Bit, Bit25-24 is the port, Bit23-0 is the IP address information, and the IP address information comprises the lower 24 bits of the IP address of the display equipment.
Wherein the display device is further configured to: when the IP address of the display equipment is a B-type address, Bit29-28 in the connection code is a type, Bit27-25 is a check Bit, Bit24-22 is a change Bit, Bit21-20 is a port, Bit19-0 is IP address information, and the IP address information comprises the lower 20 bits of the IP address of the display equipment.
Wherein the display device is further configured to: when the IP address of the display equipment is a C-type address, Bit29-28 in the connection code is a type, Bit27-22 is a check Bit, Bit21-18 is a change Bit, Bit17-16 is a port, Bit15-0 is IP address information, and the IP address information comprises the lower 16 bits of the IP address of the display equipment.
Wherein the display device is further configured to:
uploading the device information of the display device to a server;
receiving a request code sent by the server according to the equipment information;
and generating the connection code according to the request code.
Wherein, in the connection code, Bit29-28 is type, Bit27-22 is check Bit, and Bit21-0 is the request code.
Wherein the display device is further configured to:
receiving a connection request sent by first display equipment;
and establishing connection with the first display equipment.
In a third aspect, an embodiment of the present invention further provides a connection method for a display device, including:
displaying an interface for creating a connection;
receiving an input connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits;
a connection is established with a second display device.
After the connection code is input, before the connection with the second display device is established, the method further includes:
analyzing the connection code;
and sending a connection request to second display equipment related to the connection code according to the information obtained by analyzing the connection code.
Wherein the parsing the connection code comprises:
resolving the Bit29-28 of the connection code into a type;
resolving Bit27-26 of the connection code into check bits;
resolving the Bit25-24 of the connection code into a port;
and resolving the Bit23-0 of the connection code into IP address information, wherein the IP address information is the lower 24 bits of the IP address of the second display equipment.
Wherein the parsing the connection code comprises:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-25 of the connection code into a check Bit;
resolving Bit24-22 of the concatenated code into change bits;
resolving the Bit21-20 of the connection code into a port;
and resolving the Bit19-0 of the connection code into IP address information, wherein the IP address information is the lower 20 bits of the IP address of the second display equipment.
Wherein the parsing the connection code comprises:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
resolving Bit21-18 of the concatenated code into change bits;
resolving the Bit17-16 of the connection code into a port;
and resolving the Bit15-0 of the connection code into IP address information, wherein the IP address information is the lower 16 bits of the IP address of the second display equipment.
Wherein the parsing the connection code comprises: analyzing the connection code to obtain a request code;
the sending a connection request to a second display device associated with the connection code according to information obtained by analyzing the connection code includes:
sending the request code to a server;
receiving equipment information sent by the server according to the request code;
and sending a connection request to a second display device related to the device information according to the device information.
Wherein the analyzing the connection code to obtain the request code includes:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
and resolving the Bit21-0 of the connection code into a request code.
In a fourth aspect, an embodiment of the present invention further provides a display device, where the display device is configured to:
displaying an interface for creating a connection;
receiving an input connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits;
a connection is established with a second display device.
Wherein the display device is further configured to:
analyzing the connection code;
and sending a connection request to second display equipment related to the connection code according to the information obtained by analyzing the connection code.
Wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
resolving Bit27-26 of the connection code into check bits;
resolving the Bit25-24 of the connection code into a port;
and resolving the Bit23-0 of the connection code into IP address information, wherein the IP address information is the lower 24 bits of the IP address of the second display equipment.
Wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-25 of the connection code into a check Bit;
resolving Bit24-22 of the concatenated code into change bits;
resolving the Bit21-20 of the connection code into a port;
and resolving the Bit19-0 of the connection code into IP address information, wherein the IP address information is the lower 20 bits of the IP address of the second display equipment.
Wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
resolving Bit21-18 of the concatenated code into change bits;
resolving the Bit17-16 of the connection code into a port;
and resolving the Bit15-0 of the connection code into IP address information, wherein the IP address information is the lower 16 bits of the IP address of the second display equipment.
Wherein the display device is further configured to:
analyzing the connection code to obtain a request code;
sending the request code to a server;
receiving equipment information sent by the server according to the request code;
and sending a connection request to a second display device related to the device information according to the device information.
Wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
and resolving the Bit21-0 of the connection code into a request code.
In a fifth aspect, an embodiment of the present invention further provides a connection method for a display device, including:
the second display device receives an instruction for establishing connection;
the second display equipment displays a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits;
the first display device displays an interface for establishing connection;
the first display device receives the input connection code;
and the first display equipment is connected with the second display equipment.
In a sixth aspect, an embodiment of the present invention further provides a system, including the display device described in any one of the above and the display device described in any one of the above.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method described above.
In an eighth aspect, an embodiment of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the method described above.
The connection method of the display equipment in the embodiment of the invention has the following beneficial effects:
in the connection method of the display device in the embodiment of the invention, the second display device can display the connection code less than or equal to six bits after receiving the instruction of establishing the connection, so that when the first display device is connected with the second display device, a user can perform connection only by inputting the connection code less than or equal to six bits into the first display device.
Drawings
FIG. 1 is a schematic diagram of an environment for connecting display devices according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another environment for connecting display devices according to an embodiment of the present invention;
FIG. 3 is a first flowchart illustrating a connection method applied to a second display device according to an embodiment of the invention;
fig. 4 is a second flowchart of a connection method applied to a second display device according to an embodiment of the invention;
FIG. 5 is a third flowchart illustrating a connection method applied to a second display device according to an embodiment of the present invention;
FIG. 6 is a fourth flowchart illustrating a connection method applied to a second display device according to an embodiment of the invention;
FIG. 7 is a first flowchart illustrating a connection method applied to a first display device according to an embodiment of the invention;
fig. 8 is a second flowchart of a connection method applied to a first display device according to an embodiment of the invention;
fig. 9 is a third flowchart of a connection method applied to a first display device according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a connection method applied to a system according to an embodiment of the present invention.
Detailed Description
The present application is further described with reference to the following figures and examples.
In the following description, the terms "first" and "second" are used for descriptive purposes only and are not intended to indicate or imply relative importance. The following description provides embodiments of the invention, which may be combined or substituted for various embodiments, and this application is therefore intended to cover all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then this application should also be considered to include an embodiment that includes one or more of all other possible combinations of A, B, C, D, even though this embodiment may not be explicitly recited in text below.
The following description provides examples, and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different than the order described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
The embodiment of the invention provides a connection method of display equipment, which comprises the following steps: receiving an instruction to create a connection; and displaying a connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits.
In the connection method of the display device in the embodiment of the invention, the second display device can display the connection code less than or equal to six bits after receiving the instruction of establishing the connection, so that when the first display device is connected with the second display device, a user can perform connection only by inputting the connection code less than or equal to six bits into the first display device.
Fig. 1 is a schematic diagram of a use environment of a connection method according to an embodiment of the present invention, and fig. 2 is a schematic diagram of another use environment of a connection method according to an embodiment of the present invention, as shown in fig. 1-2, the use environment of the connection method according to an embodiment of the present invention includes a second display device 10 and a first display device 11, where the first display device 11 may be, for example, a mobile phone, a tablet computer, a desktop computer, a Windows, a Mac or Chrome notebook, and the like, and the second display device 10 may be, for example, an interactive smart tablet, an interactive tablet, a display, or a smart television, and the like. The first display device 11 is connected to the second display device 10, and in one embodiment, the first display device 11 is connected to the second display device 10 by, for example, a Transmission Control Protocol (TCP), a Socket (Socket), a HyperText Transfer Protocol (HTTP), a bluetooth, an infrared, a network cable, a Wi-Fi, or a ZigBee. After the first display device 11 is connected to the second display device 10, the first display device 11 may project a screen to the second display device 10, specifically, the first display device 11 sends data including current interface content of the first display device 11 to the second display device 10, and the second display device 10 displays the data after receiving the data, so that the interface content displayed by the second display device 10 is the same as the current interface content displayed by the first display device 11. In one embodiment, the first display device 11 may be one, two or more, and may each be projected to the second display device 10. The connection method provided by the embodiment of the invention can be applied to scenes such as education, conferences and the like. After the first display device 11 is connected with the second display device 10, screen sharing and conference creation between the first display device 11 and the second display device 10 can be realized.
As shown in fig. 2, in an embodiment, the usage environment of the connection method according to the embodiment of the present invention further includes a server 12, where the server 12 is connected to the second display device 10 and the first display device 11, respectively, the second display device 10 may store the connection information of the second display device 10 in the server 12 in advance, and when the first display device 11 is connected to the second display device 10, the first display device 11 first obtains the connection information of the second display device 10 from the server 12, and then connects to the second display device 10.
Fig. 3 is a first flowchart of a connection method of a display device applied to a second display device according to an embodiment of the present invention, and as shown in fig. 3, the connection method of the display device according to the embodiment of the present invention includes: step 103, receiving an instruction for creating a connection; and 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits. Step 103 and step 105 are described below.
Step 103, receiving an instruction for creating a connection. In one embodiment, the second display device 10 receives an instruction to create a connection, and the second display device 10 creates a connection after receiving the instruction to create a connection, so that an external device such as the first display device 11 can be connected to the second display device 10. In one embodiment, the instruction to create a connection includes, for example, an instruction to create a conference, the second display device 10 displays a button to create a conference on its display screen, the user clicks the button to send the instruction to create a conference to the second display device 10, or the user selects the button to create a conference using a remote controller or the like to send the instruction to create a conference to the second display device 10. In one embodiment, when the second display device 10 detects that the button for creating the conference is clicked or selected, the second display device 10 receives an instruction for creating the conference by touching a display screen or the like, and transmits the instruction for creating the conference to a processor of the second display device 10 for processing response.
And 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits. In one embodiment, the second display device 10 displays the connection code on its touch screen after receiving the instruction to create the connection, for example, the connection code may be displayed at a random position on the touch screen, a specific area may be set on the touch screen to display the connection code, the connection code may be directly displayed on the touch screen, or a box may be displayed on the touch screen, and the connection code is located in the box. In one embodiment, the connection code includes letters and/or numbers, and the connection code may further include elements such as patterns, symbols, and the like. In one embodiment, the connection code is less than or equal to six bits, for example, the connection code is 6 bits, that is, the connection code may be 6-bit capital letters, 6-bit numbers, or 6-bit numbers and letters (the letters and numbers add up to a total of 6 bits).
In the connection method of the display device in the embodiment of the present invention, after receiving the instruction to create the connection, the second display device 10 displays the connection code with less than or equal to six bits, so that when the first display device 11 is connected to the second display device 10, the user can perform the connection only by inputting the connection code with less than or equal to six bits into the first display device 11.
Fig. 4 is a second flowchart of a connection method applied to a second display device according to an embodiment of the present invention, as shown in fig. 4, the connection method of the embodiment includes: step 103, receiving an instruction for creating a connection; step 104, generating a connection code; and 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits. Steps 103, 104 and 105 are described below.
Step 103, receiving an instruction for creating a connection.
Step 103 has already been described above, and will not be described here.
Step 104, generating a connection code.
In one embodiment, the second display device 10 generates a concatenated code, for example a six-bit concatenated code, which is converted into a character every 5 binary bits from the upper to the lower bits, so that the six-bit concatenated code comprises 30 binary bits.
In one embodiment, the IP address of the second display device 10 is detected first, and the generated connection code is different when the IP address of the second display device 10 is different in type. In the local area network, the ip used by the second display device 10 includes three types:
(1) class a addresses 16777216: from 10.0.0.0 to 10.255.255.255;
(2) 1048576 addresses of B type: from 172.16.0.0 to 172.31.255.255;
(3) 65536 addresses of class C: from 192.168.0.0 to 192.168.255.255.
How the second display device 10 generates the connection code for the class a address, the class B address, and the class C address, respectively, will be described below.
When the IP address of the second display device 10 is a class a address, the class a address is from 10.0.0.0 to 10.255.255.255, the second display device 10 generates a six-bit connection code, the connection code includes 30 binary bits, and the binary bits of the connection code sequentially represent the type, check bit, port and IP address information from high to low, as shown in the following table:
29 28 27 26 25 24 23 0
type (B) Check bit Port(s) IP address information
Where, Bit29-28 is a type, and the type may be the type of an IP address, for example, 00 is used to indicate a type a IP address.
Bit27-26 is a check Bit, which may be, for example, a digit formed by the other bits of the concatenated code except the check Bit, and the digit is obtained by taking the remainder of 4. For the connection code input by the user, the check bit is calculated and compared with the check bit stored in the connection code, and whether the user inputs errors or not can be detected to a certain extent.
Bit24-25 is a port, and stores a subscript of a port array, for example, if the port array is {6543, 7383, 10023, 34323}, 0 indicates 6543, 1 indicates 7383, 2 indicates 10023, 3 indicates 34323, the port array is not fixed, the connection code of this embodiment includes a plurality of ports, so that when one port is occupied, other ports can be selected, which is convenient for a user to use.
Bit24-25 is IP address information, in the local area network, the first 8 bits of the class a address are fixed and only the last 24 bits are changed, so the IP address information in this embodiment includes the last 24 bits (i.e. the lower 24 bits) of the IP address of the second display device, which can both save the IP address of the second display device 10 and shorten the length of the connection code.
When the IP address of the second display device 10 is a class B address, the class B address is from 172.16.0.0 to 172.31.255.255, the second display device 10 generates a six-bit connection code, the connection code includes 30 binary bits, and the binary bits of the connection code sequentially represent type, check bit, change bit, port and IP address information from high to low, as shown in the following table:
29 28 27 25 24 22 21 20 19 0
type (B) Check bit Change position Port(s) IP address information
Where, Bit29-28 is a type, and the type may be, for example, the type of an IP address, and 01 is used to indicate a class B IP address.
Bit27-25 is a check Bit, which may be, for example, a digit formed by the other bits of the concatenated code except the check Bit, and the digit is obtained by taking the remainder of 8. For the connection code input by the user, the check bit is calculated and compared with the check bit stored in the connection code, and whether the user inputs errors or not can be detected to a certain extent. The check bits are calculated after the variance bits are scattered.
Bit24-22 is a change Bit, the change Bit is randomly generated within the range of 0-7, in order to enable the change Bit to influence other parts, the change Bit is dispersed, the change Bit of 3 bits is replaced with any three other bits, such as Bit24 and Bit20 replacement, Bit23 and Bit10 replacement, and Bit22 and Bit0 replacement, so that only one character change of 6 concatenated codes is avoided.
Bit21-20 is a port, and stores a subscript of a port array, for example, if the port array is {6543, 7383, 10023, 34323}, 0 indicates 6543, 1 indicates 7383, 2 indicates 10023, 3 indicates 34323, the port array is not fixed, the connection code of this embodiment includes a plurality of ports, so that when one port is occupied, other ports can be selected, which is convenient for a user to use.
Bit19-0 is IP address information, the range of B-type address is 172.16.0.0 to 172.31.255.255, for 16 to 31 range, the connection code is mapped to 0 to 15 when generating connection code, and 16 to 31 are replaced when analyzing. In the local area network, the first (upper) 12 bits of the class B address are fixed and the only change is the last (lower) 20 bits, so the IP address information in this embodiment includes the last 20 bits (i.e. lower 20 bits) of the IP address of the second display device, which can both save the IP address of the second display device 10 and shorten the length of the connection code.
When the IP address of the second display device 10 is a class C address, the class C address is from 192.168.0.0 to 192.168.255.255, the second display device 10 generates a six-bit connection code, the connection code includes 30 binary bits, and the binary bits of the connection code sequentially represent the type, check bit, change bit, port and IP address information from high to low, as shown in the following table:
29 28 27 22 21 18 17 16 15 0
type (B) Check bit Change position Port(s) IP address information
Where, Bit29-28 is a type, and the type may be the type of an IP address, for example, 10 is used to indicate a class C IP address.
Bit27-22 is a check Bit, which may be, for example, a digit formed by the other bits of the concatenated code except the check Bit, and the digit is obtained by taking the remainder of 64. For the connection code input by the user, the check bit is calculated and compared with the check bit stored in the connection code, and whether the user inputs errors or not can be detected to a certain extent. The check bits are calculated after the variance bits are scattered.
The Bit21-18 is a change Bit which is randomly generated within the range of 0-15, in order to enable the change Bit to influence other parts, the change Bit is dispersed, the change bits of 4 bits are replaced with any four other bits, and the change of only one character of 6 concatenated codes is avoided.
Bit17-16 is a port, and stores a subscript of a port array, for example, if the port array is {6543, 7383, 10023, 34323}, 0 indicates 6543, 1 indicates 7383, 2 indicates 10023, 3 indicates 34323, the port array is not fixed, the connection code of this embodiment includes a plurality of ports, so that when one port is occupied, other ports can be selected, which is convenient for a user to use.
Bit15-0 is IP address information, and in the local area network, the first (upper) 16 bits of the C-type address are fixed and the only changes are the last (lower) 16 bits, so the IP address information in this embodiment includes the last 16 bits (i.e. lower 16 bits) of the IP address of the second display device, which can not only save the IP address of the second display device 10, but also shorten the length of the connection code.
And 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits.
Step 105 has already been described above and will not be described here.
Fig. 5 is a third flowchart of a connection method applied to a second display device according to an embodiment of the present invention, and as shown in fig. 5, the connection method of the embodiment includes: step 101, uploading the device information of the second display device 10 to the server 12; step 102, receiving a request code sent by the server 12 according to the device information; step 103, receiving an instruction for creating a connection; step 104a, generating a connection code according to the request code; and 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits. Steps 101-105 are described below.
Step 101, uploading the device information of the second display device 10 to the server 12.
In one embodiment, the second display device 10 uploads its device information to the server 12, and the server 12 stores the device information and generates a unique request code associated with the device information. The device information of the second display device 10 includes, for example, a local area network IP, a Service port number, a hotspot IP, a hotspot SSID (Service Set Identifier), a hotspot password, and/or a physical address.
Step 102, receiving a request code sent by the server 12 according to the device information.
In one embodiment, the server 12 generates a unique request code from the device information of the second display device 10 and transmits the request code to the second display device 10, and the second display device 10 receives the request code.
Step 103, receiving an instruction for creating a connection.
Step 103 has already been described above, and will not be described here.
Step 104a, generating a connection code according to the request code.
In one embodiment, the second display device 10 generates a connection code according to the request code, the second display device 10 generates a six-bit connection code, the connection code includes 30 binary bits, and the binary bits of the connection code sequentially represent the type, the check bit and the request code from high to low, as shown in the following table:
29 28 27 22 21 0
type (B) Check bit Request code
Where, Bit29-28 is type, and 11 is used to indicate the network connection code type.
Bit27-22 is a check Bit, which may be, for example, a digit formed by the other bits of the concatenated code except the check Bit, and the digit is obtained by taking the remainder of 64. For the connection code input by the user, the check bit is calculated and compared with the check bit stored in the connection code, and whether the user inputs errors or not can be detected to a certain extent.
Bit21-0 is a request code, i.e., a request code generated by the server 12 from the device information of the second display device 10.
And 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits.
Step 105 has already been described above and will not be described here.
In this embodiment, the second display device 10 uploads device information to the server 12, where the device information includes, for example, a local area network IP, a service port number, a hot spot IP, a hot spot SSID, a hot spot password, and/or a physical address, and when the first display device 11 is connected to the second display device 10, the server can obtain the device information of the second display device 10 to connect to the second display device 10, so that the first display device 11 can obtain more information of the second display device 10, such as the hot spot IP and the hot spot SSID, and thus the first display device 11 can automatically connect to a hot spot of the second display device 10, so that the first display device 11 and the second display device 10 are in the same local area network, and the user can use the device more conveniently.
Fig. 6 is a fourth flowchart of a connection method of a display device applied to a second display device according to an embodiment of the present invention, and as shown in fig. 6, the connection method of the embodiment includes: step 103, receiving an instruction for creating a connection; 105, displaying a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits; step 107, receiving a connection request sent by the first display device 11; 109, a connection is established with the first display device 11. Steps 103 and 105 have already been described above and are not described here again. In one embodiment, the second display device 10 receives 107 the connection request sent by the first display device 11. Step 109, the second display device 10 establishes a connection with the first display device 11, so that the first display device 11 sends data including the current interface content of the first display device 11 to the second display device 10, and the second display device 10 receives the data and displays the data, so that the interface content displayed by the second display device 10 is the same as the current interface content displayed by the first display device 11.
An embodiment of the present invention further provides a display device, where the display device is configured to: receiving an instruction to create a connection; and displaying a connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits.
Preferably, the instruction to create a connection comprises an instruction to create a conference.
Preferably, the display device is further configured to: a connection code is generated.
Preferably, the display device is further configured to: a six-bit concatenated code is generated.
Preferably, the display device is further configured to: when the IP address of the display equipment is the A-type address, the Bit29-28 in the connection code is the type, the Bit27-26 is the check Bit, the Bit25-24 is the port, the Bit23-0 is the IP address information, and the IP address information comprises the lower 24 bits of the IP address of the display equipment.
Preferably, the display device is further configured to: when the IP address of the display equipment is a B-type address, Bit29-28 in the connection code is a type, Bit27-25 is a check Bit, Bit24-22 is a change Bit, Bit21-20 is a port, Bit19-0 is IP address information, and the IP address information comprises the lower 20 bits of the IP address of the display equipment.
Preferably, the display device is further configured to: when the IP address of the display equipment is a C-type address, Bit29-28 in the connection code is a type, Bit27-22 is a check Bit, Bit21-18 is a change Bit, Bit17-16 is a port, Bit15-0 is IP address information, and the IP address information comprises the lower 16 bits of the IP address of the display equipment.
Preferably, the display device is further configured to: uploading the equipment information of the display equipment to a server; receiving a request code sent by a server according to equipment information; and generating the connection code according to the request code.
Preferably, the connection code is a type of Bit29-28, a check Bit27-22 and a request code of Bit 21-0.
Preferably, the display device is further configured to: receiving a connection request sent by first display equipment; a connection is established with a first display device.
In this specification, for the display apparatus embodiment, since it is substantially similar to the embodiment of the connection method applied to the second display apparatus, please refer to the description of the connection method embodiment applied to the second display apparatus for the relevant point.
Fig. 7 is a first flowchart of a connection method applied to a first display device according to an embodiment of the present invention, and as shown in fig. 7, the connection method applied to the first display device according to the embodiment of the present invention includes step 200 of displaying an interface for creating a connection; step 201, receiving an input connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits; step 204, establishing a connection with a second display device, the second display device being associated with the connection code. The following describes steps 200-204.
Step 200, displaying an interface for creating the connection.
In one embodiment, the first display device 11 displays an interface for creating a connection, for example, a software application for creating a conference is installed on the first display device 11, and when the software application is opened, the first display device 11 displays the interface for creating the conference for connecting with an external device.
Step 201, receiving an input connection code, where the connection code includes letters and/or numbers, and the connection code is less than or equal to six digits.
In one embodiment, after the second display device 10 displays the connection code, the user inputs the connection code into the first display device 11, for example, a software application for connection is installed on the first display device 11, and the user opens the software application, and the software application of the first display device 11 prompts the user to input the connection code, for example, the first display device 11 displays an input box on its display screen for the user to input the connection code. The connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits.
Step 204, establishing a connection with a second display device, the second display device being associated with the connection code.
In one embodiment, after the user inputs the connection code in the first display device 11, the first display device 11 establishes a connection with the second display device 10 according to the connection code, wherein the second display device 10 is associated with the connection code.
The embodiment of the invention is applied to the connection method of the first display device, when the first display device 11 is connected with the second display device 10, a user only needs to input the connection code with less than or equal to six bits into the first display device 11 to carry out connection, and compared with the prior art that the user needs to input 8 connection codes, the connection method of the embodiment of the invention improves the utilization rate of the coding space of the connection codes, shortens the length of the connection codes and improves the user experience.
Fig. 8 is a second flowchart of a connection method applied to a first display device according to an embodiment of the present invention, and as shown in fig. 8, the connection method of the embodiment includes a step 200 of displaying an interface for creating a connection; step 201, receiving an input connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits; step 202, analyzing a connection code; step 203, sending a connection request to a second display device related to the connection code according to the information obtained by analyzing the connection code; step 204, establishing a connection with a second display device, the second display device being associated with the connection code. The following describes steps 200-204.
Step 200, displaying an interface for creating the connection.
Step 201, receiving an input connection code, where the connection code includes letters and/or numbers, and the connection code is less than or equal to six digits.
The steps 200 and 201 have been described above and will not be described herein.
Step 202, the connection code is parsed.
In one embodiment, the first display device 11 parses the connection code input by the user. For example, when the concatenated code is a six-digit letter and/or number, i.e., the concatenated code includes 30 binary digits, the Bit29-28 of the concatenated code is parsed into a type, and how the Bit27-0 of the concatenated code is parsed can be determined according to the parsed type. For example, when the type is 00, which indicates that the IP address information in the connection code is a type a address, Bit27-26 of the connection code is resolved into a check Bit; resolving Bit25-24 of the connection code into a port; the Bit23-0 of the connection code is resolved into the IP address information, which is the lower 24 bits of the IP address of the second display apparatus.
In one embodiment, the first display device 11 parses the connection code input by the user. For example, when the concatenated code is a six-digit letter and/or number, i.e., the concatenated code includes 30 binary digits, the Bit29-28 of the concatenated code is parsed into a type, and how the Bit27-0 of the concatenated code is parsed can be determined according to the parsed type. For example, when the type is 01, which indicates that the IP address information in the connection code is a type B address, Bit27-25 of the connection code is resolved into a check Bit; resolving Bit24-22 of the concatenated code into change bits; resolving Bit21-20 of the connection code into a port; the Bit19-0 of the connection code is resolved into the IP address information, which is the lower 20 bits of the IP address of the second display apparatus. In one embodiment, if the change bits are scattered during encoding, the change bits need to be replaced back to the original positions during parsing.
In one embodiment, the first display device 11 parses the connection code input by the user. For example, when the concatenated code is a six-digit letter and/or number, i.e., the concatenated code includes 30 binary digits, the Bit29-28 of the concatenated code is parsed into a type, and how the Bit27-0 of the concatenated code is parsed can be determined according to the parsed type. For example, when the type is 10, which indicates that the IP address information in the connection code is a type C address, Bit27-22 of the connection code is resolved into a check Bit; resolving Bit21-18 of the concatenated code into change bits; resolving Bit17-16 of the connection code into a port; the Bit15-0 of the connection code is resolved into the IP address information, which is the lower 16 bits of the IP address of the second display apparatus. In one embodiment, the resolution requires replacing the changed bits back to the original locations.
Step 203, sending a connection request to a second display device related to the connection code according to the information obtained by analyzing the connection code;
in one embodiment, the first display device 11 parses the connection code to obtain information of the second display device 10, for example, the IP address and the port number are the IP address and the port number of the second display device 10, so that the first display device 11 sends the connection request to the second display device 10 according to the IP address and the port number.
Step 204, establishing a connection with a second display device, the second display device being associated with the connection code.
Step 204 has been described above and will not be described herein.
The connection method of the embodiment improves the utilization rate of the connection code coding space, shortens the length of the connection code and improves the user experience.
Fig. 9 is a third flowchart of a connection method applied to a first display device according to an embodiment of the present invention, and as shown in fig. 9, the connection method according to the embodiment includes a step 200 of displaying an interface for creating a connection; step 201, receiving a connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits; step 202a, analyzing the connection code to obtain a request code; step 203a, sending a request code to a server; step 203b, receiving the device information sent by the server according to the request code; step 203c, sending a connection request to a second display device related to the device information according to the device information; step 204, establishing a connection with a second display device, the second display device being associated with the connection code. The following describes steps 201 and 204.
Step 200, displaying an interface for creating the connection.
Step 201, receiving an input connection code, where the connection code includes letters and/or numbers, and the connection code is less than or equal to six digits.
The steps 200 and 201 have been described above and will not be described herein.
In step 202a, the connection code is parsed to obtain the request code.
In one embodiment, when the concatenated code is a six-digit letter and/or number, i.e., the concatenated code includes 30 binary digits, the Bit29-28 of the concatenated code is parsed into a type, and how the Bit27-0 of the concatenated code is parsed can be determined according to the parsed type. For example, when the type is 11, indicating that the connection code is a network connection code, including the information of the request code, the Bit27-22 of the connection code is resolved into a check Bit; bit21-0 of the concatenated code is parsed into the request code.
Step 203a, a request code is sent to the server.
In one embodiment, the first display device 11 parses the request code and sends the request code to the server 12. The server 12 stores the device information of the second display device 10 and the unique connection code associated with the device information, and the server 12 receives the request code transmitted from the first display device 11 and transmits the device information associated with the request code to the first display device 11.
And step 203b, receiving the equipment information sent by the server according to the request code.
In one embodiment, the first display device 11 receives device information sent by the server 12 according to the request code, where the device information includes a local area network IP, a service port number, a hotspot IP, a hotspot SSID, a hotspot password, and/or a physical address of the second display device 10.
Step 203c, sending a connection request to a second display device related to the device information according to the device information.
In one embodiment, the device information includes a local area network IP, a service port number, a hotspot IP, a hotspot SSID, a hotspot password, and/or a physical address of the second display device 10, and the first display device 11 sends the connection request to the second display device 10 according to the device information.
Step 204, establishing a connection with a second display device, the second display device being associated with the connection code.
In one embodiment, after the user inputs the connection code in the first display device 11, the first display device 11 establishes a connection with the second display device 10 according to the connection code, wherein the second display device 10 is associated with the connection code. When the device information includes a hotspot IP and a hotspot SSID, the first display device 11 may automatically connect with a hotspot of the second display device 10, so that the first display device 11 and the second display device 10 are in the same local area network, and the user may use the device more conveniently.
An embodiment of the present invention further provides a display device, where the display device is configured to: displaying an interface for creating a connection; receiving an input connection code, wherein the connection code comprises letters and/or numbers, and the connection code is less than or equal to six bits; a connection is established with a second display device.
Preferably, the display device is further configured to: analyzing the connection code; and sending a connection request to a second display device related to the connection code according to the information obtained by analyzing the connection code.
Preferably, the display device is further configured to:
resolving Bit29-28 of the connection code into a type;
resolving Bit27-26 of the connection code into check bits;
resolving Bit25-24 of the connection code into a port;
the Bit23-0 of the connection code is resolved into the IP address information, which is the lower 24 bits of the IP address of the second display apparatus.
Preferably, the display device is further configured to:
resolving Bit29-28 of the connection code into a type;
analyzing the Bit27-25 of the connection code into a check Bit;
resolving Bit24-22 of the concatenated code into change bits;
resolving Bit21-20 of the connection code into a port;
the Bit19-0 of the connection code is resolved into the IP address information, which is the lower 20 bits of the IP address of the second display apparatus.
Preferably, the display device is further configured to:
resolving Bit29-28 of the connection code into a type;
resolving Bit27-22 of the connection code into check bits;
resolving Bit21-18 of the concatenated code into change bits;
resolving Bit17-16 of the connection code into a port;
the Bit15-0 of the connection code is resolved into the IP address information, which is the lower 16 bits of the IP address of the second display apparatus.
Preferably, the display device is further configured to: analyzing the connection code to obtain a request code; sending a request code to a server; receiving equipment information sent by the server according to the request code; and sending a connection request to a second display device related to the device information according to the device information.
Preferably, the display device is further configured to:
resolving Bit29-28 of the connection code into a type;
resolving Bit27-22 of the connection code into check bits;
bit21-0 of the concatenated code is parsed into the request code.
In this specification, for the display apparatus embodiment, since it is substantially similar to the embodiment of the connection method applied to the first display apparatus, please refer to the description of the connection method embodiment applied to the first display apparatus for the relevant point.
An embodiment of the present invention further provides a system, as shown in fig. 1 to 2, including the second display device 10 of any one of the above and the first display device 11 of any one of the above.
Fig. 10 is a schematic flowchart of a connection method applied to a system according to an embodiment of the present invention, and as shown in fig. 10, the connection method according to the embodiment includes step 301, where the second display device 10 receives an instruction to create a connection; step 302, the second display device 10 displays a connection code, wherein the connection code includes letters and/or numbers, and the connection code is less than or equal to six digits; step 303, the first display device 11 displays an interface for creating connection, and receives an input connection code; in step 304, the first display device 11 establishes a connection with the second display device 10.
In this specification, the embodiments of the system and the embodiments of the connection method applied to the system have been described above, and are not described herein again.
It is clear to a person skilled in the art that the solution according to the embodiments of the invention can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, an FPGA (Field-Programmable Gate Array), an IC (Integrated Circuit), or the like.
Each processing unit and/or module according to the embodiments of the present invention may be implemented by an analog circuit that implements the functions described in the embodiments of the present invention, or may be implemented by software that executes the functions described in the embodiments of the present invention.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the connection method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and the steps of the connection method are realized when the processor executes the program. In the embodiment of the present invention, the processor is a control center of a computer system, and may be a processor of a physical machine or a processor of a virtual machine.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (33)

1. A connection method of a display device is applied to a second display device, and is characterized by comprising the following steps:
uploading the device information of the second display device to a server; the equipment information comprises a local area network IP, a service port number, a hotspot IP, a hotspot SSID, a hotspot password and/or a physical address;
receiving a request code sent by the server according to the equipment information;
receiving an instruction to create a connection;
generating a connection code according to the request code;
displaying the connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits;
wherein the generating a connection code according to the request code includes:
acquiring an IP address of the second display device, and acquiring the address type of the IP address;
generating a connection code according to the address type and the request code; the connection code includes a plurality of ports to select one port when another port is occupied.
2. The connection method of the display device according to claim 1, wherein the instruction to create the connection includes an instruction to create a conference.
3. The method according to claim 1, wherein the generating the connection code includes:
a six-bit concatenated code is generated.
4. The method of claim 3, wherein when the IP address of the display device is a class A address, Bit29-28 is type, Bit27-26 is parity Bit, Bit25-24 is port, Bit23-0 is IP address information, and the IP address information includes lower 24 bits of the IP address of the display device.
5. The connection method of a display device according to claim 4, wherein the class A address is an IP address from 10.0.0.0 to 10.255.255.255.
6. The method of claim 3, wherein when the IP address of the display device is a class B address, Bit29-28 is a type, Bit27-25 is a parity Bit, Bit24-22 is a change Bit, Bit21-20 is a port, Bit19-0 is IP address information, and the IP address information includes the lower 20 bits of the IP address of the display device.
7. The connection method of a display device according to claim 6, wherein the class B address is an IP address from 172.16.0.0 to 172.31.255.255.
8. The method of claim 3, wherein when the IP address of the display device is a class C address, Bit29-28 is a type, Bit27-22 is a parity Bit, Bit21-18 is a change Bit, Bit17-16 is a port, Bit15-0 is IP address information, and the IP address information includes lower 16 bits of the IP address of the display device.
9. The connection method of a display device according to claim 8, wherein the C-type address is an IP address from 192.168.0.0 to 192.168.255.255.
10. The method for connecting a display device according to claim 1, wherein the connection code includes Bit29-28 as type, Bit27-22 as check Bit, and Bit21-0 as the request code.
11. The method according to any one of claims 1 to 10, wherein the displaying the connection code is followed by:
receiving a connection request sent by first display equipment;
and establishing connection with the first display equipment.
12. A display device, characterized in that the display device is configured to:
uploading the equipment information of the display equipment to a server; the equipment information comprises a local area network IP, a service port number, a hotspot IP, a hotspot SSID, a hotspot password and/or a physical address;
receiving a request code sent by the server according to the equipment information;
receiving an instruction to create a connection;
generating a connection code according to the request code;
displaying the connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits;
wherein the generating a connection code according to the request code includes:
acquiring an IP address of the display equipment, and acquiring the address type of the IP address;
generating a connection code according to the address type and the request code; the connection code includes a plurality of ports to select one port when another port is occupied.
13. The display device of claim 12, wherein the instructions to create a connection comprise instructions to create a meeting.
14. The display device of claim 12, wherein the display device is further configured to:
a six-bit concatenated code is generated.
15. The display device of claim 14, wherein the display device is further configured to: when the IP address of the display equipment is the A-type address, Bit29-28 in the connection code is the type, Bit27-26 is the check Bit, Bit25-24 is the port, Bit23-0 is the IP address information, and the IP address information comprises the lower 24 bits of the IP address of the display equipment.
16. The display device of claim 14, wherein the display device is further configured to: when the IP address of the display equipment is a B-type address, Bit29-28 in the connection code is a type, Bit27-25 is a check Bit, Bit24-22 is a change Bit, Bit21-20 is a port, Bit19-0 is IP address information, and the IP address information comprises the lower 20 bits of the IP address of the display equipment.
17. The display device of claim 14, wherein the display device is further configured to: when the IP address of the display equipment is a C-type address, Bit29-28 in the connection code is a type, Bit27-22 is a check Bit, Bit21-18 is a change Bit, Bit17-16 is a port, Bit15-0 is IP address information, and the IP address information comprises the lower 16 bits of the IP address of the display equipment.
18. The display device as claimed in claim 12, wherein the connection code is Bit29-28 type, Bit27-22 check Bit, and Bit21-0 request code.
19. The display device according to any one of claims 12-18, wherein the display device is further configured to:
receiving a connection request sent by first display equipment;
and establishing connection with the first display equipment.
20. A method of connecting a display device, comprising:
displaying an interface for creating a connection;
analyzing the connection code to obtain a request code;
sending the request code to a server;
receiving equipment information sent by the server according to the request code;
sending a connection request to a second display device related to the device information according to the device information;
receiving an input connection code, wherein the connection code comprises letters and/or numbers, the connection code is less than or equal to six bits, and the connection code is generated by the second display device according to the address type of the IP address of the second display device and a request code; the connection code includes a plurality of ports to select one port when another port is occupied;
a connection is established with a second display device.
21. The method according to claim 20, wherein the parsing the connection code comprises:
resolving the Bit29-28 of the connection code into a type;
resolving Bit27-26 of the connection code into check bits;
resolving the Bit25-24 of the connection code into a port;
and resolving the Bit23-0 of the connection code into IP address information, wherein the IP address information is the lower 24 bits of the IP address of the second display equipment.
22. The method according to claim 20, wherein the parsing the connection code comprises:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-25 of the connection code into a check Bit;
resolving Bit24-22 of the concatenated code into change bits;
resolving the Bit21-20 of the connection code into a port;
and resolving the Bit19-0 of the connection code into IP address information, wherein the IP address information is the lower 20 bits of the IP address of the second display equipment.
23. The method according to claim 20, wherein the parsing the connection code comprises:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
resolving Bit21-18 of the concatenated code into change bits;
resolving the Bit17-16 of the connection code into a port;
and resolving the Bit15-0 of the connection code into IP address information, wherein the IP address information is the lower 16 bits of the IP address of the second display equipment.
24. The method according to claim 20, wherein the parsing the connection code to obtain a request code comprises:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
and resolving the Bit21-0 of the connection code into a request code.
25. A display device, characterized in that the display device is configured to:
displaying an interface for creating a connection;
receiving an input connection code, wherein the connection code comprises letters and/or numbers, the connection code is less than or equal to six bits, and the connection code is generated by second display equipment according to the address type of the IP address of the second display equipment and a request code; the connection code includes a plurality of ports to select one port when another port is occupied;
analyzing the connection code to obtain the request code;
sending the request code to a server;
receiving equipment information sent by the server according to the request code;
sending a connection request to the second display device related to the device information according to the device information;
a connection is established with a second display device.
26. The display device of claim 25, wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
resolving Bit27-26 of the connection code into check bits;
resolving the Bit25-24 of the connection code into a port;
and resolving the Bit23-0 of the connection code into IP address information, wherein the IP address information is the lower 24 bits of the IP address of the second display equipment.
27. The display device of claim 25, wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-25 of the connection code into a check Bit;
resolving Bit24-22 of the concatenated code into change bits;
resolving the Bit21-20 of the connection code into a port;
and resolving the Bit19-0 of the connection code into IP address information, wherein the IP address information is the lower 20 bits of the IP address of the second display equipment.
28. The display device of claim 25, wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
resolving Bit21-18 of the concatenated code into change bits;
resolving the Bit17-16 of the connection code into a port;
and resolving the Bit15-0 of the connection code into IP address information, wherein the IP address information is the lower 16 bits of the IP address of the second display equipment.
29. The display device of claim 25, wherein the display device is further configured to:
resolving the Bit29-28 of the connection code into a type;
analyzing the Bit27-22 of the connection code into a check Bit;
and resolving the Bit21-0 of the connection code into a request code.
30. A method of connecting a display device, comprising:
the second display equipment uploads the equipment information of the display equipment to a server; the equipment information comprises a local area network IP, a service port number, a hotspot IP, a hotspot SSID, a hotspot password and/or a physical address;
receiving a request code sent by the server according to the equipment information;
receiving an instruction to create a connection;
generating a connection code according to the request code, wherein the connection code is generated by the second display device according to the address type of the IP address of the second display device and the request code; the connection code includes a plurality of ports to select one port when another port is occupied;
the second display equipment displays a connection code, wherein the connection code comprises letters and/or numbers, and the number of the connection code is less than or equal to six bits;
the first display device displays an interface for establishing connection;
analyzing the connection code to obtain a request code;
sending the request code to a server;
receiving equipment information sent by the server according to the request code;
sending a connection request to a second display device related to the device information according to the device information;
the first display device receives the input connection code;
and the first display equipment is connected with the second display equipment.
31. A system comprising the display device of any one of claims 12-19 and the display device of any one of claims 25-29.
32. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11, 20 to 24, 30.
33. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1-11, 20-24, 30 are implemented when the program is executed by the processor.
CN201810620937.7A 2018-06-15 2018-06-15 Display device connection method, display device and system Active CN108848162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810620937.7A CN108848162B (en) 2018-06-15 2018-06-15 Display device connection method, display device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810620937.7A CN108848162B (en) 2018-06-15 2018-06-15 Display device connection method, display device and system

Publications (2)

Publication Number Publication Date
CN108848162A CN108848162A (en) 2018-11-20
CN108848162B true CN108848162B (en) 2021-11-23

Family

ID=64202024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810620937.7A Active CN108848162B (en) 2018-06-15 2018-06-15 Display device connection method, display device and system

Country Status (1)

Country Link
CN (1) CN108848162B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355558A (en) * 2019-06-27 2020-06-30 鸿合科技股份有限公司 Method for improving connection code connection accuracy and related equipment
CN111355820B (en) * 2019-06-27 2023-07-21 鸿合科技股份有限公司 Data transmission method, terminal and electronic equipment
CN111355821A (en) * 2019-06-27 2020-06-30 鸿合科技股份有限公司 Connection code generation method, device, electronic device and storage medium
CN112565842A (en) * 2020-12-04 2021-03-26 广州视源电子科技股份有限公司 Information processing method, device and storage medium
CN115412267A (en) * 2021-05-26 2022-11-29 广州视源电子科技股份有限公司 Equipment connection method, device and connection code generation method
CN116980685A (en) * 2022-04-22 2023-10-31 广州视臻信息科技有限公司 Equipment connection method, device, equipment and storage medium
EP4362598A4 (en) * 2022-08-31 2024-05-01 Guangzhou Shiyuan Electronics Co Ltd Connection method and apparatus, display device, terminal device, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017515A (en) * 2008-04-25 2011-04-13 智能技术Ulc公司 Method and system for coordinating data sharing in a network with at least one physical display device
CN106992995A (en) * 2017-05-25 2017-07-28 环球智达科技(北京)有限公司 View data shares display methods and system
CN107332912A (en) * 2017-07-03 2017-11-07 广州视源电子科技股份有限公司 Service discovery method, device, system and storage medium, computer equipment
CN107566453A (en) * 2017-08-03 2018-01-09 广州视源电子科技股份有限公司 Service discovery method, device, computer-readable recording medium and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017515A (en) * 2008-04-25 2011-04-13 智能技术Ulc公司 Method and system for coordinating data sharing in a network with at least one physical display device
CN106992995A (en) * 2017-05-25 2017-07-28 环球智达科技(北京)有限公司 View data shares display methods and system
CN107332912A (en) * 2017-07-03 2017-11-07 广州视源电子科技股份有限公司 Service discovery method, device, system and storage medium, computer equipment
CN107566453A (en) * 2017-08-03 2018-01-09 广州视源电子科技股份有限公司 Service discovery method, device, computer-readable recording medium and computer equipment

Also Published As

Publication number Publication date
CN108848162A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN108848162B (en) Display device connection method, display device and system
CN108848164B (en) Display device connection method, display device and system
CN101159714B (en) Instant communication method and device
CN102821150B (en) Based on application management method and the Cloud Server of cloud service
CN103595759B (en) Desktop presentation method based on high in the clouds
CN102255887A (en) Method and system for providing online services corresponding to multiple mobile devices
CN105007340B (en) Support the Distributed C AN network and its node address auto-allocation method of plug and play
CN103002101A (en) Information merging and splitting method for multi-number linkmen and communication terminal
CN105519028A (en) Wireless system access control method and apparatus
CN108540552B (en) Device interconnection method, apparatus, system, device and storage medium
CN104125485A (en) Method, equipment and system for sharing user information
CN103345855B (en) Projection switching system and projection switching method for teaching
CN105323128B (en) method, device and system for accessing front-end equipment to server
US9489939B2 (en) Speech server managing one or a plurality of pieces of speech terminal-specifying information and user-specifying information
CN105323141A (en) Information transmission method and system based on image recognition and mobile terminal
CN115150075A (en) Method, apparatus, device and medium for data communication based on shared secret key
KR20220143831A (en) Information processing methods, devices and storage media
CN103974251A (en) Method for automatically authenticating identities for wireless network access
KR100653531B1 (en) Connection process executing method of wireless usb device and wireless usb device/host thereof
CN105323142A (en) Information transmission method and system based on image recognition and mobile terminal
CN106204261A (en) A kind of information processing method, terminal and server
CN104079474A (en) Information transmission method, system and mobile terminal based on image identification
CN102137120A (en) Method and system for group communication
CN105376274A (en) Login processing method, device and system
CN104168290A (en) Terminal registration method and register server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant