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

Screen transmission data processing method, device and system Download PDF

Info

Publication number
CN115499700B
CN115499700B CN202211032170.9A CN202211032170A CN115499700B CN 115499700 B CN115499700 B CN 115499700B CN 202211032170 A CN202211032170 A CN 202211032170A CN 115499700 B CN115499700 B CN 115499700B
Authority
CN
China
Prior art keywords
network
screen transmission
applet
transmission device
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211032170.9A
Other languages
Chinese (zh)
Other versions
CN115499700A (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.)
CSmartlink Information Technology Co Ltd
Original Assignee
CSmartlink Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CSmartlink Information Technology Co Ltd filed Critical CSmartlink Information Technology Co Ltd
Priority to CN202211032170.9A priority Critical patent/CN115499700B/en
Publication of CN115499700A publication Critical patent/CN115499700A/en
Application granted granted Critical
Publication of CN115499700B publication Critical patent/CN115499700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • 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)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

According to the screen transmission data processing method, when the screen transmission device is connected, the wireless network quality information which can be connected with the current screen transmission device is detected, if the network quality is lower than a preset threshold value, a first small program code is generated and displayed, and otherwise, a second small program code is generated and displayed; the terminal logs in the corresponding applet through scanning and identifying the first applet code or the second applet code, establishes connection with the screen transmission device and transmits the screen. According to the method, when the device needs to be connected with the screen transmission device, quality information of a wireless network in the environment where the screen transmission device is located is detected, if the quality of the wireless network in the environment is poor, a first applet code is generated, otherwise, a second applet code is generated, and the screen transmission device is connected by generating two different applet codes, so that the screen transmission device can stably transmit the screen no matter what wireless network environment the screen transmission device is located in, and user experience is improved.

Description

Screen transmission data processing method, device and system
Technical Field
The present application 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 for the first time through the terminal (such as a mobile phone, pad and other equipment); and in the connection process, the WIFI information of the connection needs to be input in the terminal, the WIFI information is wirelessly transmitted to the screen transmission device through the connection established by the WIFI information and the screen transmission device, the screen transmission device receives the WIFI information and is connected to the corresponding WIFI, the connection process is complex, more information needs to be input and transmitted, and the user experience is poor. In addition, in the existing wireless screen transmission technology, if the network environment is not good, blocking is easy to cause, when the network is disconnected, screen transmission failure is directly caused, connection needs to be carried out again, operation is complex, and user experience is poor.
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 method for processing screen data, including:
the screen transmission device detects the quality information of the wireless network which can be connected currently;
if the network quality is lower than a preset threshold, generating and displaying a first applet code;
otherwise, generating and displaying a second applet code;
the terminal scans and identifies the first or second applet code;
the terminal logs in the applet according to the first applet code or the second applet code, establishes connection with the screen transmission device and transmits the screen.
Further, if the network quality is lower than a preset threshold, generating and displaying a first applet code includes:
ordering according to the connectable network quality information to obtain two network accounts and passwords with the best network quality information;
and generating and displaying a first applet code according to the two network account numbers and the passwords with the best network quality information.
Further, the screen transmission device is switched to be connected to a network with the best network quality according to the network quality information, and takes the currently connected network as a first network and the other network as a second network;
and generating and displaying a first small program code according to the first network account number, the second network account number and the password.
Further, the generating and displaying the second applet code includes:
acquiring a network account number and a password which are currently connected with the screen transmission device as first network information;
and generating and displaying second applet codes according to the first network information.
Further, the first applet code and the second applet code further comprise a connection screen transmission code;
the terminal logs in the applet according to the first applet code or the second applet code, establishes connection with the screen transmission device and transmits the screen, and comprises the following steps:
extracting network information and screen transmission codes in the first or second applet codes;
the terminal is connected to the corresponding first network according to the network information;
and establishing connection with the screen transmission device and carrying out screen transmission according to the screen transmission code through the logged applet.
Further, the method further comprises:
and if the current first network quality is lower than a first threshold value, the screen transmission device or the terminal is switched to the second network, and the terminal or the screen transmission device is triggered to be switched to the second network.
Further, the first applet code also comprises a first encryption code, and the first encryption code corresponds to a first data encryption transmission mode;
the second applet code also comprises a second encryption code, and the second encryption code corresponds to a second data encryption transmission mode.
In order to achieve the above object, the present application further provides a screen transmission device, which includes:
the signal detection module is used for detecting the quality information of the wireless network which can be connected currently;
the small program code generation module is used for generating a first small program code or a second small program code according to the detection result of the signal detection module;
the applet code display module is used for displaying the first applet code or the second applet code, so that the terminal scans and identifies the corresponding applet when the first applet code or the second applet code is registered, and establishes connection with the screen transmission device and transmits the screen.
Further, the apparatus further comprises:
and the network switching module is used for switching the networks of the screen transmission device and the terminal from the first network to the second network when the signal detection module detects that the network quality of the first network is lower than a first threshold value.
To achieve the above object, the present application also 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 7.
According to the screen transmission data processing method, when the screen transmission device is connected, the wireless network quality information which can be connected with the current screen transmission device is detected, if the network quality is lower than a preset threshold value, a first small program code is generated and displayed, and otherwise, a second small program code is generated and displayed; the terminal logs in the corresponding applet through scanning and identifying the first applet code or the second applet code, establishes connection with the screen transmission device and transmits the screen. According to the method, when the device needs to be connected with the screen transmission device, quality information of a wireless network in the environment where the screen transmission device is located is detected, if the quality of the wireless network in the environment is poor, a first applet code is generated, otherwise, a second applet code is generated, and the screen transmission device is connected by generating two different applet codes, so that the screen transmission device can stably transmit the screen no matter what wireless network environment the screen transmission device is located in, and user experience is improved.
In addition, when the screen transmission device is in a better wireless network environment, the method can meet the requirement of smooth screen transmission and carry out conventional connection on the screen transmission device; when the screen transmission device is in a poor wireless network environment, two wireless network connections are configured simultaneously through the screen transmission device, so that the screen transmission device can be switched between the two wireless networks, and the problem that when the quality of the wireless network connected with the screen transmission device is poor, the screen transmission device cannot meet the screen transmission requirement is solved. By the method, when the network of the screen transmission device is difficult to meet the requirements of smooth screen transmission, the network can be switched to another wireless network, so that the problem of blocking caused by the fact that the network of the central screen transmission device is not good in the prior art is solved. In addition, the method further presets a plurality of encryption modes and corresponding decryption modes for the screen transmission code, and in the connection 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.
Drawings
In order to more clearly illustrate the embodiments of the 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, it being obvious that the drawings in the following description are only some embodiments of the 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 method of processing pass-through data in one embodiment;
FIG. 2 is a schematic diagram of a screen transfer device in one embodiment;
FIG. 3 is a system diagram of a method for processing data of a screen in one 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 scope of the 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, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It is noted that the terms "comprising," "including," and "having," and any variations thereof, in the description and claims of the 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 the present 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 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 device or independently exist and is connected with the target display device through various interfaces such as wireless or USB, TYPE-C, HDMI and the like.
The term "applet code" as used herein refers to a two-dimensional code in a special format, which is associated with an applet of an application program, the application program may be a popular application such as WeChat, payment, microblog, today's headnote, tremble, etc., and the terminal may acquire information contained in the applet code and jump to the applet of the corresponding application program by scanning the applet code.
An exemplary description of a screen data processing method according to an embodiment of the present application is provided below with reference to fig. 1.
As shown in fig. 1, a method for processing screen transmission data is provided, and the method specifically includes the following steps:
s101, detecting quality information of a wireless network which can be connected currently by a screen transmission device;
specifically, when the screen transmission device is inserted into the target display device, or when the screen transmission device is started, network quality information of a connectable wireless network in the current environment of the screen transmission device is detected by adopting a preset time interval, the network quality information includes parameters such as a transmission channel, a bandwidth, a signal strength and the like, in daily life, the signal strength is generally taken as a basic evaluation condition, the signal strength (Received Signal Strength Indicator, abbreviated as RSSI) can refer to broadband receiving power on the bandwidth of the channel received by a receiver and is used for indicating the strength of the received signal, and because the wireless signal strength is in mW level, the wireless signal strength is polarized and converted into dBm to represent, the dBm number (1 mW is 0 dBm) which is less than 1mW and is a negative number. For example, the signal strength is-70 dBm. Generally, the larger the value of dBm, the better the signal.
S103, if the network quality is lower than a preset threshold value, generating and displaying a first applet code;
otherwise, generating and displaying a second applet code;
s105, the terminal scans and identifies the first or second applet codes;
and S107, the terminal logs in the applet according to the first applet code or the second applet code, establishes connection with the screen transmission device and transmits the screen.
Specifically, because the applet codes are special two-dimensional codes, the corresponding applet of the corresponding application program can be jumped to by scanning the applet codes, the terminal identifies the applet two-dimensional codes generated by the screen transmission device through the scanning function, and the terminal automatically jumps to the applet corresponding to the applet two-dimensional codes after the identification is successful. 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: the method comprises the steps of automatically jumping to a WeChat application program by scanning an applet two-dimensional code of WeChat, and opening a corresponding applet; if the sweep function in the corresponding application program in the terminal is used, the corresponding applet is directly opened.
According to the method, before connection is established with the screen transmission device, wireless network quality information of the environment where the screen transmission device is located is detected, different first applet codes or second applet codes are generated according to the wireless network quality information, so that after the terminal scans and identifies the first applet codes or the second applet codes, the terminal can log in a corresponding applet, and connection is established with the screen transmission device and screen throwing is performed. Through judging the network environment where the screen transmission device is located, two different applet codes are generated according to the different network environments, the device can be connected with the screen transmission device through the applet codes, so that the screen transmission device can stably transmit the screen no matter what wireless network environment the screen transmission device is located in, and the user experience is improved. It can be understood that the screen transmission device is not used in the environment for the first time, and the account passwords of a plurality of wireless networks in the current environment are already stored in the screen transmission device, and the storage mode can be preset, manually imported or imported through a terminal, and is not particularly limited.
In one embodiment, if the network quality is lower than a preset threshold, generating and displaying the first applet further comprises: ordering according to the connectable network quality information to obtain two network accounts and passwords with the best network quality information; and generating and displaying a first applet code according to the two network account numbers and the passwords with the best network quality information.
Specifically, when the wireless network quality information of the environment where the screen transmission device is located is detected to be lower than a preset threshold value, the wireless networks which can be connected at present are ordered according to the network quality information, account numbers and passwords of the two wireless networks which are ordered foremost are obtained, and a first applet code is generated according to the account numbers and passwords. The wireless network quality information can be signal strength, the preset threshold value can be-75 dBm, when the signal strength of wireless network signals in the environment where the screen transmission device is located is lower than-75 dBm, account passwords of the wireless network 1 and the wireless network 2 with the front signal strength are obtained, and a first applet code is generated according to the account passwords. It will be appreciated that there are many methods for determining the quality information of the wireless network, and the method is not limited to the signal strength determination, and the preset threshold may be set as required, which is only an example.
Further, the screen transmission device is connected to a network with the best network quality after detecting the wireless network quality information of the environment where the screen transmission device is located, and the currently connected network is used as a first network, and the other network is used as a second network; and generating and displaying a first applet code according to the first and second network account numbers and the password. The network quality information in the current environment is detected to connect to the network with the best quality, and the network with the inferior quality is used as an alternative network, so that the stability of the screen transmission process is improved.
In one embodiment, the second applet code is generated and displayed, specifically comprising: acquiring a network account number and a password which are currently connected with the screen transmission device as second network information; and generating and displaying second applet codes according to the second network information.
Specifically, when detecting that the connectable wireless network quality information of the environment where the screen transmission device is located is good, when the network quality information of a part of wireless networks is higher than a preset threshold, the screen transmission information can be stably transmitted, at the moment, the screen transmission device is connected to the wireless network with the best connectable network quality, and takes the account number password as first network information, and a second small program code is generated and displayed according to the first network information.
Further, in one embodiment, the first applet code and the second applet code further comprise a connection pass code; the terminal logs in the applet according to the first or second applet code, establishes connection with the screen transmission device and transmits the screen, and comprises the following steps: extracting network information and screen transmission codes in the first or second applet codes; the terminal is connected to the corresponding first network according to the network information; and establishing connection with the screen transmission device and carrying out screen transmission according to the screen transmission code through the logged applet.
Specifically, the terminal identifies the applet two-dimensional code generated by the screen transmitting device through the one-sweep function, and the terminal automatically jumps to the applet corresponding to the applet two-dimensional code after the identification is successful. The terminal is connected to the first network by the applet according to the network information by extracting the network information and the screen transmission code contained in the applet code and transmitting the network information and the screen transmission connection is established with the screen transmission device by the applet according to the screen transmission code according to the 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 the preset time. 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 small program code carrying the network information and the screen transmission code, so that the screen transmission connection can be automatically established with the screen transmission device, and the screen transmission operation can be easily realized.
Further, the method further includes, if the current first network quality is lower than a first threshold, switching the screen transmission device or the terminal to the second network, and triggering the terminal or the screen transmission device to switch to the second network.
Specifically, when the wireless network quality information of the environment where the screen transmission device is located is detected to be lower than a preset threshold value, account passwords of the wireless network 1 and the wireless network 2 with the front signal strength are obtained, the screen transmission terminal is connected to the wireless network 1 with the better signal strength, and a first applet code is generated according to the account passwords. In the connection process or the screen transmission process, the detection is continuously performed or performed according to a preset time interval, when the network quality of the wireless network 1 is lower than a first threshold value, for example, when the signal intensity of the wireless network 1 is lower than-85 dBm, the network of the screen transmission device is switched to the wireless network 2, and the wireless network connected with the terminal is also switched to the wireless network 2 by feeding back a switching message, so that the terminal and the screen transmission device are both under the wireless network 2, and can be continuously connected and screen transmission can be performed. The above wireless network and signal strength are only examples and are not limiting on the technical solution.
Further, in another embodiment, when the wireless network 1 with better network quality connected to the screen transmission device is suddenly disconnected, so that the screen transmission device cannot detect the network, the screen transmission device can automatically switch to the wireless network 2, and at this time, the wireless network connected to the terminal is also switched to the wireless network 2 by feeding back a switching message, so that the terminal and the screen transmission device are under the wireless network 2, and can continue to be connected and screen transmission can be performed. It can be understood that, in general, the terminal has its own wireless network management manner, including a connection rule and a switching rule, and when the currently connected wireless network signal is not good, it will switch to other wireless networks, however, if it does not necessarily switch to the same wireless network as the screen transmission device according to the switching rule of the terminal itself, so that by feeding back a switching information, the terminal is also connected to the same wireless network.
By the method, when the current network connection of the screen transmission device is unreliable or the current network connection is disconnected, the screen transmission device can be quickly switched to the next network, and the terminal can be synchronously switched to the next network, so that the screen transmission device and the terminal are kept under the same network, and the problem that the screen transmission failure is caused because the mobile phone is switched to other networks under the condition that network signals are bad and the mobile phone is not in the same network is solved.
It can be understood from the above embodiments that, in the case that the quality of the wireless network in the environment where the screen transmission device is located is detected to be poor, the screen transmission device is limited to be capable of connecting only two wireless networks by selecting two connectable wireless networks with relatively good quality; in this way, it is possible to realize that the screen transfer device can and must automatically switch to another wireless network, but not to other wireless networks, when the network quality of the best quality wireless network suddenly deteriorates or suddenly breaks, making its connection more targeted. The advantage of this operation is that, because the network information of the two wireless networks is written into the applet in advance, when the screen transmission device is switched to another wireless network, the screen transmission device can feed back a switching information, so that the applet switches the terminal to the corresponding wireless network, ensures that the terminal and the screen transmission device are still under the same wireless network, can realize continuous screen transmission, and solves the problem of screen transmission interruption caused by network switching in the prior art.
It should be noted that, although the above embodiment is based on detecting the wireless network quality information of the environment where the screen transmission device is located, the wireless network quality information is mainly based on that the screen transmission device is a main component of the screen transmission process, and acts as a bridge, if the network of the screen transmission device is not good, the whole screen transmission experience will be affected, so the application preferably considers the network quality from the screen transmission device.
It can be understood that the application is not limited to this, and in general, when a screen is required to be transmitted, the terminal and the screen transmission device are in a similar network environment, so that the terminal can also be used for detecting the quality information of the connectable wireless network in the current environment, and different network distribution is performed on the screen transmission device according to the network environment; when the network environment is good, only conventional network distribution is carried out on the transmission device, and a wireless network with the best signal is configured; when the network signal is poor, the screen transmission device is guaranteed to be connected with the network, two or more wireless networks with the best signal are configured, and the priority of the two or more wireless networks is set, so that the screen transmission device is connected with the network according to the priority. When the network quality with the highest priority is lower than a certain threshold, switching to a network with the second priority, and synchronously switching by the terminal to ensure the screen transmission process. In addition, in the screen transmission process, the wireless network which is connected currently can be monitored through the terminal, when the network quality of the first priority network is lower than a preset threshold value, the terminal switches the network to a second priority network appointed when the connection with the screen transmission device is established, and a network switching instruction is sent through the applet, so that the screen transmission device is also switched to the second priority network, and the stability of screen transmission is ensured.
As described above, when the network quality is lower than the preset threshold, the generated first applet code includes two network account numbers and passwords with the best network quality information, however, the information of the two networks is only a preferred embodiment, and the two network information has the advantage of reducing the communication cost of the screen transmission device and the terminal, so that the screen transmission device and the terminal can only switch between the two networks. However, when the network quality of the connectable wireless network in the environment is generally low, the first applet may include account numbers and passwords greater than two networks, and a connection priority may be set for a plurality of networks, so that when a subsequent network needs to be switched, the control logic of the switching may be managed according to the priority.
Specifically, when the ranking is performed according to the connectable network quality information, the first ranking 4 is the wireless network 2, the wireless network 4, the wireless network 1, and the wireless network 3, and then the first applet codes may be set to include account numbers and passwords of the wireless network 2, the wireless network 4, the wireless network 1, and the wireless network 3, and priority levels 1-4 are set for the 4 wireless networks according to the ranking, so that the terminal can obtain corresponding information when scanning the applet codes. The terminal scans the first applet code to obtain account numbers and screen transmission codes of the 4 wireless networks, and the account numbers and the screen transmission codes are connected to the wireless network 2 with the priority of 1, are positioned in the same wireless network with the screen transmission device, and establish screen transmission connection with the screen transmission device and start screen transmission according to the screen transmission codes. When the network quality of the wireless network 2 is reduced and is lower than a preset threshold value, the screen transmission device and the terminal are switched to the wireless network 4 with the priority of 2 to continue screen transmission, when the network quality of the wireless network 4 is reduced, the screen transmission device and the terminal are switched to the wireless network 1 with the priority of 3 to continue screen transmission, and so on. The stability of the screen transmission process is guaranteed by arranging a plurality of wireless networks, so that the screen transmission process cannot be blocked or even interrupted due to the fluctuation of the networks. It can be understood that the above-mentioned determination of whether the network quality of each wireless network is lower than the preset threshold may be performed by the screen transmission device or the terminal, and is not limited to one of the two, and may even be performed by combining the two together, and when the network quality of the current connection of the two is lower than the preset threshold, the networks of the two are simultaneously switched.
In one embodiment, the first applet code in the method further includes a first encryption code and/or a first protocol code, where the first encryption code corresponds to a first data encryption transmission mode, and the first protocol code corresponds to using a first protocol to transmit screen data; the second applet code also comprises a second encryption code and/or a second protocol code, wherein the second encryption code corresponds to a second data encryption transmission mode, and the second protocol code corresponds to the transmission of the screen-throwing data by using a second protocol.
Specifically, the first applet code not only includes the first network account number and the second network account number and the password, but also includes the screen transmission code, and further includes the first encryption code and/or the first protocol code, and because the first applet code is generated when the connectable wireless network quality of the screen transmission device is lower than a preset threshold value, the first applet code is transmitted by adopting a simple encryption mode and a transmission protocol, so as to reduce the transmitted data volume. When the quality of the wireless network which can be connected with the environment where the screen transmission device is located is higher, a second applet code is generated, wherein the second applet code comprises a second encryption code and/or a second protocol code, so that the transmitted data can be transmitted in a complex encryption mode and a complex transmission protocol, and the safety and stability of the data transmitted by the screen transmission device are improved.
Specifically, when the quality of the wireless network connectable to the environment where the screen transmission device is located is high, a complex encryption manner may be used to encrypt the transmitted data, for example: the method adopts a mode of multiple keys or dynamic keys with preset rules, and adopts complex protocols for transmission, such as adding additional synchronous information, error control information and address information in a data frame; or compressing the data by adopting a high-fidelity compression mode; even if the network allows, the data is directly transmitted in a non-compression mode, so that the transmitted data is safer and more reliable; when the quality of the wireless network connectable to the environment where the screen transmission device is located is poor, a simple encryption mode and a simple protocol are adopted for transmission, for example: a simple secret key is adopted; a transmission protocol with low data volume; the compression mode with high compression ratio compresses the data to ensure the continuity of the screen transmission.
As shown in fig. 2, 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:
a signal detection module 302, configured to detect quality information of a wireless network that is currently connectable;
the applet code generating module 304 is configured to generate a first applet code or a second applet code according to a detection result of the signal detecting module;
and the applet code display module 306 is configured to display the first applet code or the second applet code, so that the terminal scans and identifies the corresponding applet when the first applet code or the second applet code is registered, and establishes connection with the screen transmission device and performs screen transmission.
Further, the system also comprises a network switching module, wherein the network switching module is used for switching the networks of the screen transmission device and the terminal from the first network to the second network when the signal detection module detects that the network quality of the first network is lower than a first threshold value. Through the network switching module, when the network quality of the current connection of the screen transmission device is insufficient to realize smooth screen transmission, the network of the screen transmission device can be switched to another network, and the network of the terminal is synchronously switched to the same network, so that the screen transmission device and the screen transmission device still belong to the same wireless network and can continue to transmit the screen.
As shown in fig. 3, in one embodiment, a system for implementing a data processing method of a screen is provided, including a screen device and a terminal, where the screen device and the terminal include a memory and a processor, and the memory stores a computer program, where the computer program is executed by the processor, and causes the processor to execute the data processing method of a screen.
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 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 foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (8)

1. The screen transmission data processing method is characterized by comprising the following steps of:
the screen transmission device detects the quality information of the wireless network which can be connected currently and is connected to the network with the best network quality;
if the network quality is lower than a preset threshold, generating and displaying a first applet code, comprising:
ordering according to the connectable wireless network quality information to obtain two network accounts and passwords with the best wireless network quality information;
generating and displaying a first applet code according to the two network account numbers and the passwords with the best network quality information;
otherwise, generating and displaying a second applet code;
the first applet code and the second applet code also comprise a connection screen transmission code;
the terminal scans and identifies the first or second applet code;
the terminal logs in an applet according to the first applet code or the second applet code, establishes connection with the screen transmission device and transmits a screen;
when the screen transmission device is switched to another wireless network, the screen transmission device feeds back switching information, so that the applet switches the terminal to the same wireless network;
when the terminal switches the network, a network switching instruction is sent through the small program, so that the screen transmission device is switched to the same wireless network.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the screen transmission device is switched and connected to a network with the best network quality according to the network quality information, and takes the currently connected network as a first network and the other network as a second network;
and generating and displaying a first small program code according to the first network account number, the second network account number and the password.
3. The method of claim 1, wherein the generating and displaying the second applet code comprises:
acquiring a network account number and a password which are currently connected with the screen transmission device as first network information;
and generating and displaying second applet codes according to the first network information.
4. A method according to claim 2 or 3, characterized in that,
the terminal logs in the applet according to the first applet code or the second applet code, establishes connection with the screen transmission device and transmits the screen, and comprises the following steps:
extracting network information and screen transmission codes in the first or second applet codes;
the terminal is connected to the corresponding first network according to the network information;
and establishing connection with the screen transmission device and carrying out screen transmission according to the screen transmission code through the logged applet.
5. The method according to claim 2, wherein the method further comprises:
and if the current first network quality is lower than a first threshold value, the screen transmission device or the terminal is switched to the second network, and the terminal or the screen transmission device is triggered to be switched to the second network.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the first applet code also comprises a first encryption code, and the first encryption code corresponds to a first data encryption transmission mode;
the second applet code also comprises a second encryption code, and the second encryption code corresponds to a second data encryption transmission mode.
7. A screen transfer device, the device comprising:
the signal detection module is used for detecting the quality information of the wireless network which can be connected currently so as to enable the screen transmission device to be connected to the network with the best network quality;
the applet code generating module is configured to generate a first applet code or a second applet code according to a detection result of the signal detecting module, and includes:
ordering according to the connectable wireless network quality information, and acquiring two network accounts and passwords with the best wireless network quality information;
generating and displaying a first applet code according to the two network account numbers and the passwords with the best network quality information;
otherwise, generating and displaying a second applet code;
the small program code display module is used for displaying the first small program code or the second small program code, and the first small program code and the second small program code also comprise connection screen transmission codes, so that a terminal scans and identifies the corresponding small program when the first small program code or the second small program code is registered, and establishes connection with the screen transmission device and transmits a screen;
the network switching module is configured to switch the networks of the screen transmission device and the terminal from the first network to the second network when the signal detection module detects that the network quality of the first network is lower than a first threshold, and includes:
when the screen transmission device is switched to the second network, receiving switching information fed back by the screen transmission device, so that the applet switches the terminal to the same wireless network;
when the terminal performs network switching, the receiving applet sends a network switching instruction to enable the screen transmission device to be switched to the same wireless network.
8. 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 method of any one of claims 1 to 6.
CN202211032170.9A 2022-08-26 2022-08-26 Screen transmission data processing method, device and system Active CN115499700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211032170.9A CN115499700B (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
CN202211032170.9A CN115499700B (en) 2022-08-26 2022-08-26 Screen transmission data processing method, device and system

Publications (2)

Publication Number Publication Date
CN115499700A CN115499700A (en) 2022-12-20
CN115499700B true CN115499700B (en) 2023-08-25

Family

ID=84467246

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN115499700B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219224A (en) * 2014-07-30 2014-12-17 南京邮电大学 Priority-based IPV6 heterogeneous sensor network data security communication method
CN105163174A (en) * 2015-09-10 2015-12-16 康佳集团股份有限公司 Method and system for connecting mobile terminal with television by scanning two-dimension code
CN107368273A (en) * 2017-07-07 2017-11-21 深圳市海勤科技有限公司 The key operation local area network wireless of plug and play one passes screen operator, system and method
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108990039A (en) * 2018-08-08 2018-12-11 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN111542133A (en) * 2020-06-18 2020-08-14 Tcl海外电子(惠州)有限公司 Information transmission method, system, receiving device, transmitting device and storage medium
CN112153668A (en) * 2019-06-28 2020-12-29 Oppo广东移动通信有限公司 Data transmission method and device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130337850A1 (en) * 2012-06-18 2013-12-19 Sony Mobile Communications Ab Power consumption in a cellular device with enhanced idle mode signal reduction using dual standby

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219224A (en) * 2014-07-30 2014-12-17 南京邮电大学 Priority-based IPV6 heterogeneous sensor network data security communication method
CN105163174A (en) * 2015-09-10 2015-12-16 康佳集团股份有限公司 Method and system for connecting mobile terminal with television by scanning two-dimension code
CN107368273A (en) * 2017-07-07 2017-11-21 深圳市海勤科技有限公司 The key operation local area network wireless of plug and play one passes screen operator, system and method
CN108495348A (en) * 2018-01-31 2018-09-04 上海连尚网络科技有限公司 It is a kind of for the method for switching network of user equipment, equipment and medium
CN108990039A (en) * 2018-08-08 2018-12-11 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN112153668A (en) * 2019-06-28 2020-12-29 Oppo广东移动通信有限公司 Data transmission method and device and mobile terminal
CN111542133A (en) * 2020-06-18 2020-08-14 Tcl海外电子(惠州)有限公司 Information transmission method, system, receiving device, transmitting device and storage medium

Also Published As

Publication number Publication date
CN115499700A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
US9066326B2 (en) Automatic user notification, with quick response (QR) code generation following failed NFC device pairing
KR102376943B1 (en) Method and apparatus for connecting with controlled smart device
CN105516896A (en) Bluetooth interconnection method and system for wearable device and mobile terminal
CN108322246B (en) Method and device for determining communication beam
RU2669007C2 (en) Method and apparatus for establishing connection
CN105451222B (en) A kind of terminal establishes the method, apparatus and system of connection
CN104684106B (en) The method and device of network connection
CN111542133B (en) Information transmission method, system, receiving device, transmitting device and storage medium
CN111328076A (en) Equipment network distribution method, device and medium
CN114125977B (en) Service switching method and device
US10691818B2 (en) Secure interface for displaying of information
CN113383603A (en) Indication method and device for transmission data, communication equipment and storage medium
US11470087B2 (en) Access management system and access management method
KR20200117147A (en) WiFi setting device and method using Bluetooth of IoT devices
KR20200117159A (en) WiFi setting method using Bluetooth of IoT devices
CN115499700B (en) Screen transmission data processing method, device and system
CN110731090B (en) System message processing method and device
CN111246592A (en) Data sharing implementation method, data sending end and data receiving end
KR20200117155A (en) WiFi setting method using Bluetooth of IoT devices
US9485458B2 (en) Data processing method and device
US20190037612A1 (en) Connecting method to an information capture device
CN111800836B (en) Communication method, device, electronic equipment and storage medium
CN106488537A (en) Sending method, device and mobile terminal
CN115474290B (en) Screen transmission data processing method, device and system
KR100713405B1 (en) A controlling method for interworking between mobile terminal and external device

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