CN115567990A - Communication connection switching method, device, equipment and medium - Google Patents

Communication connection switching method, device, equipment and medium Download PDF

Info

Publication number
CN115567990A
CN115567990A CN202110752377.2A CN202110752377A CN115567990A CN 115567990 A CN115567990 A CN 115567990A CN 202110752377 A CN202110752377 A CN 202110752377A CN 115567990 A CN115567990 A CN 115567990A
Authority
CN
China
Prior art keywords
access point
terminal
target
redirection
request
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
CN202110752377.2A
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.)
Chengdu Jimi Technology Co Ltd
Original Assignee
Chengdu Jimi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Jimi Technology Co Ltd filed Critical Chengdu Jimi Technology Co Ltd
Priority to CN202110752377.2A priority Critical patent/CN115567990A/en
Publication of CN115567990A publication Critical patent/CN115567990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0007Control or signalling for completing the hand-off for multicast or broadcast services, e.g. MBMS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a communication connection switching method, a device, equipment and a medium. The method comprises the following steps: the second terminal can receive a first redirection request sent by the target access point, and sends a connection request to a target soft access point affiliated to the first terminal according to the indication of the first redirection request, and switches to the target soft access point of the first terminal. The second terminal can be guided to automatically switch between the target access point and the target soft access point which is subordinate to the first terminal in a redirection mode, the participation of a user is not needed, the complex operation of the user is avoided, and the communication connection switching rate is improved.

Description

Communication connection switching method, device, equipment and medium
Technical Field
The present application relates to the field of wireless communications, and in particular, to a method, an apparatus, a device, and a medium for switching a communication connection.
Background
In the 802.11 system, an Access Point (AP) and a terminal (Non-AP STA) are both internally deployed with a MAC layer and a PHY layer, wherein the main functions of the MAC layer include channel management, connection management, quality of service management, power control, time synchronization, and the like, and the main functions of the PHY layer include modulation, coding, transmission, and the like.
Both the MAC layer and the PHY layer conceptually include management units referred to as a medium access layer management unit MLME (MAC sub management entity) and a physical layer management unit PLME (PHY sub management entity), respectively. These elements provide low-level management service interfaces through which low-level management functions can be invoked.
In order to provide correct MAC operation, each device (including Non-AP STA and AP) has a higher management element, such as SME (device management element), which represents a higher management element above the MAC layer, and is a layer-independent element, which is located in a separate management plane.
The function of SME: typically, this unit is responsible for functions such as collecting layer-related state from various layer management units (MLME and PLME), which similarly also set layer-specific parameter values. SMEs typically perform such functions on behalf of a general system management unit. The layers interact with each other through defined primitives. FIG. 1 depicts the relationship between management units.
802.11be networks, also known as Extreme High Throughput (EHT) networks, are enhanced by a range of system features and a variety of mechanisms to achieve very High Throughput. As the use of Wireless Local Area Networks (WLANs) continues to grow, it becomes increasingly important to provide wireless data services in many environments, such as homes, businesses, and hot spots. In particular, video traffic will continue to be the dominant type of traffic in many WLAN deployments. With the advent of 4k and 8k video (uncompressed rates of 20 Gbps), the throughput requirements for these applications are constantly evolving. New high throughput, low latency applications such as virtual reality or augmented reality, gaming, remote offices, and cloud computing will proliferate (e.g., latency for real-time gaming is less than 5 milliseconds).
In view of the high throughput and stringent real-time latency requirements of these applications, users expect higher throughput, higher reliability, less latency and jitter, and higher power efficiency when supporting their applications over a WLAN. Users desire improved integration with Time Sensitive Networks (TSNs) to support applications on heterogeneous ethernet and wireless LANs. 802.11be networks aim to ensure the competitiveness of WLANs by further increasing overall throughput and reducing latency, while ensuring backward compatibility and coexistence with legacy technology standards. 802.11 compatible devices operating in the 2.4GHz,5GHz and 6GHz bands.
Disclosure of Invention
A device management unit SME of a wireless lan device may request its media access layer (MAC layer) management entity MLME to create a BSS (basic service set) to implement as an access point, where the logical entity implementing the access point function is called soft AP (soft access point).
After a terminal establishes a soft AP, when a terminal connected with the AP needs to be connected to the soft AP before, a user is required to search the soft AP and then reconnect, and after the terminal closes the soft AP, the user is required to select the previous AP again and reconnect again, so that complexity is introduced for the user.
Based on this, embodiments of the present application provide a communication connection switching method, apparatus, device, and medium.
In a first aspect, an embodiment of the present application provides a communication connection switching method, where the method is applied to a first terminal, and includes:
a first terminal sends a link reconfiguration request message to a target access point, wherein the request message indicates a request for establishing a soft access point;
receiving a link reconfiguration response message sent by a target access point, wherein the response message indicates that the first terminal is allowed to establish a soft access point;
the first terminal establishes a target soft access point according to the link reconfiguration response information;
a first terminal receives a connection request sent by a second terminal to the target soft access point;
the first terminal establishes connection with the second terminal according to the connection request and returns connection response information to the second terminal, wherein the connection response information is used for indicating: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
In an embodiment, the connection response information is used to indicate that the target soft access point and the second terminal are successfully connected, and if the first terminal detects that the connection request includes an AID that is previously allocated by the target access point to the second terminal, the first terminal may also allocate the same connection identifier to the second terminal according to an AID value, where the AID represents a connection identifier; the first terminal searches cache data of the second terminal, which is sent by the target access point in advance, from a target storage area based on the connection identifier corresponding to the second terminal; and the first terminal sends the cache data to the second terminal.
In an embodiment, the connection response information is used to indicate that the target soft access point and the second terminal are successfully connected, and if the first terminal detects that the connection request does not include an AID previously assigned by the target access point to the second terminal, the first terminal may further obtain an address of the second terminal from the connection request; the first terminal searches cache data of the second terminal, which is sent by the target access point in advance, from a target storage area according to the address of the second terminal; and the first terminal sends the cache data to the second terminal.
In one embodiment, when the first terminal is to terminate the established target soft access point, a second redirection request may be further sent to a third terminal connected to the target soft access point, where the second redirection request is used to instruct the third terminal to switch from the target soft access point to a new access point.
In one embodiment, the new access point is the target access point, and the second redirection request includes any one or more of the following parameters:
redirection mode, BSSID, SSID, TBTT, and Security info; wherein the Redirection mode is used to indicate a Redirection mode, and the BSSID is used to indicate a basic service set identification of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; the Security info is used for indicating an operation parameter of the redirection access point;
in the second Redirection request, the Redirection access point is set as the new access point, and a parameter Redirection mode is set to 0, so as to prohibit reattempting to connect back to the current access point when the third terminal fails to connect to the new access point; setting a parameter BSSID as a basic service set identifier of the new access point, setting a parameter SSID as a service set identifier of the new access point, setting a parameter TBTT as the sending time of the new access point for sending the broadcast message next time, and setting a parameter Security info as Security authentication information of the new access point.
In one embodiment, if a target data packet which is not successfully sent to a target terminal exists in the target soft access point, a data message carrying the target data packet can be sent to a new access point; wherein the target terminal is any one or more terminals in the third terminals.
In one embodiment, the data message further carries any one or more of the following data: and the connection identifier and the address of the target terminal.
In an embodiment, the link reconfiguration request message carries reconfiguration parameters, where the reconfiguration parameters include any one or more of the following: reconfiguration type, link element and Redirection parameters; the Reconfiguration type is used for setting the type of Link Reconfiguration, the Link element is used for setting the Link related information, and the Redirection parameters are used for setting the Redirection parameters; when the link Reconfiguration type set by the Reconfiguration type is to establish the soft access point, the Reconfiguration parameters comprise Redirection parameters.
In one embodiment, the Link element includes an STA address and an AP address, where the STA address is used to set an address of the first terminal, and the AP address is used to set an address of the target access point.
In one embodiment, the Redirection parameters comprise any one or more of the following: SSID, BSSID, beacon start time, beacon interval, security info, operating parameters;
the SSID is used for indicating a service set identifier of the soft access point, the BSSID is used for indicating a basic service set identifier of the soft access point, the Beacon start time is used for indicating the time for the soft access point to start sending broadcast messages, the Beacon period is used for indicating the period for sending the soft access point broadcast messages, the Beacon interval is used for indicating the interval time for the soft access point to send the broadcast messages, the Security info is used for indicating the Security information of the soft access point, and the Operating parameters are used for indicating the Operating parameters of the soft access point.
In one embodiment, the Security info includes any one or more of the following parameters: the mobile terminal comprises a MIC and Anounce, wherein the MIC is used for indicating an information integrity verification code, and the Anounce is used for indicating an authentication random code of a soft access point; the Operating parameters include any one or more of the following parameters: the Channel coding method comprises the following steps of Operating class and Channel number, wherein the Operating class is used for indicating an operation level, and the Channel number is used for indicating Channel coding.
In response to the method provided in the first aspect, an embodiment of the present application provides a device for switching a signal connection, including:
a communication module, configured to send a link reconfiguration request message to a target access point, where the request message indicates a request to establish a soft access point;
the communication module is further configured to receive a link reconfiguration response message sent by a target access point, where the response message indicates that the first terminal agrees to establish a soft access point;
the processing module is used for establishing a target soft access point according to the link reconfiguration response information;
the communication module is further configured to receive a connection request sent by the second terminal to the target soft access point;
the processing module is further configured to establish a connection with the second terminal according to the connection request, and return connection response information to the second terminal through the communication module, where the connection response information is used to indicate: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
In response to the method proposed by the first aspect, an embodiment of the present application further proposes a terminal device (for example, the first terminal mentioned above), where the terminal device includes a processor and a memory, where the memory stores at least one instruction, at least one section of program code, a set of codes, or a set of instructions, and the at least one instruction, at least one section of program code, a set of codes, or a set of instructions is loaded and executed by the processor, so as to implement the communication connection switching method mentioned in the first aspect mentioned above.
In a second aspect, an embodiment of the present application provides another communication connection switching method, where the method is applied to a second terminal, and includes:
the second terminal receives a first redirection request sent by a target access point;
the second terminal sends a connection request to a target soft access point belonging to the first terminal according to the indication of the first redirection request;
receiving connection response information sent by the first terminal; the connection response information is used for indicating that: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
In an embodiment, the second terminal may further send a data sending request to a target device connected to the target access point, where the data sending request carries a data packet and sending parameters cached by the second terminal, and the sending parameters include: the mobile terminal comprises a parameter DA, a parameter SA, a parameter TA and a parameter RA, wherein the parameter DA is set as the address of the target equipment, the parameter SA is set as the address of the second terminal, the parameter TA is set as the address of a soft access point which belongs to the first terminal, and the parameter RA is set as the address of an access point which is connected with the target equipment.
In one embodiment, the first redirect request includes any one or more of the following parameters: redirection mode, BSSID, SSID, TBTT, security info, and Operating parameters; wherein the Redirection mode is used to indicate a Redirection mode, and the BSSID is used to indicate a basic service set identification of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; the Security info is used for indicating an operation parameter of the redirection access point; in the first redirection request, the redirection access point is set as a target soft access point which is subordinate to the first terminal.
In an embodiment, before sending the connection request to the target soft access point belonging to the first terminal, the second terminal may further obtain security authentication information of the target soft access point, and perform security authentication with the target soft access point based on the security authentication information; and the second terminal sends a connection request to a target soft access point which belongs to the first terminal after the security authentication is passed.
In an embodiment, if the connection response information is used to indicate that the connection between the soft access point and the second terminal fails, the second terminal may further perform a target operation according to a value of the Redirection mode;
wherein, if the value of the Redirection mode is a first preset value, the target operation is: after waiting for a specified time, continuing to send a connection request to a target soft access point which is subordinate to the first terminal, and stopping continuing to send the connection request to the target soft access point until the connection is not successfully established with the soft access point after the target is tried for a number of times;
if the value of the Redirection mode is a second preset value, the target operation is as follows: and sending a connection request to the target access point.
In response to the method provided by the second aspect, an embodiment of the present application provides another apparatus for switching a signal connection, including:
the communication module is used for receiving a first redirection request sent by a target access point;
a processing module, configured to send a connection request to a target soft access point affiliated to the first terminal through the communication module according to the indication of the first redirection request;
the communication module is further configured to receive connection response information sent by the first terminal; the connection response information is used for indicating that: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
In response to the method proposed by the second aspect, an embodiment of the present application further proposes another terminal device (for example, the second terminal mentioned above), where the terminal device includes a processor and a memory, where the memory stores at least one instruction, at least one section of program code, a set of codes, or a set of instructions, and the at least one instruction, at least one section of program code, a set of codes, or a set of instructions is loaded and executed by the processor, so as to implement the communication connection switching method mentioned in the second aspect mentioned above.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction, at least one program code, a code set, or a set of instructions is stored in the computer-readable storage medium, and the at least one instruction, the at least one program code, the code set, or the set of instructions is loaded and executed by a processor to implement the communication connection switching method according to the first aspect or the second aspect.
It should be noted that the above-mentioned apparatus, terminal device, and first storage medium are used to execute the method provided in the first aspect or the second aspect, so that the same beneficial effects as those of the method in the first aspect or the second aspect may be achieved, and details of embodiments of the present application are not repeated.
The embodiment of the application provides a method for guiding the terminal to automatically switch between the AP and the soft AP in a redirection mode, so that the continuity of data transmission is guaranteed, the participation of a user is not needed, and the continuity of services is also guaranteed. Through the embodiment of the application, the user does not need to sense the change of the terminal connection, the complicated operation of the user is avoided, and the user experience is improved.
Drawings
The present application will now be described by way of example only and with reference to the accompanying drawings in which:
FIG. 1 is a diagram illustrating a management unit structure of a device in the prior art;
fig. 2 is a block diagram of a communication system according to an embodiment of the present application;
fig. 3 is an interaction flowchart of a communication connection switching method according to an embodiment of the present application;
fig. 4 is a flowchart of a communication connection switching method according to an embodiment of the present application;
fig. 5 is a flowchart of another communication connection switching method according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. Moreover, while the disclosure herein has been presented in terms of exemplary one or more examples, it is to be understood that each aspect of the disclosure can be utilized independently and separately from other aspects of the disclosure to provide a complete disclosure. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
In the embodiments of the present application, the words "exemplary," "for example," and the like are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The use of "first," "second," and similar terms in this application do not denote any order, quantity, or importance, but rather the terms are used merely to distinguish one element from another, and the meanings of the corresponding terms may be the same or different. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The term "and/or" is meant to encompass any and all possible combinations of one or more of the associated listed items. The character "/" generally indicates that the preceding and following associated objects are in an "or" relationship.
The present application proposes a communication system and a communication connection switching method suitable for the communication system, and referring to fig. 2, the communication system includes a target access point, a plurality of terminals (including a first terminal, a second terminal, and a target device, etc.) connected to the target access point. Specifically, the communication connection switching method may be executed by a first terminal, a second terminal, and a target access point, and a specific interaction procedure executed is as shown in fig. 3, including the following steps:
s10: the first terminal sends a link reconfiguration request message to a target access point, and the request message indicates that a soft access point is requested to be established.
The first terminal may be a multilink terminal device STA MLD, and when the first terminal supports configuration as Soft AP and is enabled, a parameter dot11Soft AP operation executed may be set locally, and its value is set to true. The first terminal establishes a connection with the target access point, and may obtain configuration information of the target access point, where the configuration information includes BSSID (i.e., basic server set identifier), SSID (i.e., service set identifier), security-related information, and the like of the target access point.
Further, when the first terminal wants to create a soft access point, a link reconfiguration request message may be sent to the target access point, where the request message indicates a request to establish the soft access point.
S11: and the target access point receives the link reconfiguration request message and returns link reconfiguration response information to the first terminal. Specifically, after the target access point receives the link reconfiguration request, if the request of the first terminal is agreed, the status code value is set to accepted, and if the request of the first terminal is not agreed, the status code value is set to failed. Further, the target access point transmits a link reconfiguration response message (including a status code) to the first terminal.
S12: and after receiving a link reconfiguration response message sent by the target access point, the first terminal establishes the target soft access point if the response message indicates that the establishment of the soft access point is agreed. Specifically, after receiving the link reconfiguration response message, the first terminal establishes a soft AP if the value of the parameter status code therein is accepted, where the established soft AP is referred to as a target soft access point.
S13: the target access point sends a first redirection request to the second terminal. The second terminal is one or more terminals connected with the target access point in advance.
Specifically, the target access point may determine, according to a preset policy (e.g., load balancing or traffic splitting), a part of terminal devices connected to the target access point as a second terminal, and send a first redirection request to the second terminal, where the first redirection request is used to guide the second terminal to access to a target soft access point established by the first terminal.
In one embodiment, if the target access point has data packets that are not successfully transmitted to the second terminal, the data packets that are not successfully transmitted may be transmitted to the target soft access point established by the first terminal, and then transmitted to the corresponding second terminal by the target soft access point. In addition, in another embodiment, the target access point may also send the AID (i.e. connection identifier) assigned to the second terminal to the target soft access point established by the first terminal as the identifier of the target device of the data packet, so that the subsequent target access point queries the data packet of the second terminal sent by the target access point based on the AID of the second terminal and directly sends the data packet to the second terminal without the second terminal re-buffering the data.
Or, in another embodiment, the target access point may further send the address of the second terminal to the target access point together as the identifier of the target device of the data packet, and then, the target access point may query, based on the address of the second terminal, the data packet of the second terminal sent by the target access point and directly send the data packet to the second terminal, without the second terminal re-buffering the data.
S14: and the second terminal receives a first redirection request sent by the target access point and sends a connection request to a target soft access point which is subordinate to the first terminal according to the indication of the first redirection request.
S15: the first terminal establishes connection with the second terminal according to the connection request and sends connection response information to the second terminal, wherein the connection response information is used for indicating that: the target soft access point is successfully connected with the second terminal or the connection fails. Subsequently, after the second terminal receives the connection response information, if the connection response information is used to indicate: and if the target soft access point is successfully connected with the second terminal, data transceiving can be performed.
By implementing the steps S10 to S15, the second terminal can be guided to automatically switch between the target access point and the target soft access point belonging to the first terminal in a redirection manner, without the participation of a user, thereby avoiding the complex operation of the user and improving the communication connection switching rate.
In order to better understand the present solution, the following further describes a communication connection switching method proposed in the embodiment of the present application, specifically:
referring to fig. 4, fig. 4 is a flowchart of a communication connection switching method provided in an embodiment of the present application, where the communication connection switching method is executed by a first terminal, and specifically includes the following steps:
s301: and sending a link reconfiguration request message to the target access point, wherein the request message indicates that the soft access point is requested to be established.
The link reconfiguration request message carries reconfiguration parameters, wherein the reconfiguration parameters include any one or more of the following: reconfiguration type, link element and Redirection parameters; the Reconfiguration type is used for setting the type of Link Reconfiguration, the Link element is used for setting the Link related information, and the Redirection parameters are used for setting the Redirection parameters; when the link Reconfiguration type set by the Reconfiguration type is to establish a soft access point (namely softap setup), the Reconfiguration parameters include Redirection parameters. Illustratively, the reconfiguration parameters may be as shown in Table 1-1.
TABLE 1-1
Figure BDA0003145250950000101
The Link element comprises an STA address and an AP address, wherein the STA address is used for setting the address of the first terminal, and the AP address is used for setting the address of the target access point. Illustratively, the Link element contains parameters as shown in tables 1-2.
Tables 1 to 2
Parameter(s) Description of the invention
STA address Address of terminal equipment
AP address Address of network access point
Wherein the Redirection parameters comprise any one or more of the following: SSID, BSSID, beacon start time, beacon interval, security info, operating parameters; SSID is used for indicating the service set identification of the soft access point, BSSID is used for indicating the basic service set identification of the soft access point, beacon start time is used for indicating the time that the broadcast message (i.e. Beacon frame) of the soft access point starts to send, beacon period is used for indicating the period that the broadcast message of the soft access point sends, beacon interval is used for indicating the interval time that the broadcast message of the soft access point sends, security info is used for indicating the Security information of the soft access point, and Operating parameters are used for indicating the Operating parameters of the soft access point. Illustratively, the parameters contained in the Redirection parameters may be as shown in tables 1-3.
Tables 1 to 3
Figure BDA0003145250950000111
In one embodiment, security info includes any one or more of the following parameters: the mobile terminal comprises a MIC and an Anounce, wherein the MIC is used for indicating an information integrity verification code, and the Anounce is used for indicating an authentication random code of a soft access point; the Operating parameters include any one or more of the following parameters: the Channel coding method comprises the following steps of Operating class and Channel number, wherein the Operating class is used for indicating an operation level, and the Channel number is used for indicating Channel coding. Illustratively, the Security info and Security info may include parameters as shown in tables 1-4 and tables 1-5, respectively.
Tables 1 to 4
Figure BDA0003145250950000112
Figure BDA0003145250950000121
Tables 1 to 5
Parameter(s) Description of the invention
Operating class Level of operation
Channel number Channel numbering
S302: and receiving a link reconfiguration response message sent by the target access point, wherein the response message indicates that the first terminal is allowed to establish the soft access point.
S303: and establishing the target soft access point according to the link reconfiguration response information.
And after the target access point receives the link reconfiguration request, if the request of the first terminal is agreed, setting the status code value as accepted, and if the request of the first terminal is not agreed, setting the status code value as failed. Further, the target access point sends a link reconfiguration response message (containing the status code) to the first terminal. The first terminal receives a link reconfiguration response message sent by the target access point, and can determine whether the target access point agrees to establish the soft access point based on the value of the status code in the response message, if the value of the status code is accepted, the first terminal establishes the soft access point, and the established soft access point is called the target access point.
S304: and receiving a connection request sent by the second terminal to the target soft access point.
S305: establishing connection with the second terminal according to the connection request, and returning connection response information to the second terminal, wherein the connection response information is used for indicating: the target soft access point is successfully connected with the second terminal or the connection fails.
After the target access point agrees to the first terminal to establish the soft access point, part of terminal devices connected with the target access point are determined as second terminals according to a preset strategy (such as load balancing or traffic splitting), and a first redirection request is sent to the second terminals and used for guiding the second terminals to access to the target soft access point established by the first terminals. After receiving the first redirection request sent by the target access point, the second terminal can send a connection request to a target soft access point belonging to the first terminal according to the indication of the first redirection request. Further, the first terminal may receive a connection request sent by the second terminal to the target soft access point, establish a connection with the second terminal, if the connection is successful, return connection response information indicating that the connection is successful to the second terminal, and if the connection is failed, return connection indication information indicating that the connection is failed to the second terminal.
In an embodiment, the second terminal may include an AID assigned by the target access point in the connection request, and after the first terminal receives the connection request, if it is detected that the connection request includes the AID assigned by the target access point to the second terminal in advance, the same connection identifier is assigned to the second terminal according to an AID value, where the AID represents the connection identifier. Subsequently, after the first terminal and the second terminal are successfully connected, the first terminal may search, based on the connection identifier corresponding to the second terminal, cache data of the second terminal, which is sent by the target access point in advance, from the target storage area (for example, a local storage area, a cloud server, or a block chain, etc.), and send the cache data to the second terminal. After agreeing to the first terminal to establish the soft access point, the target access point may send a data packet (i.e., the aforementioned cache data of the second terminal) that is not successfully sent to the second terminal to the target soft access point belonging to the first terminal, and the target access point may store the data packet in the target storage area.
Or, in another embodiment, if the first terminal detects that the connection request does not include the AID previously assigned by the target access point to the second terminal, the address of the second terminal is acquired from the connectable request. Subsequently, after the first terminal and the second terminal are successfully connected, the first terminal can search the cache data of the second terminal, which is sent by the target access point in advance, from the target storage area according to the address of the second terminal, and then send the cache data to the second terminal.
By adopting the two modes, the second terminal can not have data loss when the target access point is switched to the target soft access point, and the cache data which is not successfully sent to the second terminal by the target access point before the connection switching can be continuously sent to the second terminal by the target soft access point after the connection switching, so that the continuity of data transmission is favorably ensured when the connection switching is carried out.
In one embodiment, when the first terminal is to terminate the established target soft access point, a second redirection request is sent to a third terminal connected with the target soft access point, and the second redirection request is used for instructing the third terminal to switch from the target soft access point to a new access point. Wherein the third terminal may be connected with any one or more terminals of the target soft access point.
In practical applications, the first terminal may need to terminate the target soft access point due to some policies (e.g., load balancing, traffic splitting, power saving, etc.), and then may send a second redirection request to a third terminal connected to the target soft access point.
When the first terminal wants to switch back to the target access point with a third terminal connected to itself, the new access point may be determined as the target access point, and specifically, the second redirection request includes any one or more of the following parameters:
redirection mode, BSSID, SSID, TBTT and Security info; wherein, the Redirection mode is used for indicating a Redirection mode, and the BSSID is used for indicating a basic service set identifier of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating the Security authentication information of the redirection access point; security info is used to indicate the operating parameters of the redirection access point;
in the second Redirection request, the Redirection access point is set as a new access point, and the parameter Redirection mode is set to 0, and is used for prohibiting the connection of the third terminal to the current access point again when the third terminal fails to be connected to the new access point; the parameter BSSID is set as the basic service set identification of the new access point, the parameter SSID is set as the service set identification of the new access point, the parameter TBTT is set as the sending time of the new access point for sending the broadcast message next time, and the parameter Security info is set as the Security authentication information of the new access point.
Illustratively, taking the new access point as the target access point as an example, the parameters carried in the second redirection request may be as shown in tables 1-6.
Tables 1 to 6
Figure BDA0003145250950000141
Figure BDA0003145250950000151
In one embodiment, if a target data packet which is not successfully sent to a target terminal exists in a target soft access point, a first terminal sends a data message carrying the target data packet to a new access point; and the target terminal is any one or more of the third terminals. Further, the data message also carries any one or more of the following data: connection identification and address of the target terminal. Subsequently, after the new access point successfully establishes a connection with the target device, the target data packet sent by the first terminal may be sent to the target device based on the connection identifier or address of the target terminal.
In an embodiment, after receiving the second redirection request, the third terminal may buffer the uplink data to be sent, and establish a connection with the new access point according to the parameters carried in the second redirection request. Specifically, the method comprises the following steps:
if the second redirection request includes the security authentication information of the new access point, security authentication can be performed with the new access point based on the security authentication information, and after the security authentication is passed, a new connection request can be sent to the new access point to request connection establishment with the new access point.
Or after the security authentication is passed, the third terminal acquires the system message of the new access point, and then sends a connection request to the new access point according to the system message. The system message may include, among other things, the SSID of the new access point, the BSSID, and performance data, which may characterize, for example, supported bandwidth, rate, etc. According to the system message, the third terminal may determine whether the new access point meets its performance requirement, and determine whether it wants to establish a connection with the new access point, and the established requirement, for example, the third terminal may carry requirement information in a connection request sent to the new access point, the requirement information indicates that it wants to connect under a specified bandwidth, and so on.
The system information acquisition mode comprises a plurality of modes:
reading a beacon frame of the new access point at the time indicated by the TBTT according to the SSID or BSSID of the new access point, and acquiring a system message of the new access point;
and secondly, sending a broadcast message to the new access point, receiving response information of the new access point aiming at the broadcast message, and acquiring the system message of the new access point from the response information if the response information comprises the SSID or BSSID of the new access point.
Further, after the third terminal sends a new connection request to the new access point, the third terminal may receive new connection response information sent by the new access point, and if the new connection response information indicates that the connection is successful, the third terminal establishes a connection with the new access point and may perform data transceiving; if the new connection response message indicates that the connection fails, the third terminal performs the following operations according to the value of the Redirection mode in the new connection response message:
if the Redirection mode value in the new connection response message is 0, the third terminal continues to send a connection request to the new access point after waiting for the specified time T _ backoff, and does not send a connection request frame to the new access point after the maximum number of attempts is reached;
or, if the new connection response information indicates that the connection is successful, the following situation is divided:
(1) Downlink data: if the new connection request contains the connection identifier of the third terminal, the new access point searches whether cache data of the third terminal sent by the target soft access point exists locally according to the connection identifier of the third terminal, and if so, the cache data is sent to the third terminal;
if the connection request does not contain the connection identifier of the third terminal, the new access point searches whether cache data of the third terminal sent by the target soft access point exist locally or not according to the address of the third terminal contained in the new connection request, and if so, the cache data are sent to the third terminal;
(2) Uplink data: and the third terminal sends the cached data packet to other equipment, sets the parameter DA as the address of the other equipment, sets the parameter SA as the address of the third terminal, sets the parameter TA as the address of the new access point, and sets the parameter RA as the address of the access point connected with the other equipment.
In one embodiment, the link reconfiguration request message mentioned in step S301 may not include the above reconfiguration parameters, but include the parameters shown in tables 1 to 7.
Tables 1 to 7
Figure BDA0003145250950000161
Figure BDA0003145250950000171
Wherein, the first terminal may set Reconfiguration type to "remove", and Cause code to "SoftAPSetup"; thus, the target access point may be instructed to request the setup of soft AP, which may function as in the above-described reconfiguration parameters.
In addition, in one embodiment, the Link element may include parameters as shown in tables 1-8, tables 1-9, tables 1-10, tables 1-11, or tables 1-12.
Tables 1 to 8
Parameter(s) Description of the invention
Link id Identification of a link
Tables 1 to 9
Parameter(s) Description of the invention
Link id Identification of a link
STAaddress Address of terminal logical entity
AP address Address of network access point
Tables 1 to 10
Parameter(s) Description of the invention
Frequency band Frequency band of link operation
Tables 1 to 11
Parameter(s) Description of the invention
AP address An address of a network access point on the link;
tables 1 to 12
Parameter(s) Description of the invention
STA address The address of the terminal logical entity on the link;
in the embodiment of the application, the first terminal may send a link reconfiguration request message to the target access point, where the request message indicates a request for establishing the soft access point, and receive a link reconfiguration response message sent by the target access point, where the response message indicates that the first terminal is allowed to establish the soft access point. Further, a target soft access point may be established according to the link reconfiguration response information, a connection request sent by the second terminal to the target soft access point is received, a connection is established with the second terminal according to the connection request, and connection response information is returned to the second terminal, where the connection response information is used to indicate: and the target soft access point is successfully connected with the second terminal or the connection fails. The second terminal can be guided to automatically switch between the target access point and the target soft access point belonging to the first terminal in a redirection mode, and the user does not need to participate, so that the complex operation of the user is avoided, and the communication connection switching rate is improved.
Referring to fig. 5, fig. 5 is a flowchart of another communication connection switching method provided in an embodiment of the present application, where the communication connection switching method is executed by a second terminal, and specifically includes the following steps:
s401: and receiving a first redirection request sent by the target access point. In a specific implementation, after the target access point receives the link reconfiguration request message from the first terminal, if the first terminal agrees to establish the soft access point, a first redirection request may be sent to a second terminal connected to the first terminal, where the first redirection request is used to guide the second terminal to switch the access point to the target soft access point affiliated to the first terminal.
S402: and the second terminal sends a connection request to a target soft access point belonging to the first terminal according to the indication of the first redirection request.
S403: receiving connection response information sent by the first terminal, wherein the connection response information is used for indicating that: the target soft access point is successfully connected with the second terminal or the connection fails.
In one embodiment, when the connection response information is used to indicate: and the target soft access point is successfully connected with the second terminal, and then the first terminal can perform data transceiving. Specifically, after the target soft access point is successfully connected to the second terminal, the second terminal may send a data transmission request to a target device connected to the target access point, where the data transmission request carries a data packet cached by the second terminal and a transmission parameter, and the transmission parameter includes: the system comprises a parameter DA, a parameter SA, a parameter TA and a parameter RA, wherein the parameter DA is set as the address of target equipment, the parameter SA is set as the address of a second terminal, the parameter TA is set as the address of a soft access point which is subordinate to a first terminal, and the parameter RA is set as the address of an access point which is connected with the target equipment.
In one embodiment, the first redirection request includes any one or more of the following parameters: redirection mode, BSSID, SSID, TBTT, security info, and Operating parameters; wherein, the Redirection mode is used for indicating a Redirection mode, and the BSSID is used for indicating a basic service set identifier of a redirected access point; the SSID is used for indicating a service set identifier of the redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; security info is used to indicate the operating parameters of the redirection access point; in the first redirection request, the redirection access point is set as a target soft access point which is subordinate to the first terminal.
Illustratively, the parameters contained in the first redirect request may be as shown in Table 2-1.
TABLE 2-1
Figure BDA0003145250950000191
Figure BDA0003145250950000201
In an embodiment, if the first redirection request includes security authentication information of the target soft access point, before the second terminal sends the connection request to the target soft access point belonging to the first terminal, the second terminal may obtain the security authentication information of the target soft access point, perform security authentication with the target soft access point based on the security authentication information, and send the connection request to the target soft access point belonging to the first terminal after the security authentication is passed.
Specifically, after the second terminal acquires the security authentication information of the target soft access point, an encrypted data packet may be generated based on MIC or ANounce information in the security authentication information and self snonce information (i.e., an authentication random code of the second terminal), and the encrypted data packet is sent to the target soft access point, and the target access point may decrypt the encrypted data packet based on the self MIC or ANounce information, and if decryption is successful, the target soft access point determines that authentication of the second terminal is successful.
In one embodiment, if the connection response information is used to indicate that the soft access point fails to connect with the second terminal, the second terminal performs the target operation according to the value of the Redirection mode. If the value of the Redirection mode is a first preset value (for example, 0), the target operation is: after waiting for a specified time, continuing to send a connection request to a target soft access point which is subordinate to the first terminal, and stopping continuing to send the connection request to the target soft access point until the connection is not successfully established with the soft access point after the target is tried for times; if the value of the Redirection mode is a second preset value, the target operation is as follows: a connection request is sent to the target access point. The designated time and the target number are preset based on experimental data, for example, the designated time may be 15 seconds, and the target number may be 3 times, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the application, the second terminal can receive a first redirection request sent by a target access point, send a connection request to a target soft access point belonging to the first terminal according to the indication of the first redirection request, and switch and connect to the target soft access point of the first terminal. The second terminal can be guided to automatically switch between the target access point and the target soft access point belonging to the first terminal in a redirection mode, and the user does not need to participate, so that the complex operation of the user is avoided, and the communication connection switching rate is improved.
In this embodiment of the present application, based on the same inventive concept as the method corresponding to fig. 4, an embodiment of the present application further provides a communication connection switching apparatus, where the apparatus may be disposed in a first terminal, and includes:
a communication module, configured to send a link reconfiguration request message to a target access point, where the request message indicates a request to establish a soft access point;
the communication module is further configured to receive a link reconfiguration response message sent by a target access point, where the response message indicates that the first terminal agrees to establish a soft access point;
the processing module is used for establishing a target soft access point according to the link reconfiguration response information;
the communication module is further configured to receive a connection request sent by the second terminal to the target soft access point;
the processing module is further configured to establish a connection with the second terminal according to the connection request, and return connection response information to the second terminal through the communication module, where the connection response information is used to indicate: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
In an embodiment, the connection response information is used to indicate that the target soft access point and the second terminal are successfully connected, and the processing module is further configured to, if it is detected that the connection request includes an AID that is previously allocated by the target access point to the second terminal, allocate the same connection identifier to the second terminal according to an AID value, where the AID represents a connection identifier;
the processing module is further configured to search, from a target storage area, cache data of the second terminal, which is sent by the target access point in advance, based on the connection identifier corresponding to the second terminal;
and the communication module is further used for sending the cache data to the second terminal.
In an embodiment, the connection response information is used to indicate that the target soft access point and the second terminal are successfully connected, and the processing module is further configured to obtain an address of the second terminal from the connection request if it is detected that the connection request does not include an AID that is previously assigned to the second terminal by the target access point;
the processing module is further used for searching the cache data of the second terminal, which is sent by the target access point in advance, from a target storage area according to the address of the second terminal;
and the communication module is further used for sending the cache data to the second terminal.
In one embodiment, the communication module is further configured to send a second redirection request to a third terminal connected to the target soft access point when the established target soft access point is to be terminated, where the second redirection request is used to instruct the third terminal to switch from the target soft access point to a new access point.
In one embodiment, the new access point is the target access point, and the second redirection request includes any one or more of the following parameters:
redirection mode, BSSID, SSID, TBTT, and Security info; wherein the Redirection mode is used to indicate a Redirection mode, and the BSSID is used to indicate a basic service set identification of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; the Security info is used for indicating an operation parameter of the redirection access point;
in the second Redirection request, the Redirection access point is set as the new access point, and a parameter Redirection mode is set to 0, so as to prohibit reattempting to connect back to the current access point when the third terminal fails to connect to the new access point; setting a parameter BSSID as a basic service set identifier of the new access point, setting a parameter SSID as a service set identifier of the new access point, setting a parameter TBTT as the sending time of the new access point for sending the broadcast message next time, and setting a parameter Security info as Security authentication information of the new access point.
In one embodiment, the method further comprises:
the communication module is also used for sending a data message carrying the target data packet to a new access point if the target soft access point still has the target data packet which is not successfully sent to the target terminal; wherein the target terminal is any one or more terminals in the third terminals.
In one embodiment, the data message further carries any one or more of the following data: and the connection identifier and the address of the target terminal.
In one embodiment, the link reconfiguration request message carries reconfiguration parameters, where the reconfiguration parameters include any one or more of the following: reconfiguration type, link element and Redirection parameters; the Reconfiguration type is used for setting the type of Link Reconfiguration, the Link element is used for setting the Link related information, and the Redirection parameters are used for setting the Redirection parameters; when the link Reconfiguration type set by the Reconfiguration type is to establish the soft access point, the Reconfiguration parameters comprise Redirection parameters.
In one embodiment, the Link element includes an STA address and an AP address, where the STA address is used to set an address of the first terminal, and the AP address is used to set an address of the target access point.
In one embodiment, the Redirection parameters comprise any one or more of the following: SSID, BSSID, beacon start time, beacon interval, security info, operating parameters;
the SSID is used for indicating a service set identifier of the soft access point, the BSSID is used for indicating a basic service set identifier of the soft access point, the Beacon start time is used for indicating the time for the soft access point to start sending broadcast messages, the Beacon period is used for indicating the period for sending the soft access point broadcast messages, the Beacon interval is used for indicating the interval time for the soft access point to send the broadcast messages, the Security info is used for indicating the Security information of the soft access point, and the Operating parameters are used for indicating the Operating parameters of the soft access point.
In one embodiment, the Security info includes any one or more of the following parameters: the mobile terminal comprises a MIC and an Anounce, wherein the MIC is used for indicating an information integrity verification code, and the Anounce is used for indicating an authentication random code of a soft access point; the Operating parameters include any one or more of the following parameters: the Channel coding method comprises the following steps of Operating class and Channel number, wherein the Operating class is used for indicating an operation level, and the Channel number is used for indicating Channel coding.
For a specific implementation of each module, reference may be made to fig. 4 for a detailed description of a corresponding method embodiment.
Corresponding to the communication connection switching apparatus proposed above, an embodiment of the present application further proposes a terminal device, which may be, for example, the first terminal described above, where the terminal device includes a processor and a memory, where the memory stores at least one instruction, at least one section of program code, a code set, or an instruction set, and the at least one instruction, at least one section of program code, a code set, or an instruction set is loaded and executed by the processor, so as to implement the communication connection switching method according to the embodiment corresponding to fig. 4 described above.
In this embodiment of the present application, based on the same inventive concept as the method corresponding to fig. 5, another communication connection switching apparatus is further provided in this embodiment of the present application, where the apparatus may be disposed in a second terminal, and includes:
the communication module is used for receiving a first redirection request sent by a target access point;
a processing module, configured to send a connection request to a target soft access point affiliated to the first terminal through the communication module according to the indication of the first redirection request;
the communication module is further configured to receive connection response information sent by the first terminal; the connection response information is used for indicating that: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
In an embodiment, the communication module is further configured to send a data sending request to a target device connected to the target access point, where the data sending request carries a data packet buffered by the second terminal and a sending parameter, and the sending parameter includes: the mobile terminal comprises a parameter DA, a parameter SA, a parameter TA and a parameter RA, wherein the parameter DA is set as the address of the target equipment, the parameter SA is set as the address of the second terminal, the parameter TA is set as the address of a soft access point which belongs to the first terminal, and the parameter RA is set as the address of an access point which is connected with the target equipment.
In one embodiment, the first redirect request includes any one or more of the following parameters: redirection mode, BSSID, SSID, TBTT, security info, and Operating parameters; wherein the Redirection mode is used to indicate a Redirection mode, and the BSSID is used to indicate a basic service set identification of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; the Security info is used for indicating an operation parameter of the redirection access point; in the first redirection request, the redirection access point is set as a target soft access point which is subordinate to the first terminal.
In one embodiment, before sending the connection request to the target soft access point belonging to the first terminal, the processing module is further configured to obtain security authentication information of the target soft access point, and perform security authentication with the target soft access point based on the security authentication information; and after the security authentication is passed, sending a connection request to a target soft access point belonging to the first terminal through a communication module.
In an embodiment, the processing module is further configured to, if the connection response information is used to indicate that the connection between the soft access point and the second terminal fails, the second terminal performs a target operation according to a value of the Redirection mode;
wherein if the value of the Redirection mode is a first preset value, the target operation is: after waiting for a specified time, continuing to send a connection request to a target soft access point which is subordinate to the first terminal, and stopping continuing to send the connection request to the target soft access point until the connection is not successfully established with the soft access point after the target is tried for a number of times;
if the value of the Redirection mode is a second preset value, the target operation is as follows: and sending a connection request to the target access point.
For a specific implementation of each module, reference may be made to fig. 5 for a detailed description of a corresponding method embodiment.
Corresponding to the communication connection switching apparatus, the embodiment of the present application further provides a terminal device, which may be, for example, the second terminal, and the terminal device includes a processor and a memory, where the memory stores at least one instruction, at least one program code, a code set, or an instruction set, and the at least one instruction, at least one program code, a code set, or an instruction set is loaded and executed by the processor, so as to implement the communication connection switching method according to the embodiment corresponding to fig. 5.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where at least one instruction, at least one program code, a code set, or a set of instructions is stored in the computer-readable storage medium, and the at least one instruction, the at least one program code, the code set, or the set of instructions is loaded and executed by a processor to implement the communication connection switching method according to the foregoing embodiment.
It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, some or all of the steps may be executed in parallel or executed sequentially, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented.
The modules described as separate parts may or may not be physically separate, and parts displayed 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more modules are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device or a terminal, etc.) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, ROM, RAM) magnetic disk or optical disk, etc. on which various types of program codes can be stored.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (21)

1. A method for handing over a communication connection, comprising:
a first terminal sends a link reconfiguration request message to a target access point, wherein the request message indicates a request for establishing a soft access point;
receiving a link reconfiguration response message sent by a target access point, wherein the response message indicates to approve the first terminal to establish a soft access point;
the first terminal establishes a target soft access point according to the link reconfiguration response information;
a first terminal receives a connection request sent by a second terminal to the target soft access point;
the first terminal establishes connection with the second terminal according to the connection request and returns connection response information to the second terminal, wherein the connection response information is used for indicating: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
2. The method of claim 1, wherein the connection response information indicates that the target soft access point successfully connects with the second terminal, the method further comprising:
if the first terminal detects that the connection request comprises AID (AID identifier) pre-allocated by the target access point to the second terminal, allocating the same connection identifier to the second terminal according to the AID value, wherein the AID represents the connection identifier;
the first terminal searches cache data of the second terminal, which is sent by the target access point in advance, from a target storage area based on the connection identifier corresponding to the second terminal;
and the first terminal sends the cache data to the second terminal.
3. The method of claim 1, wherein the connection response information indicates that the target soft access point successfully connects with the second terminal, the method further comprising:
if the first terminal detects that the connection request does not include AID which is allocated to the second terminal by the target access point in advance, acquiring the address of the second terminal from the connection request;
the first terminal searches cache data of the second terminal, which is sent by the target access point in advance, from a target storage area according to the address of the second terminal;
and the first terminal sends the cache data to the second terminal.
4. The method of claim 1, wherein the method further comprises:
when the first terminal waits to terminate the established target soft access point, sending a second redirection request to a third terminal connected with the target soft access point, wherein the second redirection request is used for indicating the third terminal to be switched from the target soft access point to a new access point.
5. The method of claim 4, wherein the new access point is the target access point, and wherein the second redirection request includes any one or more of the following parameters:
redirection mode, BSSID, SSID, TBTT, and Security info; wherein the Redirection mode is used to indicate a Redirection mode, and the BSSID is used to indicate a basic service set identification of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; the Security info is used to indicate an operating parameter for redirecting the access point;
in the second Redirection request, the Redirection access point is set as the new access point, and a parameter Redirection mode is set to 0, so as to prohibit reattempting to connect back to the current access point when the third terminal fails to connect to the new access point; setting a parameter BSSID as a basic service set identifier of the new access point, setting a parameter SSID as a service set identifier of the new access point, setting a parameter TBTT as the sending time of the new access point for sending the broadcast message next time, and setting a parameter Security info as Security authentication information of the new access point.
6. The method of claim 4, wherein the method further comprises:
if the target soft access point has a target data packet which is not successfully sent to the target terminal, the first terminal sends a data message carrying the target data packet to the new access point; the target terminal is any one or more of the third terminals.
7. The method of claim 11, wherein the data message further carries any one or more of the following data: and the connection identifier and the address of the target terminal.
8. The method of claim 1, wherein the link reconfiguration request message carries reconfiguration parameters, and the reconfiguration parameters include any one or more of the following: reconfiguration type, link element and Redirection parameters; the Reconfiguration type is used for setting the type of Link Reconfiguration, the Link element is used for setting the Link related information, and the Redirection parameters are used for setting the Redirection parameters; when the link Reconfiguration type set by the Reconfiguration type is to establish the soft access point, the Reconfiguration parameters comprise Redirection parameters.
9. The method of claim 8, wherein the Link element comprises a STA address and an AP address, wherein the STA address is used for setting the address of the first terminal, and the AP address is used for setting the address of the target access point.
10. The method of claim 8, wherein the Redirection parameters comprise any one or more of: SSID, BSSID, beacon start time, beacon interval, security info, operating parameters;
the SSID is used for indicating a service set identifier of the soft access point, the BSSID is used for indicating a basic service set identifier of the soft access point, the Beacon start time is used for indicating the time for starting sending the broadcast message of the soft access point, the Beacon period is used for indicating the period for sending the broadcast message of the soft access point, the Beacon interval is used for indicating the interval time for sending the broadcast message of the soft access point, the Security info is used for indicating the Security information of the soft access point, and the Operating parameters are used for indicating the Operating parameters of the soft access point.
11. A method as described in claim 10, wherein the Security info includes any one or more of the following parameters: the mobile terminal comprises a MIC and an Anounce, wherein the MIC is used for indicating an information integrity verification code, and the Anounce is used for indicating an authentication random code of a soft access point; the Operating parameters include any one or more of the following parameters: the Channel coding method comprises the following steps of Operating class and Channel number, wherein the Operating class is used for indicating an operation level, and the Channel number is used for indicating Channel coding.
12. A method for handing over a communication connection, comprising:
the second terminal receives a first redirection request sent by a target access point;
the second terminal sends a connection request to a target soft access point belonging to the first terminal according to the indication of the first redirection request;
the second terminal receives the connection response information sent by the first terminal; the connection response information is used for indicating that: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
13. The method of claim 12, wherein the method further comprises:
the second terminal sends a data sending request to a target device connected with the target access point, wherein the data sending request carries a data packet cached by the second terminal and sending parameters, and the sending parameters comprise: the mobile terminal comprises a parameter DA, a parameter SA, a parameter TA and a parameter RA, wherein the parameter DA is set as the address of the target equipment, the parameter SA is set as the address of the second terminal, the parameter TA is set as the address of a soft access point which belongs to the first terminal, and the parameter RA is set as the address of an access point which is connected with the target equipment.
14. The method of claim 12, wherein the first redirect request includes any one or more of the following parameters: redirection mode, BSSID, SSID, TBTT, security info, and Operating parameters; wherein the Redirection mode is used to indicate a Redirection mode, and the BSSID is used to indicate a basic service set identification of a redirected access point; the SSID is used for indicating a service set identifier of a redirection access point; the TBTT is used for indicating the sending time of the redirection access point broadcast message; the Security info is used for indicating Security authentication information of the redirection access point; the Security info is used for indicating an operation parameter of the redirection access point; in the first redirection request, the redirection access point is set as a target soft access point which is subordinate to the first terminal.
15. The method of claim 14, wherein prior to sending a connection request to a target soft access point affiliated with the first terminal, the method further comprises:
the second terminal acquires the security authentication information of the target soft access point and performs security authentication with the target soft access point based on the security authentication information;
and the second terminal sends a connection request to a target soft access point which belongs to the first terminal after the security authentication is passed.
16. The method of claim 14, wherein the method further comprises:
if the connection response information is used for indicating that the connection between the soft access point and the second terminal fails, the second terminal executes target operation according to the value of the Redirection mode;
wherein, if the value of the Redirection mode is a first preset value, the target operation is: after waiting for a specified time, continuing to send a connection request to a target soft access point which is subordinate to the first terminal, and stopping continuing to send the connection request to the target soft access point until the connection is not successfully established with the soft access point after the target is tried for a number of times;
if the value of the Redirection mode is a second preset value, the target operation is as follows: and sending a connection request to the target access point.
17. A communication connection switching apparatus, comprising:
a communication module, configured to send a link reconfiguration request message to a target access point, where the request message indicates a request to establish a soft access point;
the communication module is further configured to receive a link reconfiguration response message sent by a target access point, where the response message indicates that the first terminal agrees to establish a soft access point;
the processing module is used for establishing a target soft access point according to the link reconfiguration response information;
the communication module is further configured to receive a connection request sent by the second terminal to the target soft access point;
the processing module is further configured to establish a connection with the second terminal according to the connection request, and return connection response information to the second terminal through the communication module, where the connection response information is used to indicate: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
18. A communication connection switching apparatus, comprising:
the communication module is used for receiving a first redirection request sent by a target access point;
the processing module is used for sending a connection request to a target soft access point which belongs to the first terminal through the communication module according to the indication of the first redirection request;
the communication module is further configured to receive connection response information sent by the first terminal; the connection response information is used for indicating that: and the target soft access point is successfully connected with the second terminal or fails to be connected with the second terminal.
19. A terminal device, characterized in that the terminal device comprises a processor and a memory, wherein at least one instruction, at least one piece of program code, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, at least one piece of program code, a set of codes, or a set of instructions is loaded and executed by the processor to implement the communication connection switching method according to any one of claims 1 to 11.
20. A terminal device, characterized in that the terminal device comprises a processor and a memory, wherein at least one instruction, at least one piece of program code, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, at least one piece of program code, a set of codes, or a set of instructions is loaded and executed by the processor to implement the communication connection switching method according to any one of claims 12 to 16.
21. A computer readable storage medium having stored therein at least one instruction, at least one piece of program code, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method according to any one of claims 1 to 16.
CN202110752377.2A 2021-07-02 2021-07-02 Communication connection switching method, device, equipment and medium Pending CN115567990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110752377.2A CN115567990A (en) 2021-07-02 2021-07-02 Communication connection switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110752377.2A CN115567990A (en) 2021-07-02 2021-07-02 Communication connection switching method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115567990A true CN115567990A (en) 2023-01-03

Family

ID=84737430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110752377.2A Pending CN115567990A (en) 2021-07-02 2021-07-02 Communication connection switching method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115567990A (en)

Similar Documents

Publication Publication Date Title
CN111405684B (en) Method for connecting to network access device, terminal and computer readable storage medium
CN111641970B (en) Method for receiving and transmitting data by using multilink through terminal and terminal
RU2771047C2 (en) System, device and method for providing uplink resource
US11012930B2 (en) Dynamic spectrum resource allocation for full spectrum sharing
US7483699B2 (en) Overhead message update with decentralized control
WO2022027720A1 (en) Roaming method in multi-link scenario, multi-link device, and storage medium
KR101240219B1 (en) Method for communication between nodes in a wireless network
KR20080044285A (en) Spectrum management in dynamic spectrum access wireless systems
JP2003503919A (en) Resource management and traffic control in time division duplex communication systems
CN112911729B (en) Method, terminal and storage medium for establishing tunnel direct link
CN112911685A (en) Method, terminal and storage medium for wireless local area network scanning and synchronization
US7257098B2 (en) Wireless communications equipment
CN112911680B (en) Method, device and storage medium for establishing access point in wireless local area network
CN112911687B (en) Method for establishing connection between terminal and access equipment, wireless local area network and storage medium
US20040008654A1 (en) Method for operating a cellular time division multiple access communication system
EP4142355A1 (en) Switching method in multi-connection network, and network device and system
EP4142424A1 (en) Method for data transmission in multi-connection network, network device and system
CN115567990A (en) Communication connection switching method, device, equipment and medium
US8305994B1 (en) Access probe handoff between carriers for a multi-carrier scenario
US11350343B2 (en) Wireless communication system and wireless communication method
WO2006052214A1 (en) A wlan station and a method of operating the station in infrastructure mode and in independent (ad-hoc) mode simultaneously.
CN106171034B (en) Pseudo access method, pseudo access direct connection scheduling method, station and access point
CN115695895B (en) Method, device, equipment and storage medium for improving data transmission rate
CN114765901B (en) Method, device, equipment and storage medium for managing multi-link equipment connection
CN115334617A (en) Method, device and storage medium for data transmission through establishing access point

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
CB02 Change of applicant information

Address after: 610000 building 4, zone a, Tianfu Software Park, No. 1129, shijicheng Road, high tech Zone, Chengdu, Sichuan

Applicant after: Jimi Technology Co.,Ltd.

Address before: 610041 building 4, zone a, Tianfu Software Park, No. 1129, shijicheng Road, high tech Zone, Chengdu, Sichuan

Applicant before: Chengdu Jimi Technology Co.,Ltd.

CB02 Change of applicant information