CN117255436A - Screen-throwing control method and device of multi-link equipment, electronic equipment and medium - Google Patents

Screen-throwing control method and device of multi-link equipment, electronic equipment and medium Download PDF

Info

Publication number
CN117255436A
CN117255436A CN202210653108.5A CN202210653108A CN117255436A CN 117255436 A CN117255436 A CN 117255436A CN 202210653108 A CN202210653108 A CN 202210653108A CN 117255436 A CN117255436 A CN 117255436A
Authority
CN
China
Prior art keywords
link
screen
request
access point
throwing
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.)
Pending
Application number
CN202210653108.5A
Other languages
Chinese (zh)
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.)
Yibin Jimi Photoelectric Co Ltd
Original Assignee
Yibin Jimi Photoelectric 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 Yibin Jimi Photoelectric Co Ltd filed Critical Yibin Jimi Photoelectric Co Ltd
Priority to CN202210653108.5A priority Critical patent/CN117255436A/en
Publication of CN117255436A publication Critical patent/CN117255436A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a screen projection control method and device of multi-link equipment, electronic equipment and a storage medium, and relates to the technical field of screen projection. The method comprises the following steps: receiving a screen throwing request, and generating access point establishing information according to the screen throwing request, wherein the access point establishing information comprises: information of the target link; transmitting a link disconnection request to the network equipment according to the access point establishment information, and receiving a link disconnection response transmitted by the network equipment, wherein the link disconnection request is used for requesting the network equipment to disconnect a target link; according to the link disconnection response, disconnecting the target link, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screen-thrown is connected with the screen-thrown equipment based on the access point information and screen-thrown, and meanwhile, the equipment to be screen-thrown is kept connected with the network equipment through links except the target link. The method can avoid the screen throwing equipment to simultaneously throw the screen and networking through the links in the non-simultaneous receiving and transmitting link set, thereby improving the accuracy of data transmission.

Description

Screen-throwing control method and device of multi-link equipment, electronic equipment and medium
Technical Field
The application relates to the technical field of screen projection, in particular to a screen projection control method and device of multi-link equipment, electronic equipment and a medium.
Background
With the rapid development of internet technology, wireless screen projection technology is widely applied, and wireless screen projection is to send content on one screen to another screen for display.
In the 802.11be protocol, a multilink technology is supported, and in a multilink scenario, typically, one physical device may include a plurality of logic devices, each of which may independently manage data transmission and reception, and each of which independently operates on one link, and such physical devices are called multilink devices. How to coordinate the networking and screen-throwing problems of the multi-link screen-throwing equipment is a problem to be solved.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a screen-throwing control method, a device, an electronic device and a medium of a multi-link device, so as to realize simultaneous networking and screen throwing of the multi-link screen-throwing device.
In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
in a first aspect, an embodiment of the present application provides a screen-projection control method of a multi-link device, which is applied to a screen-projection device, and the method includes:
Receiving a screen throwing request, and generating access point establishment information according to the screen throwing request, wherein the access point establishment information comprises: information of the target link;
transmitting a link disconnection request to network equipment according to the access point establishment information, and receiving a link disconnection response transmitted by the network equipment, wherein the link disconnection request is used for requesting the network equipment to disconnect the target link;
and according to the link disconnection response, disconnecting the target link, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screen-throwing is connected with the screen-throwing equipment based on the access point information and is screen-throwing, and meanwhile, the equipment to be screen-throwing is connected with the network equipment through links except the target link.
Optionally, the screen-drop request includes: information of the first link; the target link and the first link are the same link or different links, and the target link and the first link are links in a plurality of links.
Optionally, the screen projection device includes: the screen projection management unit and the communication unit are used for receiving a screen projection request, generating access point establishment information according to the screen projection request, and the method comprises the following steps:
Receiving a screen projection request through the screen projection management unit, judging whether the first link belongs to a non-cooperative link set, generating access point establishment information according to a judging result, and sending the access point establishment information to the communication unit; or,
and receiving a screen projection request through the screen projection management unit, sending the screen projection request to the communication unit, judging whether the first link belongs to a non-cooperative link set or not by the communication unit, and generating the access point establishment information according to a judgment result.
Optionally, the screen projection device includes: the screen projection management unit and the communication unit are used for receiving a screen projection request, generating access point establishment information according to the screen projection request, and the method comprises the following steps:
receiving a screen projection request through the screen projection management unit, determining the target link by the screen projection management unit according to a preset strategy, and generating the access point establishment information according to the target link; or,
and sending the screen projection request to the communication unit through the screen projection management unit, determining the target link by the communication unit according to a preset strategy, and generating the access point establishment information according to the target link, wherein the preset strategy is used for indicating that all links belonging to a non-cooperative link set in a plurality of links are used as the target link, or that all links belonging to the non-cooperative link set in the plurality of links are not used as the target link.
Optionally, the generating the access point establishment information according to the determination result includes:
if the first link belongs to a link in a non-cooperative link set, determining that the link not in the non-cooperative link set is the target link, or determining that all links in the non-cooperative link set are the target link;
and generating the access point establishment information according to the target link.
Optionally, the generating the access point establishment information according to the determination result includes:
if the first link does not belong to the link in the non-cooperative link set, determining that the first link is the target link;
and generating the access point establishment information according to the target link.
Optionally, sending a link disconnection request to the network device according to the access point establishment information, and receiving a link disconnection response sent by the network device, including:
transmitting, by the communication unit, a link disconnection request to the network device via any one of a plurality of links, or transmitting, by the communication unit, a link disconnection request to the network device via the target link, the link disconnection request including: information of the target link;
And receiving a link disconnection response sent by the network equipment through the communication unit, wherein the link disconnection response is used for judging whether the link disconnection request is approved or not.
Optionally, after the generating the access point information and broadcasting, the method further includes:
receiving a screen throwing termination request;
according to the screen-throwing termination request, a link connection request is sent to the network equipment, wherein the link connection request is used for requesting the screen-throwing equipment and the network equipment to reestablish connection on the target link;
and receiving a link connection response sent by the network equipment, and establishing connection with the network equipment on the target link when the link connection response indicates that connection is agreed.
Optionally, the screen projection device includes: a communication unit, configured to send a link connection request to the network device, including:
the link connection request is sent to the network device via any one of a plurality of links by the communication unit, or the link connection request is sent to the network device via the target link by the communication unit.
In a second aspect, an embodiment of the present application further provides a screen-throwing control device of a multi-link device, which is applied to a screen-throwing device, and the device includes: the device comprises a generating module and a receiving module;
The generating module is configured to receive a screen-throwing request, generate access point establishment information according to the screen-throwing request, where the access point establishment information includes: information of the target link;
the receiving module is configured to send a link disconnection request to a network device according to the access point establishment information, and receive a link disconnection response sent by the network device, where the link disconnection request is used to request the network device to disconnect the target link;
the generating module is used for disconnecting the target link according to the link disconnection response, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screened is connected with the screen screening equipment based on the access point information and screens, and meanwhile, the equipment to be screened is connected with the network equipment through links except the target link.
Optionally, the screen-drop request includes: information of the first link; the target link and the first link are the same link or different links, and the target link and the first link are links in a plurality of links.
Optionally, the screen projection device includes: the generation module is particularly used for
Receiving a screen projection request through the screen projection management unit, judging whether the first link belongs to a non-cooperative link set, generating access point establishment information according to a judging result, and sending the access point establishment information to the communication unit; or,
and receiving a screen projection request through the screen projection management unit, sending the screen projection request to the communication unit, judging whether the first link belongs to a non-cooperative link set or not by the communication unit, and generating the access point establishment information according to a judgment result.
Optionally, the screen projection device includes: the generation module is particularly used for
Receiving a screen projection request through the screen projection management unit, determining the target link by the screen projection management unit according to a preset strategy, and generating the access point establishment information according to the target link; or,
and sending the screen projection request to the communication unit through the screen projection management unit, determining the target link by the communication unit according to a preset strategy, and generating the access point establishment information according to the target link, wherein the preset strategy is used for indicating that all links belonging to a non-cooperative link set in a plurality of links are used as the target link, or that all links belonging to the non-cooperative link set in the plurality of links are not used as the target link.
Optionally, the generating module is specifically configured to
If the first link belongs to a link in a non-cooperative link set, determining that the link not in the non-cooperative link set is the target link, or determining that all links in the non-cooperative link set are the target link;
and generating the access point establishment information according to the target link.
Optionally, the generating module is specifically configured to
If the first link does not belong to the link in the non-cooperative link set, determining that the first link is the target link;
and generating the access point establishment information according to the target link.
Optionally, the receiving module is specifically configured to
Transmitting, by the communication unit, a link disconnection request to the network device via any one of a plurality of links, or transmitting, by the communication unit, a link disconnection request to the network device via the target link, the link disconnection request including: information of the target link;
and receiving a link disconnection response sent by the network equipment through the communication unit, wherein the link disconnection response is used for judging whether the link disconnection request is approved or not.
Optionally, the apparatus further comprises: a sending module and a building module;
The receiving module is also used for receiving a screen throwing termination request;
the sending module is used for sending a link connection request to the network equipment according to the screen-throwing termination request, wherein the link connection request is used for requesting the screen-throwing equipment and the network equipment to reestablish connection on the target link;
the establishing module is configured to receive a link connection response sent by the network device, and establish connection with the network device on the target link when the link connection response indicates that connection is agreed.
Optionally, the screen projection device includes: communication unit, the transmission module is used for
The link connection request is sent to the network device via any one of a plurality of links by the communication unit, or the link connection request is sent to the network device via the target link by the communication unit.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method as provided in the first aspect when executed.
In a fourth aspect, embodiments of the present application provide a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method as provided in the first aspect.
The beneficial effects of this application are:
the application provides a screen projection control method and device of a multi-link device, an electronic device and a storage medium, wherein the method comprises the following steps: receiving a screen throwing request, and generating access point establishing information according to the screen throwing request, wherein the access point establishing information comprises: information of the target link; transmitting a link disconnection request to the network equipment according to the access point establishment information, and receiving a link disconnection response transmitted by the network equipment, wherein the link disconnection request is used for requesting the network equipment to disconnect a target link; according to the link disconnection response, disconnecting the target link, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screen-thrown is connected with the screen-thrown equipment based on the access point information and screen-thrown, and meanwhile, the equipment to be screen-thrown is kept connected with the network equipment through links except the target link. When the access point establishment information is generated, the access point establishment information is generated according to the judgment result by judging the property of the link indicated in the screen throwing request, so that the accuracy of the generated target link information can be improved, the screen throwing equipment is prevented from simultaneously throwing the screen and networking through the links in which the non-simultaneous receiving and transmitting links are concentrated, the accuracy of data transmission in the screen throwing scene is improved, and the network transmission efficiency is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic architecture diagram of a screen projection system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a screen-projection control method of a multi-link device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a screen projection device according to an embodiment of the present application;
fig. 4 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application;
fig. 5 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application;
fig. 6 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application;
fig. 7 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application;
Fig. 8 is a schematic diagram of a screen-projection control device of a multi-link device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the accompanying drawings in the present application are only for the purpose of illustration and description, and are not intended to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this application, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to the flow diagrams and one or more operations may be removed from the flow diagrams as directed by those skilled in the art.
In addition, the described embodiments are only some, but not all, of the embodiments of the present application. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features stated hereinafter, but not to exclude the addition of other features.
First, to briefly explain the multilink technology related to the present application, in a multilink scenario, generally one physical device may include multiple logic devices, where the physical device may refer to a screen-throwing device, for example: the logic device may refer to a logic unit in the physical device, and belongs to a virtual function module. Each logical device can independently manage data transmission and reception, and each logical device independently operates on one link, and such a physical device is called a Multi-link device (MLD).
When a multi-link device transmits data on one link, the other links cannot receive data, and these links are called non-simultaneous transmit receive (NSTR, non-simultaneous transmitting and receiving) link sets; if the multi-link device is configured with a transceiver with higher performance, the anti-interference capability of data transceiving among a plurality of links is strong, when data is transmitted on one link, data can be received on other links, the data transceiving between the two links does not affect each other, and the links are called a simultaneous transceiving (STR, simultaneous transmitting and receiving) link set.
The proposal of the scheme is based on that the NSTR link set possibly exists in a plurality of links operated by the screen throwing device under a multi-link scene, and the screen throwing device cannot cooperatively operate a plurality of logic devices on the links in the NSTR link set to simultaneously connect the Internet and the equipment to be thrown, so that the data transmission error rate is higher.
According to the method and the device, when the screen of the equipment is switched on, the property of the initiated link needing to establish the screen switching access point is firstly judged, when the link needing to establish the screen switching access point is judged to belong to an NSTR link set, the screen switching connection is refused to be established or the access point is established on the link not belonging to the NSTR link set, or the access points are selectively established on all the links in the NSTR link set at the same time, so that all the links in the NSTR link set are established or are all connected on the same time, the condition that the equipment is connected on the same time as the links in the NSTR link set, and the screen switching equipment cannot cooperatively operate to connect and switch on the screen is avoided. Based on the method, the data accurate transmission in the screen projection scene is realized.
Fig. 1 is a schematic architecture diagram of a screen projection system according to an embodiment of the present application, where, as shown in fig. 1, the screen projection system may include: the screen throwing device is understood to be the device to be thrown, the screen throwing device is the device to be thrown, the video on the mobile phone is thrown to the projector for example, the mobile phone is the device to be thrown, and the projector is the device to be thrown. And the network device may refer to a router or the like.
The screen-throwing device may include a plurality of logic devices, as shown in fig. 1, for example, the network device may include three logic access points, each logic device of the screen-throwing device may establish a connection with each logic access point in the network device through a link, so as to establish a connection between the screen-throwing device and the network device, and after the connection is established, the screen-throwing device may perform data transmission through a connection link with the network device.
When the equipment is to be subjected to screen projection, the equipment to be subjected to screen projection can initiate a screen projection request to the screen projection equipment so as to request to establish screen projection connection with the screen projection equipment through a link, the screen projection equipment can judge whether the requested link belongs to a non-simultaneous receiving and transmitting link set or a simultaneous receiving and transmitting link set, and according to a judging result, a target link is determined, after the target link is determined, the screen projection equipment is disconnected from the network equipment on the target link, and an access point is established on the target link, so that the equipment to be subjected to screen projection can establish connection with the screen projection equipment through the access point and perform screen projection.
Of course, when the screen throwing device does not include the non-simultaneous receiving and transmitting link set, the screen throwing device can directly disconnect a request link included in a screen throwing request initiated by the screen throwing device, connect with the network device on the request link, and establish an access point on the request link for the screen throwing device to access and throw the screen.
Fig. 2 is a schematic flow chart of a screen-projection control method of a multi-link device according to an embodiment of the present application; the execution subject of the method may be a screen projection device in the screen projection system described above. As shown in fig. 2, the method may include:
s201, receiving a screen throwing request, and generating access point establishment information according to the screen throwing request, wherein the access point establishment information comprises: information of the target link.
When the screen-throwing device wants to throw the screen, a screen-throwing request can be sent to the screen-throwing device to request to establish connection with the screen-throwing device, and screen throwing is performed. The screen throwing request can comprise link information for indicating that the connection with the screen throwing device is established.
Optionally, the screen-throwing device receives the screen-throwing request, and generates access point establishment information according to the link information indicated by the screen-throwing request, where the access point establishment information may include: the target link information may refer to a link between the to-be-screened device and the screened device, which is finally determined.
In this embodiment, the information of the target link is determined according to the link information indicated in the screen-throwing request, and when the target link is determined, the nature of the link indicated in the screen-throwing request can be preferentially judged, and the access point establishment information is generated according to the judgment result, so as to improve the accuracy of the target link information in the generated access point establishment information.
S202, a link disconnection request is sent to the network equipment according to the access point establishment information, and a link disconnection response sent by the network equipment is received, wherein the link disconnection request is used for requesting the network equipment to disconnect a target link.
When each link in the screen throwing device is connected with the network device before the access point is not established, namely, before the screen throwing device is not connected with any screen throwing device, each link in the screen throwing device is connected with the network device so as to realize real-time networking, and data transmission is carried out between the links and the network device.
After the access point establishment information is generated, the screen throwing device sends a link disconnection request to the network device to request to disconnect the connection with the network device on a target link, the network device judges whether the target link can be disconnected or not based on the received link disconnection request, and if the target link can be disconnected, the screen throwing device sends a link disconnection response to the screen throwing device so that the screen throwing device disconnects the target link after receiving the link disconnection response.
S203, disconnecting the target link according to the link disconnection response, establishing an access point on the target link, generating access point information and broadcasting so that the equipment to be screened is connected with the screen screening equipment based on the access point information and screens, and meanwhile, the equipment to be screened is kept connected with the network equipment through links except the target link.
As described above, the screen-throwing device receives the link disconnection response, disconnects the target link, and simultaneously establishes an access point on the target link, where the established access point is used to enable the screen-throwing device to establish connection with the screen-throwing device through the access point and perform screen throwing.
Alternatively, after the access point is established, access point information may be generated and broadcast. Here, the access point may be similar to a hotspot opened by the terminal device, and other devices may join the hotspot through the password and ID of the hotspot set by the user. Likewise, the device to be screened can establish connection with the screen screening device through the information of the access point broadcasted by the screen screening device and screen screening is performed. The access point information may include an identifier of the access point and a key of the access point, the device to be screened may input the key of the access point on the device to establish connection with the access point, and the key may also be understood as a password.
When the to-be-screened device and the screened device are connected through the target link, the screened device still keeps connection with the network device through other links except the target link, so that the screen can be screened, networking can be performed at the same time, and the service performance of the screened device is improved.
In summary, the screen-projection control method of the multilink device provided in the embodiment includes: receiving a screen throwing request, and generating access point establishing information according to the screen throwing request, wherein the access point establishing information comprises: information of the target link; transmitting a link disconnection request to the network equipment according to the access point establishment information, and receiving a link disconnection response transmitted by the network equipment, wherein the link disconnection request is used for requesting the network equipment to disconnect a target link; according to the link disconnection response, disconnecting the target link, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screen-thrown is connected with the screen-thrown equipment based on the access point information and screen-thrown, and meanwhile, the equipment to be screen-thrown is kept connected with the network equipment through links except the target link. When the access point establishment information is generated, the access point establishment information is generated according to the judgment result by judging the property of the link indicated in the screen throwing request, so that the accuracy of the generated target link information can be improved, the screen throwing equipment is prevented from simultaneously throwing the screen and networking through the links in which the non-simultaneous receiving and transmitting links are concentrated, the accuracy of data transmission in the screen throwing scene is improved, and the network transmission efficiency is ensured.
Optionally, the screen-drop request includes: information of the first link; the target link and the first link are the same link or different links, and the target link and the first link are links in a plurality of links.
In one implementation, the above-mentioned screen-drop request may include information of a first link, where the first link may be any one of a plurality of links included in the screen-drop device.
Optionally, the screen-throwing device may determine the property of the first link, and generate information of the target link according to the determination result, where the target links corresponding to different determination results are different, and in one possible case, the target link and the first link are the same link, that is, the first link is taken as the target link. In another possibility, the target link is a different link than the first link.
Fig. 3 is a schematic structural diagram of a screen projection device according to an embodiment of the present application, and optionally, the screen projection device may include: the screen projection management unit and the communication unit can respectively and correspondingly execute the functions executed by the screen projection equipment according to the functions which can be realized by the units.
In some embodiments, the screen-drop request received by the screen-drop management unit may include information of the first link, that is, the screen-drop request may include parameters: linkinefo: indicating on which links an access point is established, e.g. set to link 1. In this case, the screen projection management unit or the communication unit needs to determine whether the first link belongs to the non-cooperative link set, so as to generate the access point establishment information according to the determination result.
Optionally, in step S201, generating the access point establishment information according to the screen-throwing request may include:
and receiving a screen projection request through a screen projection management unit, judging whether the first link belongs to a non-cooperative link set, generating access point establishment information according to a judging result, and sending the access point establishment information to a communication unit.
In one implementation manner, a screen projection request sent by a screen projection device to be projected can be received through a screen projection management unit in the screen projection device, and the nature of a first link included in the screen projection request is judged.
Here, it may be determined whether the first link belongs to a non-cooperative link set (i.e., the non-simultaneous transceiving link set, NSTR) and the access point establishment information is generated according to the determination result, and the screen-on management unit sends the generated access point establishment information to the communication unit.
Or receiving the screen projection request through the screen projection management unit, sending the screen projection request to the communication unit, judging whether the first link belongs to a non-cooperative link set or not by the communication unit, and generating access point establishment information according to a judging result.
In another implementation manner, the screen projection management unit may receive a screen projection request sent by the screen projection device, the screen projection management unit sends the screen projection request to the communication unit, and the communication unit determines the nature of the first link and generates the access point establishment information.
That is, the access point establishment information can be judged and generated by the screen projection management unit in the screen projection equipment according to the screen projection request, or can be judged and generated by the communication unit in the screen projection equipment according to the screen projection request.
Different steps are respectively executed by different functional units in the screen throwing equipment, so that the pressure of an execution thread in the screen throwing equipment can be relieved to a certain extent, and the execution efficiency of the screen throwing equipment is improved.
In yet other embodiments, the screen request received by the screen management unit may not include parameters: linkinefo. In this case, the screen-projection management unit or the communication unit needs to determine the target link according to a preset policy and generate the access point establishment information.
Optionally, in step S201, generating the access point establishment information according to the screen-throwing request may include:
and receiving a screen projection request through a screen projection management unit, determining a target link by the screen projection management unit according to a preset strategy, and generating access point establishment information according to the target link.
When the access point establishment information is generated by the screen projection management unit, the screen projection management unit can determine a target link according to a preset strategy and generate the access point establishment information according to the determined target link.
Or, sending a screen projection request to the communication unit through the screen projection management unit, determining a target link by the communication unit according to a preset strategy, and generating access point establishment information according to the target link.
When the communication unit generates the access point establishment information, the communication unit may also determine a target link according to a preset policy, and generate the access point establishment information according to the determined target link.
The preset policy is used for indicating that all links belonging to the non-cooperative link set in the multiple links are used as target links, or none of links belonging to the non-cooperative link set in the multiple links are used as target links.
Optionally, the screen-throwing management unit or the communication unit may determine the target link according to the same preset policy.
The preset strategy indicates that all links belonging to a non-cooperative link set in a plurality of links in the screen throwing equipment are used as target links. In this case, the target link may include all links belonging to the non-cooperative link set, i.e. the target link may include a plurality. For example: the screen projection device comprises a link 1, a link 2, a link 3 and a link 4, wherein the link 3 and the link 4 belong to a non-cooperative link set, and then the link 3 and the link 4 can be determined to be target links.
The preset strategy indicates that all links belonging to a non-cooperative link set in a plurality of links in the screen throwing equipment are not used as target links. In this case, the target link may then comprise one or more links in the set of cooperative links, provided that the target link is satisfied that it does not comprise links in the set of non-cooperative links.
Whether the screen-throwing request comprises the parameter Linkinefo or not, the two implementation methods can enable the links in the non-cooperative link set in the screen-throwing equipment to be simultaneously used as target links to be connected with the equipment to be screened at the same time, or the links in the non-cooperative link set are not simultaneously used as target links at the same time, so that the connection with the network equipment is maintained. Therefore, the problem that the data transmission error rate is high because a plurality of logic devices which are not operated on the non-cooperative link set in a cooperative mode are connected and connected simultaneously can be avoided, and the data transmission accuracy of the multi-link screen-throwing device in the scene of simultaneous networking and screen throwing can be improved.
Fig. 4 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application; optionally, the generating the access point establishment information according to the determination result may include:
S401, if the first link belongs to a link in the non-cooperative link set, determining that the link not belonging to the non-cooperative link set is a target link, or determining that all links in the non-cooperative link set are target links.
The generation mode of the access point establishment information can be simultaneously applied to the screen projection management unit and the communication unit.
Alternatively, when it is determined that the first link belongs to a link in the non-cooperative link set, then one or more links may be selected from the cooperative link set as target links, that is, the determined target links are guaranteed to be links in the cooperative link set, so that the links in the non-cooperative link set will not serve as target links to generate an access point for screen casting.
Or when the first link is judged to belong to the link in the non-cooperative link set, then all links in the non-cooperative link set can be used as target links, that is, the determined target links are guaranteed to be all links in the non-cooperative link set, so that all links in the non-cooperative link set are used as access points to carry out screen-throwing connection, and connection cannot be established with the network equipment.
The two modes can enable the links in the non-cooperative link set to be used as target links to establish access points for screen-throwing connection, or establish network connection with network equipment, and meanwhile, the links in the non-cooperative link set are all used for networking or are all used for screen throwing at the same time.
S402, generating access point establishment information according to the target link.
Optionally, based on the determined target link, access point establishment information may be generated, where the access point establishment information includes information of the target link.
Fig. 5 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application; optionally, the generating the access point establishment information according to the determination result may include:
s501, if the first link does not belong to the link in the non-cooperative link set, determining that the first link is a target link.
When the first link is judged not to belong to the link in the non-cooperative link set, the first link can be directly determined to be the target link. At this point, the links in the non-coordinated link set remain networked with the network device.
S502, generating access point establishment information according to a target link.
Based on the determined target link, access point establishment information may be generated, which may include information of the target link.
In addition to the above several implementations, in still another case, when it is determined that the first link belongs to the non-cooperative link set, the screen throwing request may be refused or the access point may be refused to be established, where the to-be-thrown device needs to initiate the screen throwing request to the screen throwing device again.
Fig. 6 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application; optionally, in step S202, sending a link disconnection request to the network device according to the access point establishment information, and receiving a link disconnection response sent by the network device may include:
s601, sending, by the communication unit, a link disconnection request to the network device via any one of the plurality of links, or sending, by the communication unit, a link disconnection request to the network device via the target link, the link disconnection request including: information of the target link.
In one implementation, the communication unit may send a link disconnection request to the network device through any link in the screen device, where the link disconnection request indicates a link that needs to be disconnected, and the link disconnection request may be a disassociation request message or a link reconfiguration request message.
In another possible implementation, the communication unit may also send a link disconnection request to the network device through the target link included in the access point establishment information, that is, send a link disconnection request to the network device through the link that needs to be disconnected.
Alternatively, the link disconnection request may include: information of the target link and/or link-down type, the link-down type being used to indicate that the type of the reconfigured target link is an established access point.
S602, receiving a link disconnection response sent by the network equipment through the communication unit, wherein the link disconnection response is used for judging whether to agree with the link disconnection request.
After receiving the link disconnection request, the network device may send a link disconnection response to the communication unit, where the link disconnection response indicates whether to agree with the link disconnection request, and if so, the communication unit may disconnect the connection with the network device on the target link according to the indication of the link disconnection request and keep the connection with the network device on the other link.
Here, the network device may determine whether to grant the link disconnection request according to the state of the target link in the received link disconnection request, and if the target link is currently used for data transmission, that is, the target link is being used, the link disconnection request is not granted, otherwise the link disconnection request is granted.
Fig. 7 is a flowchart of another screen-drop control method of a multi-link device according to an embodiment of the present application; optionally, in step S203, after generating the access point information and broadcasting, the method of the present application may further include:
S701, receiving a screen throwing termination request.
In some embodiments, the screen casting device may also receive a screen casting termination request. This can be divided into different cases: the screen throwing management unit can send a screen throwing termination request to the screen throwing management unit of the screen throwing device directly, or the screen throwing management unit can send the screen throwing termination request to the communication unit when the timer T1 reaches the timing time, namely, the time of establishing the access point exceeds the preset time threshold value, no screen throwing device is connected to the established access point or no data is transmitted between the screen throwing device and the screen throwing device although the screen throwing device is connected to the established access point, and the screen throwing management unit sends the screen throwing termination request to the communication unit to request the communication unit to terminate the access point.
The drop termination request here may also include a parameter linkingfo indicating on which links the access point is terminated.
S702, according to the screen-throwing termination request, a link connection request is sent to the network equipment, wherein the link connection request is used for requesting the screen-throwing equipment and the network equipment to reestablish connection on a target link.
The screen-casting device may send a link connection request to the network device via the communication unit to request re-establishment of a connection with the network device on the target link requested by the screen-casting termination request, i.e. the target link is used to establish a network connection with the network device, and no longer serves as an access point for the screen-casting connection.
S703, receiving a link connection response sent by the network device, and establishing connection with the network device on the target link when the link connection response indicates that the connection is agreed.
Similarly, the communication unit may receive a link connection response sent by the network device, and establish a connection with the network device on the target link when the link connection response indicates that the connection is granted, so as to implement the networking function. And when the screen throwing request sent by the screen throwing equipment is received again, the method is continuously executed so as to reestablish the access point.
Optionally, the screen projection device includes: the communication unit, in step S702, may send a link connection request to the network device, and may include: the link connection request is sent to the network device via any one of the plurality of links by the communication unit or via the target link by the communication unit.
The method for sending the link disconnection request to the network device is the same as that described above, and the link connection request may be sent to the network device through any one of multiple links, or may be directly sent to the network device through the target link, which is not described in detail.
It should be noted that, in the above-mentioned whole embodiment, the information about one link is included in the screen-throwing request, that is, the request is performed on one link to establish the screen-throwing connection with the screen-throwing device as an example, in practical application, the screen-throwing request may also include information about multiple links, and the method for determining each link is the same as the above-mentioned method for determining the first link, and the method for determining the target link by the corresponding executed preset policy is also the same.
Specific examples are as follows:
first, taking a screen projection management unit to judge a screen projection request and generate access point establishment information as an example:
1. the screen throwing equipment comprises a screen throwing management unit and a communication unit, when the screen throwing management unit of the screen throwing equipment needs to establish an access point, if the screen throwing management unit receives a screen throwing request or an access point establishment request, whether a link operated by the screen throwing or the access point establishment belongs to a non-cooperative link set (NSTR) is judged, the access point is selectively established on which links according to a judging result, the access point establishment request is sent to the communication unit, and the communication unit is requested to establish the access point, wherein the request can comprise the following parameters:
Linkinefo: indicating on which links the access point is established.
1.1, a screen throwing request or an access point establishment request only requests to throw a screen or establish an access point on one link, judging whether the link belongs to (NSTR), if not, directly establishing the access point on the link, and if so, rejecting the screen throwing request or the access point establishment request, or selecting to establish the access point on the link which does not belong to the NSTR link set, or selecting to simultaneously establish the access point on all the links in the NSTR link set.
The screen throwing device comprises three links, namely a link 1-link1, a link 2-link2 and a link 3-link3, wherein link1 is a cooperative link Set (STR), and link2 and link3 are non-cooperative link sets (NSTR).
1.1.1, a screen throwing request or an access point establishment request only requests to throw a screen on link1 or establish an access point, a screen throwing management unit judges that link1 does not belong to an NSTR link set, an access point establishment request is sent to a communication unit, and a parameter linkingfo value in the request is set to be link1.
1.1.2, the request of screen projection or the request of access point establishment only requests to perform screen projection or establish access point on link2, and the screen projection management unit judges that link2 belongs to NSTR link set, then three processing modes can be adopted:
A. Reject the request for screen dropping or establish the request for access point.
B. And selecting to establish an access point on link1 which does not belong to the NSTR link set, and sending an access point establishment request to the communication unit, wherein the parameter linkingfo value in the request is set to be link1.
C. And selecting to establish access points on link2 and link3 simultaneously, and sending an access point establishment request to a communication unit, wherein a parameter linkingfo value in the request is set to be link2 and link3.
1.2, a screen throwing request or an access point establishing request requests to throw a screen or establish an access point on two links, judging whether the two links belong to NSTR link sets, if not, rejecting the screen throwing request or the access point establishing request, or selecting to establish the access point only on the links which do not belong to the NSTR link sets, or selecting to establish the access point on all the links in the NSTR link sets at the same time; if they both belong, then the access point is selected to be established on the requested link. Specific examples are as follows:
1.2.1, a screen-throwing request or an access point establishment request requests that the screen throwing or the access point establishment is performed on link1 and link2, and the screen throwing management unit judges that link1 does not belong to an NSTR link set, and link2 belongs to the NSTR link set, then three processing modes can be provided:
A. Reject the request for screen dropping or establish the request for access point.
B. An access point is selected to be established only on link1 which does not belong to the NSTR link set, and an access point establishment request is sent to the communication unit, wherein the parameter linkingfo value in the request is set to be link1.
C. And selecting to establish access points on link2 and link3 simultaneously, and sending an access point establishment request to a communication unit, wherein a parameter linkingfo value in the request is set to be link2 and link3.
1.2.2, a screen throwing request or an access point establishment request requests to establish access points on link2 and link3, the screen throwing management unit judges that link2 and link3 both belong to an NSTR link set, sends an access point establishment request to the communication unit, and parameters linkingfo in the request are set as link2 and link3.
2. After receiving the request for establishing the access point, the communication unit of the screen throwing device sends a link disconnection request to the network device according to the parameter linkingfo, wherein the link disconnection request indicates a link to be disconnected, and the link disconnection request can be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one of links 1, 2 and 3, wherein the request comprises the following parameters:
Type (optional parameters): indicating the type of the disconnected or reconfigured link, such as set to SoftAP setup, indicating the type of the disconnected or reconfigured link as an established access point;
link: indicating the link to be disconnected, and setting according to the parameter linkingfo.
2) Sending a link disconnection request to the network device through a link needing to be disconnected, namely a link indicated by a parameter linkingfo, and if the link needs to be disconnected on link1, sending the link disconnection request to the network device through link1, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
3. After receiving the link disconnection request, the network device sends a link disconnection response to the screen throwing device, and indicates whether the link disconnection request is agreed, if so, the network device disconnects the corresponding links according to the indication of the link disconnection request, and the connection between the network device and the screen throwing device on other links is maintained.
1) Disconnecting the connection on the corresponding Link according to the parameter Link in the Link disconnection request (here, the screen-throwing device side performs disconnection);
2) Disconnecting a link operated by a logic access point receiving a link disconnection request, for example, a logic access point AP1 receiving the link disconnection request in network equipment receives the link disconnection request, and disconnecting the link1 as the screen throwing equipment is connected with the AP1 in the network equipment through the link 1; if the AP2 and the AP3 receive the link disconnection request, the connection on link2 and link3 is disconnected (here, the network device side performs disconnection).
4. After receiving the link disconnection response, if the step 2 indicates to disconnect the link1, the communication unit of the screen-throwing device disconnects the link1 from the network device, establishes an access point softAP1 on the link1, and maintains connection with the network device through the link2 and the link 3; if the connection on link2 and link3 is disconnected in the step 2, the connection with the network device is disconnected on link2 and link3, and an access point softAP2 and/or softAP3 is established on link2 and/or link3, and the connection with the network device is maintained through link 1.
5. The communication unit of the screen throwing device sends an access point establishment response to the screen throwing management unit to indicate whether the access point is successfully established. If the access point establishment response message contains a parameter status code, setting the value of the parameter status code as SUCCESS, indicating that the access point is successfully established, otherwise, setting the parameter status code as FAILED. The access point setup response may further include information of the softAP1, or the softAP2 and/or the softAP3, such as an Identification (ID) of the access point and a password.
6. After receiving the response of the access point establishment, the screen-throwing management unit of the screen-throwing equipment broadcasts information such as the identification and the password of the softAP1, the softAP2 and/or the softAP3 if the value of the parameter status code is SUCCESS.
Secondly, taking the example that the communication unit judges the screen throwing request and generates the access point establishment information:
1. the screen throwing equipment comprises a screen throwing management unit and a communication unit, when the screen throwing management unit of the screen throwing equipment needs to establish an access point, if the screen throwing management unit receives a screen throwing request or an access point establishment request, the screen throwing management unit sends an access point establishment request to the communication unit to request the communication unit to establish the access point, wherein the request can comprise the following parameters:
linkinefo: indicating on which links the access point is established.
The screen throwing device comprises three links, namely a link 1-link1, a link 2-link2 and a link 3-link3, wherein link1 is a cooperative link Set (STR), and link2 and link3 are non-cooperative link sets (NSTR).
2. After receiving the request for establishing the access point, the communication unit of the screen throwing device selects to establish the link of the access point according to the link indicated by the linkingfo, and sends a link disconnection request to the network device, wherein the link disconnection request indicates the link to be disconnected.
2.1, linkingfo indicates that an access point is established on only one link, judging whether the link belongs to an NSTR link set, if not, directly establishing the access point on the link, if so, rejecting an access point establishment request, and sending a response message rejecting the access point establishment request to a screen throwing management unit, or selecting to establish the access point on links not belonging to the NSTR link set, or simultaneously disconnecting all links in the NSTR link set from the network device, reserving the connection between the links in the non-NSTR link set and the network device, and establishing the access point on one or more links in the NSTR link set.
2.1.1, linkingfo indicates to establish an access point on link1, the communication unit determines that link1 does not belong to the NSTR link set, and sends a link disconnection request to the network device, where the link disconnection request indicates to disconnect the connection on link1. The link disconnection request may be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one link of link1, link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, such as set to SoftAP setup, indicating the type of disconnection as an access point establishment;
link: indicating that a broken link is required, the present embodiment sets link1.
2) Transmitting a link disconnection request to the network equipment through link1, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
2.1.2, linkingfo indicates that an access point is established on link2, and the communication unit determines that link2 belongs to the NSTR link set, then three processing methods are available:
A. And sending an access point establishment response to the screen throwing management unit to indicate rejection of the access point establishment request.
B. An access point is selected to be established on link1 which does not belong to the NSTR link set, and a link disconnection request is sent to the network device, wherein the link disconnection request indicates that the connection on the link1 is disconnected. The link disconnection request may be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one link of link1, link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, such as set to SoftAP setup, indicating the type of disconnection as an access point establishment;
link: indicating that a broken link is required, the present embodiment sets link1.
2) Transmitting a link disconnection request to the network equipment through link1, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
C. And sending a link disconnection request to the network equipment, wherein the link disconnection request indicates to disconnect the connection on the link2 and the link 3. The link disconnection request may be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one of links 1, 2 and 3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, such as set to SoftAP setup, indicating the type of disconnection as an access point establishment;
link: indicating that a broken link is required, the present embodiment sets link2 and link3.
2) Transmitting a link disconnection request to the network equipment through link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
2.2, linkingfo indicates to establish an access point on two links, judging whether the two links belong to an NSTR link set, if not, rejecting an access point establishment request, and sending a response message rejecting the access point establishment request to a screen throwing management unit, or selecting to establish the access point only on links not belonging to the NSTR link set, or simultaneously disconnecting all links in the NSTR link set from the network device, reserving the connections between links in the non-NSTR link set and the network device, and establishing the access point on one or more links in the NSTR link set; if so, disconnecting the link indicated by Linkinefo from the network device. Specific examples are as follows:
2.2.1, linkingfo indicates that an access point is established on link1 and link2, and the communication unit determines that link1 does not belong to the NSTR link set, and link2 belongs to the NSTR link set, then three processing methods are available:
A. and sending an access point establishment response to the screen throwing management unit to indicate rejection of the access point establishment request.
B. An access point is selected to be established only on link1 where it does not belong to the NSTR link set, and a link disconnection request is sent to the network device, the link disconnection request indicating disconnection of the connection on link1. The link disconnection request may be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one link of link1, link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, such as set to SoftAP setup, indicating the type of disconnection as an access point establishment;
link: indicating that a broken link is required, the present embodiment sets link1.
2) Transmitting a link disconnection request to the AP MLD through link1, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
C. And sending a link disconnection request to the network equipment, wherein the link disconnection request indicates to disconnect the connection on the link2 and the link3. The disconnect request may be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one link of link1, link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, such as set to SoftAP setup, indicating the type of disconnection as an access point establishment;
link: indicating that a broken link is required, the present embodiment sets link2 and link3.
2) Transmitting a link disconnection request to the network equipment through link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
2.2.2, linkingfo indicates that an access point is established on link2 and link3, the communication unit determines that both link2 and link3 belong to an NSTR link set, and sends a link disconnection request to the network device, where the link disconnection request indicates to disconnect the connection on link2 and link3. The link disconnection request may be disassociation request message or link reconfiguration request message. The transmission method may be any of the following methods:
1) Transmitting a link disconnection request to the network device through any one link of link1, link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, such as set to SoftAP setup, indicating the type of disconnection as an access point establishment;
link: indicating that a broken link is required, the present embodiment sets link2 and link3.
2) Transmitting a link disconnection request to the network equipment through link2 and link3, wherein the request comprises the following parameters:
type (optional parameters): indicating the type of disconnection or reconfiguration link, e.g. set as SoftAP setup, indicating the type of disconnection as an access point to be established.
3. After receiving the link disconnection request, the network device sends a link disconnection response to the screen throwing device, and indicates whether the link disconnection request is agreed, if so, the connection on the corresponding link is disconnected according to the indication of the link disconnection request, and the connection between the other links and the STA MLD is maintained.
1) Disconnecting the connection on the corresponding Link according to the parameter Link in the Link disconnection request (here, the screen-throwing device side performs disconnection);
2) Disconnecting a link operated by a logic access point receiving a link disconnection request, for example, a logic access point AP1 receiving the link disconnection request in network equipment receives the link disconnection request, and disconnecting the link1 as the screen throwing equipment is connected with the AP1 in the network equipment through the link 1; if the AP2 and the AP3 receive the link disconnection request, the connection on link2 and link3 is disconnected (here, the network device side performs disconnection).
4. After receiving the link disconnection response, if the step 2 indicates to disconnect the link1, the communication unit of the screen-throwing device disconnects the link1 from the network device, establishes an access point softAP1 on the link1, and maintains connection with the network device through the link2 and the link 3; if the connection on link2 and link3 is disconnected in step 2, the connection with the network device is disconnected on link2 and link3, and an access point softAP2 and/or softAP3 is established on link2 and/or link3, and the connection with the network device is maintained through link 1.
5. The communication unit of the screen throwing device sends an access point establishment response to the screen throwing management unit to indicate whether the access point is successfully established. If the access point establishment response message contains a parameter status code, setting the value of the parameter status code as SUCCESS, indicating that the access point is successfully established, otherwise, setting the parameter status code as FAILED. The access point establishment response may further include information of the softAP1, or the softAP2 and/or the softAP3, such as information of an identifier and a password of the access point.
6. After receiving the response of the access point establishment, the screen-throwing management unit of the screen-throwing equipment broadcasts information such as the identification and the password of the softAP1, the softAP2 and/or the softAP3 if the value of the parameter status code is SUCCESS.
The above embodiments are all examples under the condition that the screen throwing device includes the link of the non-cooperative link set, and when the screen throwing device does not include the link of the non-cooperative link set, the step of judging the screen throwing request is not required to be executed, and the access point information is directly established according to the link information included in the screen throwing request.
In summary, the screen-projection control method of the multilink device provided in the embodiment includes: receiving a screen throwing request, and generating access point establishing information according to the screen throwing request, wherein the access point establishing information comprises: information of the target link; transmitting a link disconnection request to the network equipment according to the access point establishment information, and receiving a link disconnection response transmitted by the network equipment, wherein the link disconnection request is used for requesting the network equipment to disconnect a target link; according to the link disconnection response, disconnecting the target link, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screen-thrown is connected with the screen-thrown equipment based on the access point information and screen-thrown, and meanwhile, the equipment to be screen-thrown is kept connected with the network equipment through links except the target link. When the access point establishment information is generated, the access point establishment information is generated according to the judgment result by judging the property of the link indicated in the screen throwing request, so that the accuracy of the generated target link information can be improved, the screen throwing equipment is prevented from simultaneously throwing the screen and networking through the links in which the non-simultaneous receiving and transmitting links are concentrated, the accuracy of data transmission in the screen throwing scene is improved, and the network transmission efficiency is ensured.
The following describes a device, a storage medium, etc. for executing the screen-projection control method of the multilink device provided in the present application, and specific implementation processes and technical effects of the device and the device are referred to above, which are not described in detail below.
Fig. 8 is a schematic diagram of a screen capturing control device of a multi-link device according to an embodiment of the present application, where functions implemented by the screen capturing control device of the multi-link device correspond to steps executed by the above method. The device can be understood as the screen projection device. As shown in fig. 8, the apparatus may include: a generating module 810, a receiving module 820;
the generating module 810 is configured to receive a screen-throwing request, generate access point establishment information according to the screen-throwing request, where the access point establishment information includes: information of the target link;
a receiving module 820, configured to send a link disconnection request to a network device according to access point establishment information, and receive a link disconnection response sent by the network device, where the link disconnection request is used to request the network device to disconnect a target link;
the generating module 810 is configured to disconnect the target link according to the link disconnection response, establish an access point on the target link, generate access point information, and broadcast the access point information, so that the device to be screen-cast establishes a connection with the screen-cast device based on the access point information and performs screen-cast, and meanwhile, maintain a connection with the network device through links other than the target link.
Optionally, the screen-drop request includes: information of the first link; the target link and the first link are the same link or different links, and the target link and the first link are links in a plurality of links.
Optionally, the screen projection device includes: projection screen management unit and communication unit, and generation module 810, specifically for
Receiving a screen projection request through a screen projection management unit, judging whether the first link belongs to a non-cooperative link set, generating access point establishment information according to a judging result, and sending the access point establishment information to a communication unit; or,
the screen projection management unit receives the screen projection request and sends the screen projection request to the communication unit, the communication unit judges whether the first link belongs to a non-cooperative link set or not, and access point establishment information is generated according to a judging result.
Optionally, the screen projection device includes: projection screen management unit and communication unit, and generation module 810, specifically for
Receiving a screen projection request through a screen projection management unit, determining a target link by the screen projection management unit according to a preset strategy, and generating access point establishment information according to the target link; or,
and sending a screen throwing request to the communication unit through the screen throwing management unit, determining a target link by the communication unit according to a preset strategy, and generating access point establishment information according to the target link, wherein the preset strategy is used for indicating that all links belonging to a non-cooperative link set in the multiple links are used as target links, or none of links belonging to the non-cooperative link set in the multiple links are used as target links.
Optionally, the generating module 810 is specifically configured to
If the first link belongs to the link in the non-cooperative link set, determining that the link not belonging to the non-cooperative link set is a target link, or determining that all links in the non-cooperative link set are target links;
and generating access point establishment information according to the target link.
Optionally, the generating module 810 is specifically configured to
If the first link does not belong to the link in the non-cooperative link set, determining the first link as a target link;
and generating access point establishment information according to the target link.
Optionally, a receiving module 820, in particular for
Transmitting, by the communication unit, a link disconnection request to the network device via any one of the plurality of links, or transmitting, by the communication unit, a link disconnection request to the network device via the target link, the link disconnection request including: information of the target link;
a link disconnection response sent by the network device is received by the communication unit, the link disconnection response being used to determine whether to grant the link disconnection request.
Optionally, the apparatus further comprises: a sending module and a building module;
the receiving module 820 is further configured to receive a screen-casting termination request;
the sending module is used for sending a link connection request to the network equipment according to the screen-throwing termination request, wherein the link connection request is used for requesting the screen-throwing equipment and the network equipment to reestablish connection on a target link;
The establishing module is used for receiving the link connection response sent by the network equipment and establishing connection with the network equipment on the target link when the link connection response indicates that the connection is agreed.
Optionally, the screen projection device includes: communication unit, transmission module, in particular for
The link connection request is sent to the network device via any one of the plurality of links by the communication unit or via the target link by the communication unit.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital singnal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
The modules may be connected or communicate with each other via wired or wireless connections. The wired connection may include a metal cable, optical cable, hybrid cable, or the like, or any combination thereof. The wireless connection may include a connection through a LAN, WAN, bluetooth, zigBee, or NFC, or any combination thereof. Two or more modules may be combined into a single module, and any one module may be divided into two or more units. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the method embodiments, which are not described in detail in this application.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the device may be a computing device with a data processing function.
The apparatus may include: a processor 801, and a memory 802.
The memory 802 is used for storing a program, and the processor 801 calls the program stored in the memory 802 to execute the above-described method embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
Therein, the memory 802 stores program code that, when executed by the processor 801, causes the processor 801 to perform various steps in the methods according to various exemplary embodiments of the present application described in the above section of the description of the exemplary methods.
The processor 801 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, and may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
Memory 802, as a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, which may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (Static Random Access Memory, SRAM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read-Only Memory (ROM), charged erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic Memory, magnetic disk, optical disk, and the like. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 802 in the embodiments of the present application may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
Optionally, the present application also provides a program product, such as a computer readable storage medium, comprising a program for performing the above-described method embodiments when being executed by a processor.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Claims (12)

1. A screen projection control method for a multi-link device, the method being applied to the screen projection device, the method comprising:
Receiving a screen throwing request, and generating access point establishment information according to the screen throwing request, wherein the access point establishment information comprises: information of the target link;
transmitting a link disconnection request to network equipment according to the access point establishment information, and receiving a link disconnection response transmitted by the network equipment, wherein the link disconnection request is used for requesting the network equipment to disconnect the target link;
and according to the link disconnection response, disconnecting the target link, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screen-throwing is connected with the screen-throwing equipment based on the access point information and is screen-throwing, and meanwhile, the equipment to be screen-throwing is connected with the network equipment through links except the target link.
2. The method of claim 1, wherein the screen request comprises: information of the first link; the target link and the first link are the same link or different links, and the target link and the first link are links in a plurality of links.
3. The method of claim 2, wherein the screen-casting device comprises: the screen projection management unit and the communication unit are used for receiving a screen projection request, generating access point establishment information according to the screen projection request, and the method comprises the following steps:
Receiving a screen projection request through the screen projection management unit, judging whether the first link belongs to a non-cooperative link set, generating access point establishment information according to a judging result, and sending the access point establishment information to the communication unit; or,
and receiving a screen projection request through the screen projection management unit, sending the screen projection request to the communication unit, judging whether the first link belongs to a non-cooperative link set or not by the communication unit, and generating the access point establishment information according to a judgment result.
4. The method of claim 1, wherein the screen-casting device comprises: the screen projection management unit and the communication unit are used for receiving a screen projection request, generating access point establishment information according to the screen projection request, and the method comprises the following steps:
receiving a screen projection request through the screen projection management unit, determining the target link by the screen projection management unit according to a preset strategy, and generating the access point establishment information according to the target link; or,
and sending the screen projection request to the communication unit through the screen projection management unit, determining the target link by the communication unit according to a preset strategy, and generating the access point establishment information according to the target link, wherein the preset strategy is used for indicating that all links belonging to a non-cooperative link set in a plurality of links are used as the target link, or that all links belonging to the non-cooperative link set in the plurality of links are not used as the target link.
5. The method of claim 3, wherein the generating the access point establishment information according to the determination result comprises:
if the first link belongs to a link in a non-cooperative link set, determining that the link not in the non-cooperative link set is the target link, or determining that all links in the non-cooperative link set are the target link;
and generating the access point establishment information according to the target link.
6. The method of claim 3, wherein the generating the access point establishment information according to the determination result comprises:
if the first link does not belong to the link in the non-cooperative link set, determining that the first link is the target link;
and generating the access point establishment information according to the target link.
7. The method according to claim 3 or 4, wherein transmitting a link disconnection request to the network device according to the access point establishment information, and receiving a link disconnection response transmitted by the network device, comprises:
transmitting, by the communication unit, a link disconnection request to the network device via any one of a plurality of links, or transmitting, by the communication unit, a link disconnection request to the network device via the target link, the link disconnection request including: information of the target link;
And receiving a link disconnection response sent by the network equipment through the communication unit, wherein the link disconnection response is used for judging whether the link disconnection request is approved or not.
8. The method of claim 1, wherein after the generating and broadcasting of the access point information, the method further comprises:
receiving a screen throwing termination request;
according to the screen-throwing termination request, a link connection request is sent to the network equipment, wherein the link connection request is used for requesting the screen-throwing equipment and the network equipment to reestablish connection on the target link;
and receiving a link connection response sent by the network equipment, and establishing connection with the network equipment on the target link when the link connection response indicates that connection is agreed.
9. The method of claim 8, wherein the screen-casting device comprises: a communication unit, configured to send a link connection request to the network device, including:
the link connection request is sent to the network device via any one of a plurality of links by the communication unit, or the link connection request is sent to the network device via the target link by the communication unit.
10. A screen projection control apparatus for a multi-link device, the apparatus comprising: the device comprises a generating module and a receiving module;
the generating module is configured to receive a screen-throwing request, generate access point establishment information according to the screen-throwing request, where the access point establishment information includes: information of the target link;
the receiving module is configured to send a link disconnection request to a network device according to the access point establishment information, and receive a link disconnection response sent by the network device, where the link disconnection request is used to request the network device to disconnect the target link;
the generating module is used for disconnecting the target link according to the link disconnection response, establishing an access point on the target link, generating access point information and broadcasting, so that the equipment to be screened is connected with the screen screening equipment based on the access point information and screens, and meanwhile, the equipment to be screened is connected with the network equipment through links except the target link.
11. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is running, the processor executing the program instructions to perform the steps of the method according to any one of claims 1 to 9 when executed.
12. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of claims 1 to 9.
CN202210653108.5A 2022-06-09 2022-06-09 Screen-throwing control method and device of multi-link equipment, electronic equipment and medium Pending CN117255436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210653108.5A CN117255436A (en) 2022-06-09 2022-06-09 Screen-throwing control method and device of multi-link equipment, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210653108.5A CN117255436A (en) 2022-06-09 2022-06-09 Screen-throwing control method and device of multi-link equipment, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117255436A true CN117255436A (en) 2023-12-19

Family

ID=89125199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210653108.5A Pending CN117255436A (en) 2022-06-09 2022-06-09 Screen-throwing control method and device of multi-link equipment, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117255436A (en)

Similar Documents

Publication Publication Date Title
CN110536342B (en) Network mode control method, terminal and storage medium
CN110167051B (en) Communication method and communication equipment under centralized unit-distributed unit architecture
US11917498B2 (en) Communication method and communications apparatus
WO2018045877A1 (en) Network slicing control method and related device
JP2021518684A (en) Devices and methods for access traffic steering, switching, and / or split operation
WO2021088660A1 (en) Communication method, device and apparatus
CN114079995A (en) Relay management method and communication device
CN112106418A (en) Apparatus, method and computer program
KR20200004389A (en) Reason for establishment and how to determine terminal
US20230362748A1 (en) Wireless communication method, communication apparatus, and communication system
WO2023185428A1 (en) Method for reconstructing key service capability of user plane function network element, and communication apparatus
CN111436078B (en) Communication method and network device
CN117255436A (en) Screen-throwing control method and device of multi-link equipment, electronic equipment and medium
CN113873584B (en) Cell switching method and communication device
EP4344340A2 (en) Methods and terminals for changing bearer configuration of direct communication interface
WO2020249083A1 (en) Security activation status determination method and related product
CN113747421B (en) Method, equipment and system for controlling terminal regression under mobile network sharing mechanism
CN113448744A (en) Application program selection method and device
CN111510263A (en) Remapping method, terminal and network side equipment
CN111083699A (en) Key generation method and device, first network entity and base station equipment
CN113747608B (en) Method, network device and system for establishing multiple connections
WO2023231883A1 (en) Method for repairing wlan information, main configurator, and internet of things device and system
WO2023245687A1 (en) Multi-link reconfiguration methods and apparatuses, and communication device
CN109982427B (en) Information processing method and device
WO2023093285A1 (en) Communication method, and terminal

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