Method, device and system for determining terminal portrait, equipment and storage medium

By performing multiple detections on the terminal, acquiring and analyzing the image detection data, and determining the reference terminal image, the problem of terminal network image determination in wireless LAN is solved, the efficiency of roaming optimization and load balancing is improved, and the needs of different terminal categories are adapted.

CN118972893APending Publication Date: 2024-11-15HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955732.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-04-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The prior art is difficult to accurately determine the network image of the terminal in a wireless local area network, affecting the efficiency of roaming optimization, load balancing, and access control.

Method used

By performing multiple detections on the terminal, multiple sets of image detection data are obtained, reference terminal portrait is determined based on these data, and adaptive adjustments are made based on the terminal category information.

Benefits of technology

It realizes accurate determination of terminal portraits on the basis of minimizing overhead, improves the efficiency of roaming optimization and load balancing, and adapts to the needs of different terminal categories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972893A_ABST
    Figure CN118972893A_ABST
Patent Text Reader

Abstract

The invention discloses a method, device and system for determining a terminal portrait, equipment and a storage medium, and belongs to the technical field of communication. In the application, the data detector can perform multiple times of detection on one or more first terminals so as to determine multiple groups of portrait detection data. Therefore, the data analyzer can determine the reference terminal portrait according to the multiple groups of portrait detection data. In other words, the terminal is detected on line, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, so as to adapt to the category of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202010368072.7, and the original application date is April 30, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method, device, equipment, storage medium and system for determining a terminal portrait. Background Art

[0003] At present, the demand for terminal portraits in wireless local area networks (WLANs) is becoming more and more widespread, such as roaming optimization, load balancing, access control, and radio frequency tuning. Among them, terminal portraits refer to the network capabilities of the terminal in software or hardware. For example, in roaming optimization, in order to improve the roaming experience, it is usually necessary to determine the terminal portrait related to roaming optimization, and then determine the corresponding roaming guidance conditions according to the terminal portrait related to roaming optimization, so as to guide the terminal to roam. Therefore, how to determine the terminal portrait has become a problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a method, apparatus, device, storage medium and system for determining a terminal portrait, which can accurately determine the corresponding terminal portrait on the basis of minimizing the overhead by detecting the terminal online. The technical solution is as follows:

[0005] In a first aspect, a method for determining a terminal portrait is provided, in which a network device obtains multiple sets of portrait detection data, where the multiple sets of portrait detection data are determined by performing multiple detections on one or more first terminals, and determines a reference terminal portrait based on the multiple sets of portrait detection data.

[0006] Optionally, for a first terminal, the reference terminal portrait is a terminal portrait corresponding to the terminal. For multiple first terminals, the multiple first terminals belong to the same category, and the category information is the reference category information, so the reference terminal portrait refers to the terminal portrait corresponding to the terminal with the reference category information.

[0007] In this application example, the network device can detect one or more first terminals multiple times to determine multiple sets of portrait detection data. In this way, the network device can determine the reference terminal portrait according to the multiple sets of portrait detection data. In other words, the application detects the terminal online, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, thereby adapting to the category of the terminal.

[0008] It should be noted that the reference category information may include a model identifier, or the reference category information may include a model identifier and an operating system version identifier. That is, the model of the one or more first terminals may be the same, or the model and operating system version of the one or more first terminals may be the same. Of course, the above is only an exemplary description of the content included in the reference category information. In some other embodiments, the reference category information may also include other information, such as the type of terminal, etc. The type may refer to whether the terminal is a mobile phone, a notebook or another type of device.

[0009] It is worth noting that the version identifier of the operating system may refer to an identifier that can identify the type of the operating system and the version of the operating system. For example, the version identifier of the operating system may be IOS8.1.1, Android4.3.1, etc.

[0010] In the present application, the network device can determine the reference terminal portrait in a variety of ways according to multiple sets of portrait detection data, and one of the ways is introduced below.

[0011] The network device extracts corresponding key feature data from each set of portrait detection data in the multiple sets of portrait detection data according to the reference portrait type, where the reference portrait type refers to the type corresponding to the terminal portrait that needs to be determined at present. The network device determines the reference terminal portrait according to the extracted multiple key feature data.

[0012] It should be noted that when the type of the reference terminal portrait is different, the extracted key feature data is different. For example, when the reference portrait type is a link quality measurement type, the key feature data includes a protocol support tag and a protocol description data, the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol. When the reference portrait type is a roaming guidance type, the key feature data includes a roaming guidance tag and guidance feature data, the roaming guidance tag is used to indicate whether the roaming guidance of the corresponding terminal is successful (i.e., whether the terminal is successfully guided to roam), and the guidance feature data is used to describe the network information of the corresponding terminal when it is detected by roaming guidance and / or the guidance method for performing roaming guidance detection. Among them, the network information of the corresponding terminal when it is detected by roaming guidance may include access point data and terminal data. The access point data may include network information of the access point device, such as signal strength, load, channel, number of associated terminals, frequency band, etc. If the roaming guidance is successful, the access point data may include network information of the access point device associated with the terminal before and / or after roaming. If the roaming guidance fails, the access point data may include the network information of the access point device associated with the terminal when roaming is guided and the network information of the neighboring access point device of the guidance destination. The terminal data may include the service type, traffic, etc. of the service performed by the terminal when performing roaming guidance detection. The guidance method for performing roaming guidance detection may include the guidance protocol adopted by the roaming guidance detection and its protocol parameter value, guidance frequency, etc. When the reference portrait type is a network detection type, the key feature data includes a detection support tag and detection description data. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability. The detection description data is used to describe the corresponding detection capability. The detection capability includes frequency bands and / or channels.

[0013] After the network device determines the reference terminal portrait by roaming guidance detection, the network device can store the characteristic data of one or more first terminals and the reference terminal portrait in correspondence. In this way, for other terminals, for example, one or more target terminals, when determining the terminal portrait corresponding to one or more target terminals, the terminal characteristic data can be directly obtained, and the terminal characteristic data is used to describe the characteristics of a target terminal, or the common characteristics of multiple target terminals. In this way, the network device can determine the target characteristic data with the highest similarity to the terminal characteristic data from the stored multiple characteristic data, each characteristic data in the multiple characteristic data corresponds to a terminal portrait, and the terminal portrait corresponding to the multiple characteristic data includes the reference terminal portrait, that is, the terminal portrait corresponding to the multiple characteristic data can be determined by roaming guidance detection. Afterwards, the network device determines the terminal portrait corresponding to the target characteristic data as the terminal portrait of one or more target terminals. In this way, the speed and efficiency of determining the terminal portrait can be improved, and for the case where there are many operating system versions, the efficiency can be further improved.

[0014] It should be noted that when the type of the reference terminal portrait is different, the determined portrait detection data will also be different. For example, when the reference portrait type is a link quality measurement type, the portrait detection data includes terminal description information, access point description information, protocol support tags and protocol description data. The terminal description information is used to describe the relevant information of the terminal, such as the MAC address, terminal identification, etc. The access point description information is used to describe the relevant information of the access point device associated with the terminal, such as the identification of the access point device, etc. The protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol.

[0015] In this way, the reference terminal portrait may include protocol support data, and the protocol support data is used to describe the link quality measurement protocol supported by the terminal. For example, if the reference terminal portrait is a terminal portrait corresponding to a terminal having the reference category information, the terminal having the reference category information may support the link quality measurement protocol described by the protocol support data. Afterwards, link quality measurement may be performed according to the link quality measurement protocol supported by the terminal.

[0016] When the reference portrait type is a roaming guidance type, the portrait detection data includes terminal description information, source access point description information, destination access point description information, a roaming guidance tag and guidance feature data. The terminal description information is used to describe relevant information of the terminal, such as a MAC address, a terminal identification identifier, etc. The source access point description information is used to describe relevant information of the access point device associated with the terminal before roaming, such as the identifier of the source access point device, the identifier of the BSS, etc. The destination access point description information is used to describe relevant information of the access point device associated with the terminal after roaming, such as the identifier of the destination access point device, the identifier of the BSS, etc. The roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful. The guidance feature data is used to describe the network information of the corresponding terminal when it is roaming guided and / or the guidance method for performing roaming guided detection.

[0017] In this way, the reference terminal portrait may include roaming guidance conditions (such as applicable roaming network condition standards) and / or applicable guidance methods applicable to one or more detected first terminals. Roaming network conditions refer to the network conditions that the two access point devices must meet when the terminal roams from one access point device to another access point device. The network conditions may be signal strength, channel utilization, frequency band, number of associated terminals, channel bandwidth, etc. For example, the network condition standard may be a signal strength standard, such as one or more of the signal strength threshold corresponding to the source access point device, the signal strength threshold corresponding to the destination access point device, and the signal strength gain threshold between the source access point device and the destination access point device. Subsequently, the technician may determine the roaming guidance conditions and / or applicable guidance methods corresponding to the terminal with reference category information for the reference terminal portrait, and then roam guide such terminals according to the roaming guidance conditions and / or applicable guidance methods.

[0018] When the reference portrait type is a network detection type, the portrait detection data includes terminal description information, access point description information, a detection support tag and detection description data. The terminal description information is used to describe the relevant information of the terminal, such as the MAC address, terminal identification identifier, etc. The access point description information is used to describe the relevant information of the access point device associated with the terminal, such as the identifier of the access point device, etc. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability. The detection description data is used to describe the corresponding detection capability. The detection capability includes frequency bands and / or channels, such as 2.4G or 5G frequency bands.

[0019] In this way, the reference terminal portrait may include capability support data, and the capability support data is used to describe the detection capabilities supported by the terminal. For example, if the reference terminal portrait is a terminal portrait corresponding to a terminal having the reference category information, then the terminal having the reference category information can support the detection capabilities described by the capability support data. For example, if the capability support data includes the frequency band of 5G, then it can be determined that the terminal having the reference category information can support the frequency band of 5G.

[0020] In the present application, the network device performs detection based on the terminal identification identifier, so before the network device performs detection, it is necessary to obtain a reference terminal identification identifier. Therefore, before the network device obtains multiple sets of portrait detection data, it also includes: the network device obtains reference category information. The network device determines the reference terminal identification identifier based on the reference category information, and the reference terminal identification identifier refers to the terminal identification identifier corresponding to one or more first terminals. The network device performs multiple detections on one or more first terminals based on the reference terminal identification identifier.

[0021] In the case where the network device is a data analyzer, the data analyzer can also communicate with the data detector. In this way, before the network device obtains multiple sets of portrait detection data, it also includes: the data analyzer obtains reference category information from the data detector. The data analyzer determines a reference terminal identification identifier based on the reference category information, and the reference terminal identification identifier refers to a terminal identification identifier corresponding to one or more first terminals. The data analyzer sends the reference terminal identification identifier to the data detector, so that the data detector performs multiple detections on the one or more first terminals according to the reference terminal identification identifier.

[0022] Optionally, the network device determines the reference terminal identification identifier based on the reference category information, including: the network device determines the target category information with the highest similarity to the reference category information from the stored multiple category information, each category information in the multiple category information corresponds to a terminal identification identifier. The network device determines the terminal identification identifier corresponding to the target category information as the reference terminal identification identifier.

[0023] Optionally, after the network device determines the reference terminal identification identifier according to the reference category information, the method further includes: the network device sends the reference terminal identification identifier to multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the network device.

[0024] Optionally, after the network device determines the reference terminal portrait according to the multiple groups of portrait detection data, it also includes: the network device sends the reference terminal portrait to multiple access point devices, and the multiple access point devices refer to access point devices that can communicate with the network device.

[0025] The network device sends the reference terminal identifier to multiple access point devices, so that the access point devices can subsequently apply the corresponding terminal portrait to the terminal. After the network device sends the reference terminal portrait to multiple access point devices, the access point devices can apply the reference terminal portrait to the terminal with reference category information.

[0026] Optionally, after the network device sends the reference terminal portrait to multiple access point devices, it can also evaluate the terminal portraits corresponding to multiple second terminals. That is, the network device obtains multiple sets of portrait quality data, and the multiple sets of portrait quality data refer to the quality data before and after the reference terminal portrait is applied to multiple second terminals with reference category information. The network device determines one or more third terminals from multiple second terminals based on the multiple sets of portrait quality data, and the one or more third terminals refer to terminals whose quality is not improved after the reference terminal portrait is applied in multiple second terminals. The network device reallocates a terminal identification identifier to one or more third terminals, and re-determines the terminal portraits corresponding to the one or more third terminals.

[0027] Optionally, each group of portrait quality data in the multiple groups of portrait quality data includes one or more quality indicator data. In this way, the network device determines one or more third terminals from multiple second terminals based on the multiple groups of portrait quality data, including: the network device determines the category splitting value corresponding to each second terminal in the multiple second terminals based on the one or more quality indicator data included in each group of portrait quality data in the multiple groups of portrait quality data, and the category splitting value is used to characterize the roaming quality of the corresponding terminal. The network device selects a second terminal whose corresponding category splitting value is greater than or equal to the splitting threshold from the multiple second terminals to obtain one or more third terminals.

[0028] In a second aspect, a method for determining a terminal portrait is provided, in which a data detector determines multiple sets of portrait detection data, where the multiple sets of portrait detection data are determined by multiple detections of one or more first terminals having reference category information. The data detector sends the multiple sets of portrait detection data to a data analyzer, so that the data analyzer determines a reference terminal portrait based on the multiple sets of portrait detection data, where the reference terminal portrait refers to a terminal portrait corresponding to a terminal having reference category information.

[0029] Optionally, the data detector obtains a reference terminal identification identifier, which refers to a terminal identification identifier corresponding to one or more first terminals. The data detector detects the one or more first terminals multiple times according to the reference terminal identification identifier to obtain multiple sets of portrait detection data.

[0030] That is, after the data detector obtains the reference terminal identification identifier, the data detector can perform multiple detections on the one or more first terminals according to the reference terminal identification identifier. Taking the first reference terminal as an example, the data detector constructs a detection instruction according to the reference terminal identification identifier. The data detector sends a detection instruction to the first reference terminal through the access point device associated with the first reference terminal, and the first reference terminal is one of the one or more first terminals. The data detector receives the log data reported by the first reference terminal before and after receiving the detection instruction through the access point device associated with the first reference terminal. The data detector determines a set of portrait detection data based on the log data reported by the first reference terminal before and after receiving the detection instruction.

[0031] In other words, the data detector can construct a detection instruction, which is used to detect the network capabilities of the first reference terminal. In this way, after the first reference terminal reports log data, a set of portrait detection data can be determined from the log data, and subsequent terminal portrait identification can be performed.

[0032] It should be noted that for different types of terminal portraits, the information carried in the detection instructions constructed by the data detector may be different, and thus the information included in a set of portrait detection data will also be different.

[0033] In the present application, the data detector does not unconditionally construct a detection instruction for the first reference terminal to detect the first reference terminal, but needs to determine whether the first reference terminal meets the detection protection condition, so that the detection instruction is constructed only when the first reference terminal meets the detection protection condition to detect the first reference terminal. For different types of portraits, the detection protection conditions are often different.

[0034] That is, before the data detector constructs the detection instruction according to the reference terminal identification identifier, the step further includes: the data detector determines whether the first reference terminal meets the detection protection condition according to the reference terminal identification identifier. If the data detector determines that the first reference terminal meets the detection protection condition, the step of constructing the detection instruction according to the reference terminal identification identifier is executed.

[0035] Optionally, the type of the reference terminal portrait is a roaming guidance type; the data detector determines whether the first reference terminal meets the detection protection condition according to the reference terminal identification identifier, including: the data detector obtains the first signal strength and the second signal strength, the first signal strength refers to the signal strength corresponding to the first access point device, the first access point device refers to the access point device associated before guiding the first reference terminal to roam, and the second signal strength refers to the signal strength corresponding to the second access point device, and the second access point device refers to the access point device associated after guiding the first reference terminal to roam. If the data detector determines that the first signal strength is within the reference strength range, and the difference between the first signal strength and the second signal strength is greater than the strength threshold, then determine the guidance protection parameter according to the reference terminal identification identifier, and the guidance protection parameter is used to indicate the maximum degree of roaming guidance detection for the first reference terminal. If the data detector determines that the guidance protection parameter meets the guidance protection condition, and the first reference terminal is outside the protection whitelist, it is determined that the first reference terminal meets the detection protection condition.

[0036] Optionally, the boot protection parameter includes a total number of bootstrapping of terminals having reference category information, and the boot protection condition includes that the total number of bootstrapping is not greater than a number threshold; and / or

[0037] The bootstrap protection parameter includes an average bootstrap time interval of the first reference terminal, and the bootstrap protection condition includes that the average bootstrap time interval is greater than a duration threshold; and / or

[0038] The guidance protection parameter includes the total number of terminals for which the first access point device performs roaming guidance detection, and the guidance protection condition includes that the total number of terminals is not greater than a quantity threshold.

[0039] Optionally, the data detector acquires the reference terminal identification, including: the data detector sends reference category information to the data analyzer, so that the data analyzer determines the reference terminal identification according to the reference category information. The data detector receives the reference terminal identification sent by the data analyzer.

[0040] Optionally, after the data detector sends multiple sets of portrait detection data to the data analyzer so that the data analyzer determines the reference terminal portrait according to the multiple sets of portrait detection data, the method further includes: the data detector determines multiple sets of portrait quality data, where the multiple sets of portrait quality data refer to quality data before and after the reference terminal portrait is applied to multiple second terminals with reference category information. The data detector sends the multiple sets of portrait quality data to the data analyzer so that the data analyzer evaluates the terminal portraits corresponding to the multiple second terminals according to the multiple sets of portrait quality data.

[0041] Since the second terminal periodically reports its own log data to the associated access point device, the access point device forwards the log data reported by the second terminal to the data detector. Since the access point device applies the reference terminal portrait on the second terminal, the data detector can determine the portrait quality data through the log data reported by the second terminal.

[0042] Taking the second reference terminal as an example, the implementation process of the data detector determining the portrait quality data includes: the data detector determines the moment when the second reference terminal applies the reference terminal portrait, and obtains the portrait application moment, and the second reference terminal is one of the multiple second terminals. The data detector can determine a set of portrait quality data based on the portrait application moment and the log data reported by the second reference terminal.

[0043] In a third aspect, a device for determining a terminal portrait is provided, which is applied to a network device, and the device for determining a terminal portrait has the function of implementing the method behavior of determining a terminal portrait in the first aspect. The device for determining a terminal portrait includes one or more modules, and the one or more modules are used to implement the method for determining a terminal portrait provided in the first aspect.

[0044] That is, the device for determining the terminal portrait includes: a first acquisition module and a first determination module.

[0045] A first acquisition module, configured to acquire multiple sets of portrait detection data, wherein the multiple sets of portrait detection data are determined by performing multiple detections on one or more first terminals;

[0046] The first determination module is used to determine the reference terminal portrait according to the multiple groups of portrait detection data.

[0047] Optionally, the multiple first terminals belong to the same category, and the category information is reference category information, and the reference terminal portrait refers to a terminal portrait corresponding to a terminal having the reference category information.

[0048] Optionally, the first determining module is used to:

[0049] Extracting corresponding key feature data from each set of portrait detection data in the multiple sets of portrait detection data according to a reference portrait type, wherein the reference portrait type refers to a type corresponding to a terminal portrait that needs to be determined at present;

[0050] The reference terminal portrait is determined based on the extracted multiple key feature data.

[0051] Optionally, when the reference portrait type is a link quality measurement type, the key feature data includes a protocol support tag and protocol description data, the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol;

[0052] When the reference portrait type is a roaming guidance type, the key feature data includes a roaming guidance tag and guidance feature data, the roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful, and the guidance feature data is used to describe the network information of the corresponding terminal when the roaming guidance detection is performed and / or the guidance method for performing the roaming guidance detection;

[0053] When the reference portrait type is a network detection type, the key feature data includes a detection support tag and detection description data, the detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability, and the detection description data is used to describe the corresponding detection capability, and the detection capability includes frequency bands and / or channels.

[0054] Optionally, the device further comprises:

[0055] A second acquisition module, used to acquire terminal feature data, where the terminal feature data is used to describe features of a target terminal or common features of multiple target terminals;

[0056] A second determination module is used to determine target feature data having the highest similarity to the terminal feature data from a plurality of stored feature data, each feature data in the plurality of feature data corresponding to a terminal portrait, and the terminal portraits corresponding to the plurality of feature data include the reference terminal portrait;

[0057] The third determination module is used to determine the terminal portrait corresponding to the target feature data as the terminal portrait of the one or more target terminals.

[0058] Optionally, the device further comprises:

[0059] A third acquisition module is used to acquire the reference category information;

[0060] A fourth determining module, configured to determine a reference terminal identification identifier according to the reference category information, wherein the reference terminal identification identifier refers to a terminal identification identifier corresponding to the one or more first terminals;

[0061] The detection module is used to detect the one or more first terminals multiple times according to the reference terminal identification identifier.

[0062] Optionally, the network device is a data analyzer, and the data analyzer is capable of communicating with a data detector;

[0063] The device also includes:

[0064] A third acquisition module, used for acquiring the reference category information from the data detector;

[0065] A fourth determining module, configured to determine a reference terminal identification identifier according to the reference category information, wherein the reference terminal identification identifier refers to a terminal identification identifier corresponding to the one or more first terminals;

[0066] The first sending module is configured to send the reference terminal identification identifier to the data detector, so that the data detector performs multiple detections on the one or more first terminals according to the reference terminal identification identifier.

[0067] Optionally, the fourth determining module is used to:

[0068] Determine, from the stored multiple categories of information, target category information having the highest similarity to the reference category information, each of the multiple categories of information corresponding to a terminal identification identifier;

[0069] The terminal identification identifier corresponding to the target category information is determined as the reference terminal identification identifier.

[0070] Optionally, the device further comprises:

[0071] The second sending module is configured to send the reference terminal identification identifier to multiple access point devices, where the multiple access point devices are access point devices that can communicate with the network device.

[0072] Optionally, the device further comprises:

[0073] The third sending module is used to send the reference terminal portrait to multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the network device.

[0074] Optionally, the device further comprises:

[0075] A fourth acquisition module, configured to acquire multiple sets of portrait quality data, wherein the multiple sets of portrait quality data refer to quality data before and after the reference terminal portrait is applied to multiple second terminals having the reference category information;

[0076] a fifth determining module, configured to determine one or more third terminals from the plurality of second terminals according to the plurality of sets of portrait quality data, wherein the one or more third terminals refer to terminals among the plurality of second terminals whose quality is not improved after applying the reference terminal portrait;

[0077] An allocating module, configured to reallocate a terminal identification identifier to the one or more third terminals;

[0078] The sixth determination module is used to re-determine the terminal portraits corresponding to the one or more third terminals.

[0079] Optionally, each set of portrait quality data in the multiple sets of portrait quality data includes one or more quality indicator data;

[0080] The fifth determining module is used for:

[0081] Determine, according to one or more quality indicator data included in each set of portrait quality data in the multiple sets of portrait quality data, a category splitting value corresponding to each second terminal in the multiple second terminals, wherein the category splitting value is used to characterize the roaming quality of the corresponding terminal;

[0082] From the multiple second terminals, second terminals whose corresponding category splitting values ​​are greater than or equal to the splitting threshold are selected to obtain the one or more third terminals.

[0083] Optionally, the reference category information includes a model identification.

[0084] In a fourth aspect, a device for determining a terminal portrait is provided, which is applied to a data detector, and the device for determining a terminal portrait has the function of implementing the method behavior of determining a terminal portrait in the second aspect. The device for determining a terminal portrait includes one or more modules, and the one or more modules are used to implement the method for determining a terminal portrait provided in the second aspect.

[0085] That is, the device for determining the terminal portrait includes: a first determining module and a first sending module.

[0086] A first determination module, configured to determine multiple sets of portrait detection data, wherein the multiple sets of portrait detection data are determined by performing multiple detections on one or more first terminals having reference category information;

[0087] The first sending module is used to send the multiple groups of portrait detection data to the data analyzer, so that the data analyzer determines the reference terminal portrait according to the multiple groups of portrait detection data, and the reference terminal portrait refers to the terminal portrait corresponding to the terminal having the reference category information.

[0088] Optionally, the first determining module includes:

[0089] An acquisition submodule, configured to acquire a reference terminal identification identifier, wherein the reference terminal identification identifier refers to a terminal identification identifier corresponding to the one or more first terminals;

[0090] The detection submodule is used to perform multiple detections on the one or more first terminals according to the reference terminal identification identifier to obtain the multiple groups of portrait detection data.

[0091] Optionally, the detection submodule includes:

[0092] A construction unit, configured to construct a detection instruction according to the reference terminal identification identifier;

[0093] A first sending unit, configured to send the detection instruction to the first reference terminal through an access point device associated with the first reference terminal, where the first reference terminal is one of the one or more first terminals;

[0094] A first receiving unit, configured to receive, through an access point device associated with the first reference terminal, log data reported by the first reference terminal before and after receiving the detection instruction;

[0095] A determination unit is used to determine a set of portrait detection data based on the log data reported by the first reference terminal before and after receiving the detection instruction.

[0096] Optionally, the detection submodule further includes:

[0097] A judging unit, configured to determine whether the first reference terminal satisfies a detection protection condition according to the reference terminal identification identifier;

[0098] The triggering unit is configured to trigger the construction unit to construct a detection instruction according to the reference terminal identification if the first reference terminal satisfies the detection protection condition.

[0099] Optionally, the type of the reference terminal portrait is a roaming guidance type;

[0100] The judging unit is used for:

[0101] Acquire a first signal strength and a second signal strength, wherein the first signal strength refers to a signal strength corresponding to a first access point device, the first access point device refers to an access point device associated with the first reference terminal before roaming, and the second signal strength refers to a signal strength corresponding to a second access point device, the second access point device refers to an access point device associated with the first reference terminal after roaming;

[0102] If it is determined that the first signal strength is within a reference strength range and the difference between the first signal strength and the second signal strength is greater than a strength threshold, determining a guidance protection parameter according to the reference terminal identification identifier, the guidance protection parameter being used to indicate a maximum degree of roaming guidance detection for the first reference terminal;

[0103] If it is determined that the bootstrap protection parameter satisfies the bootstrap protection condition, and the first reference terminal is outside the protection whitelist, it is determined that the first reference terminal satisfies the detection protection condition.

[0104] Optionally, the boot protection parameter includes a total number of bootstrapping of terminals having the reference category information, and the boot protection condition includes that the total number of bootstrapping is not greater than a number threshold; and / or

[0105] The bootstrap protection parameter includes an average bootstrap time interval of the first reference terminal, and the bootstrap protection condition includes that the average bootstrap time interval is greater than a duration threshold; and / or

[0106] The boot protection parameter includes the total number of terminals for which the first access point device performs roaming boot detection, and the boot protection condition includes that the total number of terminals is not greater than a quantity threshold.

[0107] Optionally, the acquisition submodule includes:

[0108] A second sending unit, configured to send the reference category information to the data analyzer, so that the data analyzer determines the reference terminal identification identifier according to the reference category information;

[0109] The second receiving unit is used to receive the reference terminal identification identifier sent by the data analyzer.

[0110] Optionally, the device further comprises:

[0111] A second determination module is used to determine multiple sets of portrait quality data, wherein the multiple sets of portrait quality data refer to quality data before and after the reference terminal portrait is applied to multiple second terminals having the reference category information;

[0112] The second sending module is used to send the multiple groups of portrait quality data to the data analyzer, so that the data analyzer evaluates the terminal portraits corresponding to the multiple second terminals according to the multiple groups of portrait quality data.

[0113] Optionally, the second determining module is used to:

[0114] Determine a time when a second reference terminal applies the reference terminal portrait to obtain a portrait application time, wherein the second reference terminal is one of the plurality of second terminals;

[0115] According to the portrait application time, a group of portrait quality data is determined through the log data reported by the second reference terminal.

[0116] In a fifth aspect, a network device is provided, the network device comprising a processor and a memory, the memory being used to store a program for executing the method for determining a terminal portrait provided in the first aspect, and storing data involved in implementing the method for determining a terminal portrait provided in the first aspect. The processor is configured to execute the program stored in the memory. The operating device of the storage device may also include a communication bus, which is used to establish a connection between the processor and the memory.

[0117] In a sixth aspect, a data analyzer is provided, the data analyzer comprising a processor and a memory, the memory being used to store a program for executing the method for determining a terminal portrait provided in the first aspect, and storing data involved in implementing the method for determining a terminal portrait provided in the first aspect. The processor is configured to execute the program stored in the memory. The operating device of the storage device may also include a communication bus, which is used to establish a connection between the processor and the memory.

[0118] In a seventh aspect, a data detector is provided, the data detector comprising a processor and a memory, the memory being used to store a program for executing the method for determining a terminal portrait provided in the second aspect, and storing data involved in implementing the method for determining a terminal portrait provided in the second aspect. The processor is configured to execute the program stored in the memory. The operating device of the storage device may also include a communication bus, which is used to establish a connection between the processor and the memory.

[0119] In an eighth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer executes the method for determining a terminal portrait described in the first aspect.

[0120] In a ninth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer executes the method for determining a terminal portrait as described in the second aspect.

[0121] In a tenth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method for determining a terminal portrait as described in the first aspect.

[0122] In the eleventh aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method for determining a terminal portrait as described in the second aspect above.

[0123] In a twelfth aspect, a system for determining a terminal portrait is provided, the system comprising: a network device, multiple access point devices and multiple terminals, the network device being used to implement the steps of the method described in the first aspect above.

[0124] In the thirteenth aspect, a system for determining a terminal portrait is provided, the system comprising: a data detector, a data analyzer, multiple access point devices and multiple terminals, the data analyzer is used to implement the steps of the method described in the first aspect above, and the data detector is used to implement the steps of the method described in the second aspect above.

[0125] The technical effects obtained in the above-mentioned second to thirteenth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and will not be repeated here.

[0126] The technical solution provided by this application can at least bring the following beneficial effects:

[0127] In the present application, the network device may perform multiple detections on one or more first terminals to determine multiple sets of portrait detection data. In this way, the network device may determine the reference terminal portrait according to the multiple sets of portrait detection data. In other words, the present application detects the terminal online, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, thereby adapting to the category of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0128] Figure 1 is a schematic diagram of a roaming process provided by an embodiment of the present application;

[0129] Figure 2 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0130] Figure 3 It is a structural diagram of a network device provided in an embodiment of the present application;

[0131] Figure 4 This is a flow chart of a method for determining a terminal portrait provided by an embodiment of the present application;

[0132] Figure 5 is a flow chart of a method for determining whether a terminal meets a detection protection condition provided by an embodiment of the present application;

[0133] Figure 6 is a flowchart of another method for determining a terminal portrait provided by an embodiment of the present application;

[0134] Figure 7 It is a structural schematic diagram of a device for determining a terminal portrait provided in an embodiment of the present application;

[0135] Figure 8 It is a structural diagram of another device for determining a terminal portrait provided in an embodiment of the present application. DETAILED DESCRIPTION

[0136] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0137] To facilitate understanding, before explaining in detail the method for determining a terminal portrait provided in an embodiment of the present application, the terms and implementation environment involved in the embodiment of the present application are first explained or introduced.

[0138] First, the terms involved in the embodiments of the present application are explained.

[0139] BSS: English: basic service set, Chinese: basic service set. The service provided by a single access point (AP) is called BSS.

[0140] ESS: English: extended service set, Chinese: extended service set. Multiple access point devices are managed by the same access control device and provide unified services with the same service set identifier (SSID) is called ESS. That is, an ESS can include multiple BSSs.

[0141] Association: The state in which a terminal establishes a communication connection with an access point device. When a terminal is associated with an access point device, it means that the terminal is connected to the access point device and can access the access point device, or the access point device can provide services for the terminal.

[0142] Roaming: The process of a terminal switching between different BSSs in the same ESS is called roaming. Among them, one access point device corresponds to one BSS, and an ESS can include multiple BSSs. In other words, the process of a terminal switching from an association with an access point device to an association with another access point device is called roaming.

[0143] For example, please refer to Figure 1 ESS includes two BSSs, one BSS corresponds to access point device 1, and the other BSS corresponds to access point device 2. The terminal is initially associated with access point device 1 at location point A, and when the terminal moves to location point A', the terminal is associated with access point device 2. That is, the terminal is associated with access point device 1 before roaming, and is associated with access point device 2 after roaming.

[0144] Source access point device: The access point device that the terminal associates with before roaming is called the source access point device.

[0145] Destination access point device: The access point device to which the terminal associates after roaming is called the destination access device.

[0146] Terminal: A movable terminal device, also called a mobile terminal. In WLAN, a terminal is also called a station (STA). For example, in the embodiments of the present application, the terminal may be a laptop (also called a personal computer (PC)), a game console, a tablet computer, a smart phone, an e-reader, a digital broadcast terminal, a messaging device, a personal digital assistant or a wearable device, etc. The wearable device may be a bracelet or a watch, etc.

[0147] Signal strength: The strength of the signal sent by the access point device received by the terminal, in dBm. Signal strength is generally a negative value, and the larger the value, the better the signal quality. In most scenarios, -50 and above are considered to be very good signal quality, and -70 and below are considered to be poor signal quality.

[0148] Terminal portrait: The network capabilities of a terminal in software or hardware are called terminal portrait. Taking roaming optimization as an example, the terminal portrait in roaming optimization refers to the network capabilities of the terminal when roaming. For example, when the signal strength of the terminal's associated access point device is lower than a certain value 1, the terminal may roam, or when the signal strength of the terminal's neighboring access point device is greater than a certain value 2, the terminal may roam, or when the value of the signal strength of the terminal's neighboring access point device minus the signal strength of the associated access point device is greater than a certain value 3, the terminal may roam.

[0149] Next, the implementation environment involved in the embodiments of the present application is introduced.

[0150] Please refer to Figure 2 , Figure 2 201, a data detector 202, a data analyzer 203, a plurality of access point devices 203, and a plurality of access point devices 204. Figure 2 3 access point devices are used to schematically represent the multiple access point devices) and multiple terminals 204 ( Figure 2 3 terminals are used to schematically represent the multiple terminals).

[0151] The data detector 201 is connected to the data analyzer 202 via a wireless or wired network for communication. The data detector 201 is also connected to the multiple access point devices 203 via a wireless or wired network for communication. The data analyzer 202 is connected to the multiple access point devices 203 via a wireless or wired network for communication. For each of the multiple terminals 204, a terminal 204 can be connected to an access point device in the multiple access point devices 203 via a wireless or wired network for communication. That is, a terminal 204 can be associated with an access point device in the multiple access point devices 203.

[0152] The data detector 201 may send reference category information to the data analyzer 202, where the reference category information refers to category information corresponding to one or more first terminals. In this way, the data analyzer 202 may identify one or more first terminals based on the reference category information sent by the data detector 201 to determine a reference terminal identification identifier, where the reference terminal identification identifier refers to a terminal identification identifier corresponding to the one or more first terminals, which may also be referred to as a model ID. Afterwards, the data analyzer 202 may send the reference terminal identification identifier to the data detector 201 and multiple access devices 203.

[0153] The data detector 201 may also detect the one or more first terminals multiple times according to the reference terminal identification identifier to determine multiple sets of portrait detection data, and send the multiple sets of portrait detection data to the data analyzer 202. In this way, the data analyzer 202 may determine the reference terminal portrait according to the multiple sets of portrait detection data, and the reference terminal portrait refers to the terminal portrait corresponding to the terminal with reference category information. Afterwards, the data analyzer 202 may send the reference terminal portrait to multiple access point devices 203.

[0154] The access point device 203 can cooperate with the data detector 201 to perform multiple detections on one or more first terminals to determine the above-mentioned multiple groups of portrait detection data. The access point device 203 can also apply the reference terminal portrait to the terminal with reference category information according to the reference terminal identification identifier and the reference terminal portrait sent by the data analyzer 202, for example, roaming guidance is performed on the terminal with reference category information according to the reference terminal identification identifier and the reference terminal portrait.

[0155] Optionally, after the access point device 203 applies the reference terminal portrait to the terminals with reference category information, it can also determine some log data of these terminals before and after the reference terminal portrait is applied, and report it to the data detector 201. In this way, the data detector 201 can determine multiple groups of portrait quality data according to the received log data, and then the data detector 201 can send the multiple groups of portrait quality data to the data analyzer 202, and the data analyzer 202 evaluates the reference terminal portrait to determine whether the corresponding terminal portrait needs to be re-determined.

[0156] In the embodiment of the present application, in addition to the above functions, the access point device 203 can also provide communication services for the terminal 204. That is, the access point device associated with the terminal 204 can provide communication services for the terminal 204. For example, the terminal 204 can send data packets to other devices through the access point device associated with the terminal 204, or can also receive data packets sent by other devices through the access point device associated with the terminal 204, and so on.

[0157] It should be noted that the data detector 201 and the data analyzer 202 can be deployed on two different network devices, or can be deployed on the same network device. For example, the network device can be a server with computing capabilities, an access controller (AC), an access point device with computing capabilities, etc.

[0158] In addition, the network involved in the implementation environment may be a WLAN. The network architecture involved in the implementation environment may be deployed in a variety of areas such as a shopping mall, a supermarket, an office building or a parking lot.

[0159] Please refer to Figure 3 , Figure 3 is a schematic diagram of a network device according to an embodiment of the present application, the network device may be Figure 2 The data detector 201 shown in FIG. 2 may also be a data analyzer 202 or an access point device 203. The network device may include one or more processors 301, a communication bus 302, a memory 303, and one or more communication interfaces 304.

[0160] The processor 301 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, or may be one or more integrated circuits for implementing the solution of the present application, such as an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0161] The communication bus 302 is used to transmit information between the above components. The communication bus 302 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0162] The memory 303 may be a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable read-only memory (EEPROM), an optical disc (including a compact disc read-only memory (CD-ROM), a compressed optical disc, a laser disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 303 may exist independently and be connected to the processor 301 via the communication bus 302. The memory 303 may also be integrated with the processor 301.

[0163] The communication interface 304 uses any transceiver-like device for communicating with other devices or communication networks. The communication interface 304 includes a wired communication interface and may also include a wireless communication interface. Among them, the wired communication interface may be, for example, an Ethernet interface. The Ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a wireless local area network (WLAN) interface, a cellular network communication interface, or a combination thereof, etc.

[0164] In some embodiments, the network device may include multiple processors, such as Figure 3 301 and processor 305 shown in FIG. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0165] In a specific implementation, as an embodiment, the network device may further include an output device 306 and an input device 307. The output device 306 communicates with the processor 301 and may display information in a variety of ways. For example, the output device 306 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 307 communicates with the processor 301 and may receive user input in a variety of ways. For example, the input device 307 may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0166] In some embodiments, the memory 303 is used to store the program code 310 for executing the solution of the present application, and the processor 301 can execute the program code 310 stored in the memory 303. The program code may include one or more software modules, and the network device may implement the following by the processor 301 and the program code 310 in the memory 303. Figure 4 The embodiment provides a method for determining a terminal portrait.

[0167] After explaining the terms and implementation environment involved in the embodiments of the present application, the method for determining the terminal portrait provided by the embodiments of the present application is explained in detail. In the embodiments of the present application, the data analyzer and the data detector are deployed on two different network devices as an example for explanation, that is, the data analyzer and the data detector are used as two different devices for explanation. Please refer to Figure 4 , Figure 4This is a flow chart of a method for determining a terminal portrait provided by an embodiment of the present application. The method includes the following steps.

[0168] Step 401: The data analyzer obtains reference category information from the data detector, where the reference category information refers to category information of one or more first terminals.

[0169] It should be noted that when the reference category information refers to the category information of multiple first terminals, the multiple first terminals may belong to the same category. In other words, the multiple first terminals may have the same category information, and the category information may be referred to as reference category information. In some embodiments, the reference category information may include a model identification, or the reference category information may include a model identification and an operating system version identification. That is, the models of the multiple first terminals may be the same, or the models and operating system versions of the multiple first terminals may be the same. Of course, the above is only an exemplary description of the content included in the reference category information. In some other embodiments, the reference category information may also include other information, such as the type of terminal, etc. The type may refer to whether the terminal is a mobile phone, a notebook, or another type of device.

[0170] It is worth noting that the version identifier of the operating system may refer to an identifier that can identify the type of the operating system and the version of the operating system. For example, the version identifier of the operating system may be IOS8.1.1, Android4.3.1, etc.

[0171] In some embodiments, the message that the terminal communicates with other devices usually carries the terminal's own media access control (MAC) address, model description information, operating system version description information, terminal type and other information. Therefore, the data detector can extract this information from these messages to determine the reference category information. For example, when the data message sent by the terminal is an http message, the http message can carry the terminal's MAC address, and the user-agent field of the http message can carry the terminal's model description information, the operating system version description information, and the terminal type. Therefore, when the reference category information includes a model identifier, the data detector can obtain the terminal's model description information from the http message to determine the terminal's model identifier. When the reference category information includes a model identifier and an operating system version identifier, the data detector can obtain the terminal's model description information and the operating system version description information from the http message to determine the terminal's model identifier and the operating system version identifier. For example, the model description information can be huaweiP30, iphone 8, etc. The version description information of the operating system may be Andeoid8.0.0, Andeoid8.0.1, and so on.

[0172] Since the model description information of different models of terminals is different, the data detector can distinguish different models of terminals according to the difference in model description information. That is, taking the first reference terminal as an example, the data detector can directly use the model description information of the first reference terminal as the model identification of the first reference terminal. Of course, the data detector can also distinguish the model of the first reference terminal according to the model description information of the first reference terminal, and then assign the corresponding model identification to the first reference terminal. Similarly, the version description information of different versions of operating systems is also different. Therefore, the data detector can distinguish different versions of operating systems according to the difference in version description information. That is, taking the first reference terminal as an example, the data detector can directly use the version description information of the operating system of the first reference terminal as the version identification of the operating system of the first reference terminal. Of course, the data detector can also distinguish the operating system of the first reference terminal according to the version description information of the operating system of the first reference terminal, and then assign the corresponding operating system version identification to the first reference terminal. Among them, the first reference terminal refers to one of the one or more first terminals.

[0173] After the data detector determines the reference category information, the data detector can store the reference category information and send it to the data analyzer when the data analyzer requests the category information of the one or more first terminals. Of course, after the data detector determines the reference category information, the data detector can directly send the reference category information to the data analyzer without the data analyzer requesting it, thereby reducing the number of interactions between the data analyzer and the data detector.

[0174] It should be noted that no matter the data analyzer actively requests reference category information from the data detector or the data detector actively sends the reference category information to the data analyzer, after obtaining the reference category information, the data analyzer can determine that terminal identification of the one or more terminals is required next, and then determine the terminal portraits corresponding to the one or more first terminals.

[0175] In addition, after the data analyzer obtains the reference category information from the data detector, it can also preprocess the reference category information, such as feature extraction, data cleaning, format conversion, filling and removal of abnormal data, etc. For example, the reference category information sent by the data detector to the data analyzer is text-based. In this way, the data analyzer needs to perform natural language processing on the text-based reference category information to extract the required data. Among them, these preprocessing operations can be set according to requirements, and the embodiments of the present application are not limited to this.

[0176] Step 402: The data analyzer determines a reference terminal identification identifier based on the reference category information, where the reference terminal identification identifier refers to a terminal identification identifier corresponding to one or more first terminals.

[0177] In some embodiments, the data analyzer can determine the target category information with the highest similarity to the reference category information from the stored multiple category information, and determine the terminal identification identifier corresponding to the target category information as the reference terminal identification identifier, where each category information in the multiple category information corresponds to a terminal identification identifier.

[0178] Since multiple category information is stored in the data analyzer in advance, and each category information corresponds to a terminal identification identifier, after the data analyzer obtains the reference category information, the reference category information can be matched with the multiple category information, so as to determine one category information with the highest similarity to the reference category information among the multiple category information, and use the determined category information as the target category information, and then determine the terminal identification identifier corresponding to the target category information as the reference terminal identification identifier, which can also be called the terminal identification result corresponding to the one or more first terminals.

[0179] It should be noted that when the data analyzer matches the reference category information with the multiple category information, any matching method may be used, as long as the category information with the highest similarity to the reference category information can be determined from the multiple category information.

[0180] In addition, the terminal identification identifier can be determined by combining one or more information such as the terminal's MAC address, terminal type, terminal model, operating system version, etc., and of course, it can also be allocated based on different information.

[0181] It is worth noting that the data analyzer can not only determine the reference terminal identification identifier by referring to the category information in the above-mentioned manner, but of course, the data analyzer can also determine the reference terminal identification identifier in other ways. For example, the data analyzer can determine whether there is category information that is the same as the reference category information in the category information corresponding to the known terminal identification identifier. If not, then the data analyzer can directly assign a terminal identification identifier to the one or more first terminals, namely, the reference terminal identification identifier.

[0182] Step 403: the data analyzer sends the reference terminal identification identifier to the data detector and multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the data analyzer.

[0183] The data analyzer sends the reference terminal identification identifier to the data detector, so that the data detector can subsequently detect the one or more first terminals according to the reference terminal identification identifier. The data analyzer sends the reference terminal identification identifier to multiple access point devices, so that the access point devices can subsequently apply the corresponding terminal portrait to the terminal. These two aspects will be introduced one by one below and will not be repeated here.

[0184] It should be noted that the multiple access point devices may refer to all access point devices that can communicate with the data analyzer, or may refer to some access point devices that can communicate with the data analyzer.

[0185] Step 404: The data detector performs multiple detections on one or more first terminals according to the reference terminal identification identifier to obtain multiple sets of portrait detection data.

[0186] After the data detector receives the reference terminal identification identifier sent by the data analyzer, the data detector can perform multiple detections on the one or more first terminals according to the reference terminal identification identifier. Taking the first reference terminal as an example, the data detector constructs a detection instruction according to the reference terminal identification identifier, and the data detector sends the detection instruction to the first reference terminal through the access point device associated with the first reference terminal. The data detector receives the log data reported by the first reference terminal before and after receiving the detection instruction through the access point device associated with the first reference terminal, and the data detector determines a set of portrait detection data based on the log data reported by the first reference terminal before and after receiving the detection instruction.

[0187] That is, the data detector can construct a detection instruction, which is used to detect the network capabilities of the first reference terminal. In this way, after the first reference terminal reports log data, a set of portrait detection data can be determined based on the log data, and subsequent terminal portrait identification can be performed.

[0188] It should be noted that for different types of terminal portraits, the information carried in the detection instructions constructed by the data detector may be different, and thus the information included in a set of portrait detection data will also be different.

[0189] For example, when the terminal portrait to be determined is a portrait related to link signal quality measurement, that is, when the portrait type of the terminal portrait to be determined is a link quality measurement type, the detection instruction may carry a reference terminal identification, a link identification, a measurement time, etc., so that, taking the first reference terminal as an example, a corresponding set of portrait detection data may include terminal description information, access point description information, at least one protocol support tag, and corresponding protocol description data. Among them, the terminal description information is used to describe the relevant information of the first reference terminal, such as a MAC address, a terminal identification, etc., the access point description information is used to describe the relevant information of the access point device associated with the first reference terminal, such as the identification of the access point device, etc., the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol. For example, the portrait detection data includes a tag indicating whether the link measurement protocol 802.11k is supported, a tag indicating whether the link measurement protocol 802.11h is supported, description data of the link measurement protocol 802.11k, description data of the link measurement protocol 802.11h, etc.

[0190] When the terminal portrait that needs to be determined is a portrait related to roaming guidance, that is, when the portrait type of the terminal portrait that needs to be determined is a roaming guidance type, since roaming guidance may follow different protocols, such as 11v boot protocol, Deauth protocol, CSA protocol, etc., for different boot protocols, the information carried by the detection instruction may be different, and the information included in the portrait detection data will also be different.

[0191] For the 11v boot protocol, the detection instruction may carry a reference terminal identification identifier, an identifier of a first access point device, an identifier of a second access point device, etc., wherein the first access point device refers to the access point device currently associated with the first reference terminal, and the second access point device refers to the access point device that needs to be associated with the first reference terminal after roaming. In this way, a corresponding set of portrait detection data may include terminal description information, source access point description information, destination access point description information, roaming guidance tags and guidance feature data, the source access point device description information is used to describe the relevant information of the access point device associated with the terminal before roaming, such as the identifier of the first access point device and the identifier of the BSS, the destination access point description information is used to describe the relevant information of the access point device associated with the terminal after roaming, such as the identifier of the second access point device and the identifier of the BSS, the roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful, and the guidance feature data is used to describe the network information of the corresponding terminal when roaming guidance detection is performed and / or the guidance method of roaming guidance detection, such as the signal strength corresponding to the first access point device and the signal strength corresponding to the second access point device. Of course, other data may also be included, such as roaming boot time, load of the second access point device after successful boot, and so on.

[0192] For the Deauth protocol, the detection instruction may carry control information for forcing the first reference terminal to go offline, and the portrait detection data may include a label indicating whether the first reference terminal will not go online again after being forced to go offline, the time interval from forced offline to re-online, the difference in signal strength of the access point devices associated before and after roaming, whether the access point devices associated before and after roaming are in the same cell, etc.

[0193] For the CSA protocol, the detection instruction may carry control information for guiding the first reference terminal to roam, and the portrait detection data may include a tag indicating whether CSA roaming is supported, the time interval for roaming from an associated access point device to another access point device, and so on.

[0194] When the terminal portrait to be determined is a portrait related to network detection, that is, when the portrait type of the terminal portrait to be determined is a network detection type, the detection instruction may carry relevant information of the detection capability currently required to be detected, such as relevant information of the frequency band, relevant information of the channel, etc. In this way, the portrait detection data may include terminal description information, access point description information, detection support tags and detection description data. The terminal description information is used to describe the relevant information of the terminal, such as the MAC address, terminal identification identifier, etc. The access point description information is used to describe the relevant information of the access point device associated with the terminal, such as the identifier of the access point device, etc. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability. The detection description data is used to describe the corresponding detection capability. The detection capability includes frequency bands and / or channels, such as 2.4G or 5G frequency bands.

[0195] Next, taking the 11v boot protocol as an example, the process of the data detector performing multiple detections on one or more first terminals according to the reference terminal identification identifier is described.

[0196] Taking the first reference terminal as an example, after the data detector receives the reference terminal identification identifier sent by the data analyzer, the data detector constructs a roaming guidance instruction, the roaming guidance instruction carries the identifier of the second access point device, and the data detector sends the roaming guidance instruction to the first access point device, so that the second access point device sends the roaming guidance instruction to the first reference terminal, so as to guide the first reference terminal to roam from the first access point device to the second access point device. During the roaming guidance process, the first reference terminal can report the log data before and after roaming to the data detector, so that the data detector can determine a set of portrait detection data based on the received log data.

[0197] In some embodiments, the data detector can obtain the signal strength corresponding to the neighboring access point devices of the first access point device, and select an access point device from these neighboring access point devices as the second access point device according to the signal strength corresponding to these neighboring access point devices, that is, guide the first reference terminal to associate with the access point device after roaming. In addition, for the first reference terminal, the data detector can perform one or more roaming guidance detections on the first reference terminal, and the second access point device determined during each roaming guidance detection can be different. In this way, a terminal portrait with higher accuracy can be determined according to the multiple sets of portrait detection data finally determined.

[0198] The data detector may randomly select an access point device from the neighboring access point devices as the second access point device, or may select an access point device from the neighboring access point devices as the second access point device according to a certain rule. For example, the data detector may filter out neighboring access point devices whose signal strength is within a target strength range from the neighboring access point devices, and then randomly select an access point device from the filtered neighboring access point devices as the second access point device.

[0199] It should be noted that since the first reference terminal itself has a set of built-in roaming rules, this set of roaming rules may be the same as or different from the reference roaming guidance conditions. Therefore, after the roaming guidance detection is performed on the first reference terminal, the first reference terminal may roam or may not roam. That is, after the data detector performs roaming guidance detection on the first reference terminal through the first access point device, the first reference terminal still needs to decide whether to roam according to its own built-in roaming rules. Therefore, the portrait detection data can usually include relevant information of the reference terminal, relevant information of the first access point device, relevant information of the second access point device, roaming guidance time, whether the roaming guidance is successful, and other information.

[0200] By way of example, the portrait detection data may include a reference terminal identification identifier, reference category information, an identifier of the BSS of the first access point device, an identifier of the BSS of the second access point device, a signal strength corresponding to the first access point device, a signal strength corresponding to the second access point device, a roaming guidance time, a MAC address of the reference terminal, a label indicating whether the roaming guidance is successful, and the like.

[0201] It should be noted that the above-listed portrait detection data is only an example. In some other embodiments, the portrait detection data may also include other data, such as frequency band, channel, access point device load, terminal traffic and other data.

[0202] The identifier of the BSS of the access point device may be a MAC address of the access point device, and of course, may also be other information that can uniquely characterize the BSS of the access point device.

[0203] In the embodiment of the present application, the data detector does not unconditionally construct a detection instruction for the first reference terminal to detect the first reference terminal, but needs to determine whether the first reference terminal meets the detection protection condition, so that the detection instruction is constructed only when the first reference terminal meets the detection protection condition to detect the first reference terminal. For different types of portraits, the detection protection conditions are often different.

[0204] Taking the 11v boot protocol as an example, the data detector determines whether the first reference terminal meets the detection protection condition based on the reference terminal identification identifier, including: the data detector obtains the first signal strength and the second signal strength, the first signal strength refers to the signal strength corresponding to the first access point device, and the second signal strength refers to the signal strength corresponding to the second access point device. If the data detector determines that the first signal strength is within the reference strength range, and the difference between the first signal strength and the second signal strength is greater than the strength threshold, the boot protection parameter is determined according to the reference terminal identification identifier, and the boot protection parameter is used to indicate the maximum degree of roaming boot detection for the first reference terminal. If the boot protection parameter meets the boot protection condition, and the first reference terminal is outside the protection whitelist, it is determined that the first reference terminal meets the detection protection condition.

[0205] If the first signal strength is not within the reference strength range, or the first signal strength is within the reference strength range and the difference between the first signal strength and the second signal strength is not greater than the strength threshold, or the first signal strength is within the reference strength range and the difference between the first signal strength and the second signal strength is greater than the strength threshold, but the guided protection reference does not meet the guided protection condition, or the first signal strength is within the reference strength range, the difference between the first signal strength and the second signal strength is greater than the strength threshold, and the guided protection reference meets the guided protection condition, but the first reference terminal is not outside the protection whitelist, then it can be determined that the first reference terminal does not meet the detection protection condition.

[0206] In some embodiments, the bootstrap protection parameter includes the total number of bootstraps for terminals with reference category information, and the bootstrap protection condition includes that the total number of bootstraps is not greater than the number threshold. And / or, the bootstrap protection parameter includes the average bootstrap time interval of the first reference terminal, and the bootstrap protection condition includes that the average bootstrap time interval is greater than the duration threshold. And / or, the bootstrap protection parameter includes the total number of terminals for which the first access point device performs roaming bootstrap detection, and the bootstrap protection condition includes that the total number of terminals is not greater than the number threshold.

[0207] It should be noted that the reference intensity range, intensity threshold, and protection whitelist can be set as needed, and the embodiments of the present application do not limit this. In addition, the above method for determining whether the first reference terminal meets the detection protection condition is only an example. The embodiments of the present application can also determine whether the first reference terminal meets the detection protection condition by other methods. For example, the data detector can directly determine the guidance protection parameter based on the reference terminal identification identifier. If the guidance protection parameter meets the guidance protection condition and the first reference terminal is outside the protection whitelist, it is determined that the first reference terminal meets the detection protection condition.

[0208] For example, Figure 5As shown, the data detector determines that the first signal strength is within the range of -75 to 50. If the data detector determines that the first signal strength is not within the range of -75 to 50, it is determined that the first reference terminal does not meet the detection protection condition. If the data detector determines that the first signal strength is within the range of -75 to 50, it is determined whether the difference between the first signal strength and the second signal strength is greater than 10. If the difference between the first signal strength and the second signal strength is not greater than 10, it is determined that the first reference terminal does not meet the detection protection condition. If the difference between the first signal strength and the second signal strength is greater than 10, it is determined whether at least one of the three conditions of guiding at most 500 times under the reference category information, guiding once every 15 seconds on average, and guiding at most 5 terminals under one access point device is met. If not, it is determined that the first reference terminal does not meet the detection protection condition. If it is met, it is determined whether the first reference terminal is outside the protection whitelist. If the first reference terminal is not outside the protection whitelist, it is determined that the first reference terminal does not meet the detection protection condition. If the first reference terminal is outside the protection whitelist, it is determined that the first reference terminal meets the detection protection condition.

[0209] Step 405: The data analyzer obtains multiple sets of portrait detection data from the data detector, where the multiple sets of portrait detection data are determined by performing multiple detections on one or more first terminals having reference category information.

[0210] In some embodiments, after the data detector determines the multiple sets of portrait detection data in step 404, the multiple sets of portrait detection data can be directly sent to the data analyzer. Of course, after the data detector determines the multiple sets of portrait detection data in step 404, the multiple sets of portrait detection data can be stored. Thereafter, when the data analyzer requests the multiple sets of portrait detection data, the data detector sends the multiple sets of portrait detection data to the data analyzer.

[0211] It should be noted that when the data detector performs multiple detections on one or more first terminals, it can store the corresponding detection records and log data reported by the corresponding terminals. When it is necessary to send multiple sets of portrait detection data to the data analyzer subsequently, data integration is performed based on the stored detection records and log data to determine multiple sets of portrait detection data.

[0212] In addition, after the data analyzer obtains multiple sets of portrait detection data from the data detector, it can also pre-process the multiple sets of portrait detection data, such as feature extraction, data cleaning, format conversion, filling and removal of abnormal data, etc. Among them, these pre-processing operations can be set according to requirements, and the embodiments of the present application are not limited to this.

[0213] Step 406: The data analyzer determines a reference terminal portrait based on multiple sets of portrait detection data. The reference terminal portrait refers to a terminal portrait corresponding to a terminal having reference category information.

[0214] In the embodiment of the present application, the data analyzer can determine the reference terminal portrait in a variety of ways according to multiple sets of portrait detection data, one of which is introduced below.

[0215] The data analyzer extracts corresponding key feature data from each set of portrait detection data in the multiple sets of portrait detection data according to the reference portrait type, where the reference portrait type refers to the type corresponding to the terminal portrait that needs to be determined at present. The data analyzer determines the reference terminal portrait according to the extracted multiple key feature data.

[0216] It should be noted that the data analyzer may determine the reference terminal portrait according to the extracted multiple key feature data in a variety of ways, for example, the reference terminal portrait may be determined according to a statistical model, or according to a supervised learning model or an unsupervised learning model. Among them, the statistical model may include an average model, a median model, a mode model, a percentage model, etc., the supervised learning model may include a logistic regression model, a support vector machine model, a neural network model, etc., and the unsupervised learning model may include a clustering model, a binary classification model, an N-sigma threshold model, etc.

[0217] In some embodiments, the data analyzer can determine the corresponding model as the portrait determination model from the correspondence between the stored portrait type and the model according to the reference portrait type, and the portrait determination model refers to the model that currently determines the reference terminal portrait. In this way, the data analyzer can perform incremental learning through the portrait determination model based on the extracted multiple key feature data to obtain the reference terminal portrait, thereby ensuring that the accuracy of the determined reference terminal portrait is high. In addition, the embodiment of the present application detects one or more first terminals to obtain multiple groups of portrait detection data, so that after determining the reference terminal portrait according to the multiple groups of portrait detection data, the reference terminal portrait can be made closer to the network capability of the terminal itself, thereby improving the accuracy of the reference terminal portrait.

[0218] Among them, when the data analyzer performs incremental learning through the portrait determination model based on the extracted multiple key feature data, it can randomly select a part of the data from the extracted multiple key feature data, learn the characteristics of this part of the data through the portrait determination model, and then determine a terminal portrait. If the determined terminal portrait does not converge, then the portrait determination model can continue to learn the characteristics of other data until the determined terminal portrait converges, and the converged terminal portrait is used as a reference terminal portrait.

[0219] The terminal portrait convergence may mean that the terminal portrait remains unchanged, or the change in the terminal portrait is less than a specified value, and the specified value is very small.

[0220] It should be noted that when the reference portrait type is different, the extracted key feature data will also be different. For example, when the reference portrait type is a link quality measurement type, the key feature data includes a protocol support tag and a protocol description data, the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol. When the reference portrait type is a roaming guidance type, the key feature data includes a roaming guidance tag and guidance feature data, the roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful (i.e., whether the terminal is successfully guided to roam), and the guidance feature data is used to describe the network information of the corresponding terminal when it is roaming guided and / or the guidance method of roaming guidance detection. Among them, the network information of the corresponding terminal when it is roaming guided may include access point data and terminal data, and the access point data may include access point device network information, such as signal strength, load, channel, number of associated terminals, frequency band, etc. If the roaming guidance is successful, the access point data may include network information of the access point device associated with the terminal before and / or after roaming. If the roaming guidance fails, the access point data may include the network information of the access point device associated with the terminal when roaming guidance is performed and the network information of the neighboring access point device of the guidance destination. The terminal data may include the service type, traffic, etc. of the service performed by the terminal when performing roaming guidance detection. The guidance method for roaming guidance detection may include the guidance protocol used by roaming guidance detection and its protocol parameter value, guidance frequency, etc. When the reference portrait type is a network detection type, the key feature data includes a detection support tag and detection description data. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability. The detection description data is used to describe the corresponding detection capability. The detection capability includes frequency bands and / or channels.

[0221] Taking the 11v boot protocol as an example, the key feature data extracted by the data analyzer from multiple groups of portrait detection data may include a roaming boot tag and boot feature data, wherein the roaming boot tag is used to indicate whether the roaming boot detection of the corresponding terminal is successful, and the boot feature data is used to describe the network information of the corresponding terminal when it is roaming boot detected and / or the boot method for roaming boot detection. For example, the boot feature data may include a model identifier, an operating system version identifier, a terminal type, a signal strength corresponding to an access point device associated with the terminal before roaming, and a signal strength corresponding to an access point device associated with the terminal after roaming.

[0222] When the reference portrait type is a link quality measurement type, the reference terminal portrait may include reference category information and protocol support data, and the protocol support data is used to describe the link quality measurement protocol supported by the terminal. For example, if the reference terminal portrait is a terminal portrait corresponding to a terminal having the reference category information, the terminal having the reference category information may support the link quality measurement protocol described by the protocol support data.

[0223] When the reference portrait type is a roaming guidance type, the reference terminal portrait may include reference category information and roaming guidance conditions applicable to one or more detected first terminals (such as applicable roaming network condition standards) and / or applicable guidance methods. Roaming network conditions refer to the network conditions that the two access point devices must meet when the terminal roams from one access point device to another access point device. The network conditions may be signal strength, channel utilization, frequency band, number of associated terminals, channel bandwidth, etc. For example, the network condition standard may be a signal strength standard, such as one or more of the signal strength threshold corresponding to the source access point device, the signal strength threshold corresponding to the destination access point device, and the signal strength gain threshold between the source access point device and the destination access point device. Subsequently, the technician may determine the roaming guidance conditions and / or applicable guidance methods corresponding to the terminal with the reference category information for the reference terminal portrait, and then roam guide such terminals according to the roaming guidance conditions and / or applicable guidance methods.

[0224] When the reference portrait type is a network detection type, the reference terminal portrait may include reference category information and capability support data, and the capability support data is used to describe the detection capabilities supported by the terminal. For example, if the reference terminal portrait is a terminal portrait corresponding to a terminal having the reference category information, then the terminal having the reference category information can support the detection capabilities described by the capability support data. For example, if the capability support data includes the 5G frequency band, then it can be determined that the terminal having the reference category information can support the 5G frequency band.

[0225] For example, the multiple groups of portrait detection data obtained by the data analyzer from the data detector may be shown in Table 1 below. The roaming guidance label and guidance feature data extracted by the data analyzer from each group of portrait detection data in the multiple groups of portrait detection data may be shown in Table 2 below. Assuming that the portrait determination model is a binary classification model, the data analyzer can perform incremental learning through the binary classification model according to the data in Table 2 to obtain a reference terminal portrait as shown in Table 3 below.

[0226] Table 1

[0227]

[0228] Table 2

[0229] M-ID Category Information Source signal strength Destination signal strength Roaming Guide Tags 1186 Information 1 -59 -67 0 1186 Information 1 -62 -71 0 1186 Information 1 -71 -66 1 1186 Information 1 -66 -71 0

[0230] Table 3

[0231] M-ID Category Information Source Strength Threshold Intent Strength Threshold Strength gain threshold 1186 Information 1 -50 -69 -17

[0232] Among them, in the above Tables 1 to 3, M-ID refers to the terminal identification identifier, MAC refers to the MAC address of the terminal, the source ID refers to the identifier of the BSS of the source access point device, the source signal strength refers to the signal strength corresponding to the source access point device, the destination ID refers to the identifier of the BSS of the destination access point device, the destination signal strength refers to the signal strength corresponding to the destination access point device, T refers to the roaming guidance time, the source strength threshold refers to the threshold compared with the signal strength of the source access point device, the destination strength threshold refers to the threshold compared with the signal strength of the destination access point device, and the strength gain threshold refers to the threshold compared with the difference in signal strength between the source access point device and the destination access point device.

[0233] After the data analyzer determines the reference terminal portrait by roaming guidance detection, the data analyzer can store the characteristic data of one or more first terminals and the reference terminal portrait in correspondence. In this way, for other terminals, for example, one or more target terminals, when determining the terminal portrait corresponding to one or more target terminals, the terminal characteristic data can be directly obtained, and the terminal characteristic data is used to describe the characteristics of a target terminal, or the common characteristics of multiple target terminals. The data analyzer determines the target characteristic data with the highest similarity to the terminal characteristic data from the stored multiple characteristic data, each of the multiple characteristic data corresponds to a terminal portrait, and the terminal portrait corresponding to the multiple characteristic data includes the reference terminal portrait, that is, the terminal portrait corresponding to the multiple characteristic data can be determined by roaming guidance detection. Afterwards, the data analyzer determines the terminal portrait corresponding to the target characteristic data as the terminal portrait of one or more target terminals. In this way, the speed and efficiency of determining the terminal portrait can be improved, and for the case where there are many operating system versions, the efficiency can be further improved.

[0234] Since the data analyzer stores multiple feature data in advance, and each feature data corresponds to a terminal portrait, after the data analyzer obtains the terminal feature data, it can match the terminal feature data with the multiple feature data, thereby determining one feature data with the highest similarity to the terminal feature data among the multiple feature data, and using the determined feature data as the target feature data, and then determining the terminal portrait corresponding to the target feature data as the terminal portrait of one or more target terminals.

[0235] The terminal characteristic data includes part or all of the category information, and may also include other data other than the category information. For example, the terminal characteristic data may include the terminal type, model identification, operating system version identification, and the like.

[0236] In addition, when the data analyzer matches the terminal feature data with multiple feature data, any matching method can be used as long as one feature data with the highest similarity to the terminal feature data can be determined from the multiple feature data.

[0237] Step 407: The data analyzer sends the reference terminal portrait to multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the data analyzer.

[0238] It should be noted that the multiple access point devices may refer to all access point devices that can communicate with the data analyzer, or may refer to some access point devices that can communicate with the data analyzer.

[0239] After the data analyzer sends the reference terminal portrait to multiple access point devices, the access point devices may apply the reference terminal portrait to the terminals having the reference category information.

[0240] Optionally, after the data analyzer sends the reference terminal portrait to multiple access point devices, it can also evaluate the terminal portraits corresponding to the multiple second terminals through the following steps (1)-(3).

[0241] (1) The data analyzer obtains multiple sets of portrait quality data from the data detector, where the multiple sets of portrait quality data refer to the quality data before and after the reference terminal portrait is applied to multiple second terminals with reference category information.

[0242] Based on the above description, after the data analyzer sends the reference terminal portrait to multiple access point devices, the access point devices can apply the reference terminal portrait to the terminal with reference category information. In the process of the access point device applying the reference terminal portrait to the terminal with reference category information, the data detector can determine multiple sets of portrait quality data. After the data detector determines multiple sets of portrait quality data, on the one hand, the data detector can directly send the multiple sets of portrait quality data to the data analyzer, so that the data analyzer evaluates the terminal portraits corresponding to multiple second terminals based on the multiple sets of portrait quality data. On the other hand, the data detector can store multiple sets of portrait quality data, and when the data analyzer subsequently requests multiple sets of portrait quality data, the data detector will send multiple sets of portrait quality data to the data analyzer again.

[0243] In some embodiments, the second terminal periodically reports its own log data to the access point device associated with it. The access point device forwards the log data reported by the second terminal to the data detector. Since the access point device applies the reference terminal portrait on the second terminal, the data detector can determine the portrait quality data through the log data reported by the second terminal.

[0244] Taking the second reference terminal as an example, the implementation process of the data detector determining the portrait quality data includes: the data detector determines the moment when the second reference terminal applies the reference terminal portrait, and obtains the portrait application moment, and the second reference terminal is one of the multiple second terminals. The data detector can determine a set of portrait quality data based on the portrait application moment and the log data reported by the second reference terminal.

[0245] It should be noted that a set of portrait quality data may include one or more quality indicator data. Taking the 11v boot protocol as an example, one or more quality indicator data may include roaming success rate, signal gain before and after roaming, etc. In addition, a set of portrait quality data may include a reference terminal identification, a terminal MAC address, reference category information, etc. in addition to one or more quality indicator data.

[0246] In addition, after the data analyzer obtains multiple sets of image quality data from the data detector, it can also pre-process the multiple sets of image quality data, such as feature extraction, data cleaning, format conversion, filling and removal of abnormal data, etc. Among them, these pre-processing operations can be set according to requirements, and the embodiments of the present application are not limited to this.

[0247] (2) The data analyzer determines one or more third terminals from the multiple second terminals based on the multiple sets of portrait quality data. The one or more third terminals refer to the terminals among the multiple second terminals whose quality is not improved after applying the reference terminal portrait.

[0248] In some embodiments, the data analyzer determines a category splitting value corresponding to each second terminal in a plurality of second terminals based on one or more quality indicator data included in each group of image quality data in the plurality of groups of image quality data, and the category splitting value is used to characterize the roaming quality of the corresponding terminal. The data analyzer selects a second terminal whose corresponding category splitting value is greater than or equal to the splitting threshold from the plurality of second terminals to obtain one or more third terminals.

[0249] It should be noted that different quality indicator data may follow different quality standards. For example, for the roaming success rate, when the roaming success rate is less than the success rate threshold, it is determined that the roaming success rate does not meet the quality standard, and when the roaming success rate is greater than or equal to the success rate threshold, it is determined that the roaming success rate meets the quality standard. For the signal gain before and after roaming, when the signal gain before and after roaming is less than the gain threshold, it is determined that the signal gain before and after roaming meets the quality standard, and when the signal gain before and after roaming is greater than or equal to the gain threshold, it is determined that the signal gain before and after roaming does not meet the quality standard.

[0250] In some embodiments, for each set of portrait quality data in the multiple sets of portrait quality data, the data analyzer may filter out quality indicator data that does not meet the quality standard from the set of portrait quality data, form the filtered quality indicator data into a vector, referred to as a first vector, and form the indicator thresholds corresponding to the filtered quality indicator data into a vector, referred to as a second vector. Determine the distance between the first vector and the second vector, and use the determined distance as the category splitting value of the second terminal corresponding to the set of portrait quality data.

[0251] It should be noted that the distance between the first vector and the second vector may be Euclidean distance, Mahalanobis distance, Manhattan distance, Chebyshev distance, or the like.

[0252] In addition, the split threshold can be set as required, and the embodiment of the present application does not limit this.

[0253] (3) The data analyzer reallocates a terminal identification identifier to the one or more third terminals, and re-determines the terminal portraits corresponding to the one or more third terminals.

[0254] Since the smaller the category splitting value, the better the corresponding communication quality, and the larger the category splitting value, the worse the corresponding communication quality, the data analyzer can select the second terminal whose corresponding category splitting value is greater than or equal to the splitting threshold from the multiple second terminals, and then use the selected second terminal as one or more third terminals, thereby reallocating a terminal identification identifier to one or more third terminals and redetermining the corresponding terminal portrait.

[0255] It should be noted that, based on the above description, after multiple detections are performed on one or more first terminals to determine multiple sets of portrait detection data, the accuracy of the terminal portrait determined by incremental learning is relatively high. Therefore, in an embodiment of the present application, the data analyzer can follow the above steps 403-406 to re-determine the terminal portrait corresponding to one or more third terminals through incremental learning.

[0256] For example, taking the 11v boot protocol as an example, the multiple groups of portrait quality data obtained by the data analyzer from the data detector can be shown in Table 4 below, and the type splitting value determined by the data analyzer for each group of portrait quality data can be shown in Table 5. Assuming that the splitting threshold is 0.8, since the category splitting values ​​corresponding to the terminals in the second row and the terminals in the third row in Table 5 are greater than or equal to the splitting threshold, a terminal identification identifier 11860 can be reassigned to the terminals in the second row and the terminals in the third row, and the terminal portraits corresponding to the two terminals can be re-determined.

[0257] Table 4

[0258] M-ID MAC Category Information Roaming guidance success rate Signal gain before and after roaming 1186 MAC1 Information 1 0.18 0 1186 MAC2 Information 1 0.89 5 1186 MAC3 Information 1 0.9 10 1186 MAC4 Information 1 0.28 6

[0259] Table 5

[0260] M-ID MAC Category Information Class splitting value New M-ID 1186 MAC1 Information 1 0.2 - 1186 MAC2 Information 1 0.8 11860 1186 MAC3 Information 1 0.9 11860 1186 MAC4 Information 1 0.35 -

[0261] In summary, in an embodiment of the present application, the data detector can construct a detection instruction, and perform multiple detections on one or more first terminals through the constructed detection instruction, so as to determine multiple groups of portrait detection data. In this way, the data analyzer can determine the reference terminal portrait according to the multiple groups of portrait detection data. In other words, the embodiment of the present application detects the terminal online, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, thereby adapting the category of the terminal. In addition, after the data analyzer sends the reference terminal portrait to the access point device, the access point device can apply the reference terminal portrait to the terminal. Afterwards, the data detector can determine multiple groups of portrait quality data, so that the data analyzer can optimize the terminal portrait according to the multiple groups of portrait quality data, thereby further improving the accuracy of the terminal portrait.

[0262] In the embodiment of the present application, the data analyzer and the data detector are deployed on the same network device as an example for explanation, that is, the network device on which the data analyzer and the data detector are deployed is used as the execution subject for explanation. Figure 6 , Figure 6 This is a flow chart of a method for determining a terminal portrait provided by an embodiment of the present application. The method includes the following steps.

[0263] Step 601: A network device obtains reference category information, where the reference category information refers to category information of one or more first terminals.

[0264] In some embodiments, the messages that the terminal communicates with other devices usually carry the terminal's own media access control (MAC) address, model description information, operating system version description information, terminal type, etc. Therefore, the network device can extract this information from these messages and then determine the reference category information.

[0265] It should be noted that other contents in step 601 can refer to the relevant description in step 401, and this embodiment of the present application will not go into details therein.

[0266] Step 602: The network device determines a reference terminal identification identifier according to the reference category information, where the reference terminal identification identifier refers to a terminal identification identifier corresponding to one or more first terminals.

[0267] It should be noted that the content in step 602 can refer to the relevant description in step 402, and this embodiment of the present application will not go into details.

[0268] Step 603: The network device sends the reference terminal identification identifier to multiple access point devices, where the multiple access point devices refer to the access point devices that can communicate with the data analyzer.

[0269] The network device sends the reference terminal identifier to multiple access point devices, so that the access point devices can subsequently apply the corresponding terminal portrait to the terminal.

[0270] Step 604: The network device performs multiple detections on one or more first terminals according to the reference terminal identification identifier to obtain multiple sets of portrait detection data.

[0271] It should be noted that the content in step 604 can refer to the relevant description in step 404, and this embodiment of the application will not go into details.

[0272] Step 605: The network device determines a reference terminal portrait based on multiple sets of portrait detection data. The reference terminal portrait refers to a terminal portrait corresponding to a terminal having reference category information.

[0273] It should be noted that the content in step 605 can refer to the relevant description in step 406, and this embodiment of the application will not go into details.

[0274] Step 606: The network device sends the reference terminal portrait to multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the data analyzer.

[0275] It should be noted that the content in step 606 can refer to the relevant description in step 407, and this embodiment of the present application will not go into details.

[0276] In summary, in an embodiment of the present application, a network device may construct a detection instruction, and perform multiple detections on one or more first terminals through the constructed detection instruction, thereby determining multiple groups of portrait detection data. In this way, the network device may determine a reference terminal portrait according to the multiple groups of portrait detection data. In other words, the embodiment of the present application detects the terminal online, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, thereby adapting the category of the terminal. In addition, after the network device sends the reference terminal portrait to the access point device, the access point device may apply the reference terminal portrait to the terminal. Afterwards, the network device may determine multiple groups of portrait quality data, thereby optimizing the terminal portrait according to the multiple groups of portrait quality data, and further improving the accuracy of the terminal portrait.

[0277] Figure 7 1 is a schematic diagram of a structure of a device for determining a terminal portrait provided in an embodiment of the present application, and the device is located in a network device. The device can be implemented by software, hardware, or a combination of both to become part or all of the network device. Figure 7 , the device includes: a first acquisition module 701 and a first determination module 702.

[0278] A first acquisition module 701 is used to acquire multiple sets of portrait detection data, where the multiple sets of portrait detection data are determined by performing multiple detections on one or more first terminals;

[0279] The first determination module 702 is used to determine a reference terminal portrait according to multiple groups of portrait detection data.

[0280] Optionally, the multiple first terminals belong to the same category, and the category information is reference category information, and the reference terminal portrait refers to a terminal portrait corresponding to the terminal having the reference category information.

[0281] Optionally, the first determining module 702 is used to:

[0282] According to the reference portrait type, corresponding key feature data is extracted from each set of portrait detection data in the multiple sets of portrait detection data, where the reference portrait type refers to the type corresponding to the terminal portrait that needs to be determined at present;

[0283] Based on the extracted multiple key feature data, a reference terminal portrait is determined.

[0284] Optionally, when the reference portrait type is a link quality measurement type, the key feature data includes a protocol support tag and protocol description data, the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol;

[0285] When the reference profile type is a roaming guidance type, the key feature data includes a roaming guidance tag and guidance feature data, the roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful, and the guidance feature data is used to describe the network information of the corresponding terminal when the roaming guidance detection is performed and / or the guidance method for performing the roaming guidance detection;

[0286] When the reference portrait type is a network detection type, the key feature data includes a detection support tag and detection description data. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability. The detection description data is used to describe the corresponding detection capability. The detection capability includes frequency bands and / or channels.

[0287] Optionally, the device further comprises:

[0288] A second acquisition module is used to acquire terminal feature data, where the terminal feature data is used to describe features of a target terminal or common features of multiple target terminals;

[0289] A second determination module is used to determine target feature data having the highest similarity to the terminal feature data from a plurality of stored feature data, each feature data in the plurality of feature data corresponding to a terminal portrait, and the terminal portraits corresponding to the plurality of feature data include the reference terminal portrait;

[0290] The third determination module is used to determine the terminal portrait corresponding to the target feature data as the terminal portrait of one or more target terminals.

[0291] Optionally, the device further comprises:

[0292] The third acquisition module is used to obtain reference category information;

[0293] A fourth determining module, configured to determine a reference terminal identification identifier according to the reference category information, where the reference terminal identification identifier refers to a terminal identification identifier corresponding to one or more first terminals;

[0294] The detection module is used to perform multiple detections on one or more first terminals according to the reference terminal identification identifier.

[0295] Optionally, the network device is a data analyzer, and the data analyzer is capable of communicating with the data detector;

[0296] The device also includes:

[0297] A third acquisition module is used to obtain reference category information from a data detector;

[0298] A fourth determining module, configured to determine a reference terminal identification identifier according to the reference category information, where the reference terminal identification identifier refers to a terminal identification identifier corresponding to one or more first terminals;

[0299] The first sending module is used to send the reference terminal identification identifier to the data detector, so that the data detector performs multiple detections on one or more first terminals according to the reference terminal identification identifier.

[0300] Optionally, the fourth determining module is used to:

[0301] Determine, from the stored multiple categories of information, target category information having the highest similarity to the reference category information, each of the multiple categories of information corresponding to a terminal identification identifier;

[0302] The terminal identification identifier corresponding to the target category information is determined as the reference terminal identification identifier.

[0303] Optionally, the device further comprises:

[0304] The second sending module is used to send the reference terminal identification identifier to multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the network device.

[0305] Optionally, the device further comprises:

[0306] The third sending module is used to send the reference terminal portrait to multiple access point devices, where the multiple access point devices refer to access point devices that can communicate with the network device.

[0307] Optionally, the device further comprises:

[0308] A fourth acquisition module is used to acquire multiple sets of portrait quality data, where the multiple sets of portrait quality data refer to quality data before and after the reference terminal portrait is applied to multiple second terminals with reference category information;

[0309] a fifth determining module, configured to determine one or more third terminals from the plurality of second terminals according to the plurality of sets of portrait quality data, wherein the one or more third terminals refer to terminals whose quality is not improved after applying the reference terminal portrait among the plurality of second terminals;

[0310] An allocating module, used to reallocate a terminal identification identifier to one or more third terminals;

[0311] The sixth determination module is used to re-determine the terminal portraits corresponding to one or more third terminals.

[0312] Optionally, each set of portrait quality data in the multiple sets of portrait quality data includes one or more quality indicator data;

[0313] The fifth determination module is used for:

[0314] Determine, according to one or more quality indicator data included in each set of portrait quality data in the multiple sets of portrait quality data, a category splitting value corresponding to each second terminal in the multiple second terminals, where the category splitting value is used to characterize the roaming quality of the corresponding terminal;

[0315] From the multiple second terminals, second terminals whose corresponding category splitting values ​​are greater than or equal to the splitting threshold are selected to obtain one or more third terminals.

[0316] Optionally, the reference category information includes a model identifier, or the reference category information includes a model identifier and a version identifier of an operating system.

[0317] In summary, in an embodiment of the present application, the data detector can construct a detection instruction, and perform multiple detections on one or more first terminals through the constructed detection instruction, so as to determine multiple groups of portrait detection data. In this way, the data analyzer can determine the reference terminal portrait according to the multiple groups of portrait detection data. In other words, the embodiment of the present application detects the terminal online, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, thereby adapting the category of the terminal. In addition, after the data analyzer sends the reference terminal portrait to the access point device, the access point device can apply the reference terminal portrait to the terminal. Afterwards, the data detector can determine multiple groups of portrait quality data, so that the data analyzer can optimize the terminal portrait according to the multiple groups of portrait quality data, thereby further improving the accuracy of the terminal portrait.

[0318] It should be noted that: the device for determining the terminal portrait provided in the above embodiment only uses the division of the above functional modules as an example when determining the terminal portrait. In actual applications, the above functions can be assigned 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. In addition, the device for determining the terminal portrait provided in the above embodiment and the method embodiment for determining the terminal portrait belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0319] Figure 8 is a schematic diagram of the structure of a device for determining a terminal portrait provided in an embodiment of the present application, and the device is located in a data detector. The device can be implemented by software, hardware, or a combination of both to become part or all of the data detector. Figure 8 , the device includes: a first determining module 801 and a first sending module 802.

[0320] A first determination module 801 is used to determine multiple sets of portrait detection data, where the multiple sets of portrait detection data are determined by performing multiple detections on one or more first terminals having reference category information;

[0321] The first sending module 802 is used to send multiple groups of portrait detection data to the data analyzer, so that the data analyzer determines the reference terminal portrait according to the multiple groups of portrait detection data. The reference terminal portrait refers to the terminal portrait corresponding to the terminal with reference category information.

[0322] Optionally, the first determining module 801 includes:

[0323] An acquisition submodule, configured to acquire a reference terminal identification identifier, where the reference terminal identification identifier refers to a terminal identification identifier corresponding to one or more first terminals;

[0324] The detection submodule is used to perform multiple detections on one or more first terminals according to the reference terminal identification identifier to obtain multiple groups of portrait detection data.

[0325] Optionally, the detection submodule includes:

[0326] A construction unit, used to construct a detection instruction according to a reference terminal identification identifier;

[0327] A first sending unit, configured to send a detection instruction to a first reference terminal through an access point device associated with the first reference terminal, where the first reference terminal is one of the one or more first terminals;

[0328] A first receiving unit, configured to receive log data reported by the first reference terminal before and after receiving the detection instruction through an access point device associated with the first reference terminal;

[0329] The determination unit is used to determine a set of portrait detection data based on the log data reported by the first reference terminal before and after receiving the detection instruction.

[0330] Optionally, the detection submodule further includes:

[0331] A judgment unit, configured to determine whether the first reference terminal meets the detection protection condition according to the reference terminal identification identifier;

[0332] The trigger unit is configured to trigger the construction unit to construct a detection instruction according to the reference terminal identification if the first reference terminal meets the detection protection condition.

[0333] Optionally, the type of the reference terminal portrait is a roaming guidance type;

[0334] The judgment unit is used to:

[0335] Obtaining a first signal strength and a second signal strength, the first signal strength refers to a signal strength corresponding to a first access point device, the first access point device refers to an access point device associated with the first reference terminal before roaming, and the second signal strength refers to a signal strength corresponding to a second access point device, the second access point device refers to an access point device associated with the first reference terminal after roaming;

[0336] If it is determined that the first signal strength is within the reference strength range, and the difference between the first signal strength and the second signal strength is greater than the strength threshold, determining a guidance protection parameter according to the reference terminal identification identifier, where the guidance protection parameter is used to indicate a maximum degree of roaming guidance detection for the first reference terminal;

[0337] If it is determined that the bootstrap protection parameter satisfies the bootstrap protection condition, and the first reference terminal is outside the protection whitelist, it is determined that the first reference terminal satisfies the detection protection condition.

[0338] Optionally, the boot protection parameter includes a total number of bootstrapping of terminals having reference category information, and the boot protection condition includes that the total number of bootstrapping is not greater than a number threshold; and / or

[0339] The bootstrap protection parameter includes an average bootstrap time interval of the first reference terminal, and the bootstrap protection condition includes that the average bootstrap time interval is greater than a duration threshold; and / or

[0340] The guidance protection parameter includes the total number of terminals for which the first access point device performs roaming guidance detection, and the guidance protection condition includes that the total number of terminals is not greater than a quantity threshold.

[0341] Optionally, the acquisition submodule includes:

[0342] A second sending unit, configured to send reference category information to the data analyzer, so that the data analyzer determines a reference terminal identification identifier according to the reference category information;

[0343] The second receiving unit is used to receive the reference terminal identification sent by the data analyzer.

[0344] Optionally, the device further comprises:

[0345] A second determination module is used to determine multiple sets of portrait quality data, where the multiple sets of portrait quality data refer to quality data before and after the reference terminal portrait is applied to multiple second terminals with reference category information;

[0346] The second sending module is used to send multiple groups of portrait quality data to the data analyzer, so that the data analyzer evaluates the terminal portraits corresponding to the multiple second terminals according to the multiple groups of portrait quality data.

[0347] Optionally, the second determining module is used to:

[0348] Determine the time when the second reference terminal applies the reference terminal portrait, and obtain the portrait application time, where the second reference terminal is one of the plurality of second terminals;

[0349] According to the portrait application time, a set of portrait quality data is determined through the log data reported by the second reference terminal.

[0350] In summary, in an embodiment of the present application, the data detector can construct a detection instruction, and perform multiple detections on one or more first terminals through the constructed detection instruction, so as to determine multiple groups of portrait detection data. In this way, the data analyzer can determine the reference terminal portrait according to the multiple groups of portrait detection data. In other words, the embodiment of the present application detects the terminal online, so that the corresponding terminal portrait can be accurately determined on the basis of minimizing the overhead, and different terminal portraits can be determined for different category information, thereby adapting the category of the terminal. In addition, after the data analyzer sends the reference terminal portrait to the access point device, the access point device can apply the reference terminal portrait to the terminal. Afterwards, the data detector can determine multiple groups of portrait quality data, so that the data analyzer can optimize the terminal portrait according to the multiple groups of portrait quality data, thereby further improving the accuracy of the terminal portrait.

[0351] It should be noted that: the device for determining the terminal portrait provided in the above embodiment only uses the division of the above functional modules as an example when determining the terminal portrait. In actual applications, the above functions can be assigned 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. In addition, the device for determining the terminal portrait provided in the above embodiment and the method embodiment for determining the terminal portrait belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

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

[0353] It should be understood that the "at least one" mentioned herein refers to one or more, and "multiple" refers to two or more. In the description of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.

[0354] The above-mentioned embodiments are provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for determining a terminal portrait, characterized in that: The method comprises: Determine a reference terminal portrait based on the portrait detection data; The portrait detection data is obtained by detecting one or more first terminals, the reference terminal portrait indicates the network capabilities related to the terminals of the reference category in software or hardware, and the one or more first terminals belong to the reference category.

2. The method according to claim 1, characterized in that The type of the reference terminal portrait includes a link quality measurement type, and the reference terminal portrait includes protocol support data, where the protocol support data is used to describe a link quality measurement protocol supported by the terminal.

3. The method according to claim 1 or 2, characterized in that: The type of the reference terminal portrait includes a link quality measurement type, and the portrait detection data includes a protocol support tag and a protocol description data, wherein the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol.

4. The method according to any one of claims 1 to 3, characterized in that: The type of the reference terminal portrait includes a roaming guidance type, and the reference terminal portrait includes a roaming guidance method applicable to the terminal and / or a roaming guidance condition applicable to the terminal.

5. The method according to any one of claims 1 to 4, characterized in that: The type of the reference terminal portrait includes a roaming guidance type, and the portrait detection data includes a roaming guidance tag and guidance feature data. The roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful, and the guidance feature data is used to describe the network information of the corresponding terminal when the roaming guidance detection is performed and / or the guidance method for performing the roaming guidance detection.

6. The method according to any one of claims 1 to 5, characterized in that: The type of the reference terminal portrait includes a network detection type, and the reference terminal portrait includes capability support data, where the capability support data is used to indicate the detection capabilities supported by the terminal.

7. The method according to any one of claims 1 to 6, characterized in that: The type of the reference terminal portrait includes a network detection type, and the portrait detection data includes a detection support tag and detection description data. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability, and the detection description data is used to describe the corresponding detection capability. The detection capability includes a frequency band and / or channel.

8. The method according to any one of claims 1 to 7, characterized in that: The determining of the reference terminal portrait according to the portrait detection data includes: According to the type of the reference terminal portrait, extracting corresponding key feature data from the portrait detection data; The reference terminal portrait is determined based on the extracted multiple key feature data.

9. The method according to any one of claims 1 to 8, characterized in that: After determining the reference terminal portrait according to the portrait detection data, the method further includes: The reference terminal portrait is sent to at least one access point device, so that the at least one access point device applies the reference terminal portrait.

10. The method according to any one of claims 1 to 9, characterized in that: The information indicating the reference category includes a model identifier.

11. A device for determining a terminal portrait, characterized in that: The device comprises a determination module, The determination module is used to determine the reference terminal portrait according to the portrait detection data; The portrait detection data is obtained by detecting one or more first terminals, the reference terminal portrait indicates the network capabilities related to the terminals of the reference category in software or hardware, and the one or more first terminals belong to the reference category.

12. The device according to claim 11, characterized in that The type of the reference terminal portrait includes a link quality measurement type, and the reference terminal portrait includes protocol support data, where the protocol support data is used to describe a link quality measurement protocol supported by the terminal.

13. The device according to claim 11 or 12, characterized in that The type of the reference terminal portrait includes a link quality measurement type, and the portrait detection data includes a protocol support tag and a protocol description data, wherein the protocol support tag is used to indicate whether the corresponding terminal supports the corresponding link signal quality measurement protocol, and the protocol description data is used to describe the corresponding link signal quality measurement protocol.

14. The device according to any one of claims 11 to 13, characterized in that: The type of the reference terminal portrait includes a roaming guidance type, and the reference terminal portrait includes a roaming guidance method applicable to the terminal and / or a roaming guidance condition applicable to the terminal.

15. The device according to any one of claims 11 to 14, characterized in that: The type of the reference terminal portrait includes a roaming guidance type, and the portrait detection data includes a roaming guidance tag and guidance feature data. The roaming guidance tag is used to indicate whether the roaming guidance detection of the corresponding terminal is successful, and the guidance feature data is used to describe the network information of the corresponding terminal when the roaming guidance detection is performed and / or the guidance method for performing the roaming guidance detection.

16. The device according to any one of claims 11 to 15, characterized in that: The type of the reference terminal portrait includes a network detection type, and the reference terminal portrait includes capability support data, where the capability support data is used to indicate the detection capabilities supported by the terminal.

17. The device according to any one of claims 11 to 16, characterized in that: The type of the reference terminal portrait includes a network detection type, and the portrait detection data includes a detection support tag and detection description data. The detection support tag is used to indicate whether the corresponding terminal supports the corresponding detection capability, and the detection description data is used to describe the corresponding detection capability. The detection capability includes a frequency band and / or channel.

18. The device according to any one of claims 11 to 17, characterized in that: The determination module is specifically used for: According to the type of the reference terminal portrait, extracting corresponding key feature data from the portrait detection data; The reference terminal portrait is determined based on the extracted multiple key feature data.

19. The device according to any one of claims 11 to 18, characterized in that: The device also includes a sending module, The sending module is used to send the reference terminal portrait to at least one access point device, so that the at least one access point device applies the reference terminal portrait.

20. A network device, characterized in that: comprising at least one processor and a memory, The memory stores one or more computer programs; When the one or more computer programs stored in the memory are executed by the at least one processor, the network device executes the method according to any one of claims 1 to 10.

21. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 10 are implemented.