CN112637842B - Screen projection equipment connection method, system, equipment and storage medium - Google Patents

Screen projection equipment connection method, system, equipment and storage medium Download PDF

Info

Publication number
CN112637842B
CN112637842B CN202011468607.4A CN202011468607A CN112637842B CN 112637842 B CN112637842 B CN 112637842B CN 202011468607 A CN202011468607 A CN 202011468607A CN 112637842 B CN112637842 B CN 112637842B
Authority
CN
China
Prior art keywords
equipment
screen projection
information
authentication
terminal
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
CN202011468607.4A
Other languages
Chinese (zh)
Other versions
CN112637842A (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.)
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Software 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 Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Software Co Ltd
Priority to CN202011468607.4A priority Critical patent/CN112637842B/en
Publication of CN112637842A publication Critical patent/CN112637842A/en
Application granted granted Critical
Publication of CN112637842B publication Critical patent/CN112637842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention discloses a screen projection equipment connection method, a system, equipment and a storage medium, wherein the method comprises the following steps: generating equipment information of the screen projection equipment; when an information acquisition request sent by terminal equipment is received, equipment information is sent to the terminal equipment; receiving authentication information sent by terminal equipment; if the authentication information passes the verification, screen projection connection is established with the terminal equipment; and sending a screen-casting connection completion instruction to the terminal equipment. The invention solves the problems that the existing screen projection equipment has lower safety and is easy to be subjected to screen misprojection by other terminal equipment, not only improves the safety of the screen projection equipment and avoids the phenomenon of screen misprojection by other terminal equipment, but also saves the process of manually establishing the screen projection equipment and the terminal equipment by a user, is convenient, quick and efficient and enhances the user experience.

Description

Screen projection equipment connection method, system, equipment and storage medium
Technical Field
The invention relates to the technical field of screen projection, in particular to a screen projection equipment connection method, a screen projection equipment connection system, screen projection equipment and a storage medium.
Background
The wireless screen projection is also called wireless screen sharing, screen flying and screen sharing. Specifically, a picture of a mobile device a (such as a mobile phone, a tablet, a notebook, and a computer) is displayed on a screen B (a tablet, a notebook, a computer, a television, a kiosk, and a projector) of another device in real time by a certain technical method, and the output content includes various media information and a real-time operation picture.
The connection broadcast transmitted by the existing screen projection device before the connection is established with the terminal device can be searched by other terminal devices, thereby causing the connection to be established with other terminal devices. For example, a connection broadcast sent by a screen projection device in a home of a user is likely to be searched by a neighboring terminal device, which results in establishing a connection with the neighboring terminal device, thereby projecting the neighboring terminal device. Therefore, the existing screen projection equipment is low in safety, and the problem that the screen is projected by other terminal equipment by mistake easily occurs.
Disclosure of Invention
The embodiment of the application aims to solve the problems that the existing screen projection equipment is low in safety and is prone to being mistakenly projected by other terminal equipment through providing a screen projection equipment connection method, a screen projection equipment connection system, screen projection equipment and a storage medium.
The embodiment of the application provides a screen projection equipment connection method, which is applied to screen projection equipment and comprises the following steps:
generating equipment information of the screen projection equipment;
when an information acquisition request sent by terminal equipment is received, sending the equipment information to the terminal equipment;
receiving authentication information sent by terminal equipment;
if the authentication information passes the verification, screen projection connection is established with the terminal equipment;
and sending a screen projection connection completion instruction to the terminal equipment.
In one embodiment, the device information includes a temporary identification code and a temporary authentication code; the temporary identification code is used for judging consistency of the terminal equipment and equipment identification of the screen projection equipment scanned by the terminal equipment, and the temporary authentication code is used for verifying authentication information sent by the screen projection equipment to the terminal equipment.
In an embodiment, the generating the screen projection device information includes:
acquiring a custom field for generating the identification code and the temporary authentication code;
respectively selecting a first part of content and a second part of content from the custom field according to a preset rule;
and determining the first part of content as the temporary identification code and determining the second part of content as the temporary authentication code.
In one embodiment, the authentication information verification is passed, including:
and if the authentication information is judged to be consistent with the temporary authentication code, confirming that the authentication of the authentication information passes.
The embodiment of the application provides a screen projection device connection method, which is applied to terminal devices and comprises the following steps:
sending an information acquisition request to screen projection equipment;
receiving equipment information sent by the screen projection equipment, and generating authentication information according to the equipment information;
scanning the equipment identification of the screen projection equipment;
if the comparison relation between the equipment identification and the equipment information is judged to meet an information authentication condition, sending the authentication information to the screen projection equipment;
and receiving a screen projection connection completion instruction sent by the screen projection equipment.
In an embodiment, the generating authentication information according to the device information includes:
and analyzing the equipment information to obtain a temporary identification code and a temporary authentication code, and determining the temporary authentication code as the authentication information.
In an embodiment, the information authentication condition is that the device identifier is consistent with the temporary identifier code.
In addition, in order to achieve the above object, the invention also provides a screen projection device connection system, which comprises a screen projection device and a terminal device;
the screen projection device comprises:
the information generation module is used for generating equipment information of the screen projection equipment;
the device comprises a first sending module, a second sending module and a sending module, wherein the first sending module is used for sending the device information to the terminal device when receiving an information acquisition request sent by the terminal device;
the first receiving module is used for receiving authentication information sent by the terminal equipment;
the first verification module is used for establishing connection with the terminal equipment if the authentication information passes verification;
the second sending module is used for sending a screen-casting connection completion instruction to the terminal equipment;
the terminal device includes:
the third sending module is used for sending an information acquisition request to the screen projection equipment;
the second receiving module is used for receiving the equipment information sent by the screen projection equipment and generating authentication information according to the equipment information;
the identification scanning module is used for scanning the equipment identification of the screen projection equipment;
the second verification module is used for sending the authentication information to the screen projection equipment if the relation between the equipment identification and the equipment information meets an information authentication condition;
and the third receiving module is used for receiving a screen projection connection completion instruction sent by the screen projection equipment.
In addition, in order to achieve the above object, the present invention further provides a screen projection device connection method, which includes: the screen projection device connection method comprises a memory, a processor and a screen projection device connection program which is stored on the memory and can run on the processor, wherein the steps of the screen projection device connection method are realized when the screen projection device connection program is executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a storage medium having a screen projection device connection program stored thereon, where the screen projection device connection program is executed by a processor to implement the steps of the above screen projection device connection method.
The technical scheme of the screen projection equipment connection method, system, equipment and storage medium provided in the embodiment of the application has at least the following technical effects or advantages:
due to the fact that the equipment information of the screen projection equipment is generated, when an information acquisition request sent by the terminal equipment is received, the equipment information is sent to the terminal equipment, the authentication information sent by the terminal equipment is received, if the authentication information is verified to be passed, screen projection connection is established with the terminal equipment, and a screen projection connection completion instruction is sent to the terminal equipment.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a connection method for a projection device according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a connection method for a projection device according to the present invention;
fig. 4 is a flowchart illustrating a connection method of a screen projection device according to a third embodiment of the present invention;
fig. 5 is a functional block diagram of the connection system of the projection device of the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The invention provides a connecting device. As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
Fig. 1 may be a schematic structural diagram of a hardware operating environment of a connection device.
As shown in fig. 1, the connection device may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Optionally, the connection device may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display according to the brightness of ambient light, and a proximity sensor that turns off the display and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
It will be understood by those skilled in the art that the connecting device structure shown in fig. 1 is not intended to be limiting as the connecting device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a screen-projecting-device connection program. The operating system is a program for managing and controlling hardware and software resources of the connected device, a screen projection device connection program, and other software or programs.
In the connection apparatus shown in fig. 1, the user interface 1003 is mainly used for connecting a terminal, and performing data communication with the terminal; the network interface 1004 is mainly used for the background server and performs data communication with the background server; the processor 1001 may be used to invoke a screen-casting device connectivity program stored in the memory 1005.
In this embodiment, the connection device includes: a memory 1005, a processor 1001, and a screen projection apparatus connectivity program stored on the memory and executable on the processor, wherein:
when the present invention is applied to a screen projection device, the processor 1001 executes the following operations when calling a screen projection device connection program stored in the memory 1005:
generating equipment information of the screen projection equipment;
when an information acquisition request sent by terminal equipment is received, sending the equipment information to the terminal equipment;
receiving authentication information sent by terminal equipment;
if the authentication information passes the verification, screen projection connection is established with the terminal equipment;
and sending a screen projection connection completion instruction to the terminal equipment.
Wherein the device information includes a temporary identification code and a temporary authentication code; the temporary identification code is used for judging consistency between the terminal equipment and equipment identification of the screen projection equipment scanned by the terminal equipment, and the temporary authentication code is used for verifying authentication information sent by the screen projection equipment to the terminal equipment.
When the processor 1001 calls the screen projection device connection program stored in the memory 1005, the following operations are also performed:
acquiring a custom field for generating the identification code and the temporary authentication code;
respectively selecting a first part of content and a second part of content from the custom field according to a preset rule;
determining the first part of content as the temporary identification code and the second part of content as the temporary authentication code.
When the processor 1001 calls the screen projection device connection program stored in the memory 1005, the following operations are also performed:
and if the authentication information is judged to be consistent with the temporary authentication code, confirming that the authentication of the authentication information passes.
When the processor 1001 calls the screen projection device connection program stored in the memory 1005, the following operations are performed:
sending an information acquisition request to screen projection equipment;
receiving equipment information sent by the screen projection equipment, and generating authentication information according to the equipment information;
scanning the equipment identification of the screen projection equipment;
if the comparison relation between the equipment identification and the equipment information is judged to meet an information authentication condition, sending the authentication information to the screen projection equipment;
and receiving a screen projection connection completion instruction sent by the screen projection equipment.
When the processor 1001 calls the screen projection device connection program stored in the memory 1005, the following operations are also performed:
and analyzing the equipment information to obtain a temporary identification code and a temporary authentication code, and determining the temporary authentication code as the authentication information.
And the information authentication condition is that the equipment identification is consistent with the temporary identification code.
It should be noted that, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be executed in a sequence different from that here, and the execution main bodies of the connection method for the screen projection device are the screen projection device and the terminal device, and are particularly applied to the connection between the terminal device and the screen projection device. After the wireless connection is established between the terminal equipment and the screen projection equipment, various media information, real-time operation pictures and other screen projection information of the terminal equipment can be displayed in real time through the screen projection equipment. The terminal device is delivery device, such as a smart phone, a notebook computer, a tablet computer, and the like; the screen projection device refers to a projected device, such as a projector, a smart television and the like.
As shown in fig. 2, in the first embodiment of the present application, the method for connecting a screen projection device of the present application when executed by the screen projection device includes the following steps:
step S210: and generating the equipment information of the screen projection equipment.
In this embodiment, the device information includes a temporary identification code and a temporary authentication code; the temporary identification code is used for judging consistency between the terminal equipment and the equipment identification of the screen projection equipment scanned by the terminal equipment, and the temporary authentication code is used for verifying authentication information sent by the screen projection equipment to the terminal equipment. The device identifier is a visible device name set when the screen projection device is scanned by the terminal device. For example, before the user performs screen projection on the information of the terminal device a, a "display" identifier set to be visible by the screen projection device B is scanned by the terminal device a, and the "display" is a device identifier. After the screen projection device generates the device information, the device information is written into the NFC data exchange module of the screen projection device, and a user can acquire the device information written into the NFC data exchange module by the screen projection device through the terminal device.
As shown in fig. 3, in the second embodiment of the present application, step S210 includes the steps of:
step S211: and acquiring a custom field for generating the identification code and the temporary authentication code.
In this embodiment, the screen projection device generates different random numbers by using a custom algorithm, such as a random number function, and randomly combines all the random numbers to obtain a custom field for generating the identification code and the temporary authentication code.
Step S212: and respectively selecting a first part of content and a second part of content from the custom field according to a preset rule.
In this embodiment, after the custom field is generated, the screen projection device may obtain the first part of content and the second part of content respectively by using a preset rule, for example, by equally dividing the custom field into two segments, or by randomly selecting two segments of content from the custom field. For example, the custom field is Screen @ # $ SD, and the custom field may be divided into two segments by equally dividing the custom field into two segments, so that the first part of content is Screen and the second part of content is @ # $ SD.
Step S213: determining the first part of content as the temporary identification code and the second part of content as the temporary authentication code.
In this embodiment, after the first part of content and the second part of content are respectively selected from the custom field, the first part of content is determined as the temporary identification code, and the second part of content is determined as the temporary authentication code. For example, if the content of the first part is Screen, the temporary identifier is Screen, and the content of the second part is @ # $ SD, the temporary authentication code is @ # $ SD.
Step S220: and when an information acquisition request sent by the terminal equipment is received, sending the equipment information to the terminal equipment.
In this embodiment, before a user performs screen projection on information of a terminal device through a screen projection device, the terminal device needs to establish screen projection connection with the screen projection device. Specifically, a user brings a terminal device close to the screen projection device, the terminal device sends an information acquisition request for acquiring device information to the terminal device, and after the screen projection device responds to the information acquisition request, the device information is sent to the terminal device through the NFC data exchange module, so that the terminal device receives the device information of the screen projection device through the NFC data reading module of the terminal device. The terminal equipment further analyzes the equipment information to obtain a temporary identification code and a temporary authentication code generated by the screen projection equipment, and when a user scans the equipment identification of the screen projection equipment through the terminal equipment, the terminal equipment adopts the temporary identification code to compare with the obtained equipment identification to judge whether the equipment identification and the temporary identification code are consistent; if the two are consistent, the screen projection device corresponding to the device identifier scanned by the terminal device is the screen projection device to be projected, and the terminal device and the screen projection device establish first-step connection. It should be noted that after the first connection between the terminal device and the screen projection device is established, the screen projection device cannot project the screen, and a second connection between the terminal device and the screen projection device needs to be further established.
Step S230: receiving authentication information sent by terminal equipment;
in this embodiment, if the terminal device determines that the temporary identification code is consistent with the device identifier, the terminal device sends the temporary authentication code as authentication information to the screen projection device. And the screen projection equipment receives the authentication information sent by the terminal equipment, verifies the authentication information by adopting a temporary authentication code, and determines whether to establish second-step connection with the terminal equipment according to a verification result, wherein the second-step connection is the screen projection connection established by the screen projection equipment and the terminal equipment.
Step S240: and if the authentication information passes the verification, screen projection connection is established with the terminal equipment.
In this embodiment, if the screen projection device determines that the authentication information is consistent with the temporary authentication code, it confirms that the authentication information sent by the terminal device passes verification, and then establishes screen projection connection with the terminal device. The specific way of determining that the authentication information is consistent with the temporary authentication code may be: if the authentication information and the temporary authentication code are identified to be both composed of numbers, the absolute values of the two are subtracted or divided, and if the operation result of the two is 0 or 1, the two are determined to be consistent. Or if the authentication information and the temporary authentication code are combined by other symbols such as letters and numbers, converting each symbol of the authentication information and the temporary authentication code into a number through an ASCII code comparison table, and verifying whether the authentication information is consistent with the temporary authentication code by adopting the method.
Step S250: and sending a screen projection connection completion instruction to the terminal equipment.
In this embodiment, after the screen projection device establishes screen projection connection with the terminal device, a screen projection connection completion instruction is sent to the terminal device, the terminal device responds to the screen projection connection completion instruction, screen projection information is sent to the screen projection device, and the screen projection device displays the screen projection information.
According to the technical scheme, the equipment information of the screen projection equipment is generated, when an information acquisition request sent by the terminal equipment is received, the equipment information is sent to the terminal equipment, the authentication information sent by the terminal equipment is received, if the authentication information is verified to pass, the screen projection connection is established with the terminal equipment, and a screen projection connection completion instruction is sent to the terminal equipment.
As shown in fig. 4, in the third embodiment of the present application, when executed by a terminal device, the method for connecting a screen projection device of the present application includes the following steps:
step S310: and sending an information acquisition request to the screen projection equipment.
In this embodiment, the information obtaining request is a request for obtaining device information generated by the screen projection device by the terminal device. Before the user performs screen projection connection with the screen projection device through the terminal device, the user needs to execute operation of approaching the terminal device to the screen projection device. When a user presses the terminal equipment close to the screen projection equipment, the terminal equipment sends an information acquisition request to the screen projection equipment, so that the screen projection equipment responds to the information acquisition request and then sends the generated equipment information to the terminal equipment through the NFC data exchange module.
Step S320: and receiving the equipment information sent by the screen projection equipment, and generating authentication information according to the equipment information.
In this embodiment, after the screen projection device responds to the information acquisition request, the NFC data exchange module sends the generated device information to the terminal device, and the terminal device receives the device information of the screen projection device through its own NFC data reading module and generates authentication information according to the device information. And generating an authentication letter according to the equipment information, specifically analyzing the received equipment information to obtain the temporary identification code and the temporary authentication code, and determining the temporary authentication code as the authentication information. The authentication information is information verified by the screen projection device before the screen projection device establishes screen projection connection with the terminal device.
Step S330: and scanning the equipment identification of the screen projection equipment.
In this embodiment, after the terminal device obtains the device information of the screen projection device, a user needs to perform an operation of scanning a device identifier of the screen projection device through the device terminal, when the device terminal scans the device identifier of the screen projection device, the obtained temporary identifier code is compared with the device identifier line, whether the obtained temporary identifier code is consistent with the device identifier line is judged, and whether a first-step connection is established with the screen projection device is determined according to a result of whether the obtained temporary identifier code is consistent with the device identifier line.
Step S340: and if the comparison relation between the equipment identification and the equipment information is judged to meet the information authentication condition, sending the authentication information to the screen projection equipment.
In this embodiment, the comparison relationship between the device identifier and the device information refers to a similar relationship between the device identifier and the device information, and the information authentication condition is that the device identifier is consistent with the temporary identifier. If the terminal equipment judges that the comparison relation between the equipment identification and the equipment information meets the information authentication condition, namely the temporary identification code is consistent with the equipment identification, namely the temporary identification code is the same as the equipment identification, the screen projection equipment corresponding to the equipment identification scanned by the terminal equipment is the screen projection equipment to be projected, and then the first-step connection is established between the terminal equipment and the screen projection equipment. After the first-step connection between the terminal equipment and the screen projection equipment is established, authentication information is sent to the screen projection equipment, so that the screen projection equipment adopts the temporary authentication code to verify the received authentication information, whether second-step connection is established with the terminal equipment or not is determined according to a verification result, and the second-step connection is the screen projection connection established between the screen projection equipment and the terminal equipment.
Step S350: and receiving a screen projection connection completion instruction sent by the screen projection equipment.
In this embodiment, if the screen projection device determines that the authentication information is consistent with the temporary authentication code, it determines that the authentication information sent by the terminal device passes verification, establishes screen projection connection with the terminal device, and sends a screen projection connection completion instruction to the terminal device. And after receiving a screen projection connection completion instruction sent by the screen projection equipment, the terminal equipment sends screen projection information to the screen projection equipment for display.
According to the technical scheme, the information acquisition request is sent to the screen projection equipment, the equipment information sent by the screen projection equipment is received, the authentication information is generated according to the equipment information, the equipment identification of the screen projection equipment is scanned, if the comparison relation between the equipment identification and the equipment information meets the information authentication condition, the authentication information is sent to the screen projection equipment, and the screen projection connection completion instruction sent by the screen projection equipment is received.
As shown in fig. 5, the screen projection device connection system provided by the present application includes a screen projection device and a terminal device;
the screen projection device comprises:
an information generating module 410, configured to generate device information of the screen projection device;
a first sending module 420, configured to send the device information to a terminal device when receiving an information acquisition request sent by the terminal device;
a first receiving module 430, configured to receive authentication information sent by a terminal device;
a first verification module 440, configured to establish a connection with the terminal device if the authentication information passes verification;
a second sending module 450, configured to send a screen-casting connection completion instruction to the terminal device;
the terminal device includes:
a third sending module 510, configured to send an information obtaining request to a screen projection device;
a second receiving module 520, configured to receive device information sent by the screen projection device, and generate authentication information according to the device information;
an identifier scanning module 530, configured to scan a device identifier of the screen projection device;
a second verification module 540, configured to send the authentication information to the screen projection device if a relationship between the device identifier and the device information satisfies an information authentication condition;
and a third receiving module 550, configured to receive a screen-casting connection completion instruction sent by the screen-casting device.
Further, the device information includes a temporary identification code and a temporary authentication code; the temporary identification code is used for judging consistency between the terminal equipment and equipment identification of the screen projection equipment scanned by the terminal equipment, and the temporary authentication code is used for verifying authentication information sent by the screen projection equipment to the terminal equipment.
Further, the information generating module 410 includes:
a field generating unit, configured to obtain a custom field for generating the identification code and the temporary authentication code;
the field selection unit is used for respectively selecting a first part of content and a second part of content from the custom field according to a preset rule;
an information determining unit, configured to determine the first part of content as the temporary identification code, and determine the second part of content as the temporary authentication code.
Further, the first verification module 440 is specifically configured to, in terms of verification of the authentication information, if it is determined that the authentication information is consistent with the temporary authentication code, confirm that the authentication of the authentication information is passed.
Further, the second receiving module 520 is specifically configured to, in terms of generating authentication information according to the device information, analyze the device information to obtain a temporary identification code and a temporary authentication code, and determine the temporary authentication code as the authentication information.
Further, the information authentication condition is that the device identifier is consistent with the temporary identifier.
The specific implementation of the connection system of the screen projection device of the present invention is substantially the same as that of each embodiment of the connection method of the screen projection device, and is not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A screen projection equipment connection method is applied to screen projection equipment, and comprises the following steps:
generating equipment information of the screen projection equipment;
when an information acquisition request sent by terminal equipment is received, sending the equipment information to the terminal equipment;
receiving authentication information sent by terminal equipment;
if the authentication information passes the verification, screen projection connection is established with the terminal equipment;
sending a screen-casting connection completion instruction to the terminal equipment;
the equipment information comprises a temporary identification code and a temporary authentication code; the temporary identification code is used for judging consistency between the terminal equipment and equipment identification of screen projection equipment scanned by the terminal equipment, and the temporary authentication code is used for verifying the authentication information sent by the terminal equipment by the screen projection equipment;
the generating of the screen projection equipment information comprises:
determining a plurality of random numbers according to a preset random number function;
randomly combining the random numbers to determine and generate a custom field of the identification code and the temporary authentication code;
respectively selecting a first part of content and a second part of content from the custom field randomly according to a preset rule;
determining the first part of content as the temporary identification code and the second part of content as the temporary authentication code.
2. The method of claim 1, wherein the authentication information verifies, comprising:
and if the authentication information is judged to be consistent with the temporary authentication code, confirming that the authentication of the authentication information passes.
3. A connection method of screen projection equipment is applied to terminal equipment and comprises the following steps:
sending an information acquisition request to screen projection equipment;
receiving equipment information sent by the screen projection equipment, analyzing the equipment information to obtain a temporary identification code and a temporary authentication code, and determining the temporary authentication code as authentication information;
scanning the equipment identification of the screen projection equipment;
if the comparison relation between the equipment identification and the equipment information is judged to meet an information authentication condition, sending the authentication information to the screen projection equipment;
and receiving a screen projection connection completion instruction sent by the screen projection equipment.
4. The method of claim 3, wherein the information authentication condition is that the device identification is identical to the temporary identification code.
5. A screen projection equipment connecting system is characterized by comprising screen projection equipment and terminal equipment;
the screen projection device comprises:
the information generating module is used for generating equipment information of the screen projection equipment;
the first sending module is used for sending the equipment information to the terminal equipment when receiving an information acquisition request sent by the terminal equipment;
the first receiving module is used for receiving authentication information sent by the terminal equipment;
the first verification module is used for establishing connection with the terminal equipment if the authentication information passes verification;
the second sending module is used for sending a screen-throwing connection completion instruction to the terminal equipment;
the terminal device includes:
the third sending module is used for sending an information acquisition request to the screen projection equipment;
the second receiving module is used for receiving the equipment information sent by the screen projection equipment and generating authentication information according to the equipment information;
the identification scanning module is used for scanning the equipment identification of the screen projection equipment;
the second verification module is used for sending the authentication information to the screen projection equipment if the relation between the equipment identification and the equipment information meets an information authentication condition;
and the third receiving module is used for receiving a screen projection connection completion instruction sent by the screen projection equipment.
6. A connection device, comprising: a memory, a processor, and a screen projection device connection program stored on the memory and executable on the processor, the screen projection device connection program when executed by the processor implementing the steps of the screen projection device connection method as claimed in any one of claims 1-4.
7. A storage medium on which a screen projection device connection program is stored, the screen projection device connection program implementing the steps of the screen projection device connection method according to any one of claims 1 to 4 when executed by a processor.
CN202011468607.4A 2020-12-14 2020-12-14 Screen projection equipment connection method, system, equipment and storage medium Active CN112637842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011468607.4A CN112637842B (en) 2020-12-14 2020-12-14 Screen projection equipment connection method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011468607.4A CN112637842B (en) 2020-12-14 2020-12-14 Screen projection equipment connection method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112637842A CN112637842A (en) 2021-04-09
CN112637842B true CN112637842B (en) 2023-02-28

Family

ID=75312718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011468607.4A Active CN112637842B (en) 2020-12-14 2020-12-14 Screen projection equipment connection method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112637842B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110815B (en) * 2021-04-15 2021-12-21 深圳可视科技有限公司 Method and system for realizing screen transmission function through touch and collision, electronic equipment and storage medium
CN113099434B (en) * 2021-04-20 2022-03-11 深圳市旭联信息技术有限公司 Wireless co-screen device for magnetically attracting and connecting transmitting end and receiving end
CN114143581A (en) * 2021-11-24 2022-03-04 深圳康佳电子科技有限公司 Miracast-based screen projection quick connection method and device, television and storage medium
CN113965789B (en) * 2021-12-15 2022-05-17 荣耀终端有限公司 Screen projection method, terminal and communication system
CN114501120B (en) * 2022-01-11 2023-06-09 烽火通信科技股份有限公司 Multi-terminal wireless screen switching method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159643A (en) * 2015-09-21 2015-12-16 梁俊健 Two-dimensional code-based wireless screen transmission authentication method and system
JP2016066993A (en) * 2014-09-16 2016-04-28 株式会社リコー Program, information processing apparatus, and information processing system
CN110389738A (en) * 2019-06-27 2019-10-29 北京小米移动软件有限公司 A kind of throwing screen method, apparatus, terminal and storage medium
CN111988660A (en) * 2020-08-06 2020-11-24 锐捷网络股份有限公司 DLNA equipment screen projection method, gateway, terminal and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017228118A (en) * 2016-06-23 2017-12-28 富士通株式会社 Information processing device, information processing system, information processing program, and information processing method
CN111897507B (en) * 2020-07-30 2023-03-24 茂佳科技(广东)有限公司 Screen projection method and device, second terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016066993A (en) * 2014-09-16 2016-04-28 株式会社リコー Program, information processing apparatus, and information processing system
CN105159643A (en) * 2015-09-21 2015-12-16 梁俊健 Two-dimensional code-based wireless screen transmission authentication method and system
CN110389738A (en) * 2019-06-27 2019-10-29 北京小米移动软件有限公司 A kind of throwing screen method, apparatus, terminal and storage medium
CN111988660A (en) * 2020-08-06 2020-11-24 锐捷网络股份有限公司 DLNA equipment screen projection method, gateway, terminal and system

Also Published As

Publication number Publication date
CN112637842A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN112637842B (en) Screen projection equipment connection method, system, equipment and storage medium
CN111897507B (en) Screen projection method and device, second terminal and storage medium
CN112333474B (en) Screen projection method, system, equipment and storage medium
CN112040468B (en) Method, computing device, and computer storage medium for vehicle interaction
CN111782492A (en) Page first screen loading duration testing method and device, computer equipment and medium
US20130169670A1 (en) Electronic device and method for transmitting slide file during slide file presentation
CN112419693A (en) Device control method, device, display device and computer readable storage medium
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
CN105657445A (en) TV shopping system and implementing method thereof
CN112075085A (en) Electronic device and control method thereof
CN111309617A (en) Application program control method and device, storage medium and electronic equipment
CN112351093A (en) Screenshot image sharing method, device and equipment and computer readable storage medium
CN105303143B (en) Information scanning processing method, system and terminal
US20150019978A1 (en) Information processing apparatus, information processing method, and program
US20160117553A1 (en) Method, device and system for realizing visual identification
CN114040189A (en) Multimedia test method, device, storage medium and electronic equipment
CN109922457B (en) Information interaction method, device and system
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN112566126A (en) Method, device and equipment for connecting equipment
CN111339196A (en) Data processing method and system based on block chain and computer readable storage medium
CN110865911A (en) Image testing method and device, storage medium, image acquisition card and upper computer
CN110928766A (en) Application software testing method, device, equipment and computer readable storage medium
CN112163654B (en) Graphic code processing method and device, electronic equipment and readable storage medium
CN104079474A (en) Information transmission method, system and mobile terminal based on image identification
CN110311994A (en) The distribution request method, apparatus and readable storage medium storing program for executing of IP address

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