Network resource regulation method and apparatus, terminal device, and storage medium

By acquiring the network status of the devices and adjusting the resource allocation conditions, the problem of uneven network resources among connected devices was solved, thereby reducing device power consumption.

CN114666798BActive Publication Date: 2026-01-23SHENZHEN TCL NEW-TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011532126.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2026-01-23
Estimated Expiration
2040-12-22

AI Technical Summary

Technical Problem

In existing technologies, the uneven distribution of network resources among connected devices leads to increased power consumption for WiFi devices and smart devices.

Method used

By obtaining the network status of connected devices within the wireless network coverage area, the corresponding network resource allocation is obtained based on the network status, and the network resource allocation is used to determine whether the devices meet the adjustment conditions, thereby adjusting the network resource allocation of the devices to achieve a balanced state.

Benefits of technology

It achieves balanced allocation of network resources among connected devices, reducing device power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114666798B_ABST
    Figure CN114666798B_ABST
Patent Text Reader

Abstract

The application discloses a network resource regulation method and device, terminal equipment and storage medium, the method comprises the following steps: acquiring the network state of the connected equipment in the wireless network coverage area, and acquiring the corresponding network resource allocation according to the network state; determining whether the corresponding connected equipment meets the network resource regulation condition according to the network resource allocation; if yes, then adjusting the network resource allocation of the corresponding connected equipment. The application can determine the corresponding network resource allocation according to the acquired network state, and determine whether the corresponding equipment meets the network resource regulation condition through the network resource allocation, so as to adjust the network resource allocation of the equipment meeting the condition, so that the network resource allocation of the connected equipment reaches the balanced state, thereby reducing the power consumption of the connected equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of terminal technology, and in particular to a method, apparatus, terminal device, and storage medium for adjusting network resources. Background Technology

[0002] As people increasingly pursue smart living, more and more smart home devices are entering ordinary households. However, when connecting these devices to the network, each device needs to be configured, and the cumbersome operation makes it difficult to bring users a truly intelligent and convenient operating experience.

[0003] With the advent of seamless network configuration technology, users can enjoy efficient and reliable access to home WiFi networks for smart devices. This technology enables rapid device configuration and supports reconnection after network disconnection, while encrypting WiFi and password transmission, balancing efficiency, reliability, and security. However, as the number of user devices increases, all smart devices connecting to a single network leads to a heavy load on WiFi devices, increasing their power consumption. It also results in an uneven distribution of network resources among WiFi devices and various smart devices.

[0004] Therefore, existing technologies still need improvement and development. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a network resource adjustment method, apparatus, terminal equipment and storage medium to address the above-mentioned deficiencies of the prior art, and to solve the technical problem of uneven distribution of network resources among connected devices in the prior art.

[0006] The technical solution adopted by this invention to solve the problem is as follows:

[0007] In a first aspect, embodiments of the present invention provide a network resource adjustment method, comprising:

[0008] Obtain the network status of connected devices within the wireless network coverage area, and obtain the corresponding network resource allocation based on the network status;

[0009] Determine whether the connected devices meet the network resource adjustment conditions based on network resource allocation.

[0010] If so, adjust the network resource allocation for the corresponding connected devices.

[0011] In a second aspect, embodiments of the present invention provide a network resource adjustment device, comprising:

[0012] The acquisition unit is used to acquire the network status of connected devices within the wireless network coverage area and to acquire the corresponding network resource allocation based on the network status.

[0013] The judgment unit is used to determine whether the corresponding connected device meets the network resource adjustment conditions based on the network resource allocation.

[0014] The adjustment unit is used to adjust the network resource allocation of the corresponding connected device if the judgment unit determines that the connected device meets the network resource adjustment conditions.

[0015] Thirdly, embodiments of the present invention also provide a terminal device, the terminal device including a memory, a processor, and a network resource adjustment program stored in the memory and executable on the processor, wherein the processor executes the network resource adjustment program to implement the steps of the network resource adjustment method of the first aspect.

[0016] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a network resource adjustment program, which, when executed by a processor, implements the steps of the network resource adjustment method of the first aspect.

[0017] The beneficial effects of this invention are:

[0018] This invention obtains the network status of connected devices, determines the corresponding network resource allocation based on the obtained network status, and judges whether the corresponding devices meet the network resource adjustment conditions through the network resource allocation. In this way, the network resource allocation of devices that meet the conditions is adjusted to achieve a balanced state of network resource allocation of connected devices, thereby reducing the power consumption of connected devices. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating the network resource adjustment method in an embodiment of the present invention.

[0021] Figure 2 This is a schematic diagram illustrating the process of establishing network connections between various devices and terminal devices in the network resource adjustment method of this invention.

[0022] Figure 3 for Figure 1 A detailed flowchart of step S100.

[0023] Figure 4 for Figure 3 A detailed flowchart of step S120.

[0024] Figure 5 for Figure 3 A detailed flowchart of step S130.

[0025] Figure 6 for Figure 1 A detailed flowchart of step S200.

[0026] Figure 7 for Figure 1 A detailed flowchart of step S300.

[0027] Figure 8 for Figure 1 A detailed flowchart following step S300.

[0028] Figure 9 This is a block diagram illustrating the internal structure of the terminal in an embodiment of the present invention.

[0029] Figure 10 This is a schematic diagram of the functional modules of the network resource adjustment device in an embodiment of the present invention. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0031] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0032] This invention provides a network resource adjustment method, apparatus, terminal device, and storage medium. In the embodiments of this invention, the network resource allocation of multiple connected devices is adjusted by a terminal (WiFi device or control device) to achieve a balanced network resource allocation among the multiple connected devices, thereby reducing the power consumption of the entire network environment.

[0033] For example, suppose there are devices A, B, and C connected to the network. By monitoring the network resource allocation of devices A, B, and C in real time, it is found that device A is allocated too much network resource, resulting in excessive power consumption. While ensuring the network environment of device A, some of device A's network resources are allocated to devices B and C, thereby achieving a balanced network resource allocation for device A. Similarly, if it is detected that devices B and C are allocated too much network resource, while ensuring the network environment of devices B and C, the network resources of devices B and C are allocated to device A.

[0034] Exemplary methods

[0035] like Figures 1 to 8 As shown in the figure, this embodiment of the invention provides a network resource adjustment method, which can be applied to a terminal, including but not limited to WiFi devices, smart home devices, mobile terminals, and wearable devices.

[0036] like Figure 1 As shown in the embodiments of the present invention, the method includes:

[0037] Step S100: Obtain the network status of connected devices within the wireless network coverage area, and obtain the corresponding network resource allocation based on the network status.

[0038] In this embodiment, a terminal (e.g., a WiFi device or a control device) is connected to the network and a user account is bound. The WiFi module of the terminal can simultaneously support AP (Wireless Access Point) mode and STA (Station) mode.

[0039] Specifically, when the terminal is powered on, it begins broadcasting a probe request frame signal to prove its existence to the device to be connected; and after the terminal's control system detects the infrared remote control signal (e.g., the infrared signal emitted by the remote control), it begins to create a network configuration mode.

[0040] After the terminal creates the network configuration mode, all devices to be connected within the coverage area of ​​the wireless WiFi network enter AP mode and STA mode. Furthermore, each device to be connected continuously broadcasts a probe request frame signal to send a network connection request to the terminal. When a device to be connected broadcasts a probe request frame signal, it adds a custom IE (i.e., information element) to its broadcast probe request frame signal to announce its presence to the terminal.

[0041] In a wireless WiFi network, after a terminal or connected device receives a probe request frame signal from a device to be connected, it determines whether the MAC (Media Access Control Address) address of the device to be connected is in the whitelist. If the MAC address is not in the whitelist, the probe request frame signal of the corresponding device to be connected is not processed; if the MAC address is in the whitelist, the terminal or connected device sends a probe request frame signal, and adds custom IE information to the probe request frame signal of the terminal or connected device. The IE information carries encrypted WiFi SSID (Service Set Identifier), KEY (transmission ciphertext), bindcode, and other information.

[0042] After receiving a probe request frame signal sent by the terminal or a connected device, the device to be connected sends a probe request frame signal back to the terminal or a connected device, adds confirmation information to the feedback probe request frame signal, and saves the SSID, KEY, bindcode and other information sent by the terminal or a connected device, so as to connect to the terminal through the SSID, KEY, bindcode and other information.

[0043] In another implementation of this embodiment, the device to be connected can be registered and bound in a cloud server, the user account of the device to be connected is bound to the terminal, and the device is connected to the terminal through data packets sent by the cloud server and probe request frame signals from the terminal.

[0044] Specifically, such as Figure 2 As shown, prior to step S100, the method further includes:

[0045] Step S001: Obtain the probe request frame broadcast by the device to be connected within the wireless network coverage area;

[0046] Step S002: Establish a network connection with the device to be connected based on the probe request frame.

[0047] In this embodiment, after connecting each device and terminal within the wireless network coverage area, the connected devices can be divided into primary devices and secondary devices. The primary device can be a smart home device (e.g., a TV, a set-top box, etc.), and the secondary device can be a mobile terminal (e.g., a mobile phone, a tablet computer, etc.). The difference between the primary device and the secondary device is that the secondary device connects to the wireless network provided by the terminal through the primary device.

[0048] Of course, in another implementation of this embodiment, all connected devices may be without distinction between primary and secondary devices, that is, all connected devices are directly connected to the wireless network provided by the terminal.

[0049] After each device connects to the wireless network within the coverage area, the terminal's control center monitors the current number of device connections and the current network load. When the number of device connections reaches a preset number, a resource allocation mode is activated. The preset number can be set according to the network speed and the terminal's hardware capabilities; for example, the preset number can be set to 10. Alternatively, when the current network load reaches a preset network load value, a resource allocation mode is activated. The preset network load value can be set according to the terminal's network resource allocation capabilities; for example, based on the terminal's network bandwidth, the preset network load value can be set to 80%.

[0050] After the terminal enables resource allocation mode, the primary and secondary devices are grouped. First, the network speed status of the primary device is obtained, including real-time network speed and QoS (Quality of Service) value. Based on the primary device's network speed status, the first average network speed and the first minimum QoS value can be obtained. The current network resource allocation for the primary device is then determined based on these values. Simultaneously, based on the primary device's network speed status, the second average network speed and the second minimum QoS value for the secondary device can also be obtained, and the current network resource allocation for the secondary device is determined. The average network speed of the primary and secondary devices can be distinguished by their corresponding IP addresses, and similarly, the minimum QoS values ​​can also be distinguished by their corresponding IP addresses.

[0051] Specifically, such as Figure 3 As shown, step S100 includes:

[0052] Step S110: Obtain the network speed status of the main device;

[0053] Step S120: Obtain the first average network speed and the first minimum network service quality of the main device based on the network speed status, and determine the current network resource allocation of the main device;

[0054] Step S130: Obtain the second average network speed and the second minimum network service quality of the secondary device based on the network speed status, and determine the current network resource allocation of the secondary device.

[0055] In the above steps, steps S120 and S130 can be performed simultaneously without any order.

[0056] In this embodiment, when determining the current network resource allocation of the master device, the terminal will obtain the first average network speed of the master device within a preset time period. The preset time period can be set to a required value, such as 10 minutes. Within 10 minutes, the real-time network speed value can be obtained once every minute, and then the average value is calculated based on all the obtained real-time network speed values ​​to obtain the average network speed value within 10 minutes.

[0057] When obtaining the first average network speed of the main device, the terminal will also obtain the first minimum network service quality of the main device within a preset time period. For example, within 10 minutes, it can be set to obtain the real-time network service quality value every minute, and then compare all the obtained real-time network service quality values ​​to obtain the minimum network service quality within 10 minutes.

[0058] After obtaining the first average network speed and the first minimum network service quality, the terminal calculates the first difference between the first average network speed and the first minimum network service quality to calculate the current network resource allocation of the main device, and stores the calculated first difference in the terminal's first memory. When calculating the current network resource allocation, the first difference between the first average network speed and the first minimum network service quality can be compared with a preset difference to obtain a ratio, which is the current network resource allocation of the main device. The preset difference can be set based on the terminal's average network speed and the minimum network service quality.

[0059] Specifically, such as Figure 4 As shown, step S120 includes:

[0060] Step S121: Obtain the first average network speed of the main device within a preset time period based on the network speed status;

[0061] Step S122: Obtain the minimum network service quality of the main device within a preset time period based on the network speed status;

[0062] Step S123: Calculate the first difference between the first average network speed and the first minimum network service quality, and calculate the current network resource allocation of the master device based on the first difference.

[0063] In this embodiment, when determining the current network resource allocation of the secondary device, the terminal will obtain the second average network speed of the secondary device within a preset time period. The preset time period can be set to a required value, such as 10 minutes. Within 10 minutes, the real-time network speed value can be obtained once every minute, and then the average value is calculated based on all the obtained real-time network speed values ​​to obtain the average network speed value within 10 minutes.

[0064] When obtaining the second average network speed of the secondary device, the terminal will also obtain the second minimum network service quality of the secondary device within a preset time period. For example, within 10 minutes, it can be set to obtain the real-time network service quality value every minute, and then compare all the obtained real-time network service quality values ​​to obtain the minimum network service quality within 10 minutes.

[0065] After obtaining the second average network speed and the second minimum network service quality, the terminal calculates the second difference between the second average network speed and the second minimum network service quality to calculate the current network resource allocation for the secondary device, and stores the calculated second difference for the secondary device in the terminal's second memory. Specifically, when calculating the current network resource allocation, the second difference between the second average network speed and the second minimum network service quality can be compared with a preset difference to obtain a ratio, which is the current network resource allocation for the secondary device. The preset difference can be set based on the terminal's average network speed and the minimum network service quality.

[0066] Specifically, such as Figure 5 As shown, step S130 includes:

[0067] Step S131: Obtain the average second network speed of the secondary device within a preset time period based on the network speed status;

[0068] Step S132: Obtain the minimum second network service quality of the secondary device within a preset time period based on the network speed status;

[0069] Step S133: Calculate the second difference between the second average network speed and the second minimum network service quality, and calculate the current network resource allocation of the secondary device based on the second difference.

[0070] This embodiment obtains the network status of connected devices within the wireless network coverage area, determines the corresponding network resource allocation based on the network status of the connected devices, and adjusts the network resource allocation of the connected devices accordingly.

[0071] like Figure 1 As shown, in a further embodiment of the present invention, the method includes:

[0072] Step S200: Determine whether the corresponding connected devices meet the network resource adjustment conditions based on network resource allocation.

[0073] In this embodiment, after obtaining the network resource allocation for the connected devices, the terminal will determine whether the corresponding connected devices meet the network resource adjustment conditions based on the network resource allocation. The network resource adjustment conditions are met when the difference between the average network speed of the connected devices and the minimum network service quality is greater than a first preset threshold. For example, the first preset threshold may be 30% of the terminal's network resources.

[0074] Specifically, after obtaining the network resource allocation for the connected devices, the terminal monitors the value in the first memory, that is, monitors the difference corresponding to the master device, and determines whether the difference corresponding to the master device is greater than the first preset threshold. When the difference corresponding to the master device is greater than the first preset threshold, it is determined that the master device meets the network resource adjustment conditions; otherwise, it is determined that the master device does not meet the network resource adjustment conditions.

[0075] Specifically, such as Figure 6 As shown, step S200 includes:

[0076] Step S210: Monitor the difference corresponding to the main equipment;

[0077] Step S220: Determine whether the difference corresponding to the main device is greater than the first preset threshold;

[0078] Step S230: If yes, then the main device is determined to meet the network resource adjustment conditions.

[0079] In this embodiment, after obtaining the network resource allocation of the connected devices, it can determine whether the master device meets the network resource adjustment conditions. If the difference between the master device and the network resource allocation is too large, it can determine that the master device has excess network resources and allocate the network resources of the master device to the secondary devices.

[0080] like Figure 1 As shown, in a further embodiment of the present invention, the method includes:

[0081] Step S300: If yes, adjust the network resource allocation of the corresponding connected device.

[0082] In this embodiment, when the terminal determines that the primary device meets the network resource adjustment conditions, the terminal obtains the difference value and device information of the secondary device from the second memory. Then, according to the obtained difference value of the secondary device, the secondary devices are arranged in ascending order, and the arranged difference value and corresponding device information of the secondary devices are stored in the third memory.

[0083] After storing the sorted information in the third memory, the device information of the secondary devices in the sorted order is retrieved from the third memory in ascending order. Then, some network resources of the master device are allocated to the corresponding secondary devices in sequence until the master device no longer meets the network resource adjustment conditions.

[0084] The network resources allocated to the primary device can be distributed according to a preset ratio. For example, more network resources can be allocated to secondary devices with smaller differences, such as 15% of the primary device's network resources. Conversely, less network resources can be allocated to secondary devices with larger differences, such as 5% of the primary device's network resources.

[0085] Specifically, such as Figure 7 As shown, step S300 includes:

[0086] Step S310: Obtain the difference and device information corresponding to the secondary device;

[0087] Step S320: Determine the arrangement order of each secondary device based on the difference corresponding to the secondary device;

[0088] Step S330: Allocate the network resources of the master device to the corresponding secondary devices according to the arrangement order, so as to adjust the current network resource allocation of the master device and each secondary device.

[0089] This embodiment allocates the network resources of the master device to the secondary device, which can guarantee the QoS value of the secondary device, thereby reducing the network burden on the master device, allocating network resources across the entire network environment, and reducing the power consumption of the master device.

[0090] like Figure 8 As shown, in a further embodiment of the present invention, the method further includes:

[0091] Step S410: Monitor the differences corresponding to each secondary device;

[0092] Step S420: Sequentially determine whether the difference corresponding to each secondary device is greater than the second preset threshold;

[0093] Step S430: When the difference between one or more secondary devices is greater than the second threshold, the network resources of the corresponding secondary device are allocated to the primary device to adjust the current network resource allocation between the primary device and each secondary device.

[0094] In this embodiment, after allocating the network resources of the primary device to the secondary devices, the terminal monitors the difference in the second memory, that is, monitors the difference corresponding to each secondary device, and sequentially determines whether the difference corresponding to each secondary device is greater than a second preset threshold. When the difference of one or more secondary devices is greater than the second threshold, the network resources of the corresponding secondary device are allocated to the primary device to adjust the current network resource allocation between the primary device and each secondary device. The second threshold can be set to 25% of the terminal's network resources.

[0095] Specifically, when determining the difference corresponding to each secondary device, the difference greater than the second preset threshold and the corresponding device information are obtained. Then, the differences greater than the second preset threshold are sorted in ascending order, and the sorted differences and the corresponding device information are stored in the third memory.

[0096] After storing the sorted information in the third memory, the terminal obtains the difference and device information of the master device, and allocates part of the network resources of the corresponding secondary devices to the master device in the order of sorting in the third memory, so as to ensure the QoS information of the master device.

[0097] The network resources allocated to secondary devices can be distributed according to a preset ratio. For example, more network resources can be allocated to secondary devices with smaller differences, such as 15% of the network resources of the secondary device. For secondary devices with larger differences, less network resources can be allocated, such as 5% of the network resources of the secondary device.

[0098] In another implementation of this embodiment, if the difference between the first memory and the second memory is detected to be too large, that is, if the difference corresponding to the main device is detected to be greater than the first preset threshold and the difference corresponding to each secondary device is detected to be greater than the second preset threshold, the terminal sets the QoS value of each device (including the main device and the secondary devices) to be greater than 20% of the terminal's network resources.

[0099] In another implementation of this embodiment, when the terminal detects that the value in the first memory is too small (i.e., the difference of the main device is too small) or is negative, it enters the network disconnection mode to reduce the power consumption of the main device and the secondary device. In the network disconnection mode, the terminal obtains the device information and the difference in the second memory, arranges them in descending order of the difference, and saves the arranged difference and the corresponding device information to the third memory.

[0100] After storing the sorted information in the third memory, the terminal pushes the device information to be disconnected to the WiFi control terminal APP (e.g., the mobile terminal APP) in descending order. The user selects the secondary devices to be disconnected and provides feedback to the terminal. When the terminal detects that the network speed of the primary device (e.g., the smart TV) has been restored, it cancels the filtering, that is, cancels the disconnection of the secondary devices.

[0101] Therefore, this embodiment can determine the corresponding network resource allocation based on the network status of the connected devices, and determine whether the corresponding devices meet the network resource adjustment conditions through the network resource allocation. In this way, the network resource allocation of the devices that meet the conditions can be adjusted so that the network resource allocation of the connected devices reaches a balanced state, thereby reducing the power consumption of the connected devices.

[0102] Exemplary device

[0103] like Figure 10 As shown in the figure, this embodiment of the invention provides a network resource adjustment device, including: an acquisition unit 510, a judgment unit 520, and an adjustment unit 530. Specifically,

[0104] The acquisition unit 510 is used to acquire the network status of connected devices within the wireless network coverage area and acquire the corresponding network resource allocation based on the network status.

[0105] The judgment unit 520 is used to determine whether the corresponding connected device meets the network resource adjustment conditions based on the network resource allocation.

[0106] The adjustment unit 530 is used to adjust the network resource allocation of the corresponding connected device if the judgment unit 520 determines that the connected device meets the network resource adjustment conditions.

[0107] In a further embodiment of the present invention, the device further includes:

[0108] The probe request frame acquisition unit is used to acquire probe request frames broadcast by devices to be connected within the wireless network coverage area;

[0109] The network connection unit is used to establish a network connection with the device to be connected based on the probe request frame.

[0110] Specifically, the acquisition unit 510 includes:

[0111] The network speed status acquisition unit is used to acquire the network speed status of the main device;

[0112] The main device network resource allocation acquisition unit is used to acquire the first average network speed and the first minimum network service quality of the main device based on the network speed status, and to determine the current network resource allocation of the main device.

[0113] The secondary device network resource allocation acquisition unit is used to obtain the second average network speed and the second minimum network service quality of the secondary device based on the network speed status, and to determine the current network resource allocation of the secondary device.

[0114] Specifically, the main device network resource allocation and acquisition unit includes:

[0115] The first average network speed acquisition subunit is used to acquire the first average network speed of the main device within a preset time period based on the network speed status.

[0116] The first network service quality minimum value acquisition subunit is used to obtain the first network service quality minimum value of the main device within a preset time period based on the network speed status.

[0117] The first difference acquisition subunit is used to calculate the first difference between the first average network speed and the first minimum network service quality, and to calculate the current network resource allocation of the master device based on the first difference.

[0118] Specifically, the secondary device network resource allocation and acquisition unit includes:

[0119] The second average network speed acquisition subunit is used to acquire the average second network speed of the secondary device within a preset time period based on the network speed status.

[0120] The second network service quality minimum value acquisition subunit is used to obtain the second network service quality minimum value of the secondary device within a preset time period based on the network speed status.

[0121] The second difference acquisition subunit is used to calculate the second difference between the second average network speed and the second minimum network service quality, and to calculate the current network resource allocation of the secondary device based on the second difference.

[0122] Specifically, the judgment unit 520 includes:

[0123] The main equipment difference monitoring unit is used to monitor the difference corresponding to the main equipment;

[0124] The main device difference judgment unit is used to determine whether the difference corresponding to the main device is greater than the first preset threshold.

[0125] The condition determination unit is used to determine that if the main device difference determination unit determines that the difference corresponding to the main device is greater than the first preset threshold, then the main device meets the network resource adjustment conditions.

[0126] Specifically, the adjustment unit 530 includes:

[0127] The secondary device information acquisition unit is used to acquire the difference and device information corresponding to the secondary device;

[0128] The secondary device sorting unit is used to determine the arrangement order of each secondary device based on the difference between the corresponding secondary devices;

[0129] The secondary device adjustment unit is used to allocate the network resources of the primary device to the corresponding secondary devices according to the order of arrangement, so as to adjust the current network resource allocation of the primary device and each secondary device.

[0130] In a further embodiment of the present invention, the device further includes:

[0131] The secondary equipment difference monitoring unit is used to monitor the difference between each secondary equipment.

[0132] The secondary device difference judgment unit is used to sequentially judge whether the difference corresponding to each secondary device is greater than the second preset threshold.

[0133] The master device adjustment unit is used to allocate the network resources of the corresponding secondary device to the master device when the difference between one or more secondary devices is greater than a second threshold, so as to adjust the current network resource allocation between the master device and each secondary device.

[0134] Based on the above embodiments, the present invention also provides a terminal, the principle block diagram of which can be as follows: Figure 9 As shown, the terminal includes a processor, memory, network interface, and display connected via a system bus. The processor provides computing and control capabilities. The memory includes a computer-readable storage medium and internal memory. The computer-readable storage medium stores an operating system and computer programs. The memory provides an environment for the operation of the operating system and computer programs in the computer-readable storage medium. When executed by the processor, the computer program implements a network resource regulation method. The display can be a liquid crystal display (LCD) or an e-ink display; the network interface is used for network connection.

[0135] Those skilled in the art will understand that Figure 9 The schematic diagram shown is merely a partial structural diagram related to the present invention and does not constitute a limitation on the terminal to which the present invention is applied. A specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0136] In one embodiment, a terminal device is also provided, the terminal device including a memory, a processor, and a network resource adjustment program stored in the memory and executable on the processor, wherein the processor, when executing the network resource adjustment program, implements the steps of the network resource adjustment method described above:

[0137] Obtain the network status of connected devices within the wireless network coverage area, and obtain the corresponding network resource allocation based on the network status;

[0138] Determine whether the connected devices meet the network resource adjustment conditions based on network resource allocation.

[0139] If so, adjust the network resource allocation for the corresponding connected devices.

[0140] In one embodiment, a computer-readable storage medium is also provided, which stores a network resource adjustment program that, when executed by a processor, implements the steps of the network resource adjustment method described above.

[0141] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0142] In summary, this invention provides a network resource adjustment method, apparatus, terminal device, and storage medium. The method includes: acquiring the network status of connected devices within a wireless network coverage area, and acquiring corresponding network resource allocations based on the network status; determining whether the corresponding connected devices meet network resource adjustment conditions based on the network resource allocations; and if so, adjusting the network resource allocations of the corresponding connected devices. This invention, by acquiring the network status of connected devices, can determine the corresponding network resource allocations based on the acquired network status, and determine whether the corresponding devices meet network resource adjustment conditions based on the network resource allocations, thereby adjusting the network resource allocations of devices that meet the conditions to achieve a balanced network resource allocation among connected devices, thereby reducing the power consumption of connected devices.

[0143] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.

Claims

1. A method for adjusting network resources, characterized in that, include: Obtain the network status of connected devices within the wireless network coverage area, and obtain the corresponding network resource allocation based on the network status; The connected devices within the wireless network coverage area include primary devices and secondary devices; The step of obtaining the network status of connected devices within the wireless network coverage area and obtaining the corresponding network resource allocation based on the network status includes: Obtain the network speed status of the main device; Based on the network speed status, obtain the first average network speed and the first minimum network service quality of the main device, and determine the current network resource allocation of the main device; Based on the network speed status, obtain the second average network speed and the second minimum network service quality of the secondary device, and determine the current network resource allocation of the secondary device; The step of obtaining the first average network speed and the first minimum network service quality of the main device based on the network speed status, and determining the current network resource allocation of the main device, includes: The first average network speed of the main device within a preset time period is obtained based on the network speed status; Based on the network speed status, obtain the first minimum network service quality value of the main device within the preset time period; Calculate the first difference between the first average network speed and the first minimum network service quality, and calculate the current network resource allocation of the master device based on the first difference; The step of obtaining the second average network speed and the second minimum network service quality of the secondary device based on the network speed status, and determining the current network resource allocation of the secondary device, includes: The second average network speed of the secondary device within the preset time period is obtained based on the network speed status; The minimum second network service quality of the secondary device within the preset time period is obtained based on the network speed status. Calculate the second difference between the second average network speed and the second minimum network service quality, and calculate the current network resource allocation of the secondary device based on the second difference; Based on the network resource allocation, determine whether the corresponding connected devices meet the network resource adjustment conditions; If so, adjust the network resource allocation for the corresponding connected devices; The step of determining whether the corresponding connected device meets the network resource adjustment conditions based on the network resource allocation includes: Monitor the difference corresponding to the main device; Determine whether the difference corresponding to the master device is greater than a first preset threshold; If so, the main device is determined to meet the network resource adjustment conditions.

2. The method according to claim 1, characterized in that, Before obtaining the network status of connected devices within the wireless network coverage area, the method further includes: Obtain the probe request frames broadcast by the devices to be connected within the coverage area of ​​the wireless network; Establish a network connection with the device to be connected based on the probe request frame.

3. The method according to claim 1, characterized in that, The adjustment of network resource allocation for the corresponding connected devices includes: Obtain the difference and device information corresponding to the secondary device; The arrangement order of each secondary device is determined based on the difference corresponding to the secondary device; The network resources of the master device are allocated to the corresponding secondary devices according to the arrangement order, so as to adjust the current network resource allocation of the master device and each secondary device.

4. The method according to claim 3, characterized in that, After adjusting the network resource allocation for the corresponding connected devices, the method further includes: Monitor the differences between each of the secondary devices; Sequentially determine whether the difference corresponding to each secondary device is greater than a second preset threshold; When the difference between one or more secondary devices is greater than the second preset threshold, the network resources of the corresponding secondary device are allocated to the primary device to adjust the current network resource allocation between the primary device and each secondary device.

5. A network resource adjustment device, used to implement the network resource adjustment method as described in any one of claims 1-4, characterized in that, include: The acquisition unit is used to acquire the network status of connected devices within the wireless network coverage area, and to acquire the corresponding network resource allocation based on the network status. The judgment unit is used to determine whether the corresponding connected device meets the network resource adjustment conditions based on the network resource allocation. An adjustment unit is used to adjust the network resource allocation of the corresponding connected device if the judgment unit determines that the corresponding connected device meets the network resource adjustment conditions.

6. A terminal device, characterized in that, The terminal device includes a memory, a processor, and a network resource adjustment program stored in the memory and executable on the processor. When the processor executes the network resource adjustment program, it implements the steps of the network resource adjustment method as described in any one of claims 1-4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a network resource adjustment program, which, when executed by a processor, implements the steps of the network resource adjustment method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Router network resource allocating method and router

    CN105721341A

  • Network resource allocation method and network controller

    CN109041092A

  • Network configuration method and system

    CN110381521A