Wireless terminal device, screen mirroring method, device and storage medium thereof
By obtaining the key-value pair information data of the projectable device of the terminal device, and automatically switching to the projectable device network using channel and unique identification information, the problem of device discovery and manual switching of the network in wireless projection is solved, and the user experience and switching speed are improved.
Patent Information
- Application Number
- CN202110546990.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-19
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2041-05-19
AI Technical Summary
The existing wireless screen projection technology requires that pre-projection devices and projectable devices must be connected to the same wireless LAN, resulting in users encountering difficulties in device discovery, high complexity in manual switching access points, and difficult devices with the same SSID but different BSSIDs in the home or office scenario.
By obtaining the key-value pair information data of the projectable device of the terminal device, including device information, channel and unique identification information of the network access point, it automatically switches to the network corresponding to the projectable device, and uses the channel and unique identification information to realize the connection between the terminal device and the projectable device without manually switching the network.
It speeds up network switching speed, improves user experience when projecting screens, and simplifies the network switching process. Especially when the SSID is the same but the BSSID is different, it can still achieve unsensed network switching.
Smart Images

Figure CN115379514B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of screen mirroring, and in particular, to a wireless terminal device, a screen mirroring method, a device and a storage medium thereof. Background Art
[0002] With the development of electronic technology, electronic devices such as mobile phones, televisions, and speakers have gradually become important carriers of people's entertainment life. Generally, the screen of a mobile phone is small and the sound effect is not good. In order to obtain a better audio-visual experience, people will choose to project videos onto large-screen devices such as televisions and project music onto wireless speakers. Existing wireless screen mirroring technologies all require that a pre-projecting device such as a mobile phone and a projectable device such as a television or a speaker be first connected to the same wireless local area network (WLAN) so that the pre-projecting device can discover the projectable devices within the local area network, and only after discovering the projectable devices can projection be performed.
[0003] However, in modern home or office scenarios, there may be multiple Wi-Fi access points. The pre-projecting device and the projectable device may be connected to different access points, and these access points may have the same SSID (Service Set Identifier, that is, Wi-Fi hotspot device information) or different SSIDs; or although the SSIDs are the same, the BSSIDs (Basic Service Set Identifier) may be different, and devices with different BSSIDs may not be interoperable. In this way, users will encounter the following problems during the projection process: (1) The pre-projecting device and the projectable device need to be first connected to the same local area network so that the projection protocol can discover the projectable devices within the local area network; (2) When the pre-projecting device and the projectable device are not in the same local area network, manual switching of the access point is required, increasing the complexity of user operations; (3) When two different local area networks have the same SSID, it is difficult for users to control which access point the pre-projecting device such as a mobile phone is specifically connected to, and they can only control it by adjusting the distance between the mobile phone and the access point or directly turning off the other access point. Summary of the Invention
[0004] The present invention aims to at least solve one of the technical problems in the related art to some extent. For this purpose, the first object of the present invention is to propose a screen mirroring method for a wireless terminal device, which automatically switches a terminal device in a network different from a projectable device to the network corresponding to the projectable device through the channel and unique identifier information of the corresponding network access point of the projectable device, so that the connection between the terminal device and the projectable device can be realized without manual network switching, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0005] The second object of the present invention is to provide a computer-readable storage medium.
[0006] The third object of the present invention is to provide a wireless terminal device.
[0007] The fourth object of the present invention is to provide a screen mirroring device for a wireless terminal device.
[0008] The fifth object of the present invention is to provide another wireless terminal device.
[0009] To achieve the above object, an embodiment of the first aspect of the present invention provides a screen mirroring method for a wireless terminal device, including: obtaining key-value pair information data of a projectable device corresponding to the terminal device, where the key-value pair information data includes device information of the projectable device and channel and unique identification information of a corresponding network access point; receiving device information of a device to be projected; if the device information of the device to be projected matches the device information of the projectable device and it is determined that the projectable device and the terminal device are in different networks according to the unique identification information of the corresponding network access point of the projectable device, then connecting the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the corresponding network access point of the projectable device, and projecting the data to be projected of the terminal device to the projectable device.
[0010] According to the screen mirroring method for a wireless terminal device of the embodiment of the present invention, by obtaining device information of a projectable device corresponding to the terminal device and channel and unique identification information of a corresponding network access point, receiving device information of a device to be projected, and when the device information of the device to be projected matches the device information of the projectable device and the projectable device and the terminal device are in different networks, connecting the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the corresponding network access point of the projectable device, and projecting the data to be projected of the terminal device to the projectable device. Thus, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identification information of the corresponding network access point of the projectable device, and the connection between the terminal device and the projectable device can be realized without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0011] To achieve the above object, an embodiment of the second aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the screen mirroring method for a wireless terminal device as in the embodiment of the first aspect are implemented.
[0012] According to the computer-readable storage medium of the embodiments of the present invention, through the above screen mirroring method for wireless terminal devices, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identification information of the network access point corresponding to the projectable device. The connection between the terminal device and the projectable device can be achieved without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0013] To achieve the above object, an embodiment of the third aspect of the present invention provides a wireless terminal device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the screen mirroring method for wireless terminal devices in the embodiment of the first aspect are implemented.
[0014] According to the wireless terminal device of the embodiments of the present invention, through the above screen mirroring method for wireless terminal devices, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identification information of the network access point corresponding to the projectable device. The connection between the terminal device and the projectable device can be achieved without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0015] To achieve the above object, an embodiment of the fourth aspect of the present invention provides a screen mirroring device for wireless terminal devices, including: an acquisition module, configured to acquire key-value pair information data of a projectable device corresponding to a terminal device, where the key-value pair information data includes device information of the projectable device and channel and unique identification information of the corresponding network access point; a receiving module, configured to receive device information of a device to be projected; a network access management module, configured to, when the device information of the device to be projected matches the device information of the projectable device and it is determined that the projectable device and the terminal device are in different networks according to the unique identification information of the network access point corresponding to the projectable device, connect the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device; and a screen mirroring module, configured to project data to be projected of the terminal device onto the projectable device.
[0016] A screen mirroring device for a wireless terminal device according to an embodiment of the present invention obtains device information of a projectable device corresponding to the terminal device, as well as channel and unique identifier information of a corresponding network access point through an obtaining module, and receives device information of a device to be projected through a receiving module. When the device information of the device to be projected matches the device information of the projectable device and the projectable device and the terminal device are in different networks, the network access management module connects the terminal device to the network corresponding to the projectable device according to the channel and unique identifier information of the network access point corresponding to the projectable device, and projects the data to be projected of the terminal device to the projectable device through a screen mirroring module. Thus, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identifier information of the network access point corresponding to the projectable device, and the connection between the terminal device and the projectable device can be realized without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0017] To achieve the above object, an embodiment of the fifth aspect of the present invention provides a wireless terminal device, including a screen mirroring device for a wireless terminal device as described in the embodiment of the fourth aspect.
[0018] The wireless terminal device according to an embodiment of the present invention, through the above-mentioned screen mirroring device for a wireless terminal device, automatically switches the terminal device in a network different from the projectable device to the network corresponding to the projectable device through the channel and unique identifier information of the network access point corresponding to the projectable device, and the connection between the terminal device and the projectable device can be realized without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0019] Additional aspects and advantages of the present invention will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present invention. Description of the Drawings
[0020] Figure 1 It is a flowchart of a screen mirroring method for a wireless terminal device according to an embodiment of the present invention;
[0021] Figure 2 It is an application scenario diagram according to an embodiment of the present invention;
[0022] Figure 3 It is a flowchart of a screen mirroring method for a wireless terminal device according to another embodiment of the present invention;
[0023] Figure 4 It is a flowchart of a screen mirroring method for a wireless terminal device according to a specific example of the present invention;
[0024] Figure 5Schematic diagram of key-value pair information data update according to a specific example of the present invention;
[0025] Figure 6 Schematic structural diagram of a screen mirroring device for a wireless terminal device according to an embodiment of the present invention. Detailed implementation manners
[0026] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present invention, and should not be construed as a limitation of the present invention.
[0027] The wireless terminal device and its screen mirroring method, device and storage medium proposed by the embodiments of the present invention will be described below with reference to the accompanying drawings.
[0028] Figure 1 Flowchart of a screen mirroring method for a wireless terminal device according to an embodiment of the present invention. As Figure 1 shown, the screen mirroring method for the wireless terminal device includes the following steps:
[0029] Step S101, obtain the key-value pair information data of the projectable device corresponding to the terminal device. Among them, the key-value pair information data includes the device information of the projectable device and the channel and unique identification information of the corresponding network access point. Specifically, the key-value pair information data can be expressed by key-value, where the key includes the device information of the projectable device, and the value includes the channel and unique identification information of the network access point corresponding to the projectable device.
[0030] Among them, obtaining the key-value pair information data of the projectable device corresponding to the terminal device includes: obtaining the key-value pair information data of the current projectable device in the current network where the terminal device is located, and obtaining the key-value pair information data of the historical projectable device corresponding to the terminal device in other networks, so as to obtain the key-value pair information data of the projectable device corresponding to the terminal device.
[0031] That is to say, the projectable devices in the present application include not only the projectable devices currently in the same local area network as the terminal device, that is, the current projectable devices, but also the projectable devices that the terminal device has projected in other local area networks before, that is, the historical projectable devices. Correspondingly, the key-value pair information data of the projectable device corresponding to the terminal device includes the key-value pair information data of the current projectable device and the key-value pair information data of the historical projectable device.
[0032] Specifically, after receiving the screen mirroring instruction from the user, the terminal device will automatically run the projection protocol. Currently, the commonly used projection protocols include DLNA (Digital Living Network Alliance) and Airplay. According to the projection protocol, the terminal device will obtain all the projectable devices in its current local area network and obtain the key-value pair information data corresponding to all the projectable devices. At the same time, it will obtain all the projectable devices that it has projected in other local area networks and obtain the key-value pair information data of all the projectable devices.
[0033] Furthermore, the key-value pair information data also includes the location information of the network access point corresponding to the projectable device, that is, the value also includes the location information of the network access point corresponding to the projectable device. Obtaining the key-value pair information data of the historical projectable devices corresponding to the terminal device in other networks includes: obtaining the current location information of the terminal device; according to the current location information and the location information of the network access point corresponding to the projectable device, obtaining the key-value pair information data of the historical projectable devices corresponding to the terminal device in other networks.
[0034] Specifically, after receiving the screen mirroring instruction from the user, the terminal device will also obtain its own current location information and obtain all the historical projectable devices corresponding to itself in other networks at the current location according to the current location information. For example: the terminal device will distinguish its own home, company, parents' home, friends' home, etc. according to the location information accuracy. When the terminal device is at its own home, the historical projectable devices it obtains are only the projectable devices that have been projected using this terminal device when it was at its own home. Specifically, it can be to screen out the historical projectable devices whose location information of the corresponding network access point is consistent with the current location information of the terminal device from the historical projectable devices. Thus, the number of projectable devices displayed on the terminal device can be reduced, the user can find the desired projectable device faster, and the projection experience of the user can be improved.
[0035] Furthermore, the key-value pair information data also includes the status information of the projectable device, that is, the value also includes the status information of the projectable device. After obtaining the key-value pair information data of the projectable devices corresponding to the terminal device, the above screen mirroring method for wireless terminal devices further includes: displaying the device information of the projectable devices and performing status marking on the projectable devices according to the status information of the projectable devices.
[0036] Specifically, after the terminal device obtains the key-value pair information data of the corresponding projectable device, it also displays the device information of all projectable devices, such as the name of the projectable device. At the same time, it can also display the status of each projectable device. For example, when the projectable device is in an online state, it can display "Currently Online" after the device information of the projectable device. When the projectable device is in an offline state, it can display "Online several hours ago" or "Online several days ago" after the device information of the projectable device according to the offline time. Thus, based on the displayed information, the user can not only search for projectable devices but also keep track of the status of each projectable device in the network at any time, so as to select the projectable device to be used according to their own needs. It can be understood that other information of each projectable device can also be displayed, and specific settings can be selected according to actual needs.
[0037] Step S102: Receive the device information of the device to be projected.
[0038] Specifically, after the device information of the projectable device corresponding to the terminal device is displayed, the user can select the displayed projectable device according to their needs and determine it as the device to be projected. If there is a device to be projected that the user wants to use in the device list displayed by the terminal device, the user can click and select it through the terminal device. At this time, the terminal device will obtain the device information of the device to be projected. It can be understood that when the user knows the device information of the device to be projected that they want to use, they can also directly input the device information of the device to be projected, and the specific method is not limited.
[0039] Step S103: If the device information of the device to be projected matches the device information of the projectable device, and it is determined that the projectable device and the terminal device are in different networks according to the unique identification information of the network access point corresponding to the projectable device, then connect the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device, and project the data to be projected of the terminal device to the projectable device.
[0040] Specifically, after the terminal device obtains the device information of the device to be projected, it can compare and judge it with the device information of the projectable device to determine whether the device information of the device to be projected matches the device information of the projectable device. If they match, for example, the names are the same, then further determine whether the projectable device (here it is the device to be projected) is within the local area network where the terminal device is currently located according to the unique identification information of the network access point corresponding to the projectable device, that is, whether the two are in the same local area network. If not, then automatically connect the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device, so that the two are in the same local area network, and then realize the automatic screen mirroring of the terminal device.
[0041] As an application scenario, refer toFigure 2 As shown, the wireless local area networks formed by network access points AP-1, AP-2, and AP-3 are independent of each other, that is, the networks are not connected to each other. Moreover, the network names SSID of network access points AP-1 and AP-2 are the same, but the unique identification information BSSID is different. The network name SSID and the unique identification information BSSID of network access point AP-3 are different from the network name SSID and the unique identification information BSSID of network access points AP-1 and AP-2.
[0042] A possible network access sequence is as follows: The terminal device is currently connected to network access point AP-1, and the user wants to project the screen of the terminal device onto the projectable device Display-D. At this time, it is necessary to switch the terminal device from network access point AP-1 to network access point AP-3. In this scenario, the traditional method is for the user to manually switch the network name SSID of the terminal device, which provides a poor experience for the user. In the present application, by automatically connecting the terminal device to the network corresponding to the projectable device according to the channel and the unique identification information BSSID of the network access point corresponding to the projectable device, that is, it can be determined that it is connected to network access point AP-3 according to the unique identification information BSSID of the network access point corresponding to the projectable device Display-D. At this time, according to the unique identification information BSSID and the channel of the network access point corresponding to the projectable device Display-D, the terminal device is automatically connected from network access point AP-1 to network access point AP-3 to achieve data intercommunication between the terminal device and the projectable device Display-D, and finally the data to be projected of the terminal device is projected onto the projectable device Display-D through network access point AP-3, thus eliminating the need for the user to manually switch and effectively improving the user's screen mirroring experience.
[0043] Another possible network access sequence is as follows: The terminal device is currently connected to the network access point AP-1, and the user wants to project the screen of the terminal device onto the projectable device Display-C. At this time, it is necessary to first switch the terminal device from the network access point AP-1 to the network access point AP-2. However, since the network names SSIDs of the network access points AP-1 and AP-2 are the same at this time, it is impossible to switch to the network access point AP-2 by manually switching the network name SSID. A possible way is for the terminal device to move away from the network access point AP-1 and get closer to the network access point AP-2, but this provides a poor user experience. In the present application, by automatically connecting the terminal device to the network corresponding to the projectable device according to the channel and the unique identification information BSSID of the network access point corresponding to the projectable device, that is, the unique identification information BSSID of the network access point corresponding to the projectable device Display-C can be used to determine that it is connected to the network access point AP-2. At this time, according to the unique identification information BSSID and the channel of the network access point corresponding to the projectable device Display-C, the terminal device is automatically connected from the network access point AP-1 to the network access point AP-2 to achieve data intercommunication between the terminal device and the projectable device Display-C. Finally, the data to be projected of the terminal device is projected onto the projectable device Display-C through the network access point AP-2, thus eliminating the need for manual switching by the user and effectively improving the user's screen projection experience.
[0044] According to the screen projection method for a wireless terminal device in an embodiment of the present invention, by obtaining the device information of the projectable device corresponding to the terminal device and the channel and unique identification information of the corresponding network access point, and receiving the device information of the device to be projected, and when the device information of the device to be projected matches the device information of the projectable device and the projectable device and the terminal device are in different networks, the terminal device is connected to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device, and the data to be projected of the terminal device is projected onto the projectable device. Thus, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identification information of the network access point corresponding to the projectable device, and the connection between the terminal device and the projectable device can be realized without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen projection.
[0045] Further, in some embodiments, as Figure 3 shown, the channel includes the historical channel corresponding to the projectable device. Connecting the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device includes:
[0046] Step S201: Send a probe request frame on the historical channel corresponding to the projectable device, where the probe request frame includes the unique identification information of the network access point corresponding to the projectable device.
[0047] It can be understood that when the projectable device is connected to the network access point, a channel will be generated. As Figure 2 shown, although the projectable devices Display-A and Display-B are both connected to the same network access point, that is, the unique identification information BSSID of the corresponding network access point is the same, they are on different channels. Therefore, in this application, the channels used by the projectable device each time it is connected can be saved, and these channels are stored as historical channels together with the device information of the projectable device and the unique identification information of the network access point corresponding to the projectable device, etc. When storing, it can be stored in the form of a relationship mapping table, that is, first form a relationship mapping table, and then store the relationship mapping table for screen mirroring use.
[0048] Specifically, when it is determined that the projectable device and the terminal device are in different local area networks according to the unique identification information BSSID of the network access point corresponding to the projectable device, the terminal device will obtain the unique identification information BSSID of the network access point corresponding to the projectable device and the historical channel of the projectable device under this network access point from the relationship mapping table according to the device information of the projectable device, and send a probe request frame on the historical channel. The probe request frame includes the unique identification information BSSID of the network access point corresponding to the projectable device. That is to say, the probe request frame will be sent in the network where the unique identification information BSSID of the network access point corresponding to the projectable device is located. It should be noted that when sending a probe request frame on the historical channel, without changing the channel, full-channel or multi-channel detection is not required, so the detection and discovery process of the unique identification information BSSID can be accelerated, and the switching speed of the terminal device switching the local area network can be accelerated.
[0049] Furthermore, the probe request frame is a unicast probe request frame. The RA (Receiver Address) and DA (Destination Address) of the unicast frame are the unique identification information BSSID of the network access point corresponding to the projectable device. The scanning duration can be preset. Compared with the broadcast probe request frame, when the unicast probe request frame does not receive the ACK (Acknowledge character) response from the projectable device, the terminal device will automatically retransmit, increasing the reliability of detection. Even when the channel changes, on the premise of obtaining the same detection reliability as the broadcast probe frame, the residence time of the terminal device for channel detection when switching the network can be reduced, and the detection speed can be accelerated, thus accelerating the network switching speed.
[0050] Step S202: Receive the detection response frame fed back by the projectable device.
[0051] Specifically, after the terminal device sends a detection request frame to the projectable device, if the corresponding projectable device can receive the detection request frame, it will automatically form a detection response frame and feedback it to the terminal device through the network where the unique identification information BSSID of the corresponding network access point of the projectable device is located, that is, an ACK response is made.
[0052] Step S203: If the detection response frame is received, connect the terminal device to the network corresponding to the projectable device according to the unique identification information of the network access point corresponding to the projectable device.
[0053] Specifically, if the terminal device can receive the detection response frame fed back by the unique identification information BSSID of the network access point corresponding to the projectable device, it means that the intercommunication between the terminal device and the projectable device can be established through the historical channel. Subsequently, the terminal device will automatically switch to the network corresponding to the unique identification information BSSID of the network access point corresponding to the projectable device. As Figure 2 shown, assume that the terminal device is connected to the network access point AP-3. At this time, if it wants to project terminal data to the projectable device Display-A, the terminal device will send a detection request frame to the historical channel where the projectable device Display-A is located through the unique identification information BSSID of the network access point AP-1 corresponding to the projectable device Display-A. If the projectable device Display-A can receive the detection request frame, it will automatically form a detection response frame and feedback it to the terminal device through the network access point AP-1. After receiving the detection response frame, the terminal device will automatically switch to the network access point AP-1.
[0054] Furthermore, the key-value pair information data also includes the network name of the network access point corresponding to the projectable device, that is, the value also includes the network name of the network access point corresponding to the projectable device, and the detection request frame also includes the network name of the network access point corresponding to the projectable device. Among them, after receiving the detection response frame, the terminal device is connected to the network corresponding to the projectable device according to the network name and the unique identification information of the network access point corresponding to the projectable device.
[0055] Specifically, as Figure 2As shown in the figure, assume that the terminal device is connected to the network access point AP-2. At this time, if you want to project the terminal data to the projectable device Display-A, you need to switch the terminal device from the network access point AP-2 to the network access point AP-1. The network names SSIDs of the network access points AP-1 and AP-2 are the same. It is very difficult to control which network access point the terminal device specifically connects to only by using the network name SSID, which increases the complexity of user operations. The unique identification information BSSIDs of different network access points are different. Therefore, in this application, by combining the network name SSID and the unique identification information BSSID of the network access point corresponding to the projectable device, the terminal device can be quickly and accurately switched to the network corresponding to the projectable device. Thus, the switching of the terminal device to the network corresponding to the projectable device can be realized under the condition that the terminal device and the projectable device are in different local area networks and the network name SSID is the same.
[0056] In some embodiments, the channel further includes a channel that has not been used by the projectable device on the corresponding network access point. Connecting the terminal device to the network corresponding to the projectable device according to the channel and the unique identification information of the network access point corresponding to the projectable device further includes: if a probe response frame is not received, sending a probe request frame on the unused channel, receiving the probe response frame fed back by the projectable device, and connecting the terminal device to the network corresponding to the projectable device according to the unique identification information of the network access point corresponding to the projectable device after receiving the probe response frame.
[0057] Specifically, if the terminal device does not receive a probe response frame on the historical channel corresponding to the projectable device, it further determines whether the previous scanned historical channel is the last channel in this frequency band except the historical channel. If it is not the last channel in this frequency band, select the next channel in this frequency band except the historical channel to continue sending unicast request probe frames, and repeat the content in steps 201 to 203. That is to say, in this application, during detection, first detect one by one from the historical channels corresponding to the projectable device (there may be more than one historical channel). If no response information is received on the historical channels, then detect one by one from other channels of the network access point corresponding to the projectable device, that is, the unused channels. In this way, without changing the channels of the projectable device, full-channel or multi-channel detection is not required, so the detection and discovery process of the unique identification information BSSID can be accelerated, and the switching speed of the terminal device to the local area network can be accelerated.
[0058] Further, if a probe response frame is not received within the network corresponding to the projectable device, connect the terminal device to another network, and return to the step of obtaining the key-value pair information data of the projectable device corresponding to the terminal device.
[0059] It should be noted that there may be multiple unique identification information BSSIDs of the network access points corresponding to the historical projectable device, that is, the historical projectable device may have been in multiple networks before. When there are multiple, if the terminal device does not receive a probe response frame in all channels of one of the network access points corresponding to the projectable device, it will switch to the next network access point, that is, switch to the next network. The switching method is the unique identification information BSSID of the new access point. The terminal device sends a probe request frame in the newly switched network in the above manner. If a probe response frame is received, the terminal device will be connected to this network. If a probe response frame is still not received in this network, it will switch to the next network access point and repeat the above steps until a probe response frame is received.
[0060] Optionally, when there are multiple unique identification information BSSIDs of the network access points corresponding to the historical projectable device, it is also possible to perform detection on each network access point corresponding to the historical projectable device. After the detection is completed, the terminal device will be connected to the network access point that receives the probe response frame and has the best signal to ensure the screen projection effect.
[0061] In some embodiments, the above screen projection method for wireless terminal devices further includes: if the device information of the device to be projected matches the device information of the projectable device, and it is determined that the projectable device and the terminal device are in the same network according to the unique identification information of the network access point corresponding to the projectable device, the data to be projected of the terminal device will be directly projected onto the projectable device. That is, when the projectable device and the terminal device are in the same local area network, there is no need to switch the network, and direct screen projection can be performed.
[0062] In some embodiments, the above screen projection method for wireless terminal devices further includes: if the device information of the device to be projected does not match the device information of the projectable device, the terminal device will be connected to another network, and the step of obtaining the key-value pair information data of the projectable device corresponding to the terminal device will be returned.
[0063] Specifically, when the device that the user wants to project does not appear in the current device list, that is, the device is not found among the current projectable devices in the network where the terminal device is currently located and the historical projectable devices in other networks, it means that the device may be a new device, but the user does not know which network the device is in. At this time, the user can switch the terminal device to the next network. After the terminal device switches to the next network, it will re-obtain the key-value pair information data of the projectable device corresponding to the terminal device, and perform screen projection based on the re-obtained key-value pair information data of the projectable device corresponding to the terminal device, that is, re-execute steps S101 to S103, and repeat the above process until the device that the user wants to project is found.
[0064] Further, as a specific example, refer toFigure 4 As shown in Figure 4 , the screen mirroring method for a wireless terminal device may include the following steps:
[0065] Step S401, the user opens the projection APP (Application) to prepare for projection.
[0066] Specifically, when the user needs to perform screen mirroring, the user activates the screen mirroring function of the terminal device, such as opening the projection APP and sending a start projection instruction.
[0067] Step S402, the projection APP runs the projection protocol, obtains the projectable devices of the terminal device within the current local area network, and obtains the historical projectable device data from the network access management module according to the location information.
[0068] Specifically, after receiving the user's start projection instruction, the projection APP automatically runs the projection protocol, discovers all projectable devices in the local area network where the terminal device is currently located according to the projection protocol. At the same time, the projection APP also obtains the current location information of the terminal device, and obtains the key-value pair information data of the historical projectable devices corresponding to the terminal device from the network access management module (such as the wifi access management module). Among them, the key in the key-value pair information data key-value includes: the device information (such as the name) of the projectable device, and the value value includes: the unique identification information BSSID of the network access point corresponding to the projectable device, the channel channel, the location information Location, and the time time when the device to be projected accesses the corresponding network access point.
[0069] It can be understood that the information of the historical projectable devices obtained by the projection APP from the network access management module may only include the device information of the historical projectable devices, that is, the key information, and the value information is optional. Among them, the device information of the historical projectable devices is mainly used to be displayed to the user so that the user can directly select a certain projectable device, and the value information can be displayed to the user as optional information so that the user can understand the relevant information of the projectable device.
[0070] It should be noted that after receiving the user's start projection instruction, if the wireless network of the mobile terminal is not turned on, the network access management module can be notified to automatically turn on the wireless network, or the user can be prompted to manually turn it on.
[0071] Step S403, the projection APP displays the projectable devices in the current local area network and the historical projectable devices obtained from the network access management module according to the location information.
[0072] Specifically, after the projection APP obtains the projectable devices corresponding to the terminal device, it displays the device information of each projectable device on the interface of the terminal device so that the user can directly select the desired projectable device by selection. Optionally, other information of the projectable device, such as the status information of the projectable device, can also be correspondingly displayed on the interface. For example, the status of the projectable device under the current local area network is marked as the active state, that is, the online state. Specifically, it can be marked with a green circle and accompanied by the text information "Currently Online". The status of the historical projectable device is marked as the inactive state, that is, the offline state. Specifically, it can be marked with a gray circle and accompanied by the text information "Online hours or days ago".
[0073] Step S404, the user determines whether the desired projectable device has been displayed. If not displayed, click to switch to the next local area network, triggering the network access management device to execute step S412; if already displayed, select the displayed projectable device and execute step S405.
[0074] Step S405, the projection APP determines whether the projectable device selected by the user is within the currently connected local area network. If it is within the currently connected local area network, execute step S406; if it is not within the currently connected local area network, notify the network access management module to execute step S407, where the notification information may include the device information of the projectable device selected by the user.
[0075] Step S406, directly cast the screen.
[0076] Step S407, the network access management module searches the relationship mapping table according to the information of the projectable device selected by the projection APP, and sends a unicast probe request frame to the specified unique identification information BSSID on the historical channel according to the data in the relationship mapping table, and attempts to detect for a certain duration.
[0077] Specifically, the network access management module can obtain the unique identification information BSSID of the network access point corresponding to the projectable device and the corresponding historical channel from the relationship mapping table according to the device information of the projectable device selected by the user, and send a unicast probe request frame on the historical channel. The RA and DA of the unicast probe request frame are the specified unique identification information BSSID. The network name SSID of the unicast probe request frame can be selected as the historical network name SSID or be empty, and the scanning duration can be pre-configured.
[0078] Step S408, the network access management module determines whether it has successfully received the probe response frame sent by the specified unique identification information BSSID. If received, execute step S409; if not received, execute step S410.
[0079] Step S409, the network access management module switches the connection of the terminal device to the network access point corresponding to the specified unique identification information BSSID, that is, connects to the network corresponding to the projectable device.
[0080] Step S410, the network access management module determines whether it is the last channel in this frequency band except for the historical channel. If not, execute Step S411; if so, trigger the network access management device to execute Step S412.
[0081] Step S411, the network access management module selects the next channel in this frequency band except for the historical channel to continue sending the unicast probe request frame. The RA and DA of this unicast probe request frame are the specified unique identification information BSSID, and execute Step S408 within the configured time to determine whether a probe response frame sent by the specified unique identification information BSSID is successfully received.
[0082] Step S412, the network access management module switches to other network access points saved by the terminal device. The switching method is the specified newly accessed unique identification information BSSID, and returns to Step S402. That is to say, if the desired projectable device is not found in the current network, switch to the next network to search for the desired projectable device in the next network according to the foregoing steps.
[0083] It can be seen from the above example that only Step S401 and Step S404 are participated by the user. In the link where the user needs to judge in Step S404, if the deployment of the terminal device, the projectable device, and the local area network does not change, this step can be executed only once, that is, select the already displayed projectable device, and at this time the branch of Step S412 actually does not need to be executed, thus making the entire projection process achieve non-sensing. And in the case where the deployment of the terminal device, the projectable device, and the local area network changes or a new projectable device is added, Step S412 can be selected to switch the network access point.
[0084] In some embodiments, the above screen mirroring method for wireless terminal devices further includes: updating the key-value pair information data of the historical projectable device according to the key-value pair information data of the current projectable device.
[0085] Specifically, when a new projectable device is added, such as when the terminal device discovers a new projectable device through the projection protocol, at this time, the key-value pair information data of this projectable device is obtained, and the key-value pair information data of the historical projectable device is updated, that is, the relationship mapping table is updated. It can be understood that when the projectable device and the local area network change, the latest key-value pair information data can also be generated, that is, the latest relationship mapping table is generated.
[0086] In some embodiments, the screen mirroring method for the wireless terminal device further includes: receiving the addition and / or deletion instruction information of the user, where the addition and / or deletion instruction information includes the device information of the projectable device to be added and / or deleted; adding and / or deleting the key-value pair information data of the projectable device according to the addition and / or deletion instruction information.
[0087] Specifically, the user can delete the displayed (historical or newly discovered) projectable device on the terminal device display interface. At this time, the network access management module can delete the corresponding key-value pair information data, that is, delete the corresponding key-value pair information data in the relationship mapping table to establish the latest relationship mapping table. Thus, expired historical data can be deleted, and it can also be used for resetting when historical data is abnormal. Of course, the user can also add a projectable device on the terminal device display interface. By adding, deleting, and updating data, when the user selects to manually switch the network access point, it will not affect the access policy during the traditional manual switching of the network access point. In other words, the present application can be compatible with the access policy of the traditional manual switching of the network access point, thereby improving the flexibility of screen mirroring.
[0088] Further, as a specific example, the establishment of the foregoing relationship mapping table and the process of obtaining, displaying, and updating the key-value pair information data of the projectable device between the projection APP and the network access management module can be as Figure 5 shown:
[0089] Step S501: The user opens the projection APP to prepare for screen mirroring.
[0090] Step S502: The projection APP requests to obtain the key-value pair information data of the historical projectable device according to the location information.
[0091] Step S503: The network access management module returns the key-value pair information data of the historical projectable device.
[0092] Step S504: The projection APP displays the historical projectable device obtained according to the location information and displays it as online a few hours or days ago.
[0093] Step S505: The projection APP obtains the latest projectable device within the current local area network and updates the device display status of the projection APP to currently online.
[0094] Step S506: The projection APP notifies the network access management module of the latest screen mirrorable device.
[0095] Step S507: The user deletes the projectable device.
[0096] It can be understood that the user can also add a projectable device.
[0097] Step S508: The projection APP notifies the network access management module to delete the projection-enabled device.
[0098] It is understandable that the user can also manually add or delete a projectable device through the interface provided by the network access management module. In addition, the projectable device discovered by the NFC, Bluetooth or other devices can also be notified to the network access network module.
[0099] Step S509: Create, update or delete key-value pair information data corresponding to the projection device.
[0100] In summary, according to the screen projection method for wireless terminal devices in an embodiment of the present invention, based on the key-value pair information data of the projectable device, the user can directly select the desired projectable device on the mobile terminal for projection. Compared with the traditional solution that requires the user to manually switch the network access point or the mobile terminal device to change the signal strength to switch the network access point when the projectable device is not in the current local area network connected to the terminal device, the present solution achieves automatic and seamless switching of network access points during projection, which greatly improves the user experience. Moreover, compared with the key-value pair mapping relationship established according to the network name SSID, the unique identification information BSSID is unique. When the network name SSID is the same but the unique identification information BSSID is different, the user can still switch between different access points seamlessly.
[0101] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the screen projection method for a wireless terminal device as in the above embodiment are implemented.
[0102] According to the computer-readable storage medium of an embodiment of the present invention, through the above-mentioned screen projection method for wireless terminal devices, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identification information of the corresponding network access point of the projectable device, and the connection between the terminal device and the projectable device can be achieved without manual network switching, thereby speeding up the network switching speed and improving the user experience when projecting the screen.
[0103] An embodiment of the present invention also provides a wireless terminal device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the screen projection method for the wireless terminal device as described in the above embodiment are implemented.
[0104] The wireless terminal device according to an embodiment of the present invention, through the above-mentioned screen mirroring method for wireless terminal devices, automatically switches the terminal device in a network different from the projectable device to the network corresponding to the projectable device through the channel and unique identification information of the corresponding network access point of the projectable device, and realizes the connection between the terminal device and the projectable device without manual network switching, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0105] Figure 6 FIG. is a schematic structural diagram of a screen mirroring device for a wireless terminal device according to an embodiment of the present invention, as Figure 6 shown, the screen mirroring device 100 for the wireless terminal device includes: an acquisition module 110, a reception module 120, a network access management module 130, and a screen mirroring module 140.
[0106] Among them, the acquisition module 110 is configured to acquire key-value pair information data of a projectable device corresponding to the terminal device, where the key-value pair information data includes device information of the projectable device and channel and unique identification information of the corresponding network access point; the reception module 120 is configured to receive device information of the device to be projected; the network access management module 130 is configured to, when the device information of the device to be projected matches the device information of the projectable device and it is determined that the projectable device and the terminal device are in different networks according to the unique identification information of the network access point corresponding to the projectable device, connect the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device; the screen mirroring module 140 is configured to project the data to be projected of the terminal device onto the projectable device.
[0107] In some embodiments, the acquisition module 110 is specifically configured to: acquire key-value pair information data of the current projectable device in the current network where the terminal device is located, and acquire key-value pair information data of the historical projectable device corresponding to the terminal device in other networks, so as to obtain key-value pair information data of the projectable device corresponding to the terminal device.
[0108] In some embodiments, the key-value pair information data further includes location information of the network access point corresponding to the projectable device, and the acquisition module 110 is specifically configured to: acquire the current location information of the terminal device, and acquire key-value pair information data of the historical projectable device corresponding to the terminal device in other networks according to the current location information and the location information of the network access point corresponding to the projectable device.
[0109] In some embodiments, the key-value pair information data further includes status information of the projectable device, and the above-mentioned screen mirroring device for the wireless terminal device further includes: a display module (not specifically shown in the figure), configured to display device information of the projectable device and perform status marking on the projectable device according to the status information of the projectable device.
[0110] In some embodiments, the channel includes the historical channel corresponding to the projectable device. The network access management module 130 is specifically configured to: send a probe request frame on the historical channel corresponding to the projectable device, receive a probe response frame fed back by the projectable device, and when receiving the probe response frame, connect the terminal device to the network corresponding to the projectable device according to the unique identification information of the network access point corresponding to the projectable device, where the probe request frame includes the unique identification information of the network access point corresponding to the projectable device.
[0111] In some embodiments, the channel further includes a channel that has not been used by the projectable device on the corresponding network access point. The network access management module 130 is further specifically configured to: when not receiving a probe response frame, send a probe request frame on the unused channel, receive a probe response frame fed back by the projectable device, and after receiving the probe response frame, connect the terminal device to the network corresponding to the projectable device according to the unique identification information of the network access point corresponding to the projectable device.
[0112] In some embodiments, the key-value pair information data further includes the network name of the network access point corresponding to the projectable device. The probe request frame further includes the network name of the network access point corresponding to the projectable device. The network access management module 130 is further configured to, after receiving the probe response frame, connect the terminal device to the network corresponding to the projectable device according to the network name and the unique identification information of the network access point corresponding to the projectable device.
[0113] In some embodiments, if the network access management module 130 does not receive a probe response frame within the network corresponding to the projectable device, it connects the terminal device to another network and re-obtains the key-value pair information data of the projectable device corresponding to the terminal device through the acquisition module 110.
[0114] In some embodiments, the probe request frame is a unicast probe request frame.
[0115] In some embodiments, if the device information of the device to be projected matches the device information of the projectable device and it is determined that the projectable device and the terminal device are in the same network according to the unique identification information of the network access point corresponding to the projectable device, the network access management module 130 directly projects the data to be projected of the terminal device onto the projectable device through the screen mirroring module 140.
[0116] In some embodiments, if the device information of the device to be projected does not match the device information of the projectable device, the network access management module 130 connects the terminal device to another network and re-obtains the key-value pair information data of the projectable device corresponding to the terminal device through the acquisition module 110.
[0117] In some embodiments, the network access management module 130 is further configured to update the key-value pair information data of the historical projectable device according to the key-value pair information data of the current projectable device.
[0118] In some embodiments, the network access management module 130 is further configured to receive the addition and / or deletion instruction information of the user, where the addition and / or deletion instruction information includes the device information of the projectable device to be added and / or deleted; and add and / or delete the key-value pair information data of the projectable device according to the addition and / or deletion instruction information.
[0119] It should be noted that for the description of the screen mirroring device for wireless terminal devices in this application, please refer to the description of the screen mirroring method for wireless terminal devices in this application, and details are not described here again.
[0120] According to the screen mirroring device for wireless terminal devices of the embodiments of the present invention, the device information of the projectable device corresponding to the terminal device, the channel and unique identifier information of the corresponding network access point are obtained through the obtaining module, and the device information of the device to be projected is received through the receiving module. When the device information of the device to be projected matches the device information of the projectable device and the projectable device and the terminal device are in different networks, the terminal device is connected to the network corresponding to the projectable device according to the channel and unique identifier information of the network access point corresponding to the projectable device, and the data to be projected of the terminal device is projected onto the projectable device through the screen mirroring module. Thus, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identifier information of the network access point corresponding to the projectable device, and the connection between the terminal device and the projectable device can be realized without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0121] In addition, an embodiment of the present invention further provides a wireless terminal device, including the screen mirroring device for wireless terminal devices as described in the above embodiments.
[0122] According to the wireless terminal device of the embodiments of the present invention, the terminal device in a network different from the projectable device is automatically switched to the network corresponding to the projectable device through the channel and unique identifier information of the network access point corresponding to the projectable device, and the connection between the terminal device and the projectable device can be realized without manually switching the network, thereby accelerating the network switching speed and improving the user experience during screen mirroring.
[0123] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in combination with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then storing it in a computer memory.
[0124] It should be understood that various parts of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
[0125] In the description of this specification, the description referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0126] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise specifically and clearly defined.
[0127] In the present invention, unless otherwise clearly specified and defined, terms such as "mounted", "connected", "coupled", "fixed", etc. shall be construed in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the internal communication of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0128] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A screen mirroring method for a wireless terminal device, characterized in that Including: Obtaining key-value pair information data of a projectable device corresponding to a terminal device, where the key-value pair information data includes device information of the projectable device and channel and unique identification information of a corresponding network access point, and the projectable device includes a projectable device in the same local area network as the terminal device and a projectable device projected by the terminal device in other local area networks; Receiving device information of a device to be projected; If the device information of the device to be projected matches the device information of the projectable device and it is determined that the projectable device and the terminal device are in different networks according to the unique identification information of the network access point corresponding to the projectable device, then connecting the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device, and projecting the data to be projected of the terminal device to the projectable device.
2. The screen mirroring method for a wireless terminal device according to claim 1, characterized in that, The obtaining key-value pair information data of a projectable device corresponding to a terminal device includes: Obtaining key-value pair information data of current projectable devices in the current network where the terminal device is located, and obtaining key-value pair information data of historical projectable devices corresponding to the terminal device in other networks, so as to obtain key-value pair information data of projectable devices corresponding to the terminal device.
3. The screen mirroring method for a wireless terminal device according to claim 2, wherein, The key-value pair information data further includes location information of the network access point corresponding to the projectable device, and the obtaining key-value pair information data of historical projectable devices corresponding to the terminal device in other networks includes: Obtaining the current location information of the terminal device; According to the current location information and the location information of the network access point corresponding to the projectable device, obtaining key-value pair information data of historical projectable devices corresponding to the terminal device in other networks.
4. The screen mirroring method for a wireless terminal device according to any one of claims 1-3, characterized in that, The key-value pair information data further includes status information of the projectable device. After obtaining the key-value pair information data of projectable devices corresponding to the terminal device, the method further includes: Displaying the device information of the projectable device, and performing status marking on the projectable device according to the status information of the projectable device.
5. The screen mirroring method for a wireless terminal device according to claim 1, wherein The channel includes a historical channel corresponding to the projectable device. The connecting the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device includes: Sending a probe request frame on the historical channel corresponding to the projectable device, where the probe request frame includes the unique identification information of the network access point corresponding to the projectable device; Receiving a probe response frame fed back by the projectable device; If the probe response frame is received, connecting the terminal device to the network corresponding to the projectable device according to the unique identification information of the network access point corresponding to the projectable device.
6. The screen mirroring method for a wireless terminal device according to claim 5, wherein The channel further includes a channel not used by the projectable device at the corresponding network access point. The connecting the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device further includes: If the probe response frame is not received, send the probe request frame on the unused channel, receive the probe response frame fed back by the projectable device, and after receiving the probe response frame, connect the terminal device to the network corresponding to the projectable device according to the unique identification information of the network access point corresponding to the projectable device.
7. The screen mirroring method for a wireless terminal device according to claim 5, characterized in that, The key-value pair information data further includes the network name of the network access point corresponding to the projectable device, and the probe request frame further includes the network name of the network access point corresponding to the projectable device, where After receiving the probe response frame, connect the terminal device to the network corresponding to the projectable device according to the network name and unique identification information of the network access point corresponding to the projectable device.
8. The screen mirroring method for a wireless terminal device according to claim 6, characterized in that, If the probe response frame is not received within the network corresponding to the projectable device, connect the terminal device to another network, and return to the step of obtaining the key-value pair information data of the projectable device corresponding to the terminal device.
9. The screen mirroring method for a wireless terminal device according to any one of claims 5-8, characterized in that, The probe request frame is a unicast probe request frame.
10. The screen mirroring method for a wireless terminal device according to claim 1, characterized in that, Further included is: If the device information of the device to be projected matches the device information of the projectable device, and it is determined that the projectable device and the terminal device are in the same network according to the unique identification information of the network access point corresponding to the projectable device, directly project the data to be projected of the terminal device to the projectable device.
11. The screen mirroring method for a wireless terminal device according to claim 1, wherein, Further included is: If the device information of the device to be projected does not match the device information of the projectable device, connect the terminal device to another network, and return to the step of obtaining the key-value pair information data of the projectable device corresponding to the terminal device.
12. The screen mirroring method for a wireless terminal device according to claim 2, wherein, Further included is: Update the key-value pair information data of the historical projectable device according to the key-value pair information data of the current projectable device.
13. The screen mirroring method for a wireless terminal device according to claim 1, characterized in that, Further included is: Receive the addition and / or deletion instruction information of the user, where the addition and / or deletion instruction information includes the device information of the projectable device to be added and / or deleted; Add and / or delete the key-value pair information data of the projectable device according to the addition and / or deletion instruction information.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the screen mirroring method for a wireless terminal device according to any one of claims 1 to 13 are implemented.
15. A wireless terminal device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the screen mirroring method for a wireless terminal device according to any one of claims 1 to 13 are implemented.
16. A screen mirroring device for a wireless terminal device, characterized in that, Included are: An acquisition module, configured to acquire the key-value pair information data of the projectable device corresponding to the terminal device, where the key-value pair information data includes the device information of the projectable device and the channel and unique identification information of the corresponding network access point, and the projectable device includes a projectable device in the same local area network as the terminal device, and a projectable device projected by the terminal device in other local area networks; A receiving module, configured to receive the device information of the device to be projected; A network access management module, configured to connect the terminal device to the network corresponding to the projectable device according to the channel and unique identification information of the network access point corresponding to the projectable device when the device information of the device to be projected matches the device information of the projectable device and it is determined that the projectable device and the terminal device are in different networks according to the unique identification information of the network access point corresponding to the projectable device; A screen mirroring module, configured to project the data to be projected of the terminal device onto the projectable device.
17. A wireless terminal device, characterized in that, It includes a screen mirroring device for wireless terminal devices as described in claim 16.
Citation Information
Patent Citations
Fingerprint analysis of wireless signals for automatic disconnect of wireless display
US20180098377A1