Service method based on wi-fi direct, network system, terminal, and storage medium
Patent Information
- Application Number
- CN202110882811.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-02
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2041-08-02
AI Technical Summary
管理端执行电源管理,一般是通过控制休眠时间来减少功耗,但是在现有技术中,休眠时间通常是固定的,无法根据实际业务需要(例如数据传输效率)进行动态调节,从而导致无法兼顾业务传输和控制功耗
[0025]如上所述,在本申请的基于Wi-Fi直连的服务方法、网络系统、终端及存储介质中,确定Wi-Fi直连服务的类型,再获取该类型的Wi-Fi直连服务所需的数据传输速率,并根据数据传输速率、管理端的总带宽和信标间隔,得到管理端在信标间隔期间的休眠时间以此与客户端进行业务传输,基于此,本申请根据实际的数据传输模式(以及该模式下所需的数据传输速率)动态调节休眠时间,既可以兼顾管理端与客户端之间的业务传输需求,还可以减少功耗。
Smart Images

Figure CN115701734B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Wi-Fi (Wireless Fidelity or Mobile Hotspot) technology, specifically to a service method, network system, terminal, and storage medium based on Wi-Fi Direct. Background Technology
[0002] Wi-Fi Direct is a standard that allows devices in a wireless network to connect to each other without a wireless router. This standard enables wireless devices to interconnect in a point-to-point manner, significantly improving both transmission speed and distance. A Wi-Fi Direct network includes two roles: the group owner and the client. One group owner connects to one or more clients, forming a peer-to-peer (P2P) network. The group owner performs power management, typically by controlling sleep time to reduce power consumption. However, in current technology, sleep time is usually fixed and cannot be dynamically adjusted according to actual service needs (such as data transmission efficiency), thus failing to balance service transmission and power consumption control. Summary of the Invention
[0003] To address the aforementioned technical issues, this application provides a service method, network system, terminal, and storage medium based on Wi-Fi Direct, which can dynamically adjust the sleep time according to the data transmission mode to reduce power consumption.
[0004] In a first aspect, this application provides a service method based on Wi-Fi Direct, applied to a management terminal and a client that establishes a connection with the management terminal through the Wi-Fi Direct service, including:
[0005] S1. Determine the type of Wi-Fi Direct service;
[0006] S2. Obtain the data transfer rate required for this type of Wi-Fi Direct service;
[0007] S3. Based on the data transmission rate, the total bandwidth of the management terminal, and the beacon interval, obtain the sleep time of the management terminal during the beacon interval;
[0008] S4. Perform service transmission with the client based on the sleep time.
[0009] Optionally, prior to step S1, the method further includes:
[0010] S11. Obtain the client's current signal strength and / or remaining battery power;
[0011] S12. In response to a client whose remaining battery power is greater than a first threshold and / or whose signal strength is greater than a second threshold, a Wi-Fi Direct connection service is established with the client.
[0012] Optionally, in step S11, a message is received from the client, which includes a field for identifying the remaining battery power; the management terminal obtains the client's current remaining battery power based on the field.
[0013] Optionally, the message includes a fixed attribute ID for identifying the remaining battery power, with the field having a custom length in the message.
[0014] Optionally, in step S11, the method of acquiring clients with signal strength greater than the second threshold includes at least one of the following:
[0015] Obtain the retransmission rate of the client from the management end, and select the client whose retransmission rate is lower than the third threshold;
[0016] Obtain the RSSI from the management end and select clients whose RSSI is higher than the fourth threshold;
[0017] Obtain the client's receive power and select clients whose receive power is below the fifth threshold.
[0018] Optionally, in step S2, the data transmission rate required for this type of Wi-Fi Direct service is obtained by querying a preset relationship table, which includes the data transmission rates required for various types of Wi-Fi Direct services.
[0019] Optionally, in step S3, the sleep time of the management terminal is obtained through the following relationship:
[0020] D i =(T b -R b ) / T b *BI
[0021] D i T is the sleep time for the management terminal. b R represents the total bandwidth of the management terminal. b BI represents the data transfer rate required by the client and the beacon interval.
[0022] Secondly, this application provides a Wi-Fi Direct network system, including a management terminal and a client that establishes a connection with the management terminal through a Wi-Fi Direct service. The management terminal is used to determine the type of Wi-Fi Direct service and obtain the data transmission rate required for that type of Wi-Fi Direct service. The management terminal is also used to obtain the sleep time of the management terminal during the beacon interval based on the data transmission rate, the total bandwidth of the management terminal, and the beacon interval, and to perform service transmission with the client based on the sleep time.
[0023] Thirdly, this application provides a terminal including a memory and a processor. The memory stores a service program based on Wi-Fi Direct. When the Wi-Fi Direct service program is executed by the processor, it implements the steps in the above-described service method based on Wi-Fi Direct.
[0024] Fourthly, this application provides a readable storage medium storing a computer program that, when executed by a processor, implements the steps in the above-described Wi-Fi Direct-based service method.
[0025] As described above, in the Wi-Fi Direct service method, network system, terminal, and storage medium of this application, the type of Wi-Fi Direct service is determined, the data transmission rate required for that type of Wi-Fi Direct service is obtained, and the sleep time of the management terminal during the beacon interval is obtained based on the data transmission rate, the total bandwidth of the management terminal, and the beacon interval, so as to conduct service transmission with the client. Based on this, this application dynamically adjusts the sleep time according to the actual data transmission mode (and the data transmission rate required in that mode), which can both take into account the service transmission needs between the management terminal and the client and reduce power consumption. Attached Figure Description
[0026] Figure 1 and Figure 2 An architecture diagram of a Wi-Fi Direct network system provided in this application embodiment;
[0027] Figure 3 This is a flowchart of the service method based on Wi-Fi Direct according to the first embodiment of this application;
[0028] Figure 4 This is a schematic diagram illustrating the interaction between the management terminal and the client in this application;
[0029] Figure 5 This is a flowchart of a service method based on Wi-Fi Direct according to a second embodiment of this application;
[0030] Figure 6 This is a flowchart of a service method based on Wi-Fi Direct according to a third embodiment of this application;
[0031] Figure 7 This is a flowchart of the service method based on Wi-Fi Direct according to the fourth embodiment of this application;
[0032] Figure 8 This is a schematic diagram of the message structure according to an embodiment of this application. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly described below in conjunction with specific embodiments and accompanying drawings. Obviously, the embodiments described below are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, the following embodiments and their technical features can be combined with each other without conflict.
[0034] To facilitate understanding of the embodiments of this application, the Wi-Fi Direct network system on which this application is based is described below. Please refer to... Figure 1 This is an architecture diagram of a Wi-Fi Direct network system provided in an embodiment of this application. The Wi-Fi Direct network system includes multiple devices. After the multiple devices complete P2P negotiation based on the Wi-Fi Direct standard protocol, one device plays the role of the manager, i.e., the management terminal, and the other devices play the role of the managed, i.e., the clients, thus forming the Wi-Fi Direct network system.
[0035] It should be understood that the role of any device can be switched according to actual business needs; for example, it can switch from a management terminal to a client terminal, or vice versa. For example, in... Figure 1 In the scenario shown, smartphone 11 acts as the management terminal, while navigation device 121, printer 122, television 123, and laptop 124 act as clients; and Figure 2 In the scenario shown, the laptop 124 acts as the management terminal, while the navigation device 121, printer 122, and television 123 remain as clients. At this time, the smartphone 11 switches from the management terminal to the client.
[0036] The data transmission between the management terminal 11 and the client 12 can be understood as a Wi-Fi Direct connection service between the two, and the data transmission mode between the management terminal 11 and the client 12 is the type of Wi-Fi Direct connection service.
[0037] Based on this Wi-Fi Direct network system, various embodiments of this application are proposed.
[0038] It should be noted that although step codes such as S1 and S2 are used in the full description of this application, their purpose is to express the corresponding content more clearly and concisely, and they do not constitute a substantial restriction on the order. In specific implementation, the step with the larger sequence number may be executed first and the step with the smaller sequence number may be executed later, such as S3 before S2, but all of these should be within the protection scope of this application.
[0039] First Embodiment
[0040] Please see Figure 3 and Figure 4The diagram shown is a flowchart of a service method based on Wi-Fi Direct according to a first embodiment of this application. The method includes at least the following steps S1 to S4.
[0041] S1. Determine the type of Wi-Fi Direct service.
[0042] S2. Obtain the data transfer rate required for this type of Wi-Fi Direct service.
[0043] S3. Based on the data transmission rate, the total bandwidth of the management terminal, and the beacon interval, obtain the sleep time of the management terminal during the beacon interval.
[0044] S4. Perform service transmission with the client based on the sleep time.
[0045] The management system can determine the type of Wi-Fi Direct service based on the client's business requests, such as by receiving and parsing the messages sent by the client.
[0046] In some scenarios, Wi-Fi Direct service includes one of the following four types:
[0047] I. Play Service.
[0048] 2. Display services, such as screen mirroring output services.
[0049] In some scenarios, the client can transmit audio and video media files to the management terminal based on the DLNA (Digital Life Network Alliance) standard and through a wireless transmission interface. The management terminal can then play and / or display the audio and video media files itself or through other clients with corresponding functions.
[0050] III. Send Service. In some scenarios, after an ASP (Application Service Platform) session is created between the management end and the client, a unique ID is created for each session. The functional architecture of the management end consists of a sending unit and a receiving unit. The sending unit uses a module that supports UPnP (Universal Plug and Playback) to manage the session and transmits data from the sender to the receiver through the transport layer.
[0051] IV. Print Service. The management terminal selects a client with printing capabilities for printing. This selected client can be based on the Internet printing protocol.
[0052] Depending on the type, the data adaptability for business transmission between the management end and the client differs in step S4.
[0053] In step S2, the methods for obtaining the data transmission rate include, but are not limited to: querying a preset relationship table, or obtaining the data transmission rate measured in history.
[0054] The pre-defined relationship table includes the data transfer rates required for each type of Wi-Fi Direct service. For example, referring to Table 1, for a Wi-Fi Direct service for playback, the required data transfer rate for the client and management is 30 Mbps; for a Wi-Fi Direct service for display, the required data transfer rate is 20 Mbps; for a Wi-Fi Direct service for sending, the required data transfer rate is 5 Mbps; and for a Wi-Fi Direct service for printing, the required data transfer rate is 2 Mbps.
[0055] Playback service 30Mbps Display services 20Mbps Sending service 5Mbps Printing service 2Mbps
[0056] Table 1
[0057] The required data transfer rate for this type of Wi-Fi Direct service can be obtained by measuring historical data transfer rates. This includes: the data transfer rate required when the client and / or management system previously performed this type of Wi-Fi Direct service; or the average or minimum data transfer rate required when performing this type of Wi-Fi Direct service multiple times before.
[0058] Wi-Fi Direct service can be understood as data transmission between devices. Accordingly, the type of Wi-Fi Direct service can be regarded as a data transmission mode between devices. This application embodiment obtains the sleep time based on the current data transmission mode (and the data transmission rate required under that mode), realizing dynamic adjustment of the sleep time. This can both meet the service transmission needs between the management terminal and the client and reduce power consumption.
[0059] In one embodiment, step S3 can obtain the sleep time of the management terminal through the following relationship:
[0060] D i =(T b -R b ) / T b *BI
[0061] D i T is the sleep time for the management terminal. b R represents the total bandwidth of the management terminal. b BI represents the data transfer rate required by the client, and T represents the beacon interval. b R b BI are known parameters.
[0062] For example, in one scenario, the beacon interval BI = 100ms, and the total bandwidth T of the management terminal...b =40Mbps. By referring to Table 1 above, we can obtain Table 2 below. It can be seen that for Wi-Fi Direct service as a playback service, the management terminal's sleep time D... i =25ms; For Wi-Fi Direct service as a display service, the sleep time D of the management terminal is... i =50ms; For Wi-Fi Direct service, which is a sending service, the sleep time D of the management terminal is 50ms. i = 87.5ms; For Wi-Fi Direct service as a printing service, the sleep time D of the management terminal is... i =95ms.
[0063] Playback service 25ms Display services 50ms Sending service 87.5ms Printing service 95ms
[0064] Table 2
[0065] It should be understood that the aforementioned sleep time is the beacon interval between the management terminal and a single client. In a Wi-Fi Direct network, there are multiple clients; therefore, the total sleep time of the management terminal in the entire Wi-Fi Direct network is the product of the aforementioned sleep time and the number of clients. For example, in a network with... Figure 1 In the Wi-Fi Direct network of the four clients shown, compared with the prior art, the embodiments of this application can increase the total sleep time of the management terminal by 10% to 30%, and the data transmission rate between the management terminal and the clients can be increased by about 10%.
[0066] Second Embodiment
[0067] Please see Figure 4 and Figure 5 The diagram shown is a flowchart of a service method based on Wi-Fi Direct according to a second embodiment of this application. The method includes at least the following steps S11 to S4.
[0068] S11. Obtain the current signal strength and remaining battery power of the client.
[0069] S12. In response to a client whose remaining battery power is greater than a first threshold and whose signal strength is greater than a second threshold, a Wi-Fi Direct connection service is established with the client.
[0070] S1. Determine the type of Wi-Fi Direct service.
[0071] S2. Obtain the data transfer rate required for this type of Wi-Fi Direct service.
[0072] S3. Based on the data transmission rate, the total bandwidth of the management terminal, and the beacon interval, obtain the sleep time of the management terminal during the beacon interval.
[0073] S4. Perform service transmission with the client based on the sleep time.
[0074] Based on the description of the foregoing embodiments, but with a difference, this embodiment selects clients based on signal strength and remaining battery power, and establishes a Wi-Fi Direct service between the selected clients and the management terminal. If the client's signal strength is greater than a second threshold, it indicates a high signal strength, which can reduce the retransmission rate between the management terminal and the client, thereby reducing power consumption. If the client's remaining battery power is greater than a first threshold, it indicates a large remaining battery power, which can support the operation of the corresponding Wi-Fi Direct service, reducing the risk of Wi-Fi Direct service interruption due to battery depletion.
[0075] It should be understood that in other embodiments of this application, step S12 may only select clients with signal strength greater than the second threshold and establish a Wi-Fi direct connection service with the management terminal, such as... Figure 6 As shown. Alternatively, in step S12, only clients with remaining battery power greater than the first threshold can be selected, and a Wi-Fi direct connection service can be established with the management terminal, such as... Figure 7 As shown.
[0076] In some scenarios of step S11, the management terminal can receive the client's current remaining battery power via a message. For example, the management terminal transmits a beacon to the surrounding environment. After receiving the beacon, the client sends a message to request the establishment of a connection. This message includes a field indicating the remaining battery power. After receiving this message, the management terminal obtains the client's current remaining battery power based on the field.
[0077] For example, in Figure 8In one application scenario, the message may include a header, a data portion, and a checksum. The header may include a preamble, an access address, a frame control, a source address, and a destination address. The data portion may include a payload (Protocol Data Unit, PDU). The checksum may include a Cyclic Redundancy Check (CRC). The checksum is used to detect data transmission errors. The preamble informs the management end to pay attention to the received message and identifies whether the message is a useful signal or interference; if it is useful information, it is decoded; if it is interference, it can be ignored. The access address is used to authenticate the client to determine whether the client is associated with the Wi-Fi Direct network. The frame control ensures the reliability of data transmission between devices. The source address is the management end's device address, and the destination address is the client's device address. The payload can be used to transmit valid data. The CRC is used to detect or verify whether the payload transmission is incorrect. Since the field reserved for the header in the message is relatively long, this embodiment can set the field that identifies the remaining battery power in the header. In this way, when the client detects the header, it can determine whether the client's current remaining battery power is greater than the first threshold. If not, the message is directly discarded without further decoding the data part and the verification part.
[0078] In practical message transmission scenarios, there may be a large amount of information or data to be transmitted. This application can set a fixed attribute ID in the message (e.g., header) to identify the remaining battery power, so that the management end can quickly determine that the decoded information is the remaining battery power based on the fixed attribute ID. For example, if the fixed attribute ID is 156, once the management end decodes the ID 156, it can directly confirm that the currently parsed information is the remaining battery power, and then obtain the specific value of the remaining battery power through the fields in the message.
[0079] The field used to identify the remaining battery power has a custom length in the message. That is, the client can use a field of custom length to identify its remaining battery power, which helps the management end to accurately obtain the remaining battery power information. It should be understood that the so-called custom length here means that the client can adjust the byte length according to actual needs; for example, the client may use 2 bytes to identify the remaining battery power in one instance and 3 bytes in another, but this custom length must be less than the length of the field in the message header.
[0080] It should be understood that the management end can also receive the current signal strength of the client through messages. For details on the process and principle, please refer to the aforementioned method for obtaining the remaining power, which will not be elaborated here.
[0081] In other implementations of step S11, the method by which the management end obtains clients with signal strength greater than the second threshold may also include at least one of the following three:
[0082] 1. Obtain the retransmission rate from the management terminal to the client, and select clients with a retransmission rate below the third threshold. The retransmission rate indicates a low success rate of the client receiving beacons sent by the management terminal. One factor affecting the retransmission rate is signal strength; the higher the signal strength, the lower the retransmission rate, and vice versa. Therefore, the management terminal can select clients based on the retransmission rate.
[0083] 2. Obtain the RSSI from the management end and select clients with RSSI higher than the fourth threshold. RSSI is an indicator on the management side. After establishing a Wi-Fi direct connection, the management end can detect the RSSI between itself and each client to identify clients with higher RSSI (above the fourth threshold).
[0084] Third, obtain the client's received power and select clients with received power below the fifth threshold. A higher received power indicates greater power consumption for the client to receive messages from the management terminal, which can be understood as a lower signal strength. Therefore, this application can select clients with lower received power. The client's received power can be transmitted to the management terminal in accordance with the aforementioned method for remaining battery power.
[0085] Third Embodiment
[0086] This application also provides an embodiment of a Wi-Fi Direct network system, including a management terminal and a client that establishes a connection with the management terminal through a Wi-Fi Direct service. The architecture of this Wi-Fi Direct network system can be found in the foregoing. Figure 1 and Figure 2 As shown. The management terminal is used to determine the type of Wi-Fi Direct service, obtain the data transmission rate required for that type of Wi-Fi Direct service, and, based on the data transmission rate, the management terminal's total bandwidth, and the beacon interval, determine the management terminal's sleep time during the beacon interval, and then transmit services with the client based on the sleep time.
[0087] Wi-Fi Direct service can be understood as data transmission between devices. Accordingly, the type of Wi-Fi Direct service can be regarded as a data transmission mode between devices. This application embodiment determines the sleep time based on the current data transmission mode and the required data transmission rate under that mode, achieving dynamic adjustment of the sleep time. This balances the service transmission needs between the management terminal and the client while reducing power consumption.
[0088] In a Wi-Fi Direct network system, the principle and process of executing Wi-Fi Direct service between the management terminal and the client can be found in the service method based on Wi-Fi Direct in the aforementioned embodiments.
[0089] This application also provides a terminal, which includes a memory and a processor. The memory stores a service program based on Wi-Fi Direct. When the service program based on Wi-Fi Direct is executed by the processor, it can implement the steps of the service method based on Wi-Fi Direct in any of the above embodiments.
[0090] The terminal can be a device that plays the aforementioned management role or a device that plays the aforementioned client role. The terminal can be implemented in various forms, and this application does not limit its implementation. For example, the terminal described in this application can include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc. Besides elements specifically designed for mobile purposes, the construction according to the embodiments of this application can also be applied to fixed-type terminals, such as digital TVs, desktop computers, etc.
[0091] This application also provides a readable storage medium storing a Wi-Fi Direct-based service program. When the Wi-Fi Direct-based service program is executed by a processor, it can implement the steps of the Wi-Fi Direct-based service method in any of the above embodiments.
[0092] The embodiments of the terminal and readable storage medium provided in this application include all the technical features of the above-described embodiments of the service method based on Wi-Fi Direct. The extended and explanatory content of the specification is basically the same as the various embodiments of the above method, and will not be repeated here.
[0093] This application also provides a computer program product, including computer program code, which, when run on a computer, causes the computer to perform the methods described in the various possible implementations above.
[0094] This application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device with the chip installed performs the methods described in the various possible implementations above.
[0095] A computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. A computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. Available media can be magnetic media (e.g., floppy disks, storage disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).
[0096] It is understood that the above scenarios are merely examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of this application. The technical solutions of this application can also be applied to other scenarios. For example, as those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0097] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) to execute the methods of each embodiment of this application.
[0098] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A service method based on Wi-Fi Direct, applied to a management terminal and multiple clients that establish a connection with the management terminal through the Wi-Fi Direct service, characterized in that, include: S1. Determine the type of Wi-Fi Direct service corresponding to each of the plurality of clients; S2. Obtain the data transmission rate required for the Wi-Fi Direct service of the corresponding type for each client; S3. Based on the data transmission rate, the total bandwidth of the management terminal, and the beacon interval, obtain the sleep time of the management terminal for each client during the beacon interval; S4. Perform service transmission with the client according to the sleep time of each client, wherein the total sleep time of the management terminal is obtained by multiplying the sleep time of each client by the number of the multiple clients.
2. The method according to claim 1, characterized in that, Prior to step S1, the method further includes: S11. Obtain the client's current signal strength and / or remaining battery power; S12. In response to a client whose remaining battery power is greater than a first threshold and / or whose signal strength is greater than a second threshold, a Wi-Fi Direct connection service is established with the client.
3. The method according to claim 2, characterized in that, In step S11, a message is received from the client, the message including a field for identifying the remaining battery power; The management terminal obtains the current remaining battery power of the client based on the field.
4. The method according to claim 3, characterized in that, The message includes a fixed attribute ID for identifying the remaining battery power, and the field has a custom length in the message.
5. The method according to any one of claims 2 to 4, characterized in that, In step S11, the method of acquiring clients with signal strength greater than the second threshold includes at least one of the following: Obtain the retransmission rate of the client from the management end, and select the client whose retransmission rate is lower than the third threshold; Obtain the RSSI from the management end and select clients whose RSSI is higher than the fourth threshold; Obtain the client's receive power and select clients whose receive power is below the fifth threshold.
6. The method according to claim 1, characterized in that, In step S2, the data transmission rate required for the type of Wi-Fi Direct service is obtained by querying a preset relationship table, which includes the data transmission rates required for each type of Wi-Fi Direct service.
7. The method according to claim 1, characterized in that, In step S3, the sleep time of the management terminal is obtained through the following relationship: D i = (T b -R b ) / T b *BI D i T is the sleep time of the management terminal. b R represents the total bandwidth of the management terminal. b BI represents the data transmission rate required by the client, and BI represents the beacon interval.
8. A Wi-Fi Direct network system, comprising a management terminal and multiple clients connected to the management terminal via a Wi-Fi Direct service, characterized in that, The management terminal is used to determine the type of Wi-Fi Direct service corresponding to each of the plurality of clients, and to obtain the data transmission rate required for the Wi-Fi Direct service of the corresponding type for each client; the management terminal is also used to obtain the sleep time of the management terminal for each client during the beacon interval based on the data transmission rate, the total bandwidth of the management terminal and the beacon interval, and to perform service transmission with the client based on the sleep time of each client, wherein the total sleep time of the management terminal is obtained by multiplying the sleep time of each client by the number of the plurality of clients.
9. A terminal, characterized in that, The terminal includes a memory and a processor, wherein the memory stores a service program based on Wi-Fi Direct, and when the service program based on Wi-Fi Direct is executed by the processor, it implements the steps of the service method based on Wi-Fi Direct as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that, The readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the Wi-Fi Direct-based service method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Power-saving method and device for wireless fidelity WiFi access point equipment
CN103249120A
Network connection method and device, storage medium and electronic equipment
CN112351456A
Method and apparatus for waking device from power save mode
US20110185200A1
Method and apparatus for connecting wireless network in a digital device
US20120033568A1