CN115474290B - Screen transmission data processing method, device and system - Google Patents

Screen transmission data processing method, device and system Download PDF

Info

Publication number
CN115474290B
CN115474290B CN202211031330.8A CN202211031330A CN115474290B CN 115474290 B CN115474290 B CN 115474290B CN 202211031330 A CN202211031330 A CN 202211031330A CN 115474290 B CN115474290 B CN 115474290B
Authority
CN
China
Prior art keywords
screen transmission
screen
applet
information
transmission device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211031330.8A
Other languages
Chinese (zh)
Other versions
CN115474290A (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.)
Hunan Xulian Technology Co ltd
Original Assignee
Hunan Xulian 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 Hunan Xulian Technology Co ltd filed Critical Hunan Xulian Technology Co ltd
Priority to CN202211031330.8A priority Critical patent/CN115474290B/en
Publication of CN115474290A publication Critical patent/CN115474290A/en
Application granted granted Critical
Publication of CN115474290B publication Critical patent/CN115474290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data processing method, device and system for a screen transmission. The method comprises the steps that the two-dimension codes of the small program are dynamically generated on the screen transmission device, so that the terminal can extract first information contained in the two-dimension codes of the small program when scanning the two-dimension codes of the small program generated by the screen transmission device, connection is established with the screen transmission device according to the first information, and screen throwing is directly started after connection is established. In addition, the method further comprises the steps that a plurality of encryption modes are preset for the screen transmission code, in the network distribution process, the terminal encrypts data sent by the terminal through the encryption mode corresponding to the random code, and the screen transmission device decrypts the received broadcast message through the decryption mode corresponding to the encryption mode. In addition, the method further enables the applet two-dimensional code generated by the screen transmission device to be updated according to the preset rule, so that the applet two-dimensional code contains different information, and the user requirements of the screen transmission device in different states can be met.

Description

Screen transmission data processing method, device and system
Technical Field
The present disclosure relates to the field of data transmission and display technologies, and in particular, to a method, an apparatus, and a system for processing data of a screen.
Background
Along with the development of economy, the living standard of people is continuously improved, people are no longer satisfied with the acquisition of information by using a terminal with a small screen, and the appearance of the screen transmission technology satisfies the audiovisual desire of people. The screen transfer technology, as its name implies, transfers the content on one screen to another screen for display, and is widely used in the fields of work conferences, home theatres, education, medical treatment, etc. Common screen transfer technologies fall into two main categories: one is a wired screen, two screens are connected through a data line such as USB or HDMI; the other is wireless screen transmission, and screen data is transmitted in a wireless mode. With the development of wireless transmission technology and the popularization of 4G and 5G networks, wireless transmission screen is becoming the mainstream at present.
In the existing wireless screen transmission technology, one mode is that a screen transmission device is connected with target equipment, so that picture content is sent to the screen transmission device by a source equipment in a wireless mode and displayed by the target equipment. However, the connection process of the existing wireless screen transmission technology is complex, the screen transmission device and the terminal are required to be connected in a Bluetooth, access Point (AP), NFC or acoustic wave mode, and then the screen transmission device is connected through a network for the first time by the terminal (such as a mobile phone, pad and other equipment); and in the network distribution process, the WIFI information of connection needs to be input in the terminal, the WIFI information is wirelessly transmitted to the screen transmission device through connection established by the WIFI information and the screen transmission device receives the WIFI information and is connected to the corresponding WIFI, the network distribution process is complex, more information needs to be input and transmitted, and the user experience is poor. In addition, after the screen transmission device is successfully allocated with the network, the user also needs to input corresponding information to establish screen transmission connection with the screen transmission device. As can be seen from the above, the steps of using the screen transferring device for the first time are complicated, and the operation is complex, wherein the failure of screen transferring may be caused by any one of the steps; in addition, in the network distribution process, other terminals can also be connected with the network distribution, so that network distribution or screen transmission confusion is easily caused.
Therefore, a fast, efficient and convenient data processing method is needed to improve the use experience of the screen transmission device.
Disclosure of Invention
Based on the above, the application provides a data processing method, device and system for screen transmission, and a rapid, efficient and convenient data processing method is realized.
In order to achieve the above object, the present application provides a data processing method for a screen transmission, including:
the screen transmission device dynamically generates an applet two-dimensional code according to a preset first time interval;
the terminal scans the applet two-dimensional code generated by the screen transmission device and logs in the corresponding applet;
extracting first information contained in the applet two-dimensional code;
and establishing connection with the screen transmission device according to the first information and transmitting the screen.
Further, the first information includes: and presetting a regular random code, an MAC address of the screen transmission device and a screen transmission code.
Further, the establishing connection with the screen transmission device according to the first information and screen transmission includes:
extracting the first information, and acquiring a corresponding encryption mode by a background server according to the random code of the preset rule and the MAC address of the screen transmission device;
encrypting and transmitting the first WIFI information connected with the terminal in the encryption mode;
after receiving the encrypted first WIFI information, the screen transmission device decrypts the first WIFI information by using a corresponding decryption mode and is connected to the corresponding first WIFI;
and establishing connection with the screen transmission device through the screen transmission code and starting screen transmission.
Further, after the connection is established with the screen transmission device through the screen transmission code and screen transmission is started, the method further comprises:
if the screen transmission device detects that the screen transmission device is connected to a wireless network, the applet two-dimensional code is updated, and the updated applet two-dimensional code contains second information.
Specifically, the second information is used for prompting other users who sweep codes, and the screen transmission device is in a screen transmission state.
Further, after the updating of the applet two-dimensional code, the method further includes:
if the screen transmission device does not detect the screen transmission data in the preset second time, feeding back the screen transmission failure information to the terminal, and updating the applet two-dimensional code according to a preset rule.
Specifically, the updating the applet two-dimensional code according to a preset rule includes:
and updating the applet two-dimensional code according to a preset third time interval, wherein the updated applet two-dimensional code comprises third information.
Specifically, the third information includes: the screen transmission code and the WIFI information connected with the screen transmission device; and the third information is used for establishing network connection between the screen transmission device and the scanning terminal and carrying out screen transmission.
In order to achieve the above object, the present application further provides a screen transmission device, including:
the device comprises an applet two-dimensional code generation module, a screen transmission device and a screen transmission device, wherein the applet two-dimensional code generation module is used for dynamically generating an applet two-dimensional code according to a preset first time interval when the screen transmission device is not connected with a network, and the applet two-dimensional code comprises a random code with a preset rule, an MAC address of the screen transmission device and the screen transmission code;
and the applet two-dimensional code updating module is used for updating the applet two-dimensional code when the screen transfer device is successfully distributed with the network.
To achieve the above object, the present application further provides a screen transfer system, comprising a screen transfer device and a terminal, the screen transfer device and the terminal comprising a memory and a processor, the memory storing a computer program, which when executed by the processor, causes the system to perform the method according to any one of claims 1 to 8.
According to the data processing method for the screen transmission, the applet two-dimensional code is dynamically generated on the screen transmission device according to the preset first time interval, so that a terminal can log in a corresponding applet when scanning the applet two-dimensional code generated by the screen transmission device, first information contained in the applet two-dimensional code is extracted, connection is established with the screen transmission device according to the first information, and screen throwing is directly started after connection is established. By the method, when the screen transfer device is used for network distribution, the network distribution can be completed by directly scanning the applet two-dimensional code; and after the network distribution is finished, screen throwing can be directly started, and screen transmission codes do not need to be input, so that the whole connection process is convenient and quick. In addition, the method further presets a plurality of encryption modes and corresponding decryption modes for the screen transmission code, and in the network distribution process, the terminal can obtain the encryption mode which is needed to be used currently through the MAC address of the screen transmission device and the generated random code; after the terminal scans the applet two-dimensional code of the screen transmission device, the terminal can automatically encrypt the connected WIFI information in the encryption mode and then send the encrypted WIFI information to the screen transmission device; the screen transmission device decrypts the received broadcast message by adopting a decryption mode corresponding to the encryption mode, and can be automatically connected to the corresponding WIFI according to the WIFI information after receiving the WIFI information sent by the terminal. The WIFI information is sent through the mode to complete the distribution network, so that the distribution network is convenient and safe, and efficient distribution network is realized. In addition, the method further enables the applet two-dimensional code generated by the screen transmission device to be updated according to the preset rule, so that the applet two-dimensional code contains different information, and the user requirements of different stages can be met.
In addition, after the network is successfully allocated, the updated applet two-dimensional code comprises the connected WIFI information and the screen transmission code, so that a user can quickly connect the WIFI and screen transmission by scanning the updated applet two-dimensional code. The novel screen transmission device solves the technical problems that when a novel user carries out screen transmission, the novel user needs to be manually connected to the same WIFI as the screen transmission device and inputs related information, the connection process of other users can start screen transmission, the connection process is complicated, and the time consumption is long, and the user experience is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a flow chart of a data processing method of a pass screen in one embodiment;
FIG. 2 is a flow diagram of the connection setup and screen transfer of a screen transfer in one embodiment;
FIG. 3 is a schematic diagram of a screen transfer device in one embodiment;
fig. 4 is a system schematic diagram of a data processing method of a screen in an embodiment.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It is noted that the terms "comprising," "including," and "having," and any variations thereof, in the description and claims of the present application and in the foregoing figures, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. In the claims, specification, and drawings of this application, relational terms such as "first" and "second," and the like are used solely to distinguish one entity/operation/object from another entity/operation/object without necessarily requiring or implying any actual such relationship or order between such entities/operations/objects.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Reference herein to a "terminal" refers to various terminals having camera means, which may be various removable terminals, such as: a mobile phone, a tablet or a notebook computer, or other intelligent terminals which can be used for scanning and identifying two-dimension codes.
The term "screen transfer device" referred to herein means a device having a screen transfer function, which can display screen information displayed in one electronic apparatus on a screen of a target display apparatus; the screen transmission device can be integrated in the target display equipment or independently exist and is connected with the target display equipment through wireless or various interfaces such as US B, TYPE-C, HDMI and the like.
The term "applet two-dimensional code" as referred to herein refers to a two-dimensional code in a special format, which is associated with an applet of an application program, where the application program may be a popular application such as WeChat, payment, microblog, today's headnote, tremble, etc., and the terminal may acquire information included in the applet two-dimensional code and jump to the applet of the corresponding application program by scanning the applet two-dimensional code.
An exemplary description of a data processing method for a screen according to an embodiment of the present invention is provided below with reference to fig. 1.
As shown in fig. 1, a data processing method for a screen transmission is provided, and the method specifically includes the following steps:
s101, dynamically generating an applet two-dimensional code by the screen transmission device according to a preset first time interval;
in this embodiment, when the screen transmission device is connected for the first time, a network configuration operation is required, the network configuration operation dynamically generates and displays an applet two-dimensional code, a new applet two-dimensional code can be generated every two minutes or every five minutes, and the time interval can be set as required.
S103, the terminal scans the applet two-dimensional code generated by the screen transmission device and logs in the corresponding applet;
in this embodiment, the terminal identifies the applet two-dimensional code generated by the screen transmitting device through the one-sweep function, and after the identification is successful, the terminal automatically jumps to the applet corresponding to the applet two-dimensional code. The sweep-sweep function may be a sweep-sweep function integrated by the terminal system, or a sweep-sweep function in the application program, which is not limited herein. If the terminal system integrated sweep function is used, automatic jump to the corresponding application program and opening of the corresponding applet can be realized, for example: and automatically jumping to the WeChat application program by scanning the two-dimensional code of the WeChat applet, and opening the corresponding applet.
S105, extracting first information contained in the applet two-dimensional code;
specifically, the first information may include: and presetting a regular random code, an MA C address of the screen transmission device and the screen transmission code, so that the terminal can finish the operations of network allocation and screen transmission connection establishment according to the first information. The first information includes information not limited thereto but may include other desired information.
And S107, establishing connection with the screen transmission device according to the first information and transmitting a screen.
In this embodiment, the terminal performs network distribution on the screen transmission device by extracting information included in the applet two-dimensional code, and transmits the extracted screen transmission code to the logged applet, where the logged applet establishes screen transmission connection with the screen transmission device according to the screen transmission code and a preset frequency until the screen transmission connection is successfully established with the screen transmission device or the screen transmission connection is not established for more than a preset time.
In this embodiment, when a user needs to transfer the screen content of the terminal to other display devices through the screen transfer device, because the screen transfer device is not used for the first time or is not in a network connection state, the screen transfer device needs to be configured with a network, so that the screen transfer device can be connected with the terminal under the same wireless network. It should be noted that the wireless network may be a wireless network in a home, or may be a hotspot transmitted by a terminal, a screen transmission device or other devices, which is not limited herein.
When the screen transmission device completes the distribution network, as the screen transmission code is contained in the applet two-dimensional code, the terminal automatically acquires the screen transmission code when the terminal identifies the applet two-dimensional code through scanning, so that the terminal can automatically establish connection with the screen transmission device through the applet, and the screen transmission code is prevented from being manually input again to establish connection, the screen transmission step is realized, and the user experience is improved. In the embodiment, the screen transmission device generates the applet two-dimensional code, so that the terminal does not need to download the application program corresponding to the screen transmission device to realize the network distribution, the network distribution and the subsequent screen transmission operation can be directly completed through the applet, and the situation that the downloaded corresponding application program occupies more memory is avoided; and, can include required information in the applet two-dimensional code, for example join in marriage net relevant information and pass the screen code for the terminal is after joining in marriage the net to pass the screen device, can realize establishing and pass the screen connection and carry out the operation of passing the screen through the applet, makes the screen of passing for the first time more convenient.
Specifically, as shown in fig. 2, in step S107, the establishing connection with the screen transmission device according to the first information and screen transmission includes:
s1071, extracting the first information, and acquiring a corresponding encryption mode by a background server according to the random code of the preset rule and the MAC address of the screen transmission device;
specifically, after the terminal scans the applet two-dimensional code generated by the screen transmission device, the terminal jumps to the corresponding applet, and the applet can be defaulted to communicate with the background server because the applet is developed for the manufacturer of the screen transmission device. The terminal can obtain the encryption mode and decryption mode corresponding to the current random code by extracting the random code of the preset rule in the two-dimensional code of the small program and the MAC address of the screen transmission device and communicating with the background server.
In one embodiment, the random code of the preset rule may be a separate random code, and the screen transmitting device has a rule set at the time of delivery, for example, the random code is obtained by calculation according to the time-seconds of the current time, or a random number generation formula is adopted to generate the random code, and the preset rule is bound with the MAC address of the screen transmitting device.
Specifically, when the first time interval is set to 3 minutes and the current time is 14 hours, 23 minutes and 56 seconds, the random code is obtained by taking the number of digits of the current time minutes, that is, the random code of the screen transmission device at the current time is 3, and when the random code is updated next time, the random code is updated to be 6. As described above, the random code may also be generated by a random number formula, and the number of bits of the random code may be adjusted according to the number of encryption modes, not limited to a one-bit number.
In another embodiment, the random code of the preset rule may be obtained by combining the MAC address of the screen device with other information, for example, by extracting the number of the specific location of the MAC address, and calculating the random code in combination with the current time.
Specifically, when the last digit of the MAC address of the screen transmission device is B and the current time is 14 hours 23 minutes 56 seconds, the random code is obtained by taking the digit of the current time minute and adding the last digit of the MAC address B, that is, the random code is 14. It should be noted that the above manner is merely an example, and the generation manner of the random code is not limited thereto. And, it can be understood that the more complex the rule of the random code generation, the higher the security performance thereof.
It will be appreciated that the random code of the preset rule, regardless of how it is generated, is stored in the background server along with the MAC address of the pass-through device. The background server combines the MAC address and the random code of the screen transmission device, so that other information stored in the background server by the screen transmission device can be queried.
Further, the background server stores the MAC address of the screen transmission device, the random code of the preset rule, the encryption mode and the corresponding decryption mode. After the terminal acquires the MAC address of the screen transmission device and a random code with a preset rule, the terminal can acquire an encryption mode through a background server; and because the screen transmission device generates the random code, the screen transmission device can obtain a corresponding decryption mode through the random code.
Specifically, the screen transmission device can have various encryption modes and various corresponding decryption modes, and the diversification of the encryption modes can prevent information leakage caused by interception of WIFI information when the terminal sends the WIFI information. It can be understood that if the screen transmission device only adopts a single encryption mode or directly adopts the MAC address to encrypt, when the terminal transmits the WIFI information in a broadcast mode, other terminals or the screen transmission device can also acquire the WIFI information due to the broadcast mode. And, other terminals or pass screen device accessible are broken the information of receiving to obtain this WIFI information, can cause information leakage this moment. In this embodiment, the screen transmission device may have multiple encryption modes by introducing the random code with the preset rule, and the multiple encryption modes may be dynamically changed, that is, the encryption modes used by the screen transmission device may be different at different moments, even if the MAC address of the screen transmission device is obtained, since the information adopts the dynamic encryption mode, other information cannot be easily broken from the monitored information, so that the data security is greatly improved.
Further, although the screen transmission device has multiple decryption modes and multiple corresponding decryption modes, the screen transmission device and the terminal both know the preset rule of the random code, so that the screen transmission terminal can acquire what decryption mode needs to be used for decrypting data at the moment through the generated random code, and does not need to adopt multiple decryption mode polling modes for decryption when receiving the data, thereby improving the data security, improving the receiving efficiency and enabling the network distribution process to be quicker.
S1072, encrypting and sending the first WIFI information connected with the terminal through the encryption mode, so that the screen transfer device can successfully decrypt the first WIFI information by using a decryption mode corresponding to the encryption mode after receiving the encrypted first WIFI information and is connected to the corresponding first WIFI;
specifically, the terminal is currently connected with first WIFI information, after the terminal scans the applet two-dimensional code of the screen transmission device, the terminal jumps to the corresponding applet, and the encryption mode which needs to be adopted at present is acquired through a background server by combining the MAC address and the random code of the screen transmission device, and the first WIFI information is encrypted through the encryption mode and then sent out through electromagnetic waves. Because the information is sent through electromagnetic waves, all other terminals and other screen transmission devices can receive the information, however, only the screen transmission device has a corresponding decryption mode, the device decrypts the monitored electromagnetic wave data by adopting the decryption mode, and when the first WIFI information is acquired, the device is automatically connected to the corresponding first WIFI. If the current first WIFI information cannot be connected to the first WIFI network, displaying network distribution failure information, such as 'network distribution failure, retry request', on the target display device, and updating the applet two-dimensional code. By the network distribution method, the security and convenience of the network distribution are greatly improved, and after the user scans the applet two-dimensional code, the network distribution can be completed without complicated operation. It should be noted that, the electromagnetic wave may be transmitted by a conventional single antenna or by multiple antennas; the first WIFI information may be WIFI information connected to a 2.4G frequency band, or WIFI information connected to a 5G frequency band, which is not limited herein, and may be selected as required.
S1073, establishing connection with the screen transmission device through the screen transmission code and starting screen transmission.
Specifically, since the first information further includes a screen transfer code, the terminal can synchronously acquire the screen transfer code from the applet two-dimensional code during scanning. After the screen transmission device is matched with the network, the screen transmission code is automatically input through the small program and the screen transmission connection is established with the screen transmission terminal, and the screen transmission operation is performed through the small program, including the operations of starting screen transmission, ending screen transmission, disconnecting and screen transmission, such as the operations of changing the screen transmission resolution, the picture code rate and the like. Through the mode, after the user scans the two-dimension code of the applet, the network distribution can be directly completed, the screen connection can be automatically established, the screen projection can be started, the operation is simple, and the user experience is excellent.
In one embodiment, after the connection is established with the screen transmission device through the screen transmission code and screen transmission is started, the method further comprises:
and S1074, if the screen transmission device detects that the screen transmission device is connected to a wireless network, updating the applet two-dimensional code, wherein the updated applet two-dimensional code comprises second information.
Specifically, the second information is used for prompting other users who sweep codes, and the screen transmission device is in a screen transmission state. By the mode, after the screen transmission device detects that the screen transmission device completes the distribution network, the small program two-dimensional code is updated because the screen transmission device does not need to carry out the distribution network. And the situation that other users scan the applet two-dimensional code and simultaneously carry out network distribution at the same time, so that connection confusion is caused is avoided.
Further, the second information included in the updated applet two-dimensional code is null or information indicating the status thereof. For example: when the second information is empty, when other users scan the applet two-dimensional code at the moment, no operation is performed; when the second information is information indicating the state of the second information, when other users scan the applet two-dimensional code at the moment, feedback is obtained as 'the existing other users are operating'. Therefore, when the current terminal is in operation, other terminals are also operated at the same time, and the network distribution connection is disordered or the follow-up screen transmission is disordered.
Further, after the updating of the applet two-dimensional code, the method further includes:
and S1075, if the screen transmission device does not detect the screen transmission data within the preset second time, feeding back the screen transmission failure information, and updating the applet two-dimensional code according to the preset rule.
Specifically, when the screen transmission device detects that the network allocation is successful in the preset second time, but the screen transmission data is not detected, it may be determined that the screen transmission action is abnormal, where the abnormality may be abnormal in network condition, or abnormal in the current connection terminal, etc., so that the screen transmission data is not normally sent to the screen transmission device, and at this time, feedback screen transmission failure information on the target display device, for example: "network allocation succeeds, but screen transmission fails"; and updating the applet two-dimensional code according to a preset rule, so that other terminals or current terminals can scan the two-dimensional code, perform connection screen transmission operation and start screen transmission.
Further, the updating the applet two-dimensional code according to a preset rule specifically includes:
and updating the applet two-dimensional code according to a preset third time interval, wherein the updated applet two-dimensional code comprises third information.
Specifically, the third information includes: and the screen transmission code and the connected WIFI information of the screen transmission device.
It can be understood that, by adopting the data processing method, the first connection of the screen transmission device is more convenient, the network distribution can be realized and the screen transmission connection can be established only by scanning the applet two-dimensional code by the terminal, however, after the network distribution is realized by the screen transmission device, the terminal may not start screen transmission due to other reasons, for example: the terminal crashes, the applet flashes back, or the terminal can not play the content of the screen to be transmitted and other emergency situations; or the terminal has finished transmitting the screen, and needs to be switched to other terminals to continue transmitting the screen. When the situation occurs, if the information contained in the applet two-dimensional code stays in the second information, no terminal can transmit the screen at present, and user experience is seriously affected. Therefore, a third time interval is set for updating the applet two-dimensional code to include third information. The third time interval may be the same as the first time interval or may be different. And the user scans the applet two-dimensional code containing the third information to realize the screen transmission operation.
Further, the third information includes: the screen transmission code and the WIFI information connected with the screen transmission device; and the third information is used for establishing network connection between the screen transmission device and the scanning terminal and carrying out screen transmission.
It can be understood that when the screen transfer device updates the applet two-dimensional code to include the third information, the screen transfer device has completed the first network allocation operation, and other terminals or terminals for which the network allocation is performed are not required to perform the network allocation operation when the screen transfer device transfers the screen again, so that the connection can be directly performed and the screen transfer can be started. However, in the prior art, in this scenario, the terminal needs to be connected to the same WIFI as the screen transmission device first, so that the terminal is in the same network, and the screen transmission code is manually input to establish the screen transmission connection, which is too cumbersome. In this embodiment, when the screen transmission device updates the applet two-dimensional code to include third information, the third information includes: the screen transmission code and the WIFI information connected with the screen transmission device; and the third information is used for establishing network connection between the screen transmission device and the scanning terminal and carrying out screen transmission.
It can be understood that when the terminal scans the applet two-dimensional code containing the third information, the terminal can jump to the corresponding applet, and the terminal is automatically connected to the wireless network corresponding to the screen transmission device by acquiring the WIFI information connected to the screen transmission device in the third information. And because the third information contains the screen transmission code, the terminal can also acquire the screen transmission code and automatically establish screen transmission connection with the screen transmission device so as to realize screen transmission operation. Through the operation, when the terminal is used for transmitting the screen through the screen transmission device of the matched network, the wireless network is not required to be connected manually, the screen transmission code is not required to be input manually, and the terminal is only required to scan the applet two-dimensional code carrying the third information, so that the screen transmission connection can be automatically established with the screen transmission device, and the screen transmission operation can be easily realized.
As shown in fig. 3, in one embodiment, there is provided a screen transfer device, the device including: a memory and a processor, the memory storing a computer program, the computer program being executed by the processor; the apparatus further comprises:
the applet two-dimensional code generation module 302 is configured to dynamically generate an applet two-dimensional code according to a preset first time interval when the screen transmission device is not connected to a network, where the applet two-dimensional code includes a random code of a preset rule, an MAC address of the screen transmission device, and a screen transmission code;
the applet two-dimensional code display module 304 is configured to display the applet two-dimensional code, so that when the terminal scans the applet two-dimensional code, the terminal logs in to a corresponding applet, extracts first information contained in the applet two-dimensional code, and establishes connection with the screen transmission device and transmits a screen according to the first information.
Further, the system also comprises an applet two-dimensional code updating module which is used for updating the applet two-dimensional code when the screen transmission device is successfully distributed with the network.
Specifically, the two-dimension code updating module of the applet comprises a first updating module, wherein the first updating module is used for carrying out first updating on the two-dimension code of the applet after the screen transfer device detects that the screen transfer device finishes the network distribution, so that the condition that other users scan the two-dimension code of the applet at the moment and simultaneously distribute the network is avoided, and the connection is disordered.
In another embodiment, the two-dimension code updating module of the applet includes a second updating module, where the second updating module is configured to perform a second updating on the two-dimension code of the applet when the screen transfer device detects that the network allocation is successful in a preset second time, but does not detect the screen transfer data, so that other terminals or the current terminal can scan the two-dimension code, perform a connection screen transfer operation, and start screen transfer.
Further, the screen transmission device also comprises a prompt module which is used for,
when the screen transmission device receives the first WIFI information and cannot be connected, carrying out network allocation failure prompt;
and when the screen transmission device detects that the network distribution is successful in a preset second time, but does not detect the screen transmission data, carrying out screen transmission failure prompt.
As shown in fig. 4, in one embodiment, a system for implementing a data processing method of screen transfer is provided, including a memory and a processor, where the memory stores a computer program, and the computer program when executed by the processor causes the processor to execute the data processing method of screen transfer.
It will be appreciated that the above-mentioned data processing method for screen transmission, screen transmission device and screen transmission system belong to a general inventive concept, and the embodiments are mutually applicable.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (9)

1. A data processing method for a pass screen, the method comprising:
the screen transmission device dynamically generates an applet two-dimensional code according to a preset first time interval;
the terminal scans the applet two-dimensional code and logs in the corresponding applet;
extracting first information contained in the applet two-dimensional code;
wherein the first information at least includes: presetting a regular random code, an MAC address of the screen transmission device and a screen transmission code;
establishing connection with the screen transmission device according to the first information and transmitting the screen, wherein the connection comprises the following steps:
according to the random code of the preset rule and the MAC address of the screen transmission device, a background server acquires a corresponding encryption mode;
encrypting and transmitting the connected first WIFI information in the encryption mode;
and automatically inputting the screen transmission code through the applet and establishing screen transmission connection with the screen transmission terminal.
2. The method according to claim 1, wherein the establishing connection with the screen transmitting device according to the first information and transmitting the screen includes:
after receiving the encrypted first WIFI information, the screen transmission device decrypts the first WIFI information by using a corresponding decryption mode and is connected to the corresponding first WIFI.
3. The method of claim 2, wherein the establishing a connection with the screen-passing device via the screen-passing code and starting screen-passing further comprises:
if the screen transmission device detects that the wireless network is connected, the applet two-dimensional code is updated, and the updated applet two-dimensional code contains second information.
4. The method of claim 3, wherein the second information is used to prompt other users to scan the code, and the screen-transmitting device is in a screen-transmitting state.
5. The method of claim 4, further comprising, after the updating the applet two-dimensional code:
if the screen transmission device does not detect the screen transmission data in the preset second time, feeding back the screen transmission failure information to the terminal, and updating the applet two-dimensional code according to a preset rule.
6. The method of claim 5, wherein updating the applet two-dimensional code according to a preset rule comprises:
and updating the applet two-dimensional code according to a preset third time interval, wherein the updated applet two-dimensional code comprises third information.
7. The method of claim 6, wherein the third information comprises: the screen transmission code and the WIFI information connected with the screen transmission device; and the third information is used for establishing network connection between the screen transmission device and the scanning terminal and carrying out screen transmission.
8. A screen transfer device, the device comprising:
the small program two-dimension code generation module is used for dynamically generating small program two-dimension codes according to a preset first time interval when the screen transmission device is not connected with a network;
the applet two-dimensional code display module is used for displaying the applet two-dimensional code so as to enable the terminal to log in the corresponding applet when scanning the applet two-dimensional code;
the applet two-dimensional code comprises first information, wherein the first information at least comprises: presetting a regular random code, an MAC address of the screen transmission device and a screen transmission code;
the random code of the preset rule and the MAC address of the screen transmission device are used for the terminal to acquire the corresponding encryption mode,
and sending the connected first WIFI information in the encryption mode;
the screen transmission code is used for automatically inputting the screen transmission code by the terminal applet and establishing screen transmission connection with the screen transmission terminal.
9. A screen transfer system comprising a screen transfer device and a terminal, the screen transfer device and terminal comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the system to perform the steps of the method of any one of claims 1 to 7.
CN202211031330.8A 2022-08-26 2022-08-26 Screen transmission data processing method, device and system Active CN115474290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211031330.8A CN115474290B (en) 2022-08-26 2022-08-26 Screen transmission data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211031330.8A CN115474290B (en) 2022-08-26 2022-08-26 Screen transmission data processing method, device and system

Publications (2)

Publication Number Publication Date
CN115474290A CN115474290A (en) 2022-12-13
CN115474290B true CN115474290B (en) 2023-06-16

Family

ID=84369602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211031330.8A Active CN115474290B (en) 2022-08-26 2022-08-26 Screen transmission data processing method, device and system

Country Status (1)

Country Link
CN (1) CN115474290B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565842A (en) * 2020-12-04 2021-03-26 广州视源电子科技股份有限公司 Information processing method, device and storage medium
CN114936012A (en) * 2022-04-26 2022-08-23 长沙朗源电子科技有限公司 Method and device for realizing screen projection by encrypting and scanning two-dimensional code

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163174B (en) * 2015-09-10 2018-12-21 康佳集团股份有限公司 A kind of method and system being connect based on mobile scanning terminal two dimensional code with TV
CN108366362B (en) * 2018-02-01 2021-02-12 乐鑫信息科技(上海)股份有限公司 MESH network and MESH equipment security network distribution method thereof
CN113507708A (en) * 2021-06-25 2021-10-15 深圳乐播科技有限公司 Screen projection method and screen projection system
CN215871677U (en) * 2021-08-06 2022-02-18 南昌斐耳视听电子有限公司 Wireless screen projection system and equipment for wearable display

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565842A (en) * 2020-12-04 2021-03-26 广州视源电子科技股份有限公司 Information processing method, device and storage medium
CN114936012A (en) * 2022-04-26 2022-08-23 长沙朗源电子科技有限公司 Method and device for realizing screen projection by encrypting and scanning two-dimensional code

Also Published As

Publication number Publication date
CN115474290A (en) 2022-12-13

Similar Documents

Publication Publication Date Title
KR102149587B1 (en) Identity authentication method and device
US11196553B2 (en) Command transmission method and apparatus, electronic device
EP2405622B1 (en) Device communication
EP3001640B1 (en) Secure information exchange methods and wearable device
US11816370B2 (en) Communication apparatus that provides a communication parameter and method of controlling the same
CN110138744B (en) Method, device and system for replacing communication number, computer equipment and storage medium
EP2861002A1 (en) Virtual user identification data distributing method and obtaining method, and devices
CN108702607B (en) Multi-device wireless connection method and device
CN108762791A (en) Firmware upgrade method and device
CN106572427B (en) Method and device for establishing near field communication
WO2018049892A1 (en) Data transmission method and apparatus, and terminal
JP2018006983A (en) Communication device, communication method, and program
EP2978162B1 (en) Anti-counterfeiting verification method, device and system
US20070208947A1 (en) Portable telephone and program for sending and receiving electronic mail
US20170006004A1 (en) Network Configuration Method, and Related Apparatus and System
CN109547196B (en) Watch token system implementation method, watch token system and device
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
CN115474290B (en) Screen transmission data processing method, device and system
CN107172718B (en) Information processing method and electronic equipment
US20190037612A1 (en) Connecting method to an information capture device
CN114826591A (en) Cross-device data transmission method, system and terminal
CN114189950A (en) Information interaction method, information interaction device, server and storage medium
CN107864467B (en) Information transmission method and device for improving transmission speed between mobile terminal and equipment
CN115499700B (en) Screen transmission data processing method, device and system
JP6654934B2 (en) Authentication system

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