Method for using AP spectrum resources, access point, user equipment and storage medium

By not executing the CSMA/CA mechanism when a single user device is connected, the problem of waste of spectrum resources in wireless communication is solved, throughput is improved and delay is reduced, and more efficient spectrum utilization is achieved.

CN119052944AInactive Publication Date: 2024-11-29REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310613551.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In wireless communication, when a single user equipment connects to the access point AP, the Carrier Sensing Multiple Access/Conflict Avoidance (CSMA/CA) protocol is used to cause waste of spectrum resources, reduce throughput and increase latency.

Method used

When a single-user device connection is detected, the access point AP does not implement the CSMA/CA mechanism, allowing the user device to exclusively enjoy spectrum resources, improve throughput and reduce delay.

Benefits of technology

By not implementing the CSMA/CA mechanism, a single user device can enjoy spectrum resources exclusively, improve communication throughput and reduce delay, solving the problem of waste of spectrum resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052944A_ABST
    Figure CN119052944A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a method for using AP (Access Point) spectrum resources, an access point, user equipment and a storage medium, which are used for enabling the access point AP not to execute a CSMA / CA mechanism under the condition of single user equipment access, so that the user equipment exclusively enjoys the spectrum resources, thereby improving the throughput and reducing the time delay. The method provided by the embodiment of the invention comprises the following steps: when detecting that current user equipment is connected to an access point (AP), determining whether the number of connected user equipment of the AP is one or not; and under the condition that the number of the connected user equipment is one, the AP does not execute a carrier sense multiple access / collision avoidance CSMA / CA (Carrier Sense Multiple Access / Collision Avoidance) mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a method for using AP spectrum resources, an access point, a user equipment and a storage medium. Background Art

[0002] According to the existing standard 802.11 protocol of Wireless Fidelity (WiFi), all user devices connected to the access point (AP) communicate data in time division. However, in some scenarios, there is only one user device connected to the AP. At this time, if the Carrier Sense Multiple Access with Collision Avoidance (CSMA / CA) protocol is still used for channel competition, spectrum resources will be wasted. Summary of the invention

[0003] The embodiments of the present application provide a method for using AP spectrum resources, an access point, and a storage medium, which are used for the access point AP not to execute the CSMA / CA mechanism when a single user device accesses, so that the user device has exclusive use of the spectrum resources, thereby improving throughput and reducing latency.

[0004] A first aspect of the present application provides a method for using AP spectrum resources, which may include:

[0005] When it is detected that the current user equipment is connected to the access point AP, determining whether the number of user equipment connected to the AP is one;

[0006] In the case that the number of the connected user equipment is one, the AP does not perform a carrier sense multiple access / collision avoidance CSMA / CA mechanism.

[0007] A second aspect of the present application provides a method for using AP spectrum resources, which may include:

[0008] The user equipment receives a first indication message sent by the access point AP, where the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipment connected to the AP is one;

[0009] The user equipment exclusively uses the spectrum resources of the AP according to the first indication message.

[0010] A third aspect of the present application provides an apparatus for using AP spectrum resources, which may include:

[0011] A judgment module, configured to determine whether the number of user equipment connected to the access point AP is one when it is detected that the current user equipment is connected to the access point AP;

[0012] A processing module, configured to generate a first indication message by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of the connected user equipment is one;

[0013] The sending module is used to send a first indication message to the connected user equipment, where the first indication message is used to indicate that the connected user equipment exclusively uses the spectrum resources of the AP.

[0014] A fourth aspect of the present application provides a device for using AP spectrum resources, which may include:

[0015] A receiving module, configured to receive a first indication message sent by an access point AP, wherein the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipment connected to the AP is one;

[0016] A processing module is used to exclusively use the spectrum resources of the AP according to the first indication message.

[0017] A fifth aspect of the present application provides an access point, which may include:

[0018] A memory storing executable program code;

[0019] a processor and a transceiver coupled to the memory;

[0020] The access points are used to execute the method as described in the first aspect of the present application in a corresponding manner.

[0021] A sixth aspect of the present application provides a user equipment, which may include:

[0022] A memory storing executable program code;

[0023] a processor and a transceiver coupled to the memory;

[0024] The user equipment is used to execute the method as described in the second aspect of the present application.

[0025] Another aspect of an embodiment of the present application provides a computer-readable storage medium, including instructions, which, when executed on a processor, enable the processor to execute the method described in the first aspect or the second aspect of the present application.

[0026] Yet another aspect of an embodiment of the present application discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the method described in the first aspect or the second aspect of the present application.

[0027] Another aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect or the second aspect of the present application.

[0028] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0029] In the embodiment of the present application, when it is detected that the current user equipment is connected to the access point AP, it is determined whether the number of connected user equipment of the AP is one; when the number of connected user equipment is one, the AP does not perform the carrier sense multiple access / collision avoidance CSMA / CA mechanism. When a single user equipment is accessed by the access point AP, the CSMA / CA mechanism is not performed, so that the user equipment has exclusive use of spectrum resources, thereby improving throughput and reducing latency. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.

[0031] Figure 1A This is a flow chart of CSMA / CA;

[0032] Figure 1B This is a system architecture diagram used in the embodiments of the present application;

[0033] Figure 2 A schematic diagram of an embodiment of a method for using AP spectrum resources in an embodiment of the present application;

[0034] Figure 3A A schematic diagram of communication between user equipment in a conventional solution and the technical solution of the present application in an embodiment of the present application;

[0035] Figure 3B A flowchart of a method for using AP spectrum resources in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of an embodiment of a device using AP spectrum resources in an embodiment of the present application;

[0037] Figure 5 It is a schematic diagram of another embodiment of a device for using AP spectrum resources in an embodiment of the present application;

[0038] Figure 6A schematic diagram of an embodiment of an access point in an embodiment of the present application;

[0039] Figure 7 A schematic diagram of an embodiment of a user equipment in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The embodiments of the present application provide a method for using AP spectrum resources, an access point, and a storage medium, which are used for the access point AP not to execute the CSMA / CA mechanism when a single user device accesses, so that the user device has exclusive use of the spectrum resources, thereby improving throughput and reducing latency.

[0041] In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.

[0042] The following is a brief description of some terms involved in this application, as follows:

[0043] AP, Access Point, wireless access node, session point or access bridge is a very broad name. It not only includes simple wireless access points (wireless APs), but is also a general term for wireless routers (including wireless gateways, wireless bridges) and other devices.

[0044] CSMA / CA (Carrier Sense Multiple Access with Collision Avoid) is an algorithm for avoiding data transmission conflicts between stations during data transmission. Its characteristic is that it cannot detect whether there is a conflict on the channel while sending packets, and can only try to "avoid" it. For example, if computer A and computer C send a control message to computer B at the same time, they will arrive at computer B at the same time, resulting in a conflict. When such a conflict occurs, the sender can wait for a random period of time and then resend the control message. Because the control message is much shorter than the data, the possibility of a second conflict is much smaller than that of traditional Ethernet. Eventually, a control message will arrive correctly, and then computer B will send a response message. Usually CSMA / CA uses ACK signals to avoid conflicts, that is, only when the client receives the ACK signal returned on the network can it confirm that the sent data has arrived at the destination correctly.

[0045] CSMA / CA mechanism: User equipment must first seize the channel before communicating with the AP. Only after seizing the channel resources can the user communicate with the AP. If the communication time reaches the upper limit during the communication process, the channel must be released. After waiting for a random period of idle time, the channel can be re-seized for communication. For scenarios where multiple user devices are connected to the AP, this mechanism can indeed ensure that each station (STA) has fair access to channel resources for communication, but for scenarios where a single user device communicates with the AP, it is actually a waste of spectrum resources.

[0046] like Figure 1A The figure shows the flow chart of CSMA / CA. When there is a data frame to be sent, the backoff variable i is initialized first, that is, i=0; then monitor whether the channel is idle? If the channel is not idle, re-monitor the channel; if the channel is idle, wait for the Distributed Inter-frame Space (DIFS), then send a Request To Send (RTS) frame to reserve the channel; then set the timer; then determine whether a Clear To Send (CTS) frame is received before the timer times out? If CTS is not received before the timer times out, the backoff variable i=i+1, and then determine whether i is less than the upper limit. If i is not less than the upper limit, the data transmission fails and ends; if i is less than the upper limit, calculate the backoff time and wait, and re-monitor whether the channel is idle; if CTS is received before the timer times out, wait for the Short Inter Frame Space (SIFS); then send the data frame, send the data, and set the timer; determine whether the confirmation ACK frame is received before the timeout? If an ACK frame is received before the timeout, the data is sent successfully; if an ACK frame is not received before the timeout, the backoff variable i=i+1, and then it is determined whether i is less than the upper limit. If i is not less than the upper limit, the data sending fails and ends; if i is less than the upper limit, the backoff time is calculated and waited, and the channel is listened again to see if it is idle.

[0047] The workflow of the CSMA / CA protocol is divided into two parts:

[0048] 1. Before sending data, monitor the media status and wait for a period of time when no one is using the media before sending data. Since each device uses a different random time, the chance of conflict can be reduced.

[0049] 2. Before sending data, send a small request to send (RTS) message to the target end, and wait for the target end to respond with a clear to send (CTS) message before starting to send. Use the RTS-CTS handshake procedure to ensure that there will be no collision when sending data next. At the same time, since the RTS-CTS packets are very small, the ineffective transmission overhead is reduced.

[0050] The general principle of CSMA / CA is: the user device seizes the AP resources and exclusively uses the AP resources for data transmission. If the AP occupation time reaches the upper limit, the channel must be released, and then it waits for a period of time according to certain rules and seizes the AP resources again, and so on...

[0051] For scenarios where multiple user devices are connected to one AP, the CSMA / CA mechanism can indeed enable each user device to obtain channel resources relatively fairly. However, for scenarios where only one user device is connected to the AP, if CSMA / CA is still used to allocate channels, it is actually a waste of spectrum resources and the throughput will also be reduced.

[0052] The embodiments of the present application describe various embodiments in conjunction with an access point AP and a user equipment (UE), wherein the user equipment may also be referred to as a terminal device, an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device, etc.

[0053] The user equipment can be a station (STAION, ST) in a wireless local area network (Wireless Local Area Networks, WLAN), a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a personal digital assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a user equipment in the next generation communication system such as an NR network, or a user equipment in a future evolved public land mobile network (PLMN) network, etc.

[0054] In an embodiment of the present application, the user equipment can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (for example, on airplanes, balloons and satellites, etc.).

[0055] In the embodiment of the present application, the user equipment may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.

[0056] As an example but not limitation, in the embodiments of the present application, the user device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.

[0057] This application proposes a channel access method for dynamically enabling or exiting the CSMA / CA mechanism by judging the number of user devices connected to the AP, which is used to improve the throughput and delay of a single user device connecting to the AP. Figure 1B The system architecture diagram used in the embodiment of the present application is shown in FIG. An AP can access one or more user devices within its radiation range. For example, the user devices accessed by AP1, referred to as users, include user 1, user 2, and user 3; the user devices accessed by AP2 include user 4 and user 5.

[0058] The technical solution of this application can improve the spectrum utilization rate of a single-user device accessing an AP. It is necessary to add a judgment option when the user device is connected to the AP; if there is only one user device connected to the AP, the CSMA / CA competition mechanism is not executed, so that the user device can exclusively use the spectrum resources of the AP; if there is more than one user device connected to the AP, the CSMA / CA mechanism is executed (the single-user device connected to the AP also re-enables the CSMA / CA mechanism), so that the user devices connected to the AP share the spectrum resources of the AP; if the user device connected to the AP is disconnected, and there is only one user device currently connected to the AP, the CSMA / CA mechanism is not executed. On the basis of being compatible with traditional solutions, this application significantly improves the throughput and latency of a single-user device accessing an AP.

[0059] The following is a further description of the application examples by way of examples. Figure 2 As shown, a schematic diagram of an embodiment of a method for using AP spectrum resources in an embodiment of the present application may include:

[0060] 201. When it is detected that the current user equipment is connected to the access point AP, determine whether the number of user equipment connected to the AP is one.

[0061] It is understandable that, when detecting that the current user equipment is connected to the access point AP, the AP may first determine whether a single user equipment is currently connected, that is, determine whether the number of user equipment connected to the AP is one.

[0062] Exemplarily, when it is detected that user 1 is connected to access point AP1, it is determined whether the number of user devices connected to AP1 is one.

[0063] 202. When the number of connected user equipment is one, the AP does not perform a carrier sense multiple access / collision avoidance CSMA / CA mechanism and generates a first indication message.

[0064] It can be understood that, when the number of connected user equipment is one, it is considered that a single user equipment is currently connected, and the AP does not execute the CSMA / CA mechanism and generates the first indication message.

[0065] Exemplarily, assuming that the only user device currently connected to AP1 is user 1, then AP1 does not execute the CSMA / CA mechanism and generates a first indication message, where the first indication message is used to indicate that user 1 exclusively uses the spectrum resources of AP1.

[0066] Optionally, the AP does not execute the CSMA / CA mechanism, which may include: the AP exits the CSMA / CA mechanism, so that the user equipment connected to the AP exclusively uses the spectrum resources of the AP.

[0067] 203. The AP sends a first indication message to the connected user equipment, where the first indication message is used to indicate that the connected user equipment exclusively uses spectrum resources of the AP.

[0068] The user equipment receives a first indication message sent by an access point AP, where the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipment connected to the AP is one.

[0069] Exemplarily, AP1 sends a first indication message to user 1.

[0070] 204. The user equipment exclusively uses spectrum resources of the AP according to the first instruction message.

[0071] Exemplarily, user 1 uses spectrum resources of AP1 for communication according to the first indication message.

[0072] Optionally, the method may also include: when the duration occupied by the current user device for communication reaches a preset duration, determining whether the number of connected user devices of the AP is one; when the number of connected user devices is one, the AP does not execute the CSMA / CA mechanism, and generates a first indication message; the AP sends the first indication message to the connected user device; and the AP does not release the channel based on the first indication message, and continues to exclusively enjoy the spectrum resources of the AP.

[0073] It is understandable that when the duration of communication (i.e., data transmission) of the current user equipment reaches the preset duration (i.e., the upper limit), if only the user equipment is currently connected to the AP, that is, the connected user equipment is still one user equipment, the AP controls the user equipment not to release the channel and continues to exclusively use the AP spectrum resources. Figure 3A As shown, it is a schematic diagram of communication between user equipment of the traditional solution and the technical solution of the present application in an embodiment of the present application.

[0074] In the traditional solution, the user device first seizes the channel and then transmits data. When the transmission time reaches the upper limit, the user device releases the channel and waits for a period of time (which can be called the waiting time), and then considers it idle and continues to seize the channel. If a single user device is connected to an AP, the user device must also release the channel and wait (idle time) when the time it occupies spectrum resources reaches the upper limit. During the idle time, the user device does not communicate, so the throughput will be reduced and the latency will increase.

[0075] In the technical solution of the present application, when a single-user device is connected to an AP, the user device exclusively uses the AP resources for data transmission. When the transmission time reaches the upper limit, the user device does not release the channel and continues to exclusively use the channel resources, so the throughput will be improved and the latency will be reduced.

[0076] Optionally, the method may also include: when it is detected that a first user device is connected to the AP, determining whether the number of connected user devices of the AP is multiple; when the number of connected user devices is multiple, the AP executes the CSMA / CA mechanism to generate a second indication message; the AP sends the second indication message to the connected user device, and the second indication message is used to instruct the connected user device to use the spectrum resources of the AP by preempting the channel.

[0077] Exemplarily, when it is detected that user 2 is connected to AP1, it is determined whether the number of connected user devices of AP1 is multiple; if the connected user devices of AP1 include user 1 and user 2, then the number of connected user devices of AP1 is multiple, and the AP executes the CSMA / CA mechanism to generate a second indication message; the AP sends the second indication message to the connected user devices (user 1 and user 2), and the second indication message is used to instruct the connected user devices (user 1 and user 2) to use the spectrum resources of AP1 by preempting channels.

[0078] 205. When there are multiple connected user equipments, the AP executes the CSMA / CA mechanism and generates a second indication message.

[0079] It can be understood that, when there are multiple connected user equipments, it is considered that the current connection is not a single user equipment connection, and the AP executes the CSMA / CA mechanism to generate the second indication message.

[0080] Exemplarily, assuming that the currently connected user devices of AP1 are user 1 and user 3, then AP1 executes the CSMA / CA mechanism to generate a second indication message, where the second indication message is used to instruct user 1 and user 3 to use the spectrum resources of AP1 by preempting the channel.

[0081] Optionally, the AP executes the CSMA / CA mechanism, which may include: the AP enables the CSMA / CA mechanism so that user equipment connected to the AP shares spectrum resources of the AP.

[0082] It should be noted that the connected user devices (multiple user devices) here share the AP spectrum resources, which does not mean that multiple user devices use the AP spectrum resources at the same time. Instead, multiple user devices seize the AP channel. Whichever user device seizes the AP channel can use the AP channel for data transmission. However, because there is a preset occupation time limit when seizing the AP channel for data transmission, after the occupation time is reached, multiple user devices connected to the AP will seize the AP channel again, and so on. Therefore, it is equivalent to that after the AP enables the CSMA / CA mechanism, multiple user devices use the channel for data transmission at different occupation times, and each user device has the probability of seizing the channel. Therefore, it is called multiple user devices sharing the AP spectrum resources here. After exiting the CSMA / CA mechanism, because it is a single user device connection, during the single user device connection period, this user device uses the AP spectrum resources for data transmission, so it can be called exclusive use of AP spectrum resources.

[0083] It should be noted that step 205 is a continuation of step 201 .

[0084] 206. The AP sends a second indication message to the connected user equipment, where the second indication message is used to instruct the connected user equipment to use spectrum resources of the AP by preempting a channel.

[0085] The user equipment receives a second indication message sent by the AP, where the second indication message is an indication message generated by executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipments connected to the AP is multiple.

[0086] Exemplarily, AP1 sends a second indication message to user 1 and user 3.

[0087] It should be noted that step 206 is a continuation of step 205 .

[0088] 207. The user equipment uses spectrum resources of the AP by preempting a channel according to the second indication message.

[0089] Exemplarily, user 1 and user 3 use spectrum resources of AP1 by preempting channels according to the second indication message.

[0090] Optionally, the method may also include: when it is detected that a second user device exits the AP connection, determining whether the number of connected user devices of the AP is one; when the number of connected user devices is one, the AP does not execute the CSMA / CA mechanism, generates the first indication message, and sends the first indication message to the connected user device; when the number of connected user devices is multiple, the AP continues to execute the CSMA / CA mechanism, generates the second indication message, and sends the second indication message to the connected user device.

[0091] Exemplarily, when it is detected that user 2 exits the AP1 connection, it is determined whether the number of connected user devices of AP1 is one. If the connected user devices of AP1 include user 1, then the number of connected user devices is one, and the AP does not execute the CSMA / CA mechanism, generates a first indication message, and sends the first indication message to the connected user device (user 1), and the first indication message is used to indicate that the connected user device (user 1) exclusively uses the spectrum resources of AP1; if the connected user devices of AP1 include user 1 and user 3, then the number of connected user devices is multiple, and the AP executes the CSMA / CA mechanism, generates a second indication message, and sends the second indication message to the connected user devices (user 1 and user 3), and the second indication message is used to indicate that the connected user devices (user 1 and user 3) use the spectrum resources of AP1 by preempting channels.

[0092] When there are multiple connected user devices, the AP executes the CSMA / CA mechanism, and the multiple user devices connected to the AP share the spectrum resources of the AP. Here, the multiple user devices share the AP spectrum resources, which means that the multiple user devices share the AP spectrum resources in time division multiplexing.

[0093] Optionally, the method may further include: the AP adjusting a competition parameter of the connected user equipment according to the number of connected user equipment, the competition parameter including at least one of a waiting time and an occupation time.

[0094] It can be understood that when there are multiple user devices connected, after the AP enables the CSMA / CA mechanism, the AP can adjust the competition parameters of the multiple user devices according to the number of the multiple user devices connected, and the competition parameters may include but are not limited to waiting time, occupancy time and other parameters.

[0095] Optionally, the AP adjusting, according to the number of connected user equipments, the contention parameter of the connected user equipments may include:

[0096] When the number of connected user devices is greater than a first preset threshold and less than or equal to a second preset threshold, the AP reduces the waiting time; when the number of connected user devices is greater than a third preset threshold, the AP increases the waiting time;

[0097] When the number of connected user devices is greater than a fourth preset threshold and less than or equal to a fifth preset threshold, the AP increases the occupation time; when the number of connected user devices is greater than a sixth preset threshold, the AP decreases the occupation time;

[0098] Among them, the second preset threshold is greater than the first preset threshold, the third preset threshold is greater than or equal to the second preset threshold, the fifth preset threshold is greater than the fourth preset threshold, and the sixth preset threshold is greater than or equal to the fifth preset threshold.

[0099] Optionally, when the third preset threshold is greater than the second preset threshold, if the number of the multiple user devices is greater than the second preset threshold and is less than or equal to the third preset threshold, the AP does not adjust the waiting time.

[0100] Optionally, when the sixth preset threshold is greater than the fifth preset threshold, if the number of the multiple user devices is greater than the fifth preset threshold and is less than or equal to the sixth preset threshold, the AP does not adjust the occupancy time.

[0101] Exemplarily, assuming that the normal waiting time set by the AP is 5ms and the number of multiple connected user devices is 2, then the number of multiple connected user devices is greater than the first preset threshold (for example, 1) and is less than or equal to the second preset threshold (for example, 3), and the AP reduces the waiting time (for example, to 3ms); assuming that the number of multiple connected user devices is 5, then the number of multiple connected user devices is greater than the second preset threshold (for example, 3) and is less than or equal to the third preset threshold (for example, 6), and the AP does not adjust the waiting time; assuming that the number of multiple connected user devices is 7, then the number of multiple connected user devices is greater than the third preset threshold (for example, 6), and the AP increases the waiting time (for example, to 6ms).

[0102] Exemplarily, assuming that the normal occupancy time set by the AP is 6ms and the number of multiple connected user devices is 2, then the number of multiple connected user devices is greater than the fourth preset threshold (for example, 1) and is less than or equal to the fifth preset threshold (for example, 3), and the AP increases the occupancy time (for example, to 7ms); assuming that the number of multiple connected user devices is 5, then the number of multiple connected user devices is greater than the fifth preset threshold (for example, 3) and is less than or equal to the sixth preset threshold (for example, 6), and the AP does not adjust the occupancy time; assuming that the number of multiple connected user devices is 7, then the number of multiple connected user devices is greater than the sixth preset threshold (for example, 6), and the AP decreases the occupancy time (for example, to 5ms).

[0103] Optionally, the service type of data transmission performed by the user equipment may include but is not limited to audio (Voice), video (Video), background (background), and best effort (best effort).

[0104] Optionally, the AP may adjust the occupancy time of the corresponding user equipment according to different service types of data transmission performed by the user equipment. The occupancy time of data transmission performed by services with high priority is longer than that of data transmission performed by services with low priority.

[0105] Optionally, the method may further include: when the number of connected user devices is less than or equal to a first preset threshold, the AP increases the bandwidth; when the number of connected user devices is greater than a second preset threshold, the AP decreases the bandwidth.

[0106] Optionally, the method may also include: when the received signal strength indication of the target user device is less than or equal to a first signal strength threshold, the AP increases the transmit power; when the received signal strength indication of the target user device is greater than a second signal strength threshold, the AP decreases the transmit power, the second signal strength threshold is greater than or equal to the first signal strength threshold, and the connected user device includes the target user device.

[0107] like Figure 3BAs shown, it is a flow chart of the method of using AP spectrum resources in an embodiment of the present application. Exemplarily, when user device A1 is connected to AP, AP first determines whether user device A1 is a single-user device; if only user device A1 is currently connected to AP, AP determines that it is a single-user device connection, then AP exits the CSMA / CA mechanism, so that user device A1 can exclusively use AP spectrum resources; if there are other user devices connected to AP, it is not a single-user device connection, then AP enables the CSMA / CA mechanism, so that multiple user devices can share spectrum resources in time division multiplexing; after AP determines that it is a single-user device connection, when user device A2 is connected to AP, CSMA / CA mechanism is enabled, and user device A1 and user device A2 share spectrum resources. When user device A2 exits AP connection, AP determines whether there is only one connected user device, if yes, then exit the CSMA / CA mechanism, if not, then continue to enable the CSMA / CA mechanism.

[0108] Optionally, the method may further include: when the number of the plurality of user devices exceeds a fourth preset threshold, the AP sends a switching instruction to the target user device, indicating that the target user device can switch to connect to other APs for data communication. Because there are many user devices connected to the AP, in order to ensure the communication quality of the user device, the target user device can be connected to other APs for data communication, and a switching instruction is sent to the target user device. The target user device can measure the signal strength and quality of other access points according to the switching instruction, and after determining the target access point, it can switch to the target access point, thereby ensuring the communication quality of the user device to a certain extent.

[0109] Optionally, the target user device can be any user device among multiple user devices, or a user device among multiple user devices that has never seized an AP channel, or a user device with a higher corresponding service priority among multiple user devices, or a target user device determined according to other conditions, which is not limited here.

[0110] Optionally, the method may also include: while maintaining connection with the current access point, the current user equipment can measure the signal strength and quality of other access points, and then the current user equipment decides whether to switch and which target access point to switch to according to the measured value; the current user equipment connects to the selected target access point; after establishing connection with the target access point, the target access point reports the current user equipment identifier to the wireless gateway; the wireless gateway searches the access user equipment list to obtain the address of the original access point of the current user equipment; the wireless gateway sends a switching notification to the original access point according to the access point address stored in the access user equipment list; after receiving the switching notification, the original access point directly transmits the cached data, status information, etc. of the current user equipment to the target access point; at the same time, the wireless gateway sends the relevant information of the current user equipment to the target access point. After receiving the switching notification, the target access point accesses the current user equipment; after the target access point determines that the switching is successful, it sends a confirmation message to the wireless gateway; after receiving the switching success confirmation message, the wireless gateway updates the access point address in the access user equipment list and notifies the original access point to delete the user equipment status information.

[0111] Optionally, in the above process, the interaction information can have corresponding confirmation information. Only when the confirmation message is received, the next step will be started. If the confirmation message times out, the original state will be restored.

[0112] Optionally, to ensure security, the wireless gateway may authenticate the original AP and the new AP and encrypt the interaction information.

[0113] This application aims to improve the throughput of a single-user device connected to an AP, which can be achieved with a slight optimization in software. It is equivalent to allowing the user device to exclusively use the spectrum resources when a single-user device is connected to the AP, thereby improving throughput and reducing latency.

[0114] Improve throughput: Compared with the previous idle time, communication can now be carried out, so the throughput is improved. Reduce latency: The reason why traditional WiFi technology has a large latency is that the user device is occupying the channel waiting for communication. When a single user device connects to the AP, the CSMA / CA mechanism is cancelled, which is equivalent to the user device having an exclusive channel (similar to cellular technology), so in theory, the latency can be reduced to a certain extent.

[0115] In the embodiment of the present application, when it is detected that the current user equipment is connected to the access point AP, it is determined whether the number of connected user equipment of the AP is one; when the number of connected user equipment is one, the AP does not perform the carrier sense multiple access / collision avoidance CSMA / CA mechanism. When a single user equipment is accessed by the access point AP, the CSMA / CA mechanism is not performed, so that the user equipment has exclusive use of spectrum resources, thereby improving throughput and reducing latency.

[0116] like Figure 4 FIG. 1 is a schematic diagram of an embodiment of a device for using AP spectrum resources in an embodiment of the present application, which may include:

[0117] The judging module 401 is used to determine whether the number of connected user equipments of the access point AP is one when it is detected that the current user equipment is connected to the access point AP;

[0118] A processing module 402 is configured to generate a first indication message by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of the connected user equipment is one;

[0119] The sending module 403 is used to send a first indication message to the connected user equipment, where the first indication message is used to indicate that the connected user equipment exclusively uses the spectrum resources of the AP.

[0120] Optionally, the judgment module 401 is further configured to determine whether the number of user equipment connected to the AP is multiple when it is detected that a first user equipment is connected to the AP;

[0121] The processing module 402 is further configured to execute the CSMA / CA mechanism and generate a second indication message when the number of the connected user equipment is multiple;

[0122] The sending module 403 is further used to send the second indication message to the connected user equipment, where the second indication message is used to instruct the connected user equipment to use the spectrum resources of the AP by preempting a channel.

[0123] Optionally, the processing module 402 is further configured to, when the number of the connected user equipment is multiple, execute the CSMA / CA mechanism to generate a second indication message;

[0124] The sending module 403 is further used to send the second indication message to the connected user equipment, where the second indication message is used to instruct the connected user equipment to use the spectrum resources of the AP by preempting a channel.

[0125] Optionally, the judgment module 401 is further configured to determine whether the number of user equipment connected to the AP is one when it is detected that a second user equipment exits the AP connection;

[0126] The processing module 402 is further configured to, when the number of the connected user equipment is one, not execute the CSMA / CA mechanism and generate the first indication message;

[0127] The sending module 403 is further configured to send the first indication message to the connected user equipment;

[0128] The processing module 402 is further configured to, when the number of the connected user equipment is multiple, continue to execute the CSMA / CA mechanism and generate the second indication message;

[0129] The sending module 403 is further configured to send the second indication message to the connected user equipment.

[0130] Optionally, the processing module 402 is further configured to enable the AP to adjust a competition parameter of the connected user equipment according to the number of connected user equipment, where the competition parameter includes at least one of a waiting time and an occupation time.

[0131] Optionally, the processing module 402 is specifically configured to, when the number of connected user devices is greater than a first preset threshold and less than or equal to a second preset threshold, the AP reduces the waiting time; when the number of connected user devices is greater than a third preset threshold, the AP increases the waiting time; when the number of connected user devices is greater than the fourth preset threshold and less than or equal to the fifth preset threshold, the AP increases the occupation time; when the number of connected user devices is greater than the sixth preset threshold, the AP reduces the occupation time;

[0132] Among them, the second preset threshold is greater than the first preset threshold, the third preset threshold is greater than or equal to the second preset threshold, the fifth preset threshold is greater than the fourth preset threshold, and the sixth preset threshold is greater than or equal to the fifth preset threshold.

[0133] like Figure 5 FIG. 2 is a schematic diagram of another embodiment of a device for using AP spectrum resources in an embodiment of the present application, which may include:

[0134] A receiving module 501 is configured to receive a first indication message sent by an access point AP, where the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of connected user equipments of the AP is one;

[0135] The processing module 502 is configured to exclusively use the spectrum resources of the AP according to the first indication message.

[0136] Optionally, the receiving module 501 is further used to receive a second indication message sent by the AP, where the second indication message is an indication message generated by executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of connected user equipments of the AP is multiple;

[0137] The processing module 502 is further configured to use the spectrum resources of the AP by seizing a channel according to the second indication message.

[0138] Optionally, the embodiment of the present application further provides an access point, including: Figure 4 An apparatus for using AP spectrum resources is shown.

[0139] Optionally, the embodiment of the present application further provides a user equipment, including: Figure 5 An apparatus for using AP spectrum resources is shown.

[0140] like Figure 6 As shown, it is a schematic diagram of an embodiment of an access point in an embodiment of the present application, which may include:

[0141] A memory 601 storing executable program codes;

[0142] A processor 602 and a transceiver 603 coupled to the memory 601;

[0143] The processor 602 is configured to, when detecting that the current user equipment is connected to the access point AP, determine whether the number of connected user equipments of the AP is one; if the number of connected user equipments is one, not perform the carrier sense multiple access / collision avoidance CSMA / CA mechanism, and generate a first indication message;

[0144] The transceiver 603 is used to send a first indication message to the connected user equipment, where the first indication message is used to indicate that the connected user equipment exclusively uses the spectrum resources of the AP.

[0145] Optionally, the processor 602 is further configured to, when detecting that a first user equipment is connected to the AP, determine whether the number of connected user equipments of the AP is multiple; if the number of connected user equipments is multiple, execute the CSMA / CA mechanism to generate a second indication message;

[0146] The transceiver 603 is further used to send the second indication message to the connected user equipment, where the second indication message is used to instruct the connected user equipment to use the spectrum resources of the AP by occupying a channel.

[0147] Optionally, the processor 602 is further configured to, when the number of the connected user equipment is multiple, execute the CSMA / CA mechanism to generate a second indication message;

[0148] The transceiver 603 is further used to send the second indication message to the connected user equipment, where the second indication message is used to instruct the connected user equipment to use the spectrum resources of the AP by occupying a channel.

[0149] Optionally, the processor 602 is further configured to, when detecting that a second user equipment exits the AP connection, determine whether the number of connected user equipments of the AP is one; if the number of connected user equipments is one, not execute the CSMA / CA mechanism, and generate the first indication message;

[0150] The transceiver 603 is further configured to send the first indication message to the connected user equipment;

[0151] The processor 602 is further configured to, when the number of the connected user equipment is multiple, continue to execute the CSMA / CA mechanism and generate the second indication message;

[0152] The transceiver 603 is further configured to send the second indication message to the connected user equipment.

[0153] Optionally, the processor 602 is further configured to, the AP, adjust a competition parameter of the connected user equipment according to the number of connected user equipment, the competition parameter comprising at least one of a waiting time and an occupation time.

[0154] Optionally, the processor 602 is specifically configured to, when the number of connected user devices is greater than a first preset threshold and less than or equal to a second preset threshold, the AP reduce the waiting time; when the number of connected user devices is greater than a third preset threshold, the AP increase the waiting time; when the number of connected user devices is greater than the fourth preset threshold and less than or equal to the fifth preset threshold, the AP increase the occupation time; when the number of connected user devices is greater than the sixth preset threshold, the AP reduce the occupation time;

[0155] Among them, the second preset threshold is greater than the first preset threshold, the third preset threshold is greater than or equal to the second preset threshold, the fifth preset threshold is greater than the fourth preset threshold, and the sixth preset threshold is greater than or equal to the fifth preset threshold.

[0156] Figure 7 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a user equipment provided by an embodiment of the present invention. Figure 7 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 770, a wireless fidelity (Wi-Fi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Figure 7The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0157] Combine the following Figure 7 A detailed introduction to the various components of the mobile phone:

[0158] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (SMS), etc.

[0159] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0160] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.

[0161] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Figure 7 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.

[0162] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0163] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.

[0164] Wi-Fi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the Wi-Fi module 770. It provides users with wireless broadband Internet access. Figure 7 A Wi-Fi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.

[0165] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.

[0166] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0167] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0168] In the embodiment of the present application, the RF circuit 710 is used to receive a first indication message sent by an access point AP, where the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of connected user equipments of the AP is one;

[0169] Processor 780 is configured to exclusively use the spectrum resources of the AP according to the first indication message.

[0170] Optionally, the RF circuit 710 is further configured to receive a second indication message sent by the AP, where the second indication message is an indication message generated by executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of connected user equipments of the AP is multiple;

[0171] The processor 780 is further configured to use the spectrum resources of the AP by seizing a channel according to the second indication message.

[0172] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0173] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0174] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0176] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0177] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0178] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for using AP spectrum resources, characterized in that: include: When it is detected that the current user equipment is connected to the access point AP, determining whether the number of user equipment connected to the AP is one; When the number of the connected user equipment is one, the AP does not perform a carrier sense multiple access / collision avoidance CSMA / CA mechanism and generates a first indication message; The AP sends a first indication message to the connected user equipment, where the first indication message is used to indicate that the connected user equipment exclusively uses spectrum resources of the AP.

2. The method according to claim 1, characterized in that: The method further comprises: When it is detected that a first user equipment is connected to the AP, determining whether the number of user equipment connected to the AP is multiple; In the case that the number of connected user devices is multiple, the AP executes the CSMA / CA mechanism to generate a second indication message; the AP sends the second indication message to the connected user devices, and the second indication message is used to instruct the connected user devices to use the spectrum resources of the AP by preempting channels.

3. The method according to claim 1, characterized in that The method further comprises: In a case where the number of the connected user equipments is multiple, the AP executes the CSMA / CA mechanism to generate a second indication message; The AP sends the second indication message to the connected user equipment, where the second indication message is used to instruct the connected user equipment to use spectrum resources of the AP by preempting a channel.

4. The method according to claim 3, characterized in that The method further comprises: When it is detected that a second user equipment exits the AP connection, determining whether the number of user equipment connected to the AP is one; When the number of the connected user equipment is one, the AP does not execute the CSMA / CA mechanism, generates the first indication message, and sends the first indication message to the connected user equipment; In the case that the number of the connected user equipment is multiple, the AP continues to execute the CSMA / CA mechanism, generates the second indication message, and sends the second indication message to the connected user equipment.

5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: The AP adjusts a competition parameter of the connected user equipment according to the number of the connected user equipment, where the competition parameter includes at least one of a waiting time and an occupation time.

6. The method according to claim 5, characterized in that The AP adjusts the contention parameters of the connected user equipment according to the number of the connected user equipment, including: When the number of connected user devices is greater than a first preset threshold and less than or equal to a second preset threshold, the AP reduces the waiting time; when the number of connected user devices is greater than a third preset threshold, the AP increases the waiting time; When the number of connected user devices is greater than a fourth preset threshold and less than or equal to a fifth preset threshold, the AP increases the occupation time; when the number of connected user devices is greater than a sixth preset threshold, the AP decreases the occupation time; Among them, the second preset threshold is greater than the first preset threshold, the third preset threshold is greater than or equal to the second preset threshold; the fifth preset threshold is greater than the fourth preset threshold, and the sixth preset threshold is greater than or equal to the fifth preset threshold.

7. A method for using AP spectrum resources, characterized in that: include: The user equipment receives a first indication message sent by the access point AP, where the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipment connected to the AP is one; The user equipment exclusively uses the spectrum resources of the AP according to the first indication message.

8. The method according to claim 7, characterized in that The method further comprises: The user equipment receives a second indication message sent by the AP, where the second indication message is an indication message generated by executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipments connected to the AP is multiple; The user equipment uses the spectrum resources of the AP by seizing a channel according to the second indication message.

9. A device for using AP spectrum resources, characterized in that: include: A judgment module, configured to determine whether the number of user equipment connected to the access point AP is one when it is detected that the current user equipment is connected to the access point AP; A processing module, configured to generate a first indication message by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of the connected user equipment is one; The sending module is used to send a first indication message to the connected user equipment, where the first indication message is used to indicate that the connected user equipment exclusively uses the spectrum resources of the AP.

10. A device for using AP spectrum resources, characterized in that: include: A receiving module, configured to receive a first indication message sent by an access point AP, wherein the first indication message is an indication message generated by not executing a carrier sense multiple access / collision avoidance CSMA / CA mechanism when the number of user equipment connected to the AP is one; A processing module is used to exclusively use the spectrum resources of the AP according to the first indication message.

11. An access point, characterized in that: include: A memory storing executable program code; a processor and a transceiver coupled to the memory; The access point is used to execute the method according to any one of claims 1 to 6.

12. A user equipment, characterized in that: include: A memory storing executable program code; a processor and a transceiver coupled to the memory; The access point is used to execute the method according to claim 7 or 8.

13. A computer-readable storage medium comprising instructions, which, when executed on a processor, causes the processor to perform the method according to any one of claims 1 to 6, or 7 or 8.