Adaptive terminal access point determination method, device and system, medium, equipment and product
By calculating the status score of the access point equipment and dynamically adjusting the access points connected to the terminal equipment, the network congestion and delay problems caused by improper access point selection in the distributed network architecture are solved, and more efficient network resource utilization and service quality improvement are achieved.
Patent Information
- Application Number
- CN202510230655.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-05-30
AI Technical Summary
In a distributed network architecture, when the terminal equipment selects an access point, the user usually manually selects or configures a fixed access point, resulting in the access point with too many access terminal equipment in scenarios with complex network topology and wide distribution of users, access points with excessive number of access terminal equipment are prone to network congestion, unbalanced network load and large network delays, which reduces service quality.
By acquiring the network status data and access data of multiple access point devices, the status score of each access point device is calculated. The status score is positively correlated with the service quality of the access point device, thereby dynamically adjusting the access point connected to the terminal device and selecting access point devices with a status score higher than or equal to the threshold.
This method can comprehensively consider the operating status of the access point equipment, dynamically adjust the connected access point, shorten the network delay of the terminal equipment, balance the load of multiple access point equipment, improve the overall performance and stability of the network, and improve the service quality of the access point equipment.
Smart Images

Figure CN120075947A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communication technologies, and in particular, to an adaptive terminal access point determination method, apparatus, system, medium, device, and product. Background Art
[0002] In a distributed network architecture, it may include a management platform and multiple access points connected to the management platform. A terminal device can access the management platform by accessing any of the multiple access points.
[0003] However, when a terminal device selects an access point, it is usually the user who manually selects the access point or configures a specific access point. In scenarios where the network topology is complex and users are widely distributed, there may be some access points with a small number of access terminal devices while there are also some access points with an excessive number of access terminal devices. In this way, it will cause network congestion at the access points with an excessive number of access terminal devices, resulting in unbalanced network loads and significant network delays, reducing the quality of service. Summary of the Invention
[0004] The present application provides an adaptive terminal access point determination method, apparatus, system, medium, device, and product for improving the quality of service of access points.
[0005] To achieve the above object, the present application adopts the following technical solutions:
[0006] In a first aspect, an adaptive terminal access point determination method is provided and applied to a terminal device. The method includes: obtaining network status data and access data of multiple access point devices; the network status data is used to characterize the speed at which an access point device processes data; the access data is used to characterize the number of terminal accesses and the load status of an access point device; determining a status score for each access point device according to the network status data and access data of each access point device; the status score is positively correlated with the quality of service of the access point device; determining a terminal access point device from multiple access point devices; the status score of the terminal access point device is greater than or equal to a status score threshold.
[0007] Optionally, determining a status score for each access point device according to the network status data and access data of each access point device includes: determining first score data of the network status data of each access point device and second score data of the access data of each access point device; performing a weighted sum processing on the first score data of each access point device and the second score data of each access point device to obtain the status score of each access point device.
[0008] Optionally, determining first scoring data of network status data of respective access point devices and second scoring data of access data of respective access point devices includes: determining the first scoring data based on a network status data interval in which the network status data of respective access point devices is located and a first mapping relationship; the first mapping relationship includes a mapping relationship between multiple network status data intervals and multiple scoring data; determining the second scoring data based on an access data interval in which the access data of respective access point devices is located and a second mapping relationship; the second mapping relationship includes a mapping relationship between multiple access data intervals and multiple scoring data.
[0009] Optionally, the network status data includes at least one of the following: latency, bandwidth, packet loss rate.
[0010] Based on the technical solution provided in this application, the status score of each access point device is determined through the network status data and access data of respective access point devices; the terminal access point device is determined from multiple access point devices. Since the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device, in this way, the operating status of each item of the access point device can be comprehensively considered, and the access point device with a better operating status of the connection can be dynamically adjusted without selecting a fixed access point device, thereby reducing the network latency of the terminal device, balancing the loads of multiple access point devices, improving the overall performance and stability of the network, and improving the service quality of the access point device.
[0011] In a second aspect, an adaptive terminal access point determination method is provided, which is applied to an access point device; the method includes: sending the network status data and access data of the access point device to a terminal device; for the terminal device to determine the status score of each access point device according to the network status data and access data of respective access point devices, and determine the terminal access point device from multiple access point devices; the status score of the terminal access point device is greater than or equal to a status score threshold; wherein, the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device.
[0012] Optionally, the method further includes: receiving file request information from the terminal device; the file request information is used to request a target file; extracting the target file from the cached data and sending the target file to the terminal device.
[0013] Optionally, in the case where the target file is not cached, sending the file request information to a server; receiving the target file from the server and caching the target file to obtain cached data.
[0014] Optionally, when requesting the target file next time, if the time interval since the target file was last cached reaches the specified threshold, send an update request to the server; receive the basic information of the target file to be cached from the server; and cache the target file to be cached to obtain cached data when the target file to be cached is different from the version of the target file.
[0015] Thirdly, an adaptive terminal access point determination device is provided, which is applied to a terminal device. The device includes: an acquisition unit and a determination unit; the acquisition unit is used to acquire the network status data and access data of multiple access point devices; the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device; the determination unit is used to determine the status score of each access point device according to the network status data and access data of each access point device; the determination unit is further used to determine the terminal access point device from multiple access point devices; the selected terminal access point device is the access point device among multiple access point devices whose status score is greater than or equal to the status score threshold.
[0016] Optionally, the determination unit is specifically used for: determining the first score data of the network status data of each access point device and the second score data of the access data of each access point device; performing weighted summation processing on the first score data of each access point device and the second score data of each access point device to obtain the status score of each access point device.
[0017] Optionally, the determination unit is specifically further used for: determining the first score data based on the network status data interval where the network status data of each access point device is located and the first mapping relationship; the first mapping relationship includes the mapping relationship between multiple network status data intervals and multiple score data; determining the second score data based on the access data interval where the access data of each access point device is located and the second mapping relationship; the second mapping relationship includes the mapping relationship between multiple access data intervals and multiple score data.
[0018] Optionally, the network status data includes at least one of the following: latency, bandwidth, packet loss rate.
[0019] Fourthly, an adaptive terminal access point determination device is provided, which is applied to an access point device. The device includes: a sending unit; the sending unit is used to send the network status data and access data of the access point device to the terminal device; so that the terminal device determines the status score of each access point device according to the network status data and access data of each access point device, and determines the terminal access point device from multiple access point devices; the status score of the terminal access point device is greater than or equal to the status score threshold; wherein, the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device.
[0020] Optionally, the device further includes: a receiving unit and a processing unit; the receiving unit is configured to receive file request information from a terminal device; the file request information is used to request a target file; the processing unit is configured to extract the target file from the cached data and send the target file to the terminal device.
[0021] Optionally, the processing unit is specifically configured to: when the target file is not cached, send the file request information to the server; receive the target file from the server, and cache the target file to obtain cached data.
[0022] Optionally, the processing unit is further specifically configured to: when the cached data includes the target file, at the next request for the target file, if the time interval since the target file was last cached reaches a specified threshold, send an update request to the server; receive basic information of the target file to be cached from the server; when the target file to be cached is different from the version of the target file, cache the target file to be cached to obtain cached data.
[0023] In a fifth aspect, an adaptive terminal access point determination device is provided. The terminal access point determination device can implement the functions performed by the terminal access point determination device in the above aspects or each possible design. The functions can be implemented by hardware. For example, in a possible design, the terminal access point determination device may include: a processor and a communication interface. The processor can be used to support the terminal access point determination device to implement the functions involved in the above first aspect or any possible design of the first aspect.
[0024] In another possible design, the terminal access point determination device may further include a memory for storing necessary computer execution instructions and data of the terminal access point determination device. When the terminal access point determination device runs, the processor executes the computer execution instructions stored in the memory, so that the terminal access point determination device executes the above first aspect or any possible terminal access point determination method of the first aspect.
[0025] In a sixth aspect, a computer-readable storage medium is provided. The computer-readable storage medium can be a readable non-volatile storage medium. The computer-readable storage medium stores computer instructions or programs. When it runs on a computer, it enables the computer to execute the above first aspect or any possible terminal access point determination method of the above aspect.
[0026] In a seventh aspect, a computer program product containing instructions is provided. When it runs on a computer, it enables the computer to execute the above first aspect or any possible design of the above aspect of the terminal access point determination method.
[0027] In an eighth aspect, an electronic device is provided. The electronic device includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code. The computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device is caused to execute the method for determining a terminal access point as described in the first aspect above or any possible design of the first aspect.
[0028] In a ninth aspect, a chip system is provided. The chip system includes a processor and a communication interface. The chip system can be used to implement the functions performed by the terminal access point determination device in the first aspect above or any possible design of the first aspect. In a possible design, the chip system further includes a memory for storing program instructions and / or data. The chip system can be composed of chips or can include chips and other discrete devices, without limitation. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 FIG. is a schematic structural diagram of an adaptive terminal access point determination system provided by an embodiment of the present application;
[0030] Figure 2 FIG. is a schematic structural diagram of an adaptive terminal access point determination device provided by an embodiment of the present application;
[0031] Figure 3 FIG. is a schematic flowchart of an adaptive terminal access point determination method provided by an embodiment of the present application;
[0032] Figure 4 FIG. is a schematic flowchart of another adaptive terminal access point determination method provided by an embodiment of the present application;
[0033] Figure 5 FIG. is a schematic structural diagram of another adaptive terminal access point determination device provided by an embodiment of the present application;
[0034] Figure 6 FIG. is a schematic structural diagram of another adaptive terminal access point determination device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0036] It should be noted that the terms "first", "second", etc. in the description, claims, and the above-mentioned drawings of this application are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0037] It should also be understood that the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, and / or components.
[0038] In the field of terminal security, with the expansion of the network scale and the increase in the number of users, distributed network access technology has played an important role in ensuring network service quality. Through the access point method, the network deployment architecture can be optimized in the case of large-scale terminal deployment. Traditional network access solutions usually rely on clients to manually select access points or use fixed access policies, which may lead to unbalanced network loads, increased latency, and reduced service quality in scenarios with complex network topologies and wide user distributions.
[0039] In the prior art, when a client accesses a control center, it often connects through a specific access point, and the selection of the access point is usually static and cannot be dynamically adjusted according to the geographical location, network condition, and load condition of the client. This method not only fails to effectively utilize the advantages of distributed access points but may also lead to network congestion, increased latency, and a decline in user experience. Therefore, how to provide a technology that can adaptively select the optimal access point according to the real-time network environment, location, and load condition of the client has become an urgent problem to be solved.
[0040] To ensure terminal security, the signature database file needs to be updated regularly. The process is to download the signature database file from the central console or the update console first, and the network bandwidth pressure on the download server will be relatively large. Distributing the download of the signature database to each access point, so that when downloading the signature database, the local signature database is directly returned from the access point. The bandwidth pressure will be limited within the local network, and not all files are cached. Only the target files that will actually be requested are cached, which can greatly improve the network pressure on the download server. Therefore, how to provide an adaptive signature database download capability is a problem worthy of consideration.
[0041] Some enterprises adopt the solution of a central console and distributed access points. Terminals access the central console through access points, which can make network configuration simpler, reduce the workload of deployment, and optimize the network architecture at the same time. It only requires the network connection between the access points and the central console, without the need for a large number of terminals to be directly connected to the central console, thus reducing the overall system deployment difficulty. However, the client manually selects the access point or uses a fixed access point, resulting in poor flexibility and inability to dynamically adjust according to the geographical location, network status, and load conditions of the client.
[0042] In view of this, the embodiment of the present application provides a method for determining a terminal access point, which is applied to a terminal device. The method includes: obtaining network status data and access data of multiple access point devices; the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device; determining the status score of each access point device according to the network status data and access data of its respective access point device; the status score is positively correlated with the service quality of the access point device; determining a terminal access point device from multiple access point devices; the status score of the terminal access point device is greater than or equal to the status score threshold.
[0043] Figure 1 Shows a schematic structural diagram of a self-adaptive terminal access point determination system, as Figure 1 shown, the self-adaptive terminal access point determination system 10 includes a terminal device 11, an access point device 12, and a server (which can also be called a central console, control center, etc.) 13.
[0044] Among them, the terminal device 11, the access point device 12 are connected to the server 13. For example, the terminal device 11, the access point device 12 and the server 13 can be connected wirelessly, or the terminal device 11, the access point device 12 and the server 13 can also be connected by wire. There is no limitation.
[0045] Among them, the terminal device 11 is installed with a client for communicating and connecting with the server. For example, the terminal device 11 can connect to the access network device 12 based on the access point information in the client, and connect to the server 13 based on the access network device 12. The terminal device 11 involved in the embodiments of the present application can also be referred to as a terminal, a mobile station (MS), a mobile terminal (MT), etc., and is a device that provides voice and / or data connectivity to users. For example, the terminal device 11 can be a handheld device with a wireless connection function, a vehicle-mounted device, etc. Specifically, it can be: a smart phone, a pocket personal computer (PPC), a palm computer, a personal digital assistant (PDA), a notebook computer, a tablet computer, a wearable device, or a vehicle-mounted device, etc. The embodiments of the present application do not limit the specific technologies, specific quantities, and specific device forms adopted by the terminal device 11.
[0046] Among them, the access network device 12 can be used to provide wireless network access services for the accessed terminal devices 11. The number of accessed terminal devices 11 can be multiple. For example, the access network device can be a base station. In the embodiments of the present application, the specific technologies and specific device forms adopted by the access network device 12 are not limited.
[0047] The server 13 can be used to manage the terminal devices. For example, it can be a central console, a control center, a management platform, etc. Among them, the server 13 can be a single server, or can also be a server cluster composed of multiple servers. In some implementation manners, the server cluster can also be a distributed cluster. The embodiments of the present application do not limit the specific technologies, specific quantities, and specific device forms of the server 13.
[0048] The method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings of the specification.
[0049] It should be noted that the network system described in the embodiments of the present application is to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the network system and the emergence of other network systems, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
[0050] Figure 1 It is only an exemplary framework diagram, Figure 1 the names of the various devices included are not limited, and except Figure 1In addition to the function nodes shown, other nodes may also be included, which are not limited in the embodiments of the present application.
[0051] During specific implementation, Figure 1 each device in Figure 2 may adopt the composition structure shown, or include Figure 2 the components shown. Figure 2 FIG. 200 is a schematic structural diagram of an adaptive terminal access point determination device 200 provided by an embodiment of the present application. The terminal access point determination device 200 may be a network device, or the terminal access point determination device 200 may be a chip or a system-on-chip in a network device. As Figure 2 shown, the terminal access point determination device 200 includes a processor 201, a communication interface 202, and a communication line 203.
[0052] Furthermore, the terminal access point determination device 200 may further include a memory 204. Among them, the processor 201, the memory 204, and the communication interface 202 may be connected through the communication line 203.
[0053] Among them, the processor 201 is a CPU, a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 201 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
[0054] The communication interface 202 is used to communicate with other devices or other communication networks. The communication interface 202 may be a module, a circuit, a communication interface, or any device capable of implementing communication.
[0055] The communication line 203 is used to transmit information between the components included in the terminal access point determination device 200.
[0056] The memory 204 is used to store instructions. Among them, the instructions may be computer programs.
[0057] Among them, the memory 204 can be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions. It can also be a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions. It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, without limitation.
[0058] It should be noted that the memory 204 can exist independently of the processor 201 or be integrated with the processor 201. The memory 204 can be used to store instructions, program codes, or some data, etc. The memory 204 can be located inside the terminal access point determination device 200 or outside the terminal access point determination device 200, without limitation. The processor 201 is used to execute the instructions stored in the memory 204 to implement the terminal access point determination method provided in the following embodiments of the present application.
[0059] In one example, the processor 201 may include one or more CPUs. For example, Figure 2 CPU0 and CPU1 in
[0060] As an alternative implementation, the terminal access point determination device 200 includes multiple processors. For example, in addition to Figure 2 the processor 201 in
[0061] It should be noted that Figure 2 the shown component structure does not constitute a limitation on each device in the Figure 1 In addition to Figure 2 the components shown in Figure 1 each device in the Figure 2 can include more or fewer components than those in
[0062] In the embodiments of the present application, the chip system can be composed of chips or can include chips and other discrete devices.
[0063] In addition, actions, terms, etc. involved between the embodiments of the present application can be referred to each other without limitation. The message names or parameter names in the messages exchanged between various devices in the embodiments of the present application are only examples, and other names can also be used in specific implementations without limitation.
[0064] To facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different.
[0065] It should be noted that in the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" aims to present relevant concepts in a specific manner.
[0066] In the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, c can be single or multiple.
[0067] Next, in combination with Figure 1 the terminal access point determination system shown, the terminal access point determination method provided by the embodiments of the present application will be described.
[0068] Figure 3 The embodiments of the present application provide an adaptive terminal access point determination method. As Figure 3 shown, the method includes the following S301 - S303:
[0069] S301. Multiple access point devices send network status data and access data to the terminal device; correspondingly, the terminal device acquires the network status data and access data of multiple access point devices.
[0070] Among them, the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the number of terminal accesses and the load status of the access point device. For example, the network status data includes at least one of the following: latency, bandwidth, packet loss rate.
[0071] As a possible implementation, the terminal device can obtain the address information of multiple access point devices, and the terminal device can send network probe packets to the access point devices corresponding to each address information to detect the network status data and access data of the multiple access point devices.
[0072] It should be noted that the address information of multiple access point devices can be pre-stored in the client installed on the terminal device. For example, initially, all access point lists can be in the installation package of the client, and the terminal device can obtain the initial multiple access point list information after installing the client; when the client is started, the server can send the latest access point list to the terminal device, and through these methods, the client can obtain the address information of multiple distributed access point devices.
[0073] In one example, the type of the client can be the client of the security protection software. The type of the server can be the server corresponding to the security protection software.
[0074] In some embodiments, the terminal device can send a first request message to the access point device. The first request message is used to request the network status data and access data of the access point, and correspondingly, the access point device receives the first request message and sends the network status data and access data of the access point device to the terminal device. Correspondingly, the terminal device obtains the network status data and access data of multiple access point devices.
[0075] S302. The terminal device determines the status score of each access point device according to the network status data and access data of its respective access point device.
[0076] Among them, the status score is used to evaluate the service quality of the access point device. The status score is positively correlated with the service quality of the access point device.
[0077] As a possible implementation, the terminal device can determine the first score data of the network status data of its respective access point device and the second score data of the access data of its respective access point device; and perform a weighted sum processing on the first score data of its respective access point device and the second score data of its respective access point device to obtain the status score of each access point device.
[0078] In one example, when the first scoring data of the access point device is F1, the second scoring data is F2, the weight of the network status data is a, and the weight of the access data is b, the status score of the access point device can be expressed as: F = aF1 + bF2. Here, F represents the status score of the access point device.
[0079] As another possible implementation, the terminal device can determine the first scoring data of the network status data of its respective access point devices and the second scoring data of the access data of its respective access point devices, and determine the sum of the first scoring data of its respective access point devices and the second scoring data of its respective access point devices, and determine the sum of the first scoring data of its respective access point devices and the second scoring data of its respective access point devices as the status score of its respective access point devices, to obtain the status score of each access point device.
[0080] S303. The terminal device determines the terminal access point device from multiple access point devices.
[0081] Among them, the terminal access point device is an access point device among multiple access point devices whose status score is greater than or equal to the status score threshold. The status score threshold can be set as needed. For example, it can be 80%, 90%, etc. of the maximum status score.
[0082] As a possible implementation, after determining the status score of each access point device, the terminal device can determine the access point device whose status score is greater than or equal to the status score threshold as the terminal access point device.
[0083] In the case where the access point device whose status score is greater than or equal to the status score threshold is unreachable, the terminal device can determine the access point device with the highest status score among the remaining access point devices as the terminal access point device.
[0084] Or, when the number of access point devices whose status score is greater than or equal to the status score threshold is multiple, the terminal device can determine the access point device closest to the terminal device among the access point devices whose status score is greater than or equal to the status score threshold as the terminal access point device.
[0085] In some embodiments, the terminal device can determine the access point device with the minimum delay among multiple access point devices as the terminal access point device.
[0086] In some embodiments, the terminal device usually selects the access point device with relatively small or minimum delay and relatively small or minimum load among multiple access point devices and determines it as the terminal access point device.
[0087] In some other embodiments, the access data further includes the number of routing hops between the terminal device and the access network device. The terminal device can determine the delay of the access point device, the number of routing hops, and the sum of the number of terminal accesses, and determine the access network device with the minimum sum of the delay of the access point device, the number of routing hops, and the number of terminal accesses as the terminal access point device.
[0088] Among them, the type of load can be set as needed. For example, it can be a point load, a GPU load, a memory load, etc.
[0089] Furthermore, after the terminal device determines the terminal access point device, it can send an access request message to the terminal access point device. Correspondingly, the access network device receives the access request message from the terminal device. The access request message may include the verification information of the terminal device. The access network device can verify the verification information of the terminal device, and when the verification of the verification information of the terminal device passes, it enables the terminal device to access.
[0090] In some embodiments, during the process of the terminal device accessing the terminal access point, the terminal device can detect the network state of the current access point device at a preset period (that is, determine the state score of the current access point device at a preset period), and when the state score of the current access point is less than the state score threshold, re-select the terminal access point device.
[0091] Alternatively, the server can also update the network state of the access point device at a preset period, and when the state score of the current access point device of the terminal device is less than the state score threshold, trigger the terminal device to re-select the terminal access point device.
[0092] It should be noted that the process of the terminal device re-selecting the terminal access point device is the same as the process of S301, which will not be elaborated here.
[0093] Based on the technical solution provided by this application, by using the network state data and access data of each access point device, the state score of each access point device is determined; the terminal access point device is determined from multiple access point devices. Since the network state data is used to characterize the data processing speed of the access point device; the access data is used to characterize the number of terminal accesses and the load state of the access point device, in this way, the operating states of each item of the access point device can be comprehensively considered, and the access point device with better operating state of the connection can be dynamically adjusted, without the need to select a fixed access point device, thereby shortening the network delay of the terminal device, balancing the loads of multiple access point devices, improving the overall performance and stability of the network, and improving the service quality of the access point device.
[0094] Figure 4 Another method for determining the terminal access point is provided for the embodiments of this application, as Figure 4As shown in the figure, the present application may further include the following S401 - S402.
[0095] S401. The terminal device determines the first scoring data of the network status data of its respective access point devices and the second scoring data of the access data of its respective access point devices.
[0096] As a possible implementation, the terminal device may determine the first scoring data based on the network status data interval where the network status data of its respective access point devices is located and the first mapping relationship; the first mapping relationship includes the mapping relationship between multiple network status data intervals and multiple scoring data; determine the second scoring data based on the access data interval where the access data of its respective access point devices is located and the second mapping relationship; the second mapping relationship includes the mapping relationship between multiple access data intervals and multiple scoring data.
[0097] In one example, when the network status data includes latency, bandwidth, and packet loss rate, the network status data interval may include a latency interval, a bandwidth interval, and a packet loss rate interval.
[0098] The latency interval may include a first latency interval, a second latency interval, and a third latency interval. The latency score corresponding to the first latency interval may be y1; the latency score corresponding to the second latency interval may be y2; the latency score corresponding to the third latency interval may be y3.
[0099] The bandwidth interval may include a first bandwidth interval, a second bandwidth interval, and a third bandwidth interval. The bandwidth score corresponding to the first bandwidth interval may be d1; the bandwidth score corresponding to the second bandwidth interval may be d2; the bandwidth score corresponding to the third bandwidth interval may be d3.
[0100] The packet loss rate interval may include a first packet loss rate interval, a second packet loss rate interval, and a third packet loss rate interval. The packet loss rate score corresponding to the first packet loss rate interval may be b1; the packet loss rate score corresponding to the second packet loss rate interval may be b2; the packet loss rate score corresponding to the third packet loss rate interval may be b3.
[0101] For example, when the latency of the access point device is in the first latency interval, the bandwidth is in the second bandwidth interval, and the packet loss rate is in the third latency interval, the latency score of the access point device is y1, the bandwidth score is d2, and the packet loss score is b3. The first scoring data of the network status data may be F1 = w1y1 + w2d1 + w3b3.
[0102] Among them, F1 represents the first scoring data. w1 represents the weight of the latency score, w2 represents the weight of the bandwidth score, and w3 represents the weight of the packet loss rate.
[0103] In one example, when the access data includes the number of terminal accesses and the load status, the network status data range may include the range of the number of terminal accesses and the load range.
[0104] The range of the number of terminal accesses may include a first access number range, a second access number range, and a third access number range. The access number score corresponding to the first access number range may be s1; the access number score corresponding to the second access number range may be s2; the access number score corresponding to the third access number range may be s3.
[0105] The load range may include a first load range, a second load range, and a third load range. The load score corresponding to the first load range may be z1; the load score corresponding to the second load range may be z2; the load score corresponding to the third load range may be z3.
[0106] For example, when the number of terminal accesses of the access point device is in the first access number range and the load is in the second load range, the access number score of the access point device is s1 and the load score is z2. The first score data of the network status data may be F2 = c1s1 + c2z2.
[0107] Among them, F2 represents the second score data. c1 represents the weight of the access number score, and c2 represents the weight of the load score.
[0108] S402. The terminal device performs a weighted summation process on the first score data of its respective access point devices and the second score data of its respective access point devices to obtain the status score of each access point device.
[0109] Among them, the specific implementation of this step may refer to the description of S302 and will not be elaborated here.
[0110] In a possible embodiment, the method includes the following S601 - S602:
[0111] S601. The terminal device sends a file request message to the access point device; correspondingly, the access point device receives the file request message from the terminal device.
[0112] Among them, the file request message is used to request a target file. The file request message may include the identifier, version number, etc. of the target file.
[0113] For example, the target file may be a feature library file. The feature library file is used to store and manage feature data in network security events. For example, the feature data may include network activities, attack behaviors, abnormal patterns, etc.
[0114] S602. The access point device extracts the target file from the cached data and sends the target file to the terminal device.
[0115] As a possible implementation, when it is determined that the target file exists in the cached data, the access point device can directly send the target file in the local cached data to the terminal device.
[0116] As another possible implementation, when it is determined that the target file does not exist in the cached data, the access point device can send file request information to the server. Correspondingly, after receiving the file request message, the server sends the target file to the access point device. Further, the access point device can receive the target file from the server, cache the target file, and send the target file to the terminal device. If the target file exists in the cached data, the target file is obtained from the cache, sent to the terminal, and the server is periodically checked to see if the target file has been updated. If it has been updated, the target file is obtained again.
[0117] It can be understood that when downloading a file from the access point device, the access point will adaptively cache the downloaded file when downloading the file for the first time. When downloading the same file later, the locally cached file of the access point can be directly returned without downloading from the server again. The network traffic is only concentrated in the local network, which can save the network bandwidth from the access point device to the server. The access point will only cache the files that are used and will not cache all files.
[0118] Under the premise that the various solutions in the above embodiments of the present application do not conflict, they can be combined.
[0119] The embodiments of the present application can divide the terminal access point determination device into functional modules or functional units according to the above method examples. For example, each functional module or functional unit can be corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module or functional unit. Among them, the division of the module or unit in the embodiments of the present application is illustrative, only a logical function division, and there can be other division methods in actual implementation.
[0120] In the case of dividing each functional module corresponding to each function, Figure 5 FIG. shows a schematic structural diagram of an adaptive terminal access point determination device 700. The terminal access point determination device can be a terminal device in a terminal access point determination system, or a chip, a processor, etc. applied to the terminal device. The terminal access point determination device 700 can be used to execute the functions of the terminal access point determination device involved in the above embodiments. Figure 5The terminal access point determination device 700 shown may include: an acquisition unit 701 and a determination unit 702; the acquisition unit 701 is configured to acquire network status data and access data of multiple access point devices; the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device; the determination unit 702 is configured to determine the status score of each access point device according to the network status data and access data of its respective access point device; the determination unit 702 is further configured to determine the terminal access point device from multiple access point devices; the status score of the terminal access point device is greater than or equal to the status score threshold.
[0121] Optionally, the determination unit 702 is specifically configured to: determine first score data of the network status data of its respective access point device and second score data of the access data of its respective access point device; perform weighted summation processing on the first score data of its respective access point device and the second score data of its respective access point device to obtain the status score of each access point device.
[0122] Optionally, the determination unit 702 is specifically further configured to: determine the first score data based on the network status data interval where the network status data of its respective access point device is located and a first mapping relationship; the first mapping relationship includes the mapping relationship between multiple network status data intervals and multiple score data; determine the second score data based on the access data interval where the access data of its respective access point device is located and a second mapping relationship; the second mapping relationship includes the mapping relationship between multiple access data intervals and multiple score data.
[0123] Optionally, the network status data includes at least one of the following: latency, bandwidth, packet loss rate.
[0124] Figure 6 The structural schematic diagram of another adaptive terminal access point determination device 800 is shown. The terminal access point determination device may be a determination device for an access point device in a terminal access point determination system; or it may be a chip, a processor, etc. applied to the terminal access point determination device. The terminal access point determination device includes: a sending unit 801; the sending unit 801 is configured to send the network status data and access data of multiple access point devices to a terminal device; so that the terminal device determines the status score of each access point device according to the network status data and access data of its respective access point device, and determines the terminal access point device from multiple access point devices; the status score of the terminal access point device is greater than or equal to the status score threshold; wherein, the network status data is used to characterize the data processing speed of the access point device; the access data is used to characterize the terminal access quantity and load status of the access point device.
[0125] Optionally, the device further includes: a receiving unit 802 and a processing unit 803; the receiving unit 802 is configured to receive file request information from a terminal device; the file request information is used to request a target file; the processing unit 803 is configured to extract the target file from the cached data and send the target file to the terminal device.
[0126] Optionally, the processing unit 803 is specifically configured to: when the target file is not cached, send the file request information to a server; receive the target file from the server, and cache the target file to obtain cached data.
[0127] Optionally, the processing unit 803 is further specifically configured to: when the target file is requested next time, if the time interval since the target file was last cached reaches a specified threshold, send an update request to the server; receive basic information of the target file to be cached from the server; when the target file to be cached is different from the version of the target file, cache the target file to be cached to obtain cached data.
[0128] The embodiments of the present application also provide a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer program instructing relevant hardware. The program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of the terminal access point determination device (including a data sending end and / or a data receiving end) in any of the foregoing embodiments, such as a hard disk or a memory of the terminal access point determination device. The above computer-readable storage medium can also be an external storage device of the above terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the above terminal device. Further, the above computer-readable storage medium can also include both the internal storage unit and the external storage device of the above terminal access point determination device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above terminal access point determination device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0129] It should be noted that in the description of the present application, terms such as "first" and "second" in the specification, claims and drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products or devices.
[0130] It should be understood that in the present application, "at least one (item)" means one or more, "a plurality" means two or more, "at least two (items)" means two or three or more, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" may mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one (one) of the following" or its similar expressions refer to any combination of these items, including any combination of single item (one) or plural items (ones). For example, at least one (one) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0131] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above-mentioned division of each functional module is used as an example. In actual application, the above functions can be allocated to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0132] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.
[0133] The unit described as a separating component may or may not be physically separated. The component displayed as a unit may be a single physical unit or multiple physical units, that is, it may be located in one place or may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0134] In addition, each functional unit in various embodiments of the present application may be integrated in a processing unit, may exist physically separately for each unit, or two or more units may be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0135] 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 readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application 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. The software product is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The foregoing storage medium includes: USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs and other various media that can store program codes.
[0136] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for determining an adaptive terminal access point, characterized in that: Applied to a terminal device, the method comprises: Acquire network status data and access data of multiple access point devices; the network status data is used to characterize the speed at which the access point device processes data; the access data is used to characterize the number of terminal accesses and the load status of the access point device; Determining a status score of each access point device according to the network status data and access data of the respective access point devices; the status score is positively correlated with the service quality of the access point device; A terminal access point device is determined from the multiple access point devices; a status score of the terminal access point device is greater than or equal to a status score threshold.
2. The method according to claim 1, characterized in that: The step of determining the status score of each access point device according to the network status data and access data of the respective access point devices comprises: Determine first scoring data of the network status data of the respective access point devices and second scoring data of the access data of the respective access point devices; A weighted sum process is performed on the first scoring data of the respective access point devices and the second scoring data of the respective access point devices to obtain a status score of each access point device.
3. The method according to claim 2, characterized in that The determining of the first scoring data of the network status data of the respective access point devices and the second scoring data of the access data of the respective access point devices comprises: Determine the first scoring data based on the network status data interval in which the network status data of the respective access point devices are located and a first mapping relationship; the first mapping relationship includes a mapping relationship between a plurality of network status data intervals and a plurality of scoring data; The second scoring data is determined based on the access data interval in which the access data of the respective access point devices are located and the second mapping relationship; the second mapping relationship includes a mapping relationship between multiple access data intervals and multiple scoring data.
4. The method according to any one of claims 1 to 3, characterized in that The network status data includes at least one of the following: delay, bandwidth, and packet loss rate.
5. A method for determining an adaptive terminal access point, characterized in that: Applied to an access point device, the method comprises: Sending network status data and access data of an access point device to a terminal device; the terminal device determines a status score of each access point device according to the network status data and access data of the respective access point devices, and determines a terminal access point device from the plurality of access point devices; the status score of the terminal access point device is greater than or equal to a status score threshold; The network status data is used to characterize the speed at which the access point device processes data; and the access data is used to characterize the number of terminals accessing the access point device and the load status.
6. The method according to claim 5, characterized in that The terminal access point also has a file caching function, and the method further includes: Receiving file request information from the terminal device; the file request information is used to request a target file; The target file is extracted from the cache data, and the target file is sent to the terminal device.
7. The method according to claim 6, characterized in that The method further comprises: If the target file is not cached, sending the file request information to the server; A target file is received from the server, and the target file is cached to obtain the cache data.
8. The method according to claim 6, characterized in that The method further comprises: In the case where the target file is included in the cache data, when the target file is requested next time, if the time interval between the target file and the last cache of the target file reaches a specified threshold, an update request is sent to the server; Receive basic information of the target file to be cached from the server; In the case that the target file to be cached is different from the target file version, the target file to be cached is cached to obtain cache data.
9. An adaptive terminal access point determination device, characterized in that: Applied to a terminal device, the apparatus comprises: an acquisition unit and a determination unit; The acquisition unit is used to acquire network status data and access data of multiple access point devices; the network status data is used to characterize the speed at which the access point device processes data; the access data is used to characterize the number of terminal accesses and the load status of the access point device; The determining unit is used to determine the status score of each access point device according to the network status data and access data of the respective access point device; The determining unit is further configured to determine a terminal access point device from the multiple access point devices; the terminal access point device is an access point device among the multiple access point devices, the state score of which is greater than or equal to a state score threshold.
10. An adaptive terminal access point determination device, characterized in that: Applied to an access point device, the apparatus comprises: a sending unit; The sending unit is used to send network status data and access data of multiple access point devices to the terminal device; the terminal device is used to determine the status score of each access point device according to the network status data and access data of the respective access point devices, and determine the terminal access point device from the multiple access point devices; the status score of the terminal access point device is greater than or equal to the status score threshold; The network status data is used to characterize the speed at which the access point device processes data; and the access data is used to characterize the number of terminals accessing the access point device and the load status.
11. An adaptive terminal access point determination system, characterized in that: It comprises a terminal device and an access point device; the terminal device is used to execute the method as described in any one of claims 1-4; the access point is used to execute the method as described in any one of claims 5-7.
12. A computer-readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 4 or any one of claims 5 to 8 is implemented.
13. An electronic device, characterized in that: include: A processor, a memory and a communication interface; wherein the communication interface is used for the electronic device to communicate with other devices or networks; The memory is used to store one or more programs, which include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to perform any one of claims 1-4 or any one of claims 5-8.
14. A computer program product, comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 4 or any one of claims 5 to 8 is implemented.