WO2022001709A1 - Device model recognition method, apparatus, network device and system - Google Patents

Device model recognition method, apparatus, network device and system Download PDF

Info

Publication number
WO2022001709A1
WO2022001709A1 PCT/CN2021/101042 CN2021101042W WO2022001709A1 WO 2022001709 A1 WO2022001709 A1 WO 2022001709A1 CN 2021101042 W CN2021101042 W CN 2021101042W WO 2022001709 A1 WO2022001709 A1 WO 2022001709A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
network
model
information
network device
Prior art date
Application number
PCT/CN2021/101042
Other languages
French (fr)
Chinese (zh)
Inventor
王海燕
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022001709A1 publication Critical patent/WO2022001709A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud
    • H04W12/126Anti-theft arrangements, e.g. protection against subscriber identity module [SIM] cloning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to a device model identification method, device, network device and system.
  • Identifying the type of terminal equipment has become one of the methods of terminal fingerprint identification.
  • Different types of terminal devices usually have different characteristics, and these characteristics can be reflected, for example, in the communication behavior of the terminal devices. Therefore, through the communication behavior of the terminal device, specific characteristics can be analyzed according to the behavior, and the type of the terminal device can be identified according to the characteristics, so as to better provide customized services.
  • the existing terminal fingerprint identification technology is limited to the field of network security or hacking.
  • the database maintenance method for terminal fingerprint identification is complicated, and is not conducive to automatic identification and real-time update, and is not practical in office scenarios.
  • the present application provides a device model identification method, device, network device and system, which are used to realize the identification of the device model of the access device and reduce the cost and workload of database maintenance during the device model identification process.
  • an embodiment of the present application provides a method for identifying a device model, including: a network device acquiring N device information of N access devices, and the N access devices and the N device information are in a one-to-one correspondence respectively , N ⁇ 2, N is an integer; the network device extracts common features of multiple device information of multiple access devices; the network device determines the device models of the multiple access devices according to the common features, wherein , the multiple access devices belong to the N access devices, and the multiple device information belongs to the N device information.
  • the access device includes a terminal device.
  • the network device performs big data analysis on the N device information of the N access devices, and automatically identifies the device model of the access device, without maintaining a large amount of feature database data, the device model can be identified, and the device model can be reduced. Identify the cost and effort of database maintenance in the process.
  • the device model identification method provided in the embodiments of the present application can be applied to enterprise networks to realize device model identification in office scenarios (such as BYOD scenarios), and can also be applied to home networks to realize device model identification in home networks.
  • the device model identification method provided by the embodiment of the present application can also be applied to the field of network security.
  • the device model identification method provided by the embodiment of the present application can not only identify the device model of the access device, but also identify other dimensions of the access device.
  • the other dimensions may include one or more of an operating system, a version number (also called version information), a manufacturer (also called a manufacturer), or a device name, and the like.
  • the network device may establish, construct, and maintain a feature database based on the determined device models of the multiple access devices, and the feature database may include the device model of the access device, the information of each device model.
  • the performance data may be, for example, an access frequency band of the access device, the number of negotiated antennas, a negotiation rate, a wireless fidelity (wireless fidelity, Wi-Fi) access mode, and the like.
  • the network device may also acquire first device information of a first access device, where the first access device is different from the N access devices; the network device The common feature is extracted from the first device information, and the model of the first access device is determined as the device model.
  • the network device may identify the device model of the access device to be confirmed based on the common features of the extracted device models.
  • the device model of the access device is determined to be A according to the fact that the access device to be confirmed has the same features as the device model A in common. In this way, the identification time of the device model can be saved by the method, and the identification efficiency of the device model can be improved.
  • the N pieces of device information respectively include at least one or more of the following: a media access control MAC address of the access device, a device name of the access device, an access frequency band of the access device, a The number of antennas negotiated between the access device and the gateway device, the rate negotiated between the access device and the gateway device, or the Wi-Fi access mode of the access device.
  • the network device determines the device models of the multiple access devices according to the common feature, including:
  • the multiple device information includes multiple device names
  • the network device determines the device models of the multiple access devices according to the multiple device names having a first common feature, and the first common feature belongs to the common characteristics; and/or,
  • the multiple device information includes multiple MAC addresses, and the network device determines the device models of the multiple access devices according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the Common feature.
  • the method of determining the device model according to the device name and the method of determining the device model according to the MAC address may be used alone, or may be used in combination.
  • the network device can obtain common features among multiple pieces of device information by analyzing different device information, so as to identify the device model of the access device based on the common features.
  • the network device has a first common feature according to the multiple device names, and before determining the device models of the multiple access devices, the method further includes:
  • the network device processes device names that do not conform to the device naming rules.
  • the network device may filter or reject device names that do not conform to the device naming rules.
  • the device name obtained by the network device is a random character string, and the random character string has no regularity and is generally not used as a device name, so the network device can remove the obtained random character string.
  • the network device may extract a meaningful device name of the access device from the device names that do not conform to the device naming rules.
  • the meaningful device name of the extracted access device conforms to the device naming rules.
  • the device name obtained by the network device is a meaningful device name + a random string, so the network device can extract a meaningful device name, and the meaningful device name can be regarded as the real device name of the access device Device name.
  • the method before the network device determines the device models of the multiple access devices according to the second common feature of the multiple MAC addresses, the method further includes:
  • the network device filters the MAC addresses that do not conform to the MAC address rules.
  • the network device may further determine that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
  • the network device can determine the first feature according to the first feature in the device name. Common feature.
  • the first threshold may be set by a network administrator.
  • the larger the first threshold is set the higher the accuracy of device model recognition may be, but the more unrecognized device models may be; the smaller the first threshold is set, the more accurate the device model recognition is. It may be lower, but the number of device models that can be recognized may also be more.
  • the N pieces of device information include N device names
  • the network device determines that the first feature is based on the number of occurrences of the first feature of the multiple device names exceeding a first threshold.
  • the first common feature includes:
  • the network device determines that the first feature is the first common feature according to the number of occurrences of the first feature of the multiple device names in the prefix tree exceeding a first threshold.
  • the network device may also determine the first common feature by means of a maximum prefix or an artificial intelligence (artificial intelligence, AI) algorithm.
  • AI artificial intelligence
  • the N device information includes N MAC addresses
  • the network device determines the device models of the multiple access devices according to the second common feature of the multiple MAC addresses, including :
  • the network device performs clustering on the N MAC addresses
  • the network device determines that the multiple MAC addresses have a second common feature according to the multiple MAC addresses of the multiple device information belonging to the same clustering category;
  • the network device determines the device models of the multiple access devices according to the second common feature.
  • the MAC addresses of the access devices of the same model are usually consecutive, so in this implementation, the second common feature can be determined for the MAC addresses belonging to the same clustering category by clustering multiple MAC addresses.
  • the first device information includes a first media access control MAC address of the first access device, and the method further includes:
  • the network device determines that the model of the first access device is the device model according to the presence of consecutive bits equal to or greater than a preset number of bits between the first MAC address and the M MAC addresses, wherein the The M MAC addresses are the MAC addresses of M access devices in the multiple access devices, 1 ⁇ M ⁇ N, where M is an integer; or,
  • the network device determines that the model of the first access device is the device model according to the address distance between the first MAC address and the M MAC addresses being less than or equal to a second threshold, wherein the M MAC addresses is the MAC addresses of M access devices in the multiple access devices, 1 ⁇ M ⁇ N, and M is an integer.
  • the network device may further extract K pieces of performance data according to K pieces of device information, and the K pieces of device information belong to the plurality of pieces of device information, where K ⁇ 1, where K is an integer.
  • the performance data can be used for rapid fault division and network insight, targeted optimization of access devices and customized services for access devices.
  • the method further includes:
  • the network device obtains, according to the performance data, the access capability and/or behavior of the access device of the device model; or,
  • the network device sends the analysis data obtained according to the performance data to a third party, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
  • the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
  • the network device acquires one or more of the access capabilities and behaviors of the access device of the device model according to the performance data, including:
  • the performance data includes multiple RSSIs of received signal strengths of the multiple access devices, and the network device obtains, according to the distribution of the multiple RSSIs, the accessible access rate of the access device with the device model ;or,
  • the performance data includes K Wi-Fi access frequency bands of the K access devices, and the network device determines the access device of the device model according to statistics on the K Wi-Fi access frequency bands Supports single-band access or dual-band access; or,
  • the performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K access devices, and the network device negotiates according to the K negotiated antennas.
  • the performance data includes K signal strengths of the K access devices and one or more of K Wi-Fi access frequency bands, the network device according to the K signal strengths and K Wi-Fi Access one or more of the frequency bands, and obtain the behavior of the access device with the device model.
  • the third party includes an operator management device or a gateway device.
  • an embodiment of the present application further provides a device model identification device, the device model identification device has the function of implementing the network device in the first aspect or the implementation of any method described in the first aspect.
  • Means corresponding to the steps or functions described for performing the respective methods are included.
  • the steps or functions can be implemented by software, or by hardware (eg, circuits), or by a combination of hardware and software.
  • the above apparatus includes one or more processing units and transceiver units.
  • the one or more processing units are configured to support the apparatus to perform the corresponding functions of the network device in the above method.
  • the transceiver unit is configured to acquire N pieces of device information of N access devices, the N access devices and the N pieces of device information are in one-to-one correspondence, N ⁇ 2, and N is an integer;
  • a processing unit configured to extract common features of multiple device information of multiple access devices, and determine device models of the multiple access devices according to the common features, wherein the multiple access devices belong to the N access devices, and the multiple pieces of equipment information belong to the N pieces of equipment information.
  • the transceiver unit is further configured to acquire first device information of a first access device, where the first access device is different from the N access devices;
  • the processing unit is further configured to determine the model of the first access device as the device model according to the common feature extracted from the first device information.
  • the N pieces of device information respectively include at least one or more of the following: the MAC address of the access device or the device name of the access device.
  • the processing unit is specifically configured to: the multiple device information includes multiple device names, and according to the multiple device names having a first common feature, determine the multiple access devices.
  • the multiple device information includes multiple MAC addresses, and the device models of the multiple access devices are determined according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the common feature.
  • the processing unit is further configured to determine that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
  • the processing unit is specifically configured to: the N device information includes N device names, and a prefix tree is generated according to the N device names; according to the multiple devices in the prefix tree When the number of occurrences of the first feature of the name exceeds a first threshold, the first feature is determined to be the first common feature.
  • the processing unit is specifically configured to perform the clustering of the N MAC addresses according to the N pieces of device information including N MAC addresses; If the MAC addresses belong to the same clustering category, it is determined that the multiple MAC addresses have a second common feature; and the device models of the multiple access devices are determined according to the second common feature.
  • the processing unit is further configured for the first device information to include a first media access control MAC address of the first access device, according to the first MAC address and M MAC addresses
  • the address has consecutive bits equal to or greater than the preset number of bits, and it is determined that the model of the first access device is the device model, wherein the M MAC addresses are M of the multiple access devices MAC address of each access device, 1 ⁇ M ⁇ N, where M is an integer; or,
  • the model of the first access device is the device model, wherein the M MAC addresses are the multiple MAC addresses.
  • MAC addresses of M access devices in the access devices 1 ⁇ M ⁇ N, where M is an integer.
  • the processing unit is further configured to extract K pieces of performance data according to K pieces of equipment information, where the K pieces of equipment information belong to the plurality of pieces of equipment information, K ⁇ 1, and K is an integer.
  • the processing unit is further configured to acquire, according to the performance data, the access capability and/or behavior of the access device of the device model; or,
  • the analysis data obtained according to the performance data is sent to a third party by the transceiver unit, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
  • the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
  • the performance data includes multiple received signal strength RSSIs of the multiple access devices
  • the processing unit is specifically configured to, according to the distribution of the multiple RSSIs, transmit and receive The unit acquires the access reachable rate of the access device with the device model; or,
  • the performance data includes K Wi-Fi access frequency bands of the K access devices, and the processing unit is specifically configured to determine the device model according to statistics on the K Wi-Fi access frequency bands
  • the access device supports single-frequency access or dual-frequency access; or,
  • the performance data includes one or more of the K negotiated antenna numbers, the K negotiated rates, and the K Wi-Fi access modes of the K access devices. one or more of the K negotiated antenna numbers, K negotiated rates and/or K Wi-Fi access modes, and obtain the access capability of the access device with the device model through the transceiver unit; or,
  • the performance data includes K signal strengths of the K access devices and one or more of the K Wi-Fi access frequency bands.
  • the transceiver unit acquires the behavior of the access device with the device model.
  • the third party includes an operator management device or a gateway device.
  • an embodiment of the present application further provides a network device, the device includes a processor and a memory, the processor is coupled to the memory;
  • N device information of N access devices where the N access devices and the N device information are in one-to-one correspondence, N ⁇ 2, and N is an integer;
  • the processor is further configured to execute the computer program to perform the following operations:
  • the model of the first access device is the device model.
  • the N pieces of device information respectively include at least one or more of the following: the MAC address of the access device or the device name of the access device.
  • the processor is specifically configured to execute the computer program to perform the following operations:
  • the multiple device information includes multiple device names, and the device models of the multiple access devices are determined according to the multiple device names having a first common feature, and the first common feature belongs to the common feature; or ,
  • the multiple device information includes multiple MAC addresses, and the device models of the multiple access devices are determined according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the common feature.
  • the processor is further configured to execute the computer program to perform the following operations:
  • the first feature is the first common feature.
  • the N device information includes N device names
  • the processor is specifically configured to execute the computer program to perform the following operations:
  • the first feature is the first common feature.
  • the N pieces of device information include N MAC addresses
  • the processor is specifically configured to execute the computer program to perform the following operations:
  • the plurality of MAC addresses of the plurality of device information belonging to the same clustering category it is determined that the plurality of MAC addresses have a second common characteristic
  • device models of the multiple access devices are determined.
  • the first device information includes a first media access control MAC address of the first access device
  • the processor is further configured to execute the computer program to perform the following operations:
  • the model of the first access device is the device model, wherein the M MAC addresses is the MAC addresses of M access devices in the multiple access devices, 1 ⁇ M ⁇ N, M is an integer; or,
  • the model of the first access device is the device model, wherein the M MAC addresses are the multiple MAC addresses.
  • MAC addresses of M access devices in the access devices 1 ⁇ M ⁇ N, where M is an integer.
  • the processor is further configured to execute the computer program to perform the following operations:
  • the processor is further configured to execute the computer program to perform the following operations:
  • the analysis data obtained according to the performance data is sent to a third party, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
  • the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
  • the processor is specifically configured to execute the computer program to perform the following operations:
  • the performance data includes multiple RSSIs of the multiple received signal strengths of the multiple access devices, and according to the distribution of the multiple RSSIs, obtain the access reachable rate of the access device with the device model; or,
  • the performance data includes K Wi-Fi access frequency bands of the K access devices. According to statistics on the K Wi-Fi access frequency bands, it is determined that the access device of the device model supports single-frequency access. access or dual-band access; or,
  • the performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K access devices. According to the K negotiated antenna numbers, One or more of the K negotiated rates and/or K Wi-Fi access modes, obtain the access capability of the access device with the device model; or,
  • the performance data includes K signal strengths of the K access devices and one or more of the K Wi-Fi access frequency bands, according to the K signal strengths and the K Wi-Fi access frequency bands. One or more of , obtain the behavior of the access device with the device model.
  • the third party includes an operator or a gateway.
  • the embodiments of the present application further provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer executes the first aspect or any one of the first aspects. method in a possible implementation.
  • an embodiment of the present application further provides a computer program product, the computer program product includes: computer program code, when the computer program code runs on a computer, the computer program code enables the computer to execute the first aspect or any of the first aspect.
  • the computer program product includes: computer program code, when the computer program code runs on a computer, the computer program code enables the computer to execute the first aspect or any of the first aspect.
  • an embodiment of the present application further provides a communication system, where the system includes a first network device and an access device for executing the method in the first aspect or any possible implementation of the first aspect.
  • the communication system may further include a second network device, and the second network device may be an operator management device and/or a gateway device or the like.
  • the first network device may be a network management device or the like.
  • the access device may be a terminal device or the like.
  • an embodiment of the present application further provides a communication system, where the system includes a first network device and a second network device, and the first network device may be used to execute the first aspect or any possibility of the first aspect method in the implementation.
  • the first network device is further configured to extract K pieces of performance data according to the K pieces of equipment information after determining the equipment models of the multiple pieces of access equipment according to the common features of the pieces of equipment information of the multiple pieces of access equipment.
  • the K pieces of equipment information belong to the multiple pieces of equipment information, K ⁇ 1, K is an integer, and the access capability and/or behavior of the access equipment of the equipment model obtained according to the performance data is sent to the the second network device; or send the analysis data obtained according to the performance data to the second network device.
  • the second network device configured to receive the access capability and/or behavior of the access device of the device model; or obtain the access capability and/or performance of the access device of the device model according to the analysis data .
  • the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
  • the second network device before the first network device acquires the N device information of the N access devices, the second network device is further configured to send the N device information to the first network device, N ⁇ 2, N is an integer.
  • the second network device is a gateway device or an operator management device.
  • the second network device may also be a digital subscriber line (digital subscriber line, DSL) device, a passive optical network (passive optical network, PON) device, a router, and/or a switch and other devices.
  • DSL digital subscriber line
  • PON passive optical network
  • the first network device is a network management device.
  • the performance data includes multiple RSSIs of received signal strengths of multiple access devices
  • the obtaining of the access capability includes: obtaining, according to the distribution of the multiple RSSIs, the devices with the RSSI.
  • the access achievable rate of the access device of the model or,
  • the performance data includes K Wi-Fi access frequency bands of the K access devices, and the acquisition of the access capability includes: determining the device according to statistics on the K Wi-Fi access frequency bands Models of access devices that support single-band access or dual-band access; or,
  • the performance data includes one or more of the K negotiated antenna numbers, the K negotiated rates, and the K Wi-Fi access modes of the K access devices, and the acquisition of the access capability includes: One or more of the K negotiated antenna numbers, K negotiated rates, and/or K Wi-Fi access modes, obtain the access capability of the access device with the device model; or,
  • the performance data includes K signal strengths of the K access devices and one or more of K Wi-Fi access frequency bands
  • the acquisition of the device behavior includes: according to the K signal strengths and K For one or more of the Wi-Fi access frequency bands, obtain the behavior of the access device with the device model.
  • FIG. 1 is a schematic diagram of the architecture of an enterprise network to which an embodiment of the application is applied;
  • FIG. 2 is a schematic structural diagram of a home network to which an embodiment of the application is applied;
  • FIG. 3 is a schematic diagram of a MAC address applicable to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a device model identification process applicable to the embodiment of the application.
  • FIG. 5 is a schematic diagram of a prefix tree applicable to the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a prefix tree applicable to the embodiment of the present application.
  • FIG. 7 is a schematic diagram of a prefix tree to which an embodiment of the present application is applicable.
  • FIG. 8 is a schematic diagram of a network device to which an embodiment of the application is applied.
  • FIG. 9 is a schematic diagram of a device type identification device applicable to an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a home network to which an embodiment of the present application is applied.
  • a home network includes a home network management system, a home gateway and a terminal device, wherein the number of the home network management system, the home gateway and the terminal device may be one or more.
  • a gateway agent (agent) is integrated into the home gateway, and the gateway agent is used to convert the request of the home network management system into a home gateway request, thereby realizing the control of the home gateway.
  • the gateway agent After the home gateway is started, it can be connected to the home network management system through a network protocol.
  • the terminal device may access the home gateway through a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) protocol.
  • the home gateway may acquire the device information of the terminal device, so as to determine the terminal device type (eg device model) according to the acquired device information.
  • the home network management system may be a home application function (application function, AF) network element, for example, the home network management system may be a management server or the like for remotely managing terminal devices in the home network.
  • AF application function
  • the home gateway may be a router.
  • the local area network (LAN) port of the home gateway may correspond to a service set identifier (service set identifier, SSID), and the value of the SSID may be the media access control (media access control, MAC) of the home gateway address.
  • LAN local area network
  • SSID service set identifier
  • MAC media access control
  • the Agent is a runnable program, which is used to convert the request of the network management system into the request of the gateway.
  • the roles of the terminal device may include an access point (access point, AP) and/or a station (station, STA).
  • the AP can be a wireless router, a Wi-Fi repeater and other devices
  • the STA can be a personal computer, a mobile phone, a tablet computer, and other devices connected to the home network.
  • the home gateway may acquire the device information of the terminal device connected to the MAC address.
  • the home gateway may also scan the SSID2 of the AP hotspot, so as to obtain the device information of the terminal device connected to the AP hotspot.
  • the home network may include multiple STAs/APs connected to the home gateway, and the STA/AP may also include multiple STAs connected to it.
  • the enterprise network includes (one or more) enterprise network management systems, (one or more) enterprise gateways and (one or more) terminal devices. Similarities between FIG. 2 and FIG. 1 will not be repeated here.
  • the word “for example” is used to represent an example, illustration or illustration. Any embodiment or design described herein as “for example,” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the word example is used to present a concept in a concrete way.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute the only limitation to the technical solutions provided by the embodiments of the present application.
  • the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • Network equipment including, for example, access network (AN) equipment, such as a base station (eg, an access point), which may refer to a device in the access network that communicates with wireless terminal equipment through one or more cells over the air interface , or, for example, a network device in a vehicle-to-everything (V2X) technology is a roadside unit (RSU).
  • the base station may be used to interconvert the received air frames and IP packets, acting as a router between the terminal equipment and the rest of the access network, which may include the IP network.
  • the RSU can be a fixed infrastructure entity supporting V2X applications and can exchange messages with other entities supporting V2X applications.
  • the network device can also coordinate the attribute management of the air interface.
  • the network equipment may include an evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) in a long term evolution (long term evolution, LTE) system or long term evolution-advanced (LTE-A), Alternatively, it may also include the next generation node B (gNB) in the 5th generation mobile communication technology (the 5th generation, 5G) NR system (also referred to as the NR system for short), or may also include a cloud access network (cloud access network).
  • the embodiment of the present application is not limited to a centralized unit (centralized unit, CU) and a distributed unit (distributed unit, DU) in a radio access network, Cloud RAN) system.
  • the network device may also include a core network (core network, CN) device, and the core network device includes, for example, an access and mobility management function (access and mobility management function, AMF) and the like.
  • core network core network, CN
  • AMF access and mobility management function
  • the network device may also be a DSL device, a PON device, a router, and/or a switch and other devices.
  • the network device may also be an application function entity (application function, AF) network element, a gateway (such as an enterprise gateway or a home gateway, etc.), or a network management system (such as an enterprise network management system) system or home network management system, etc.) and so on.
  • application function entity application function, AF
  • a gateway such as an enterprise gateway or a home gateway, etc.
  • a network management system such as an enterprise network management system system or home network management system, etc.
  • the gateway may be a router
  • the network management system may be a management server or the like for managing terminal devices in the network.
  • Access equipment such as terminal equipment
  • network access equipment used to access network resources.
  • Terminal devices also known as smart terminals or terminals, include devices that provide voice and/or data connectivity to users, and may include, for example, handheld devices with wireless connectivity, or processing devices connected to wireless modems.
  • the terminal equipment may communicate with the core network via a radio access network (RAN), and exchange voice and/or data with the RAN.
  • RAN radio access network
  • the terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, device-to-device (D2D) terminal equipment, vehicle to everything (V2X) terminal equipment , Machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber) station), mobile station, remote station, AP, remote terminal, access terminal, user terminal, user agent, or user equipment (user device), etc.
  • UE user equipment
  • D2D device-to-device
  • V2X vehicle to everything
  • M2M/MTC Machine-to-machine/machine-type communications
  • IoT Internet of things
  • subscriber unit subscriber unit
  • subscriber station subscriber station
  • mobile station remote station
  • AP remote terminal
  • access terminal user terminal
  • user agent user agent
  • user equipment user device
  • PCS personal communication service
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • constrained devices such as devices with lower power consumption, or devices with limited storage capacity, or devices with limited computing power, etc.
  • information sensing devices such as barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), and laser scanners.
  • RFID radio frequency identification
  • GPS global positioning system
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. Wait.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones.
  • Use such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
  • the access device may also include other types of devices, such as a modem, a router, an optical network terminal (optical network terminal, ONT) and other devices.
  • a modem such as a modem, a router, an optical network terminal (optical network terminal, ONT) and other devices.
  • ONT optical network terminal
  • the embodiments of the present application mainly take the access device including the terminal device as an example for description.
  • the device model identification process of other types of devices reference may be made to the device model identification process of the terminal device.
  • Terminal device type including one or more of the dimensions of device model, operating system, version number (also called version information), manufacturer (also called manufacturer or manufacturer), or device name.
  • Terminal devices of the same device model have common features, that is, there is the same/matching device information.
  • the embodiments of this application mainly provide a method for identifying a device model.
  • identification process of device types in other dimensions in the terminal device such as operating system, manufacturer, etc.
  • the terminal devices involved in the embodiments of the present application may include one or more of the following: a personal computer (personal computer, PC), a smart phone (SmartPhone), a tablet computer (PAD), a set top box (set top box, STB), a smart TV ( SmartTV), router (Router), smart device (SmartDevice), TV set-top box (OTTTvBox), smart speaker (SmartSpeaker), camera (Camera), watch (Watch), game console (Games), or other equipment (Other), etc.
  • a personal computer personal computer
  • PC smart phone
  • PDA tablet computer
  • set top box set top box
  • STB set top box
  • SmartTV smart TV
  • router Router
  • smart device SmartDevice
  • TV set-top box TV set-top box
  • smart speaker SmartSpeaker
  • camera Camera
  • Watch watch
  • Games games
  • Other game console
  • Device information which may include one or more of the following: the MAC address of the terminal device, the device name of the terminal device, the access frequency band of the terminal device, the number of antennas negotiated between the terminal device and the gateway device (also referred to as the gateway), The rate negotiated between the terminal device and the gateway device, or the Wi-Fi access mode of the terminal device.
  • the device model of the terminal device can be obtained by analyzing the commonality between the device information, and the commonality between the device information can also be understood as the common feature existing between the device information.
  • the MAC address of the terminal device is shown in FIG. 3 , the first six digits of the MAC address are generally the MAC organizationally unique identifier (OUI), and the MAC OUI is used to represent the Institute of Electrical and Electronics Engineers (Institute of Electrical) and electronics engineers, IEEE) is assigned to the company identification of each manufacturer, and the last six bits of the MAC address of the terminal equipment of the same equipment model can be consecutive.
  • UMI MAC organizationally unique identifier
  • IEEE Institute of Electrical and Electronics Engineers
  • the device name of the terminal device is generally the name adopted by the manufacturer when releasing the terminal device.
  • the device name of the terminal device is HUAWEI MATE 30, HUAWEI MATE 20, or HUAWEI P30, or iPhone X or iPhone 11, etc.
  • the access frequency band of the terminal device includes, but is not limited to, 2.4 gigahertz (GHz) or 5 GHz, for example.
  • the number of antennas negotiated by the terminal device and the gateway device may include 1*1, 2*2, or 4*4, etc.
  • the rate negotiated between the terminal device and the gateway device is the wireless rate negotiated with the gateway device for communication after the terminal device is connected to the wireless signal of the gateway device.
  • the rate negotiated between the terminal device and the gateway device may be 867 megabits per second (million bits per second, Mbps).
  • the Wi-Fi access mode of the terminal device includes but is not limited to one of the following: b: 802.11b, g: 802.11g, n: 802.11n, a: 802.11a, ac: 802.11ac, or ax: 802.11ax Wait.
  • the performance data of terminal equipment can be used to quickly find and solve network faults, improve the insight of network health status, and can also carry out targeted optimization of terminal equipment and provide terminal equipment. Customized service.
  • the network device can automatically learn the access capability and behavior of the terminal device of the device model by scanning the entire network according to the device model.
  • Terminal fingerprint identification technology includes active fingerprint identification technology and passive fingerprint identification technology.
  • the identification device When using active fingerprint identification technology to identify the type of terminal device, the identification device sends a certain number of combined data packets to the identified device, and determines the device model, operating system type and version of the identified device according to the response of the identified device. number, etc.
  • the active fingerprint identification technology is usually limited to the field of network security/hacking, and cannot be applied to the field of enterprise/home network.
  • security experts or hackers need to infiltrate a remote system, the fingerprinting process is often performed first.
  • Security experts or hackers can use FIN (used to determine the operating system of the device being authenticated) detection, error transmission control protocol (TCP) flag detection, TCP start sequence number sampling, interface pointer identifier, IPID) sampling, TCP timestamp extension, TCP start window size, acknowledged (ACK) value, Internet control message protocol (ICMP) error information test, fragmentation processing phenomenon and other technical combinations to detect And identification, to achieve active identification of terminal fingerprints.
  • TCP error transmission control protocol
  • IPID IP address
  • TCP timestamp extension TCP start window size
  • ACK acknowledged
  • ICMP Internet control message protocol
  • active fingerprint recognition technology is limited to the field of network security/hacking.
  • passive fingerprint recognition technology is more commonly used.
  • the passive fingerprint technology When the passive fingerprint technology is used to identify the terminal device type, it can be realized based on the following technical directions: time to live (TTL) fingerprint analysis, Transmission Control Protocol (TCP) fingerprint analysis, Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol) , DHCP) fingerprint analysis, hypertext transfer protocol (hypertext transfer protocol, HTTP) fingerprint analysis, international mobile equipment identity (international mobile equipment identity, IMEI) analysis and other technologies.
  • TTL time to live
  • TCP Transmission Control Protocol
  • Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol
  • DHCP Dynamic Host Configuration Protocol
  • HTTP hypertext transfer protocol
  • IMEI international mobile equipment identity
  • the operating systems corresponding to the TTL start values of different terminal devices are different.
  • the authentication device can identify the operating system of the authenticated device according to the TTL initial value corresponding to the authenticated device.
  • the starting TTL value corresponding to the operating system Macintosh OSX is 255
  • the starting TTL value corresponding to the operating system Novell Netware is 128,
  • the starting value TTL corresponding to the operating system Windows XP/2000/2003/Vista is 128, and the operating system Windows
  • the corresponding TTL start value of 95 is 32
  • the corresponding TTL start value of the operating system Windows 95A/B is 128,
  • the corresponding TTL start value of the operating system Cisco Catalyst 6000 is 60
  • the corresponding TTL start value of the operating system Linksys printer server is 32.
  • the authentication device can identify the operating system of the authenticated device according to the communication process of the TCP protocol corresponding to the authenticated device. For example, the authentication device may determine the operating system of the authenticated device according to information such as parameters selected by the authenticated device during the TCP three-way handshake process.
  • the HTTP header generally carries information such as operating system, version information, terminal type, device model or manufacturer.
  • the identification device can determine the operating system, version number, device model or manufacturer of the authenticated device according to the HTTP header of the data sent by the authenticated device (such as the terminal device).
  • the IMEI generally includes 15 digits. The first six digits of the IMEI represent the device model, and the last two digits of the IMEI represent the manufacturer.
  • the identification device can determine the device model and manufacturer of the identified device according to the IMEI of the identified device.
  • Passive fingerprint identification requires manual maintenance of the feature database, that is, to maintain the correspondence between device features and device types, so that the identification device can identify the terminal device type according to the device information of a terminal device against the feature database. Due to the diversity of terminal equipment, there are many manufacturers of terminal equipment (possibly tens of thousands of manufacturers), and the signature database needs to maintain too much information, resulting in high maintenance cost and workload of the signature database, and due to the high update frequency of equipment products , the manual maintenance of the feature database leads to poor recognition flexibility and real-time performance, and some of the recognition methods may involve user privacy. Therefore, the practicability of passive fingerprint identification technology in enterprise networks (such as BYOD scenarios) or home networks is not high.
  • the present application proposes a device model identification method.
  • the network device can obtain N device information of N terminal devices, the N terminal devices and the N device information are in a one-to-one correspondence, and the network device can extract multiple data of multiple terminal devices.
  • Common features of the pieces of equipment information determine the equipment models of the multiple terminal equipments according to the common characteristics, the multiple terminal equipments belong to the N terminal equipments, and the multiple pieces of equipment information belong to the N equipments information.
  • the network device can automatically identify the device model of the terminal device by performing big data analysis on the device information of multiple terminal devices, without maintaining a large number of feature database data, the device model of the terminal device in the network can be identified, and the device model can be reduced.
  • the cost and workload of database maintenance during the identification process are improved, and the flexibility and real-time performance of equipment model identification are improved.
  • the device model identification method provided in this embodiment of the present application can be applied to the network architecture shown in FIG. 1 or 2.
  • the network may also include other possible network devices and terminal devices.
  • the type and number of devices included are not limited. Referring to Figure 4 below, the device model identification process will be described:
  • the network device acquires N pieces of device information of N terminal devices, the N terminal devices and the N pieces of device information are in one-to-one correspondence, N ⁇ 2, and N is an integer.
  • the device information includes at least one or more of the following: the MAC address of the terminal device, the device name of the terminal device, the access frequency band of the terminal device, the number of antennas negotiated between the terminal device and the gateway device, the terminal device and the gateway device.
  • the network device can be understood as an authentication device in the process of device model identification, and the terminal device can be understood as an authenticated device in the device model identification process.
  • the network device may be a network management system (eg, an enterprise network management system or a home network management system), or a gateway device (eg, an enterprise gateway device or a home gateway device).
  • the terminal device may be a STA or an AP.
  • the network device may send a first message to the terminal device, where the first message is used to request to obtain device information of the terminal device, and the first message is used to request the terminal device.
  • a message is used to instruct the terminal device to report device information.
  • the terminal device may send its own device information to the network device, and the network device receives the device information of the terminal device.
  • the network device may send a second message to the gateway device, where the second message is used to instruct the gateway device to collect device information of the terminal device.
  • the gateway device can collect device information of the devices attached to it, and the devices attached to the gateway device include terminal devices connected to the wireless network of the gateway device.
  • the gateway device reports the device information of the attached device to the network device, and the network device receives the device information of the terminal device.
  • the gateway device may allocate part of the device information to the accessed terminal device.
  • the N terminal devices may be all terminal devices within the management range of the network device, or may be part of the terminal devices within the management range of the network device.
  • the number of terminal devices within the management range of the network device is large, and in some scenarios, the amount of data may reach 100,000, 1,000,000, and so on.
  • the network device extracts common features of multiple device information of multiple terminal devices, and determines device models of the multiple terminal devices according to the common features, wherein the multiple terminal devices belong to the N terminals equipment, the pieces of equipment information belong to the N pieces of equipment information.
  • the network device may, according to the N device information of the N terminal devices acquired in S401, extract the common features of multiple device information in the N device information, and the multiple device information belongs to the N terminal devices. multiple end devices.
  • the network device when the network device extracts the common feature of the multiple device information of the multiple terminal devices, it may directly extract the feature information included in the multiple device information to determine the common feature.
  • the multiple pieces of equipment information have the common feature; or it may be based on input data, such as the N pieces of equipment information or the multiple pieces of equipment information, to perform processing analysis, and to determine the A common feature of multiple pieces of device information.
  • the common feature may not be directly included in the multiple pieces of device information.
  • the common feature is specifically a certain category after clustering N pieces of device information.
  • extracting common features includes but is not limited to the following methods: clustering the multiple device information, constructing a prefix tree corresponding to the multiple device information, or using an AI algorithm to extract the multiple device information. characteristic information.
  • the common feature described in S402 may be determined according to a common feature, that is, the common feature described in S402 is a common feature, or a set including a common feature. In this case, the common feature described in S402 may be determined according to multiple common features.
  • a common feature is determined, that is, the common feature described in S402 is a set including multiple common features, for example, the common feature described in S402 includes a first common feature and a second common feature, and the first common feature is based on the device name. Determine, the second common characteristic is determined according to the MAC address.
  • the multiple device information includes multiple device names
  • the network device may determine the device models of the multiple terminal devices according to the multiple device names having a first common feature , the first common feature belongs to the common feature.
  • the multiple device names having the first common feature can be understood as the first common feature can be directly obtained from the content included in the multiple device names, or it can be understood as further analysis based on the multiple device names or Derivation to determine the first common characteristic.
  • the network device may determine that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
  • the first threshold may be any integer, for example, the first threshold may be 1000 times, 10000 times or 50000 times, etc.
  • the first threshold may be set by a network administrator.
  • the device models of the multiple terminal devices can be determined according to the first feature.
  • the final identified device model content may also be affected by the threshold value.
  • the first threshold when the first threshold is set to a first value, the first feature is HUAWEI MATE 20, and thus it is determined that the models of the plurality of terminal devices are HUAWEI MATE 20.
  • the first threshold is set to the second value, the first feature is HUAWEI MATE, thereby determining that the models of the multiple terminal devices are HUAWEI MATE. Therefore, the first threshold can be specifically determined according to needs or experience.
  • the N device information includes N device names
  • the network device may generate a prefix (Trie) tree according to the N device names.
  • Prefix tree used to store strings.
  • Each node of the prefix tree represents a string (or a prefix).
  • the string represented by the child node is composed of the original string of the node itself, and all the characters on the path to the child node.
  • the number of occurrences of the character string represented by the node may also be counted for each node.
  • the character string represented by each leaf node in the prefix tree may be regarded as a complete device name, and a character string determined from the root node to the leaf node is the character string with the longest length on the path.
  • the network device generates a prefix tree as shown in FIG. 5 according to the number of occurrences of the device name iPhone-6s.
  • the network generates a prefix tree as shown in FIG. 6 according to the number of occurrences of the device name iPhone-8.
  • the prefix tree of the N device names is generated, as shown in FIG. 7 , where iPhone-6s and iPhone-8 each appear 10,000 times.
  • the network device may determine that the first feature is the first common feature according to the number of occurrences of the first feature of the multiple device names in the prefix tree exceeding a first threshold. There may be one or more of the first features whose number of occurrences exceeds the first threshold. Exemplarily, if the number of occurrences of only one first feature exceeds the first threshold, the first feature may be directly determined as the first common feature. If the number of occurrences of multiple first features exceeds the first threshold, the first feature with the least number of occurrences among the multiple first features may be determined as the first common feature, or the first feature may be determined as the first common feature.
  • the first feature with the longest character string length among the multiple first features is determined as the first common feature; or the multiple first features may be determined as the first common feature of different types of terminal devices respectively.
  • the first threshold is 9,000.
  • the number of occurrences of iPhone is 30,000
  • the number of occurrences of iPhone-6 is 20,000
  • the number of occurrences of iPhone-6s is 10,000, all exceeding the first threshold.
  • the first feature with the least number of occurrences, that is, the iPhone-6s that appears 10,000 times is determined as the first common feature, or the first feature with the longest string length, that is, the iPhone-6s, is determined as the first feature. common feature; similarly, in FIG.
  • the first feature with the least number of occurrences can be determined as the first common feature, or the first feature with the longest string length can be determined as the first common feature.
  • the feature, namely iPhone-8 is determined as the first common feature.
  • the device model determined according to the prefix tree shown in FIG. 5 is iPhone-6s
  • the device model determined according to the prefix tree shown in FIG. 6 is iPhone-8.
  • the identified terminal device model may also be determined only by considering whether the number of occurrences of the first feature of the path to the leaf node exceeds a first threshold.
  • a prefix tree there may be paths of multiple leaf nodes, wherein a string composed of all characters on the path from the root node to the leaf node can be used to represent the path of the leaf node.
  • a plurality of first common features corresponding to different terminal device models can be determined through the first threshold.
  • the leaf nodes include 0, 8 and S.
  • the path of leaf node 0 is MATE10
  • the path of leaf node 8 is iPhone-8
  • the path of leaf node S is iPhone-6S, but this
  • other sub-paths on the path to the leaf node are no longer analyzed, for example, the arrival of the leaf node is no longer determined.
  • three models of MATE10, iPhone-8 and iPhone-6S can be identified at the same time.
  • the network device may also determine the first common feature through methods such as an AI algorithm. If the network device determines the first common feature through an AI algorithm, exemplarily, the network device may store a trained neural network model, and the network device may input the multiple device names into the neural network model. In the network model, the first common feature is determined according to the output result of the neural network model.
  • the neural network model may be a classification model or a discriminant model, or the like.
  • the network device may also process device names that do not conform to the device naming rules.
  • processing the device names that do not meet the device naming rules includes, but is not limited to, one or more of the following methods: filtering, rejecting the device names that do not meet the device naming rules, or The device name that conforms to the device naming rules is extracted from the device name.
  • the device naming rule may be a set including device names, and/or the device naming rule may set a length threshold.
  • the set including the device names may include the device names of all or part of the terminal devices currently on the market.
  • the preset length threshold may be set by the network administrator, or determined according to the general length of the device name of the terminal device currently on the market.
  • the acquired device name is an irregular string such as android-567812345678, the string does not contain information related to the real device name, so The string can be filtered out directly.
  • the acquired device name is a meaningful device name + an irregular string (such as Mate10-567812345678)
  • the device name may contain a meaningful device name, at this time, you can extract a meaningful device name (such as Mate10); for example, when the length of the acquired device name exceeds the preset length threshold, you can search for the delimiter in the device name (such as space, -, @ and other delimiters), and determine the content before the delimiter as a meaningful device name.
  • the device names when determining the device models of the multiple terminal devices according to the multiple device names having the first common feature, the device names may be case-insensitive, that is, the device names are not case-sensitive.
  • the pieces of equipment information include multiple MAC addresses
  • the network equipment may determine the equipment of the multiple terminal equipment according to the second common feature of the multiple MAC addresses. model, said second common feature belongs to said common feature.
  • the second common feature can be directly obtained from the content included in the multiple MAC addresses, or it may be understood that further analysis can be performed based on the multiple MAC addresses or deriving the second common characteristic.
  • the second common feature is directly obtained from the content included in the multiple MAC addresses, and the network device may determine the second common feature according to consecutive bits of preset bit numbers in the multiple MAC addresses.
  • the preset number of bits is an integer greater than 0 and less than the length of the MAC address.
  • the consecutive bits of the preset number of bits may be the first 6 bits or the last 6 bits of the MAC address.
  • the network device may determine, according to the plurality of MAC addresses whose address distance is less than or equal to the second threshold, the corresponding MAC addresses.
  • the plurality of terminal devices have a second common characteristic.
  • the second threshold may be any value, and the second threshold may be set by a network administrator, or determined according to the address distance between the MAC addresses of terminal devices of the same device model currently on the market. This is because the MAC addresses of terminal devices of the same model are usually consecutive.
  • the MAC address of the iPhone-8 mobile phone exists at 08:00:20:0A:8C:6D, and another terminal device has no device name or cannot identify the device model according to the device name, but the MAC address of the terminal device can be obtained as 08: 00:20:0A:8C:00, if the calculated address distance between the MAC address of the terminal device and the known MAC address of the iPhone-8 is less than or equal to the second threshold, the network device can determine the device of the terminal device.
  • the model number is iPhone-8.
  • the N pieces of device information include N MAC addresses, and when deriving the second common feature from the plurality of MAC addresses, the network device may further aggregate the N MAC addresses. class; the network device determines that the multiple MAC addresses have a second common feature according to the multiple MAC addresses of the multiple device information belong to the same clustering category; the network device determines that the multiple MAC addresses have the second common feature according to the second common feature , and determine the device models of the multiple terminal devices.
  • the second common feature is a certain clustering category in a clustering result obtained by clustering MAC addresses.
  • the process of clustering the N MAC addresses by the network device may be implemented by a clustering algorithm.
  • the network device may also filter or reject MAC addresses that do not conform to the MAC address rule.
  • the MAC address rules can be set by the network administrator.
  • S401 and S402 may be performed each time a device model is identified.
  • the network device can automatically establish and maintain a dynamic feature library based on the identification result of the device model, and subsequently identify the device model according to the feature library, thereby reducing the identification time of each device model and improving the device model identification efficiency.
  • the feature library may include N device information of the N terminal devices, device models of the terminal devices, and common features of each device model (including the first common feature and/or the second common feature of each device model. ).
  • the network device can identify other terminal devices based on the identification results of the device models in S401 and S402.
  • the network device obtains first device information of a first terminal device, and the first terminal device is different from the N terminal devices; the network device extracts the first device information according to the first device information.
  • the common feature is that the model of the first terminal device is determined to be the device model. That is, the network device may identify the acquired first device information based on the common features of the extracted device models.
  • the network determines that the model of the first terminal device is the type of the first terminal device according to the common feature extracted from the first device information.
  • the network device may determine that the model of the first terminal device is the device model according to the presence of consecutive bits equal to or greater than the preset number of bits in the first MAC address and the M MAC addresses , wherein the M MAC addresses are the MAC addresses of M terminal devices in the multiple terminal devices, 1 ⁇ M ⁇ N, and M is an integer.
  • the network device may match the first MAC address with the device model according to the first MAC address.
  • the address distances of the M MAC addresses are less than or equal to the second threshold, and it is determined that the model of the first terminal device is the device model, where the M MAC addresses are M terminal devices in the multiple terminal devices MAC address, 1 ⁇ M ⁇ N, M is an integer.
  • the network device may also obtain the access capability and/or behavior of the terminal device through the device model, so that the network device or other third-party devices can be based on the access capability of the terminal device. and/or behavior, perform targeted optimization on terminal equipment and provide customized services for terminal equipment, or help improve the service performance of the network equipment or other third-party equipment, etc.
  • the network device determines, according to the device model of the terminal device, that the terminal device is an old model with an earlier delivery time. Due to hardware limitations, this type of terminal device is generally similar to an access point (Access Point, AP).
  • the maximum bandwidth cannot reach higher bandwidths such as 200M or 500M, so 50M or 100M bandwidth services can be recommended for such terminal equipment to avoid waste caused by too high bandwidth.
  • Equipment model determine that the terminal equipment is a newer model when it leaves the factory. This type of terminal equipment can reach 200M or 500M bandwidth, so a 200M or 500M bandwidth service can be recommended for this type of terminal equipment to bring better benefits to users. user experience.
  • the network device determines that the negotiation rate of the terminal device is 128M according to the device model of the terminal device, and the gateway device and the terminal device communicate at a rate below 128M; or the network According to the device model of the terminal model, the device determines that the negotiation rate of the terminal device is 1024M, and the gateway device and the terminal device communicate at a rate below 1024M to ensure better and more stable performance for the user. user experience.
  • the network device may extract K pieces of performance data according to K pieces of device information, where the K pieces of device information belong to the plurality of pieces of device information, where K ⁇ 1, and K is an integer.
  • the performance data is used to determine the access capability and/or behavior of the terminal device.
  • the performance data includes the Wi-Fi access frequency band (that is, the access frequency band of the terminal device), the Wi-Fi access mode (that is, the Wi-Fi access mode of the terminal device), and the number of negotiated antennas (that is, the terminal device and the gateway).
  • the number of antennas negotiated by the device the negotiation rate (ie the rate negotiated by the terminal device and the gateway device), and the signal strength (including the transmitted signal strength of the terminal device and/or the received signal strength of the network device).
  • the network device may obtain the access capability and/or behavior of the terminal device of the device model according to the performance data; or, the network device may send the analysis data obtained according to the performance data to a third party,
  • the third party acquires the access capability and/or behavior of the terminal device of the device model according to the analysis data.
  • the third party may be, for example, an operator or a gateway.
  • the obtained access capability of the terminal device may be the maximum access capability of the terminal device.
  • the network device acquires one or more of the access capabilities and behaviors of the terminal device of the device model according to the performance data, it includes one or more of the following implementation manners. It can be understood that, any combination of one or more of the following implementations can be made.
  • the performance data includes multiple received signal strength indicators (RSSIs) of the multiple terminal devices, and the network device obtains, according to the distribution of the multiple RSSIs, a signal with the device model. Access achievable rate of the terminal device. The accessible access rate is an estimated value. The third party may provide customized services to the terminal device of the device model according to the access reachable rate.
  • RSSIs received signal strength indicators
  • the performance data includes K Wi-Fi access frequency bands of the K terminal devices, and the network device determines the terminal of the device model according to statistics on the K Wi-Fi access frequency bands
  • the device supports single frequency access or dual frequency access.
  • the single-frequency access means that the terminal equipment is connected through 2.4G or 5G
  • the dual-frequency access means that the terminal equipment is connected through both 2.4G and 5G.
  • the network device or the third party can support single-frequency access or dual-frequency access according to the terminal equipment, and can provide customized services for the terminal equipment.
  • the recommended bandwidth for single-frequency access terminal equipment is smaller than that for dual-frequency access.
  • the performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K terminal devices, and the network device according to the K One or more of the number of negotiated antennas, the K negotiated rates, and/or the K Wi-Fi access modes, and the access capability of the terminal device with the device model is acquired.
  • the network device can communicate with the terminal device according to the access capability of the terminal device. For example, the terminal device can communicate with the terminal device at a negotiated rate to avoid channel congestion or waste of communication resources.
  • the access capability of the terminal device of the device model may include one or more of the maximum number of negotiated antennas, the maximum negotiated rate, and/or the maximum Wi-Fi access mode.
  • the performance data includes K signal strengths of the K terminal devices and one or more of the K Wi-Fi access frequency bands, and the network device is based on the K signal strengths and K Wi-Fi access frequency bands.
  • - Fi access to one or more of the frequency bands obtain the behavior of the terminal device with the device model. For example, when the third party determines that the terminal device of the device model is not within the management scope of the third party, for example, when it is determined that the terminal device has roaming behavior, it temporarily cuts off the channel provided for the terminal device, or the third party temporarily cuts off the channel provided for the terminal device.
  • the terminal device returns to the management range, for example, when the behavior of the terminal device is a local behavior, a channel connection is re-established for the terminal device that has been in a non-roaming state, and the like.
  • the network management system sends the first command (such as the GET_SUB_DEVICE_LIST command) to the gateway through the remote channel, instructing the gateway to collect the list information of the DHCP STA mounted on the gateway.
  • the first command such as the GET_SUB_DEVICE_LIST command
  • the gateway collects list information of the mounted STAs, where the list information includes device information of the mounted STAs, and the number of the mounted STAs is multiple, for example, the number of the mounted STAs is 10,000.
  • the information of the device mounted on the STA may include the MAC address of the STA, the device name of the STA, the access frequency band of the STA, the number of antennas negotiated by the STA and the gateway, the rate negotiated by the STA and the gateway, and the Wi-Fi access of the STA one or more of the patterns.
  • the network management system models the acquired device names in the STA-mounted device information, and generates a prefix tree, for example, generates a prefix tree for 10,000 device names in 10,000 device information. In other cases, the network management system may also select a part of the device names as required, such as 7000 device names to generate a prefix tree.
  • the network management system can determine the model of the device that mounts the STA according to the string corresponding to the last layer node (ie, the leaf node) and the set threshold. As shown in FIG. 7 , the gateway management system can determine the prefix.
  • Device models in the tree include: iPhone-6, iPhone-8, and (HUAWEI)MATE 10.
  • the network device management system performs clustering on the acquired MAC addresses in the device information on which the STA is mounted, and can determine one or more clustering categories after the clustering, for example, 3000 of the 10,000 MAC addresses.
  • the addresses are clustered into the same category, and the model of the device that mounts the STA is determined.
  • the network management system may determine, according to the clustering category, that the device models of the STAs mounted on the gateway include HUAWEI MATE 30 and HUAWEI P40.
  • FIG. 8 is a schematic diagram of a network device 800 provided by an embodiment of the present application.
  • the network device 800 can be applied to the network architecture shown in FIG. 1 or FIG. 2 , for example, it can be the network management system in the network architecture shown in FIG. 1 or FIG. operate.
  • the network device 800 may include a processor 801 , a memory 802 coupled to the processor 801 , and a transceiver 803 .
  • the processor 801 may be a central processing unit (English: central processing unit, CPU), a network processor (English: network processor, NP), or a combination of CPU and NP.
  • the processor 801 may further include a hardware chip.
  • the above-mentioned hardware chip may be an application specific integrated circuit (English: application specific integrated circuit, ASIC), a programmable logic device (English: programmable logic device, PLD) or a combination thereof.
  • the above-mentioned PLD can be a complex programmable logic device (English: complex programmable logic device, CPLD), a field programmable logic gate array (English: field programmable gate array, FPGA), a general-purpose array logic (English: generic array logic, GAL) or any combination thereof.
  • the processor 801 may refer to one processor, or may include multiple processors.
  • the memory 802 may include volatile memory (English: volatile memory), such as random access memory (English: random access memory, RAM); the memory may also include non-volatile memory (English: non-volatile memory), such as only Read memory (English: read only memory, ROM), flash memory (English: flash memory), hard disk drive (English: hard disk drive, HDD) or solid state hard disk (English: solid state disk, SSD); memory 802 can also Include a combination of the above types of memory.
  • the memory 802 may refer to one memory, or may include multiple memories.
  • the number of transceivers 803 may be one or more.
  • the processor 801 performs corresponding operations according to the computer-readable instructions stored in the memory.
  • the processor 801 is configured to extract common features according to multiple device information of multiple terminal devices, and determine the device models of the multiple terminal devices.
  • the transceiver 803 is configured to acquire N device information of the N terminal devices.
  • the computer-readable instructions stored in memory 802 may include software modules, such as processing module 804 .
  • the processor 801 can perform corresponding operations according to the instructions of each software module, and can cooperate with the transceiver 803 to complete the corresponding method steps.
  • FIG. 9 shows a schematic block diagram of a device model identification device 900 provided in an embodiment of the present application, and the device model identification device may be the network device (or a component having a network device function) in the foregoing FIG. 4 , or the device Components can be used with network equipment to support network equipment to achieve corresponding functions).
  • the device model identification device 900 may exist in the form of software, or may be a chip that can be used for the device.
  • the device type identification device 900 includes: a processing unit 901 and a transceiver unit 902 .
  • the transceiver unit 902 may be further divided into a sending unit (not shown in FIG. 9 ) and a receiving unit (not shown in FIG. 9 ).
  • the sending unit is used to support the device model identification device 900 to send information to other network elements.
  • the receiving unit is configured to support the device model identification apparatus 900 to receive information from other network elements.
  • the processing unit 901 can be used to support the network device in FIG. 4 to perform S401, S402, etc., and/or other processes for the solution described herein , for example, the network device obtains the access capability and/or behavior of the terminal device.
  • the transceiver unit 902 is used to support communication between the network device and other network elements, for example, to support the network device in FIG. device information, etc.
  • division method of the apparatus 900 described above is schematic, and the division of units may be the division of logical functions, and there may be other division or combination methods during specific implementation, and different division or combination methods do not affect the corresponding function realization.
  • An embodiment of the present application further provides a chip system, including: a processor, where the processor is coupled with a memory, the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the The chip system implements the method in any of the foregoing method embodiments.
  • the number of processors in the chip system may be one or more.
  • the processor can be implemented by hardware or by software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application.
  • the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips.
  • the setting method of the processor is not particularly limited.
  • the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller).
  • controller unit, MCU it can also be a programmable logic device (PLD) or other integrated chips.
  • each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when the computer reads and executes the computer-readable instructions, the computer is made to execute any of the foregoing method embodiments method in .
  • Embodiments of the present application further provide a computer program product, which, when the computer reads and executes the computer program product, causes the computer to execute the method in any of the above method embodiments.
  • An embodiment of the present application further provides a communication system, where the communication system includes a first network device and a terminal device for implementing the foregoing embodiments.
  • the communication system may further include a second network device, and the second network device includes an operator management device and/or a gateway device.
  • An embodiment of the present application further provides a communication system, where the communication system includes a first network device and a second network device for implementing the foregoing embodiments.
  • the second network device may be an operator management device and/or a gateway device.
  • the second network device may also be a device such as a DSL device, a PON device, a router, and/or a switch.
  • processors mentioned in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits ( application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM enhanced synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SCRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

The embodiments of the present application relate to a device model recognition method, an apparatus, a network device, and a system, for implementing the recognition of a device model of an access device, reducing the costs and workload of database maintenance during device model recognition. Said method comprises: a network device acquiring N pieces of device information of N access devices, the N access devices respectively corresponding to the N pieces of device information, N being greater than or equal to 2, and N being an integer; and the network device determining device models of a plurality of access devices according to common features of a plurality of pieces of extracted device information of the plurality of access devices, wherein the plurality of access devices belong to the N access devices, and the plurality of pieces of device information belong to the N pieces of device information.

Description

一种设备型号识别方法、装置、网络设备及系统A device model identification method, device, network device and system
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年06月30日提交中国专利局、申请号为202010622529.2、申请名称为“一种设备型号识别方法、装置、网络设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on June 30, 2020, with the application number of 202010622529.2 and the application title of "A Device Model Identification Method, Device, Network Equipment and System", the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及终端技术领域,尤其涉及一种设备型号识别方法、装置、网络设备及系统。The present application relates to the field of terminal technologies, and in particular, to a device model identification method, device, network device and system.
背景技术Background technique
当前随着终端设备技术的快速推广和应用,互联网技术(internet technology,IT)消费化的趋势愈发明显,企业员工希望使用自己的终端设备在家访问公司邮件、企业内网等资源,同时希望使用自己的终端设备进行工作。携带自己的设备办公(bring your own device,BYOD)作为IT消费化的一个重要表现形式,影响了原有的企业网络接入管理。为了保障企业网络的安全,企业网络管理员可以根据不同的终端设备类型,配置不同的网络访问策略。At present, with the rapid promotion and application of terminal equipment technology, the trend of Internet technology (internet technology, IT) consumerization is becoming more and more obvious. Enterprise employees want to use their terminal equipment to access corporate email, corporate intranet and other resources at home, and at the same time want to use own terminal equipment. Bring your own device (BYOD), as an important form of IT consumerization, affects the original enterprise network access management. To ensure the security of the enterprise network, the enterprise network administrator can configure different network access policies according to different types of terminal devices.
识别终端设备类型成为终端指纹识别的方式之一。不同类型的终端设备通常具有不同的特性,而这些特性例如可以在终端设备的通信行为中有所体现。因此,通过终端设备的通信行为,就可以根据行为分析具体的特性,并根据特性识别终端设备类型,从而更好地提供定制化的服务。但是现有的终端指纹识别技术限于网络安全或黑客领域使用,用于进行终端指纹识别的数据库维护方式复杂,且不利于自动识别和实时更新,在办公场景下的实用性不高。Identifying the type of terminal equipment has become one of the methods of terminal fingerprint identification. Different types of terminal devices usually have different characteristics, and these characteristics can be reflected, for example, in the communication behavior of the terminal devices. Therefore, through the communication behavior of the terminal device, specific characteristics can be analyzed according to the behavior, and the type of the terminal device can be identified according to the characteristics, so as to better provide customized services. However, the existing terminal fingerprint identification technology is limited to the field of network security or hacking. The database maintenance method for terminal fingerprint identification is complicated, and is not conducive to automatic identification and real-time update, and is not practical in office scenarios.
发明内容SUMMARY OF THE INVENTION
本申请提供一种设备型号识别方法、装置、网络设备及系统,用以实现对接入设备的设备型号的识别,降低设备型号识别过程中数据库维护的成本和工作量。The present application provides a device model identification method, device, network device and system, which are used to realize the identification of the device model of the access device and reduce the cost and workload of database maintenance during the device model identification process.
第一方面,本申请实施例提供一种设备型号识别方法,包括:网络设备获取N个接入设备的N个设备信息,所述N个接入设备和所述N个设备信息分别一一对应,N≥2,N为整数;所述网络设备提取多个接入设备的多个设备信息的共同特征;所述网络设备根据所述共同特征确定所述多个接入设备的设备型号,其中,所述多个接入设备属于所述N个接入设备,所述多个设备信息属于所述N个设备信息。In a first aspect, an embodiment of the present application provides a method for identifying a device model, including: a network device acquiring N device information of N access devices, and the N access devices and the N device information are in a one-to-one correspondence respectively , N≥2, N is an integer; the network device extracts common features of multiple device information of multiple access devices; the network device determines the device models of the multiple access devices according to the common features, wherein , the multiple access devices belong to the N access devices, and the multiple device information belongs to the N device information.
可选的,所述接入设备包括终端设备。Optionally, the access device includes a terminal device.
该方法中,网络设备对N个接入设备的N个设备信息进行大数据分析,自动识别接入设备的设备型号,无需维护大量的特征库数据,即可实现设备型号的识别,降低设备型号识别过程中数据库维护的成本和工作量。In the method, the network device performs big data analysis on the N device information of the N access devices, and automatically identifies the device model of the access device, without maintaining a large amount of feature database data, the device model can be identified, and the device model can be reduced. Identify the cost and effort of database maintenance in the process.
可以理解的是,本申请实施例提供的设备型号识别方法可以应用于企业网络,实现办公场景(如BYOD场景)下设备型号的识别,也可以应用于家庭网络,实现家庭网络中设 备型号的识别。当然,本申请实施例提供的设备型号识别方法也可以应用于网络安全领域。It can be understood that the device model identification method provided in the embodiments of the present application can be applied to enterprise networks to realize device model identification in office scenarios (such as BYOD scenarios), and can also be applied to home networks to realize device model identification in home networks. . Of course, the device model identification method provided by the embodiment of the present application can also be applied to the field of network security.
本申请实施例提供的设备型号识别方法不仅可以对接入设备的设备型号进行识别,还可以对接入设备的其他维度进行识别。例如所述其他维度可以包括操作系统、版本号(也称版本信息)、生产厂商(也称制造商)、或设备名称等中的一项或多项。The device model identification method provided by the embodiment of the present application can not only identify the device model of the access device, but also identify other dimensions of the access device. For example, the other dimensions may include one or more of an operating system, a version number (also called version information), a manufacturer (also called a manufacturer), or a device name, and the like.
可选的,所述网络设备可以基于确定的所述多个接入设备的设备型号建立、构建、及维护特征库,所述特征库中可以包括接入设备的设备型号、每个设备型号的共同特征、和每个设备型号的性能数据等中的一项或多项,以便于提高后续设备型号的识别效率。所述性能数据例如可以是接入设备的接入频段、协商天线个数、协商速率、无线保真(wireless fidelity,Wi-Fi)接入模式等。Optionally, the network device may establish, construct, and maintain a feature database based on the determined device models of the multiple access devices, and the feature database may include the device model of the access device, the information of each device model. One or more of common features and performance data of each device model, so as to improve the identification efficiency of subsequent device models. The performance data may be, for example, an access frequency band of the access device, the number of negotiated antennas, a negotiation rate, a wireless fidelity (wireless fidelity, Wi-Fi) access mode, and the like.
在一种可能的实现中,所述网络设备还可以获取第一接入设备的第一设备信息,所述第一接入设备不同于所述N个接入设备;所述网络设备根据从所述第一设备信息提取出所述共同特征,确定所述第一接入设备的型号为所述设备型号。In a possible implementation, the network device may also acquire first device information of a first access device, where the first access device is different from the N access devices; the network device The common feature is extracted from the first device information, and the model of the first access device is determined as the device model.
在该实现中,所述网络设备可以基于已提取到的设备型号所具有的共同特征,对待确认的接入设备的设备型号进行识别。例如,根据待确认的接入设备具有与设备型号为A的共同特征相同的特征,而确定该接入设备的设备型号为A。如此,通过该方法可以节省设备型号的识别时间,提高设备型号的识别效率。In this implementation, the network device may identify the device model of the access device to be confirmed based on the common features of the extracted device models. For example, the device model of the access device is determined to be A according to the fact that the access device to be confirmed has the same features as the device model A in common. In this way, the identification time of the device model can be saved by the method, and the identification efficiency of the device model can be improved.
在一种可能的实现中,所述N个设备信息至少分别包括以下一项或多项:接入设备的媒体访问控制MAC地址、接入设备的设备名称、接入设备的接入频段、接入设备与所述网关设备协商的天线数量、接入设备与所述网关设备协商的速率、或接入设备的Wi-Fi接入模式。In a possible implementation, the N pieces of device information respectively include at least one or more of the following: a media access control MAC address of the access device, a device name of the access device, an access frequency band of the access device, a The number of antennas negotiated between the access device and the gateway device, the rate negotiated between the access device and the gateway device, or the Wi-Fi access mode of the access device.
在一种可能的实现中,所述网络设备根据所述共同特征确定所述多个接入设备的设备型号,包括:In a possible implementation, the network device determines the device models of the multiple access devices according to the common feature, including:
所述多个设备信息包括多个设备名称,所述网络设备根据所述多个设备名称具有第一共同特征,确定所述多个接入设备的设备型号,所述第一共同特征属于所述共同特征;和/或,The multiple device information includes multiple device names, the network device determines the device models of the multiple access devices according to the multiple device names having a first common feature, and the first common feature belongs to the common characteristics; and/or,
所述多个设备信息包括多个MAC地址,所述网络设备根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,所述第二共同特征属于所述共同特征。The multiple device information includes multiple MAC addresses, and the network device determines the device models of the multiple access devices according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the Common feature.
其中,根据设备名称确定设备型号的方式,与根据MAC地址确定设备型号的方式可以单独使用,或者可以结合使用。The method of determining the device model according to the device name and the method of determining the device model according to the MAC address may be used alone, or may be used in combination.
在该实现中,所述网络设备可以通过对不同的设备信息进行分析,得到多个设备信息之间的共同特征,从而基于所述共同特征,识别出接入设备的设备型号。In this implementation, the network device can obtain common features among multiple pieces of device information by analyzing different device information, so as to identify the device model of the access device based on the common features.
在一种可能的实现中,所述网络设备根据所述多个设备名称具有第一共同特征,确定所述多个接入设备的设备型号之前,所述方法还包括:In a possible implementation, the network device has a first common feature according to the multiple device names, and before determining the device models of the multiple access devices, the method further includes:
所述网络设备对不符合设备命名规则的设备名称进行处理。The network device processes device names that do not conform to the device naming rules.
在该实现中,所述网络设备可以将不符合设备命名规则的设备名称进行过滤或剔除。例如所述网络设备获取到的设备名称为随机字符串,而随机字符串没有规律性,一般不会作为设备名称,因此所述网络设备可以将获取到的随机字符串进行剔除。In this implementation, the network device may filter or reject device names that do not conform to the device naming rules. For example, the device name obtained by the network device is a random character string, and the random character string has no regularity and is generally not used as a device name, so the network device can remove the obtained random character string.
或者在该实现中,所述网络设备可以在不符合设备命名规则的设备名称中提取接入设备有意义的设备名称。其中提取到的接入设备有意义的设备名称符合设备命名规则。例如,所述网络设备获取到的设备名称为有意义的设备名称+随机字符串,因此所述网络设备可 以提取有意义的设备名称,该有意义的设备名称可以看作是接入设备真实的设备名称。Or in this implementation, the network device may extract a meaningful device name of the access device from the device names that do not conform to the device naming rules. The meaningful device name of the extracted access device conforms to the device naming rules. For example, the device name obtained by the network device is a meaningful device name + a random string, so the network device can extract a meaningful device name, and the meaningful device name can be regarded as the real device name of the access device Device name.
在一种可能的实现中,所述网络设备根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号之前,所述方法还包括:In a possible implementation, before the network device determines the device models of the multiple access devices according to the second common feature of the multiple MAC addresses, the method further includes:
所述网络设备对不符合MAC地址规则的MAC地址进行过滤。The network device filters the MAC addresses that do not conform to the MAC address rules.
在一种可能的实现中,所述网络设备还可以根据所述多个设备名称中的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。In a possible implementation, the network device may further determine that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
当某个设备名称重复到一定次数时,即当某个设备名称的数量达到一定数量时,可以认为该设备名称对应一个设备型号,因此网络设备可以根据设备名称中的第一特征,确定第一共同特征。When a device name is repeated for a certain number of times, that is, when the number of a device name reaches a certain number, it can be considered that the device name corresponds to a device model, so the network device can determine the first feature according to the first feature in the device name. Common feature.
其中所述第一阈值可以由网络管理员进行设置。所述第一阈值设置的越大,设备型号识别的准确率可能会有所提高,但是无法识别到的设备型号可能也越多;所述第一阈值设置的越小,设备型号识别的准确率可能会有所降低,但是能够识别到的设备型号可能也越多。The first threshold may be set by a network administrator. The larger the first threshold is set, the higher the accuracy of device model recognition may be, but the more unrecognized device models may be; the smaller the first threshold is set, the more accurate the device model recognition is. It may be lower, but the number of device models that can be recognized may also be more.
在一种可能的实现中,所述N个设备信息包括N个设备名称,所述网络设备根据所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征,包括:In a possible implementation, the N pieces of device information include N device names, and the network device determines that the first feature is based on the number of occurrences of the first feature of the multiple device names exceeding a first threshold. The first common feature includes:
所述网络设备根据所述N个设备名称生成前缀树;generating, by the network device, a prefix tree according to the N device names;
所述网络设备根据所述前缀树中所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。The network device determines that the first feature is the first common feature according to the number of occurrences of the first feature of the multiple device names in the prefix tree exceeding a first threshold.
可选的,所述网络设备还可以通过最大前缀或人工智能(artificial intelligence,AI)算法的方式,确定第一共同特征。Optionally, the network device may also determine the first common feature by means of a maximum prefix or an artificial intelligence (artificial intelligence, AI) algorithm.
在一种可能的实现中,所述N个设备信息包括N个MAC地址,所述网络设备根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,包括:In a possible implementation, the N device information includes N MAC addresses, and the network device determines the device models of the multiple access devices according to the second common feature of the multiple MAC addresses, including :
所述网络设备对所述N个MAC地址进行聚类;The network device performs clustering on the N MAC addresses;
所述网络设备根据所述多个设备信息的所述多个MAC地址属于同一聚类类别,确定所述多个MAC地址具有第二共同特征;The network device determines that the multiple MAC addresses have a second common feature according to the multiple MAC addresses of the multiple device information belonging to the same clustering category;
所述网络设备根据所述第二共同特征,确定所述多个接入设备的设备型号。The network device determines the device models of the multiple access devices according to the second common feature.
同一型号的接入设备的MAC地址通常是连续的,因此在该实现中,可以通过对多个MAC地址进行聚类,针对属于同一聚类类别的MAC地址确定第二共同特征。The MAC addresses of the access devices of the same model are usually consecutive, so in this implementation, the second common feature can be determined for the MAC addresses belonging to the same clustering category by clustering multiple MAC addresses.
在一种可能的实现中,所述第一设备信息包括所述第一接入设备的第一媒体访问控制MAC地址,所述方法还包括:In a possible implementation, the first device information includes a first media access control MAC address of the first access device, and the method further includes:
所述网络设备根据所述第一MAC地址与M个MAC地址存在等于或大于预设比特位数的连续比特位,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数;或者,The network device determines that the model of the first access device is the device model according to the presence of consecutive bits equal to or greater than a preset number of bits between the first MAC address and the M MAC addresses, wherein the The M MAC addresses are the MAC addresses of M access devices in the multiple access devices, 1≤M≤N, where M is an integer; or,
所述网络设备根据所述第一MAC地址与M个MAC地址的地址距离小于或等于第二阈值,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数。The network device determines that the model of the first access device is the device model according to the address distance between the first MAC address and the M MAC addresses being less than or equal to a second threshold, wherein the M MAC addresses is the MAC addresses of M access devices in the multiple access devices, 1≤M≤N, and M is an integer.
在一种可能的实现中,所述网络设备根据所述共同特征确定所述多个接入设备的设备型号之后,所述网络设备还可以根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数。In a possible implementation, after the network device determines the device models of the multiple access devices according to the common feature, the network device may further extract K pieces of performance data according to K pieces of device information, and the K pieces of device information belong to the plurality of pieces of device information, where K≧1, where K is an integer.
所述性能数据可以用于故障快速分责及网络洞察,可以对接入设备进行针对性的优化以及为接入设备提供定制化的服务。The performance data can be used for rapid fault division and network insight, targeted optimization of access devices and customized services for access devices.
在一种可能的实现中,所述方法还包括:In a possible implementation, the method further includes:
所述网络设备根据所述性能数据,获取所述设备型号的接入设备的接入能力和/或行为;或者,The network device obtains, according to the performance data, the access capability and/or behavior of the access device of the device model; or,
所述网络设备将根据所述性能数据获取的分析数据发送至第三方,以使得所述第三方根据所述分析数据获取所述设备型号的接入设备的接入能力和/或行为。The network device sends the analysis data obtained according to the performance data to a third party, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
在一种可能的实现中,所述性能数据包括Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。In a possible implementation, the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
在一种可能的实现中,所述网络设备根据所述性能数据,获取所述设备型号的接入设备的接入能力和行为中的一个或多个,包括:In a possible implementation, the network device acquires one or more of the access capabilities and behaviors of the access device of the device model according to the performance data, including:
所述性能数据包括所述多个接入设备的多个接收信号强度RSSI,所述网络设备根据所述多个RSSI的分布情况,获取具有所述设备型号的接入设备的接入可达速率;或者,The performance data includes multiple RSSIs of received signal strengths of the multiple access devices, and the network device obtains, according to the distribution of the multiple RSSIs, the accessible access rate of the access device with the device model ;or,
所述性能数据包括所述K个接入设备的K个Wi-Fi接入频段,所述网络设备根据对所述K个Wi-Fi接入频段的统计,确定所述设备型号的接入设备支持单频接入或双频接入;或者,The performance data includes K Wi-Fi access frequency bands of the K access devices, and the network device determines the access device of the device model according to statistics on the K Wi-Fi access frequency bands Supports single-band access or dual-band access; or,
所述性能数据包括所述K个接入设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,所述网络设备根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,获取具有所述设备型号的接入设备的接入能力;或者,The performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K access devices, and the network device negotiates according to the K negotiated antennas. One or more of the number of antennas, K negotiated rates and/or K Wi-Fi access modes, to obtain the access capability of the access device with the device model; or,
所述性能数据包括所述K个接入设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,所述网络设备根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,获取具有所述设备型号的接入设备的行为。The performance data includes K signal strengths of the K access devices and one or more of K Wi-Fi access frequency bands, the network device according to the K signal strengths and K Wi-Fi Access one or more of the frequency bands, and obtain the behavior of the access device with the device model.
在一种可能的实现中,所述第三方包括运营商管理设备或网关设备。In a possible implementation, the third party includes an operator management device or a gateway device.
第二方面,本申请实施例还提供一种设备型号识别装置,所述设备型号识别装置具有实现上述第一方面或所述第一方面所述的任一方法实现中的网络设备的功能,其包括用于执行各相应方法所描述的步骤或功能相对应的部件(means)。所述步骤或功能可以通过软件实现,或硬件(如电路)实现,或者通过硬件和软件结合来实现。In a second aspect, an embodiment of the present application further provides a device model identification device, the device model identification device has the function of implementing the network device in the first aspect or the implementation of any method described in the first aspect. Means corresponding to the steps or functions described for performing the respective methods are included. The steps or functions can be implemented by software, or by hardware (eg, circuits), or by a combination of hardware and software.
在一种可能的实现中,上述装置包括一个或多个处理单元和收发单元。所述一个或多个处理单元被配置为支持所述装置执行上述方法中网络设备相应的功能。In a possible implementation, the above apparatus includes one or more processing units and transceiver units. The one or more processing units are configured to support the apparatus to perform the corresponding functions of the network device in the above method.
具体的,收发单元,用于获取N个接入设备的N个设备信息,所述N个接入设备和所述N个设备信息分别一一对应,N≥2,N为整数;Specifically, the transceiver unit is configured to acquire N pieces of device information of N access devices, the N access devices and the N pieces of device information are in one-to-one correspondence, N≥2, and N is an integer;
处理单元,用于提取多个接入设备的多个设备信息的共同特征,根据所述共同特征确定所述多个接入设备的设备型号,其中,所述多个接入设备属于所述N个接入设备,所述多个设备信息属于所述N个设备信息。a processing unit, configured to extract common features of multiple device information of multiple access devices, and determine device models of the multiple access devices according to the common features, wherein the multiple access devices belong to the N access devices, and the multiple pieces of equipment information belong to the N pieces of equipment information.
在一种可能的实现中,所述收发单元,还用于获取第一接入设备的第一设备信息,所述第一接入设备不同于所述N个接入设备;In a possible implementation, the transceiver unit is further configured to acquire first device information of a first access device, where the first access device is different from the N access devices;
所述处理单元,还用于根据从所述第一设备信息提取出所述共同特征,确定所述第一接入设备的型号为所述设备型号。The processing unit is further configured to determine the model of the first access device as the device model according to the common feature extracted from the first device information.
在一种可能的实现中,所述N个设备信息至少分别包括以下一项或多项:接入设备的 MAC地址或接入设备的设备名称。In a possible implementation, the N pieces of device information respectively include at least one or more of the following: the MAC address of the access device or the device name of the access device.
在一种可能的实现中,所述处理单元,具体用于所述多个设备信息包括多个设备名称,根据所述多个设备名称具有第一共同特征,确定所述多个接入设备的设备型号,所述第一共同特征属于所述共同特征;或者,In a possible implementation, the processing unit is specifically configured to: the multiple device information includes multiple device names, and according to the multiple device names having a first common feature, determine the multiple access devices. The model of the device to which the first common feature belongs; or,
所述多个设备信息包括多个MAC地址,根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,所述第二共同特征属于所述共同特征。The multiple device information includes multiple MAC addresses, and the device models of the multiple access devices are determined according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the common feature.
在一种可能的实现中,所述处理单元,还用于根据所述多个设备名称中的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。In a possible implementation, the processing unit is further configured to determine that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
在一种可能的实现中,所述处理单元,具体用于所述N个设备信息包括N个设备名称,根据所述N个设备名称生成前缀树;根据所述前缀树中所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。In a possible implementation, the processing unit is specifically configured to: the N device information includes N device names, and a prefix tree is generated according to the N device names; according to the multiple devices in the prefix tree When the number of occurrences of the first feature of the name exceeds a first threshold, the first feature is determined to be the first common feature.
在一种可能的实现中,所述处理单元,具体用于所述N个设备信息包括N个MAC地址,对所述N个MAC地址进行聚类;根据所述多个设备信息的所述多个MAC地址属于同一聚类类别,确定所述多个MAC地址具有第二共同特征;根据所述第二共同特征,确定所述多个接入设备的设备型号。In a possible implementation, the processing unit is specifically configured to perform the clustering of the N MAC addresses according to the N pieces of device information including N MAC addresses; If the MAC addresses belong to the same clustering category, it is determined that the multiple MAC addresses have a second common feature; and the device models of the multiple access devices are determined according to the second common feature.
在一种可能的实现中,所述处理单元,还用于所述第一设备信息包括所述第一接入设备的第一媒体访问控制MAC地址,根据所述第一MAC地址与M个MAC地址存在等于或大于预设比特位数的连续比特位,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数;或者,In a possible implementation, the processing unit is further configured for the first device information to include a first media access control MAC address of the first access device, according to the first MAC address and M MAC addresses The address has consecutive bits equal to or greater than the preset number of bits, and it is determined that the model of the first access device is the device model, wherein the M MAC addresses are M of the multiple access devices MAC address of each access device, 1≤M≤N, where M is an integer; or,
根据所述第一MAC地址与M个MAC地址的地址距离小于或等于第二阈值,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数。According to the address distance between the first MAC address and the M MAC addresses being less than or equal to a second threshold, it is determined that the model of the first access device is the device model, wherein the M MAC addresses are the multiple MAC addresses. MAC addresses of M access devices in the access devices, 1≤M≤N, where M is an integer.
在一种可能的实现中,所述处理单元,还用于根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数。In a possible implementation, the processing unit is further configured to extract K pieces of performance data according to K pieces of equipment information, where the K pieces of equipment information belong to the plurality of pieces of equipment information, K≥1, and K is an integer.
在一种可能的实现中,所述处理单元,还用于根据所述性能数据,获取所述设备型号的接入设备的接入能力和/或行为;或者,In a possible implementation, the processing unit is further configured to acquire, according to the performance data, the access capability and/or behavior of the access device of the device model; or,
通过所述收发单元将根据所述性能数据获取的分析数据发送至第三方,以使得所述第三方根据所述分析数据获取所述设备型号的接入设备的接入能力和/或行为。The analysis data obtained according to the performance data is sent to a third party by the transceiver unit, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
在一种可能的实现中,所述性能数据包括Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。In a possible implementation, the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
在一种可能的实现中,所述性能数据包括所述多个接入设备的多个接收信号强度RSSI,所述处理单元,具体用于根据所述多个RSSI的分布情况,通过所述收发单元获取具有所述设备型号的接入设备的接入可达速率;或者,In a possible implementation, the performance data includes multiple received signal strength RSSIs of the multiple access devices, and the processing unit is specifically configured to, according to the distribution of the multiple RSSIs, transmit and receive The unit acquires the access reachable rate of the access device with the device model; or,
所述性能数据包括所述K个接入设备的K个Wi-Fi接入频段,所述处理单元,具体用于根据对所述K个Wi-Fi接入频段的统计,确定所述设备型号的接入设备支持单频接入或双频接入;或者,The performance data includes K Wi-Fi access frequency bands of the K access devices, and the processing unit is specifically configured to determine the device model according to statistics on the K Wi-Fi access frequency bands The access device supports single-frequency access or dual-frequency access; or,
所述性能数据包括所述K个接入设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,所述处理单元,具体用于根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,通过所述收发单元获取具有所述设备型 号的接入设备的接入能力;或者,The performance data includes one or more of the K negotiated antenna numbers, the K negotiated rates, and the K Wi-Fi access modes of the K access devices. one or more of the K negotiated antenna numbers, K negotiated rates and/or K Wi-Fi access modes, and obtain the access capability of the access device with the device model through the transceiver unit; or,
所述性能数据包括所述K个接入设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,所述处理单元,具体用于根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,通过所述收发单元获取具有所述设备型号的接入设备的行为。The performance data includes K signal strengths of the K access devices and one or more of the K Wi-Fi access frequency bands. In one or more of the Wi-Fi access frequency bands, the transceiver unit acquires the behavior of the access device with the device model.
在一种可能的实现中,所述第三方包括运营商管理设备或网关设备。In a possible implementation, the third party includes an operator management device or a gateway device.
第三方面,本申请实施例还提供一种网络设备,该设备包括处理器和存储器,所述处理器与所述存储器耦合;In a third aspect, an embodiment of the present application further provides a network device, the device includes a processor and a memory, the processor is coupled to the memory;
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述存储器中存储的计算机程序,以使得所述装置执行以下操作:A processor for executing a computer program stored in the memory to cause the apparatus to perform the following operations:
获取N个接入设备的N个设备信息,所述N个接入设备和所述N个设备信息分别一一对应,N≥2,N为整数;Obtain N device information of N access devices, where the N access devices and the N device information are in one-to-one correspondence, N≥2, and N is an integer;
提取多个接入设备的多个设备信息的共同特征,根据所述共同特征确定所述多个接入设备的设备型号,其中,所述多个接入设备属于所述N个接入设备,所述多个设备信息属于所述N个设备信息。extracting common features of multiple device information of multiple access devices, and determining device models of the multiple access devices according to the common features, wherein the multiple access devices belong to the N access devices, The pieces of device information belong to the N pieces of device information.
在一种可能的实现中,所述处理器还用于执行所述计算机程序,以执行以下操作:In a possible implementation, the processor is further configured to execute the computer program to perform the following operations:
获取第一接入设备的第一设备信息,所述第一接入设备不同于所述N个接入设备;acquiring first device information of a first access device, where the first access device is different from the N access devices;
根据从所述第一设备信息提取出所述共同特征,确定所述第一接入设备的型号为所述设备型号。According to the common feature extracted from the first device information, it is determined that the model of the first access device is the device model.
在一种可能的实现中,所述N个设备信息至少分别包括以下一项或多项:接入设备的MAC地址或接入设备的设备名称。In a possible implementation, the N pieces of device information respectively include at least one or more of the following: the MAC address of the access device or the device name of the access device.
在一种可能的实现中,所述处理器具体用于执行所述计算机程序,以执行以下操作:In a possible implementation, the processor is specifically configured to execute the computer program to perform the following operations:
所述多个设备信息包括多个设备名称,根据所述多个设备名称具有第一共同特征,确定所述多个接入设备的设备型号,所述第一共同特征属于所述共同特征;或者,The multiple device information includes multiple device names, and the device models of the multiple access devices are determined according to the multiple device names having a first common feature, and the first common feature belongs to the common feature; or ,
所述多个设备信息包括多个MAC地址,根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,所述第二共同特征属于所述共同特征。The multiple device information includes multiple MAC addresses, and the device models of the multiple access devices are determined according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the common feature.
在一种可能的实现中,所述处理器还用于执行所述计算机程序,以执行以下操作:In a possible implementation, the processor is further configured to execute the computer program to perform the following operations:
根据所述多个设备名称中的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。According to the number of occurrences of the first feature in the plurality of device names exceeding a first threshold, it is determined that the first feature is the first common feature.
在一种可能的实现中,所述N个设备信息包括N个设备名称,所述处理器具体用于执行所述计算机程序,以执行以下操作:In a possible implementation, the N device information includes N device names, and the processor is specifically configured to execute the computer program to perform the following operations:
根据所述N个设备名称生成前缀树;generating a prefix tree according to the N device names;
根据所述前缀树中所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。According to the number of occurrences of the first feature of the plurality of device names in the prefix tree exceeding a first threshold, it is determined that the first feature is the first common feature.
在一种可能的实现中,所述N个设备信息包括N个MAC地址,所述处理器具体用于执行所述计算机程序,以执行以下操作:In a possible implementation, the N pieces of device information include N MAC addresses, and the processor is specifically configured to execute the computer program to perform the following operations:
对所述N个MAC地址进行聚类;clustering the N MAC addresses;
根据所述多个设备信息的所述多个MAC地址属于同一聚类类别,确定所述多个MAC地址具有第二共同特征;According to the plurality of MAC addresses of the plurality of device information belonging to the same clustering category, it is determined that the plurality of MAC addresses have a second common characteristic;
根据所述第二共同特征,确定所述多个接入设备的设备型号。According to the second common feature, device models of the multiple access devices are determined.
在一种可能的实现中,所述第一设备信息包括所述第一接入设备的第一媒体访问控制 MAC地址,所述处理器还用于执行所述计算机程序,以执行以下操作:In a possible implementation, the first device information includes a first media access control MAC address of the first access device, and the processor is further configured to execute the computer program to perform the following operations:
根据所述第一MAC地址与M个MAC地址存在等于或大于预设比特位数的连续比特位,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数;或者,According to the existence of consecutive bits equal to or greater than a preset number of bits between the first MAC address and the M MAC addresses, it is determined that the model of the first access device is the device model, wherein the M MAC addresses is the MAC addresses of M access devices in the multiple access devices, 1≤M≤N, M is an integer; or,
根据所述第一MAC地址与M个MAC地址的地址距离小于或等于第二阈值,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数。According to the address distance between the first MAC address and the M MAC addresses being less than or equal to a second threshold, it is determined that the model of the first access device is the device model, wherein the M MAC addresses are the multiple MAC addresses. MAC addresses of M access devices in the access devices, 1≤M≤N, where M is an integer.
在一种可能的实现中,所述处理器还用于执行所述计算机程序,以执行以下操作:In a possible implementation, the processor is further configured to execute the computer program to perform the following operations:
根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数。Extract K pieces of performance data according to K pieces of equipment information, where the K pieces of equipment information belong to the plurality of pieces of equipment information, K≥1, and K is an integer.
在一种可能的实现中,所述处理器还用于执行所述计算机程序,以执行以下操作:In a possible implementation, the processor is further configured to execute the computer program to perform the following operations:
根据所述性能数据,获取所述设备型号的接入设备的接入能力和/或行为;或者,Obtain the access capability and/or behavior of the access device of the device model according to the performance data; or,
将根据所述性能数据获取的分析数据发送至第三方,以使得所述第三方根据所述分析数据获取所述设备型号的接入设备的接入能力和/或行为。The analysis data obtained according to the performance data is sent to a third party, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
在一种可能的实现中,所述性能数据包括Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。In a possible implementation, the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
在一种可能的实现中,所述处理器具体用于执行所述计算机程序,以执行以下操作:In a possible implementation, the processor is specifically configured to execute the computer program to perform the following operations:
所述性能数据包括所述多个接入设备的多个接收信号强度RSSI,根据所述多个RSSI的分布情况,获取具有所述设备型号的接入设备的接入可达速率;或者,The performance data includes multiple RSSIs of the multiple received signal strengths of the multiple access devices, and according to the distribution of the multiple RSSIs, obtain the access reachable rate of the access device with the device model; or,
所述性能数据包括所述K个接入设备的K个Wi-Fi接入频段,根据对所述K个Wi-Fi接入频段的统计,确定所述设备型号的接入设备支持单频接入或双频接入;或者,The performance data includes K Wi-Fi access frequency bands of the K access devices. According to statistics on the K Wi-Fi access frequency bands, it is determined that the access device of the device model supports single-frequency access. access or dual-band access; or,
所述性能数据包括所述K个接入设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,获取具有所述设备型号的接入设备的接入能力;或者,The performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K access devices. According to the K negotiated antenna numbers, One or more of the K negotiated rates and/or K Wi-Fi access modes, obtain the access capability of the access device with the device model; or,
所述性能数据包括所述K个接入设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,获取具有所述设备型号的接入设备的行为。The performance data includes K signal strengths of the K access devices and one or more of the K Wi-Fi access frequency bands, according to the K signal strengths and the K Wi-Fi access frequency bands. One or more of , obtain the behavior of the access device with the device model.
在一种可能的实现中,所述第三方包括运营商或网关。In a possible implementation, the third party includes an operator or a gateway.
第四方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行第一方面或者第一方面任意一种可能的实现中的方法。In a fourth aspect, the embodiments of the present application further provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer executes the first aspect or any one of the first aspects. method in a possible implementation.
第五方面,本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面或者第一方面任意一种可能的实现中的方法。In a fifth aspect, an embodiment of the present application further provides a computer program product, the computer program product includes: computer program code, when the computer program code runs on a computer, the computer program code enables the computer to execute the first aspect or any of the first aspect. A method in a possible implementation.
第六方面,本申请实施例还提供一种通信系统,所述系统包括用于执行第一方面或者第一方面任意一种可能的实现中的方法的第一网络设备和接入设备。In a sixth aspect, an embodiment of the present application further provides a communication system, where the system includes a first network device and an access device for executing the method in the first aspect or any possible implementation of the first aspect.
可选的,所述通信系统还可以包括第二网络设备,所述第二网络设备可以为运营商管理设备和/或网关设备等。所述第一网络设备可以为网络管理设备等。所述接入设备可以为终端设备等。Optionally, the communication system may further include a second network device, and the second network device may be an operator management device and/or a gateway device or the like. The first network device may be a network management device or the like. The access device may be a terminal device or the like.
第七方面,本申请实施例还提供一种通信系统,所述系统包括第一网络设备和第二网 络设备,所述第一网络设备可以用于执行第一方面或者第一方面任意一种可能的实现中的方法。所述第一网络设备,在根据多个接入设备的多个设备信息的共同特征确定所述多个接入设备的设备型号之后,还用于根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数,并将根据所述性能数据获取的所述设备型号的接入设备的接入能力和/或行为发送给所述第二网络设备;或者将根据所述性能数据获取的分析数据发送至所述第二网络设备。所述第二网络设备,用于接收所述设备型号的接入设备的接入能力和/或行为;或者根据所述分析数据获取所述设备型号的接入设备的接入能力和/或性能。In a seventh aspect, an embodiment of the present application further provides a communication system, where the system includes a first network device and a second network device, and the first network device may be used to execute the first aspect or any possibility of the first aspect method in the implementation. The first network device is further configured to extract K pieces of performance data according to the K pieces of equipment information after determining the equipment models of the multiple pieces of access equipment according to the common features of the pieces of equipment information of the multiple pieces of access equipment. The K pieces of equipment information belong to the multiple pieces of equipment information, K≥1, K is an integer, and the access capability and/or behavior of the access equipment of the equipment model obtained according to the performance data is sent to the the second network device; or send the analysis data obtained according to the performance data to the second network device. the second network device, configured to receive the access capability and/or behavior of the access device of the device model; or obtain the access capability and/or performance of the access device of the device model according to the analysis data .
在一种可能的实现中,所述性能数据包括Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。In a possible implementation, the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
在一种可能的实现中,在第一网络设备获取N个接入设备的N个设备信息之前,所述第二网络设备还用于向所述第一网络设备发送所述N个设备信息,N≥2,N为整数。In a possible implementation, before the first network device acquires the N device information of the N access devices, the second network device is further configured to send the N device information to the first network device, N≥2, N is an integer.
在一种可能的实现中,所述第二网络设备为网关设备或运营商管理设备。可选的,所述第二网络设备也可以是数字用户线(digital subscriber line,DSL)设备、无源光网络(passive optical network,PON)设备、路由器和/或交换机等设备。In a possible implementation, the second network device is a gateway device or an operator management device. Optionally, the second network device may also be a digital subscriber line (digital subscriber line, DSL) device, a passive optical network (passive optical network, PON) device, a router, and/or a switch and other devices.
在一种可能的实现中,所述第一网络设备为网络管理设备。In a possible implementation, the first network device is a network management device.
在一种可能的实现中,所述性能数据包括多个接入设备的多个接收信号强度RSSI,所述接入能力的获取包括:根据所述多个RSSI的分布情况,获取具有所述设备型号的接入设备的接入可达速率;或者,In a possible implementation, the performance data includes multiple RSSIs of received signal strengths of multiple access devices, and the obtaining of the access capability includes: obtaining, according to the distribution of the multiple RSSIs, the devices with the RSSI. The access achievable rate of the access device of the model; or,
所述性能数据包括所述K个接入设备的K个Wi-Fi接入频段,所述接入能力的获取包括:根据对所述K个Wi-Fi接入频段的统计,确定所述设备型号的接入设备支持单频接入或双频接入;或者,The performance data includes K Wi-Fi access frequency bands of the K access devices, and the acquisition of the access capability includes: determining the device according to statistics on the K Wi-Fi access frequency bands Models of access devices that support single-band access or dual-band access; or,
所述性能数据包括所述K个接入设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,所述接入能力的获取包括:根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,获取具有所述设备型号的接入设备的接入能力;或者,The performance data includes one or more of the K negotiated antenna numbers, the K negotiated rates, and the K Wi-Fi access modes of the K access devices, and the acquisition of the access capability includes: One or more of the K negotiated antenna numbers, K negotiated rates, and/or K Wi-Fi access modes, obtain the access capability of the access device with the device model; or,
所述性能数据包括所述K个接入设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,所述设备行为的获取包括:根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,获取具有所述设备型号的接入设备的行为。The performance data includes K signal strengths of the K access devices and one or more of K Wi-Fi access frequency bands, and the acquisition of the device behavior includes: according to the K signal strengths and K For one or more of the Wi-Fi access frequency bands, obtain the behavior of the access device with the device model.
上述第二方面至第七方面中任一方面及其任一方面中任意一种可能的设计可以达到的技术效果,请参照上述第一方面及其第一方面中相应设计可以带来的技术效果描述,这里不再重复赘述。For the technical effect that can be achieved by any one of the above-mentioned second to seventh aspects and any possible design in any of them, please refer to the above-mentioned first aspect and the technical effect that the corresponding design in the first aspect can bring. description, which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例适用的一种企业网络的架构示意图;FIG. 1 is a schematic diagram of the architecture of an enterprise network to which an embodiment of the application is applied;
图2为本申请实施例适用的一种家庭网络的架构示意图;FIG. 2 is a schematic structural diagram of a home network to which an embodiment of the application is applied;
图3为本申请实施例适用的一种MAC地址示意图;FIG. 3 is a schematic diagram of a MAC address applicable to an embodiment of the present application;
图4为本申请实施例适用的一种设备型号识别流程示意图;FIG. 4 is a schematic flowchart of a device model identification process applicable to the embodiment of the application;
图5为本申请实施例适用的一种前缀树示意图;FIG. 5 is a schematic diagram of a prefix tree applicable to the embodiment of the present application;
图6为本申请实施例适用的一种前缀树示意图;FIG. 6 is a schematic diagram of a prefix tree applicable to the embodiment of the present application;
图7为本申请实施例适用的一种前缀树示意图;FIG. 7 is a schematic diagram of a prefix tree to which an embodiment of the present application is applicable;
图8为本申请实施例适用的一种网络设备示意图;FIG. 8 is a schematic diagram of a network device to which an embodiment of the application is applied;
图9为本申请实施例适用的一种设备型号识别装置示意图。FIG. 9 is a schematic diagram of a device type identification device applicable to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
图1为本申请实施例适用的一种家庭网络的架构示意图。如图1所示,家庭网络中包括家庭网络管理系统、家庭网关和终端设备,其中家庭网络管理系统、家庭网关和终端设备的数量均可以为一个或多个。FIG. 1 is a schematic structural diagram of a home network to which an embodiment of the present application is applied. As shown in FIG. 1 , a home network includes a home network management system, a home gateway and a terminal device, wherein the number of the home network management system, the home gateway and the terminal device may be one or more.
在所述家庭网络中,将网关代理(agent)集成到家庭网关,所述网关agent用于将所述家庭网络管理系统的请求转换为家庭网关请求,进而实现对家庭网关的控制。所述家庭网关启动后可以通过网络协议连接到所述家庭网络管理系统。所述终端设备可以通过动态主机配置协议(dynamic host configuration protocol,DHCP)协议接入所述家庭网关。所述家庭网关可以获取到所述终端设备的设备信息,从而根据获取到的设备信息,确定终端设备类型(如设备型号)。In the home network, a gateway agent (agent) is integrated into the home gateway, and the gateway agent is used to convert the request of the home network management system into a home gateway request, thereby realizing the control of the home gateway. After the home gateway is started, it can be connected to the home network management system through a network protocol. The terminal device may access the home gateway through a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) protocol. The home gateway may acquire the device information of the terminal device, so as to determine the terminal device type (eg device model) according to the acquired device information.
所述家庭网络管理系统可以为家庭的应用功能(application function,AF)网元,如所述家庭网络管理系统可以为用于远程管理家庭网络内终端设备的管理服务器等。The home network management system may be a home application function (application function, AF) network element, for example, the home network management system may be a management server or the like for remotely managing terminal devices in the home network.
所述家庭网关可以为路由器。所述家庭网关的局域网(local area network,LAN)口可以对应有服务集标识(service set identifier,SSID),所述SSID的值可以为所述家庭网关的媒体访问控制(media access control,MAC)地址。The home gateway may be a router. The local area network (LAN) port of the home gateway may correspond to a service set identifier (service set identifier, SSID), and the value of the SSID may be the media access control (media access control, MAC) of the home gateway address.
Agent为可运行程序,用于将网络管理系统的请求转换为网关请求。The Agent is a runnable program, which is used to convert the request of the network management system into the request of the gateway.
所述终端设备的角色可以包括接入点(access point,AP)和/或站点(station,STA)。AP可以为无线路由器、Wi-Fi中继器等设备,STA可以为接入到家庭网络中的个人计算机、手机、平板电脑等设备。The roles of the terminal device may include an access point (access point, AP) and/or a station (station, STA). The AP can be a wireless router, a Wi-Fi repeater and other devices, and the STA can be a personal computer, a mobile phone, a tablet computer, and other devices connected to the home network.
所述家庭网关可以获取到与所述MAC地址连接的终端设备的设备信息。所述家庭网关还可以扫描到AP热点的SSID2,从而获取到连接到所述AP热点的终端设备的设备信息。The home gateway may acquire the device information of the terminal device connected to the MAC address. The home gateway may also scan the SSID2 of the AP hotspot, so as to obtain the device information of the terminal device connected to the AP hotspot.
如图1所示,所述家庭网络中可以包括多个STA/AP与所述家庭网关连接,并且STA/AP下还可以包括多个STA与其连接。As shown in FIG. 1 , the home network may include multiple STAs/APs connected to the home gateway, and the STA/AP may also include multiple STAs connected to it.
可以理解的是,虽然以图1所示的家庭网络架构为例,但本申请实施例还可以适用于其他网络架构或网络类型。例如图2所示,企业网络中包括(一个或多个)企业网络管理系统、(一个或多个)企业网关和(一个或多个)终端设备。图2与图1之中的相似之处,在此不做赘述。It can be understood that, although the home network architecture shown in FIG. 1 is used as an example, the embodiments of the present application may also be applicable to other network architectures or network types. For example, as shown in FIG. 2, the enterprise network includes (one or more) enterprise network management systems, (one or more) enterprise gateways and (one or more) terminal devices. Similarities between FIG. 2 and FIG. 1 will not be repeated here.
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。This application will present various aspects, embodiments, or features around a system that may include a plurality of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc., and/or may not include all of the devices, components, modules, etc. discussed in connection with the figures. In addition, combinations of these schemes can also be used.
另外,在本申请实施例中,“例如”一词用于表示作例子、例证或说明。本申请中被描述为“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用示例一词旨在以具体方式呈现概念。In addition, in the embodiments of the present application, the word "for example" is used to represent an example, illustration or illustration. Any embodiment or design described herein as "for example," should not be construed as preferred or advantageous over other embodiments or designs. Rather, the word example is used to present a concept in a concrete way.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的 技术方案,并不构成对于本申请实施例提供的技术方案的唯一限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute the only limitation to the technical solutions provided by the embodiments of the present application. The evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
以下对本申请实施例的部分用语进行解释说明,以便于本领域技术人员理解。Some terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
1)网络设备,例如包括接入网(access network,AN)设备,例如基站(例如,接入点),可以是指接入网中在空口通过一个或多个小区与无线终端设备通信的设备,或者例如,一种车到一切(vehicle-to-everything,V2X)技术中的网络设备为路侧单元(road side unit,RSU)。基站可用于将收到的空中帧与IP分组进行相互转换,作为终端设备与接入网的其余部分之间的路由器,其中接入网的其余部分可包括IP网络。RSU可以是支持V2X应用的固定基础设施实体,可以与支持V2X应用的其他实体交换消息。网络设备还可协调对空口的属性管理。例如,网络设备可以包括长期演进(long term evolution,LTE)系统或高级长期演进(long term evolution-advanced,LTE-A)中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B),或者也可以包括第五代移动通信技术(the 5th generation,5G)NR系统(也简称为NR系统)中的下一代节点B(next generation node B,gNB)或者也可以包括云接入网(cloud radio access network,Cloud RAN)系统中的集中式单元(centralized unit,CU)和分布式单元(distributed unit,DU),本申请实施例并不限定。1) Network equipment, including, for example, access network (AN) equipment, such as a base station (eg, an access point), which may refer to a device in the access network that communicates with wireless terminal equipment through one or more cells over the air interface , or, for example, a network device in a vehicle-to-everything (V2X) technology is a roadside unit (RSU). The base station may be used to interconvert the received air frames and IP packets, acting as a router between the terminal equipment and the rest of the access network, which may include the IP network. The RSU can be a fixed infrastructure entity supporting V2X applications and can exchange messages with other entities supporting V2X applications. The network device can also coordinate the attribute management of the air interface. For example, the network equipment may include an evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) in a long term evolution (long term evolution, LTE) system or long term evolution-advanced (LTE-A), Alternatively, it may also include the next generation node B (gNB) in the 5th generation mobile communication technology (the 5th generation, 5G) NR system (also referred to as the NR system for short), or may also include a cloud access network (cloud access network). The embodiment of the present application is not limited to a centralized unit (centralized unit, CU) and a distributed unit (distributed unit, DU) in a radio access network, Cloud RAN) system.
网络设备还可以包括核心网(core network,CN)设备,核心网设备例如包括访问和移动管理功能(access and mobility management function,AMF)等。The network device may also include a core network (core network, CN) device, and the core network device includes, for example, an access and mobility management function (access and mobility management function, AMF) and the like.
又或者可选的,在一些可能的应用场景中,该网络设备也可以是DSL设备、PON设备、路由器和/或交换机等设备。Or alternatively, in some possible application scenarios, the network device may also be a DSL device, a PON device, a router, and/or a switch and other devices.
作为示例而非限定,在本申请实施例中,该网络设备还可以是应用功能实体(application function,AF)网元、网关(如企业网关或家庭网关等)或网络管理系统(如企业网络管理系统或家庭网络管理系统等)等。例如,所述网关可以为路由器,所述网络管理系统可以为用于管理网络内终端设备的管理服务器等。As an example but not a limitation, in this embodiment of the present application, the network device may also be an application function entity (application function, AF) network element, a gateway (such as an enterprise gateway or a home gateway, etc.), or a network management system (such as an enterprise network management system) system or home network management system, etc.) and so on. For example, the gateway may be a router, and the network management system may be a management server or the like for managing terminal devices in the network.
2)接入设备,用于访问网络资源的用户设备(如终端设备)或网络接入设备等。2) Access equipment, user equipment (such as terminal equipment) or network access equipment used to access network resources.
终端设备,也称智能终端或终端,包括向用户提供语音和/或数据连通性的设备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网(radio access network,RAN)与核心网进行通信,与RAN交换语音和/或数据。该终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、设备到设备通信(device-to-device,D2D)终端设备、车到一切(vehicle to everything,V2X)终端设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)终端设备、物联网(internet of things,IoT)终端设备、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、远程站(remote station)、AP、远程终端(remote terminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(user agent)、或用户装备(user device)等。例如,可以包括移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的移动装置等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备。还包括受限设备,例如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。例如 包括条码、射频识别(radio frequency identification,RFID)、传感器、全球定位系统(global positioning system,GPS)、激光扫描器等信息传感设备。Terminal devices, also known as smart terminals or terminals, include devices that provide voice and/or data connectivity to users, and may include, for example, handheld devices with wireless connectivity, or processing devices connected to wireless modems. The terminal equipment may communicate with the core network via a radio access network (RAN), and exchange voice and/or data with the RAN. The terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, device-to-device (D2D) terminal equipment, vehicle to everything (V2X) terminal equipment , Machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber) station), mobile station, remote station, AP, remote terminal, access terminal, user terminal, user agent, or user equipment (user device), etc. For example, these may include mobile telephones (or "cellular" telephones), computers with mobile terminal equipment, portable, pocket-sized, hand-held, computer-embedded mobile devices, and the like. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (personal digital assistants), PDA), etc. Also includes constrained devices, such as devices with lower power consumption, or devices with limited storage capacity, or devices with limited computing power, etc. For example, it includes information sensing devices such as barcodes, radio frequency identification (RFID), sensors, global positioning system (GPS), and laser scanners.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备或智能穿戴式设备等,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能头盔、智能首饰等。As an example and not a limitation, in this embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. Wait. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
又或者可选的,在一些应用场景中,所述接入设备也可以包括其他类型的设备,如调制解调器、路由器、光网络终端(optical network terminal,ONT)等设备。Or alternatively, in some application scenarios, the access device may also include other types of devices, such as a modem, a router, an optical network terminal (optical network terminal, ONT) and other devices.
本申请实施例中主要以接入设备包括终端设备为例进行说明,对于其他类型设备的设备型号识别过程,可以参见终端设备的设备型号识别过程。The embodiments of the present application mainly take the access device including the terminal device as an example for description. For the device model identification process of other types of devices, reference may be made to the device model identification process of the terminal device.
3)终端设备类型,包括设备型号、操作系统、版本号(也称版本信息)、生产厂商(也称制造商或厂商)、或设备名称等维度中的一项或多项。3) Terminal device type, including one or more of the dimensions of device model, operating system, version number (also called version information), manufacturer (also called manufacturer or manufacturer), or device name.
设备型号,用于表示终端设备的种类。相同设备型号的终端设备之间存在共同特征,即存在相同/相匹配的设备信息。Device model, used to indicate the type of terminal device. Terminal devices of the same device model have common features, that is, there is the same/matching device information.
本申请实施例主要提供了设备型号的识别方法,对于终端设备中其他维度的设备类型的识别过程(如操作系统、生产厂商等)可以参见设备型号的识别过程,相似之处不再赘述。The embodiments of this application mainly provide a method for identifying a device model. For the identification process of device types in other dimensions in the terminal device (such as operating system, manufacturer, etc.), please refer to the identification process of the device model, and the similarities will not be repeated.
本申请实施例涉及的终端设备可以包括以下一种或多种:个人计算机(personal computer,PC)、智能手机(SmartPhone)、平板电脑(PAD)、机顶盒(set top box,STB)、智能电视(SmartTV)、路由器(Router)、智能设备(SmartDevice)、电视机机顶盒(OTTTvBox)、智能音响(SmartSpeaker)、摄像机(Camera)、手表(Watch)、游戏机(Games)、或其他设备(Other)等。The terminal devices involved in the embodiments of the present application may include one or more of the following: a personal computer (personal computer, PC), a smart phone (SmartPhone), a tablet computer (PAD), a set top box (set top box, STB), a smart TV ( SmartTV), router (Router), smart device (SmartDevice), TV set-top box (OTTTvBox), smart speaker (SmartSpeaker), camera (Camera), watch (Watch), game console (Games), or other equipment (Other), etc. .
4)设备信息,可以包括以下一项或多项:终端设备的MAC地址、终端设备的设备名称、终端设备的接入频段、终端设备与所述网关设备(也称网关)协商的天线数量、终端设备与所述网关设备协商的速率、或终端设备的Wi-Fi接入模式。在本申请实施例中可以根据设备信息之间的共性分析得到终端设备的设备型号,所述设备信息之间的共性也可以理解为所述设备信息之间存在的共同特征。4) Device information, which may include one or more of the following: the MAC address of the terminal device, the device name of the terminal device, the access frequency band of the terminal device, the number of antennas negotiated between the terminal device and the gateway device (also referred to as the gateway), The rate negotiated between the terminal device and the gateway device, or the Wi-Fi access mode of the terminal device. In the embodiment of the present application, the device model of the terminal device can be obtained by analyzing the commonality between the device information, and the commonality between the device information can also be understood as the common feature existing between the device information.
所述终端设备的MAC地址如图3所示,所述MAC地址的前六位一般为MAC组织唯一标识符(organizationally unique identifier,OUI),MAC OUI用于表示电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)分配给各个厂商的公司标识,并且同一设备型号的终端设备的MAC地址的后六位的比特位可以连续。The MAC address of the terminal device is shown in FIG. 3 , the first six digits of the MAC address are generally the MAC organizationally unique identifier (OUI), and the MAC OUI is used to represent the Institute of Electrical and Electronics Engineers (Institute of Electrical) and electronics engineers, IEEE) is assigned to the company identification of each manufacturer, and the last six bits of the MAC address of the terminal equipment of the same equipment model can be consecutive.
所述终端设备的设备名称一般为厂商在发布所述终端设备时采用的名称。例如,所述终端设备的设备名称为HUAWEI MATE 30、HUAWEI MATE 20、或HUAWEI P30,或者iPhone X或iPhone 11等。The device name of the terminal device is generally the name adopted by the manufacturer when releasing the terminal device. For example, the device name of the terminal device is HUAWEI MATE 30, HUAWEI MATE 20, or HUAWEI P30, or iPhone X or iPhone 11, etc.
所述终端设备的接入频段例如包括但不限于2.4吉赫(GHz)或5GHz等。The access frequency band of the terminal device includes, but is not limited to, 2.4 gigahertz (GHz) or 5 GHz, for example.
所述终端设备与所述网关设备协商的天线数量可以包括1*1、2*2或4*4等。The number of antennas negotiated by the terminal device and the gateway device may include 1*1, 2*2, or 4*4, etc.
所述终端设备与所述网关设备协商的速率为所述终端设备连接所述网关设备的无线信号后,与所述网关设备协商的进行通信时的无线速率。例如所述终端设备与所述网关设备协商的速率可以为867兆比特每秒(million bits per second,Mbps)。The rate negotiated between the terminal device and the gateway device is the wireless rate negotiated with the gateway device for communication after the terminal device is connected to the wireless signal of the gateway device. For example, the rate negotiated between the terminal device and the gateway device may be 867 megabits per second (million bits per second, Mbps).
所述终端设备的Wi-Fi接入模式包括但不限于以下中的一种:b:802.11b、g:802.11g、n:802.11n、a:802.11a、ac:802.11ac或ax:802.11ax等。The Wi-Fi access mode of the terminal device includes but is not limited to one of the following: b: 802.11b, g: 802.11g, n: 802.11n, a: 802.11a, ac: 802.11ac, or ax: 802.11ax Wait.
5)终端设备的性能数据,如接入能力和行为等,可以用于快速查找并解决网络故障,提高网络健康状态的洞察力,并且还可以对终端设备进行针对性的优化以及为终端设备提供定制化的服务。5) The performance data of terminal equipment, such as access capability and behavior, can be used to quickly find and solve network faults, improve the insight of network health status, and can also carry out targeted optimization of terminal equipment and provide terminal equipment. Customized service.
在本申请实施例中网络设备根据设备型号,通过扫描全网,可以自动学习到该设备型号的终端设备所具备的接入能力和行为。In the embodiment of the present application, the network device can automatically learn the access capability and behavior of the terminal device of the device model by scanning the entire network according to the device model.
本申请中的“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In this application, "and/or" describes the association relationship between associated objects, and means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist simultaneously, and B exists alone. a situation. The character "/" generally indicates that the associated objects are an "or" relationship.
本申请中所涉及的多个,是指两个或两个以上。The plural referred to in this application refers to two or more.
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and should not be understood as indicating or implying relative importance, nor should it be understood as indicating or implied order.
为了便于理解本申请实施例,下面对本申请实施例的应用场景进行说明。To facilitate understanding of the embodiments of the present application, application scenarios of the embodiments of the present application are described below.
当前随着终端设备技术的快速推广和应用,IT消费化(表示个人的私有信息消费产品上使用企业信息系统的行为)的趋势愈发明显,企业员工希望使用自己的终端设备在家或在其他移动网络环境中访问公司邮件、企业内网等资源,同时希望使用自己的终端设备进行工作。BYOD作为IT消费化的一个重要表现形式,影响了原有的企业网络接入管理。一般办公场景大量涉及高敏感的内容,甚至涉及商业机密。因此为了保障企业网络的安全,网络管理员可以根据不同的终端设备类型,配置不同的网络访问策略。识别终端设备类型的技术称为终端指纹识别技术,通过收集终端设备的通信行为,分析终端设备具备的特性实现。At present, with the rapid promotion and application of terminal equipment technology, the trend of IT consumerization (representing the behavior of using enterprise information systems on personal private information consumer products) is becoming more and more obvious. Enterprise employees want to use their terminal equipment at home or in other mobile phones Access resources such as company emails and corporate intranets in a network environment, and at the same time want to use your own terminal equipment for work. As an important form of IT consumerization, BYOD affects the original enterprise network access management. General office scenarios involve a lot of highly sensitive content, and even business secrets. Therefore, in order to ensure the security of the enterprise network, network administrators can configure different network access policies according to different types of terminal devices. The technology of identifying the type of terminal equipment is called terminal fingerprint identification technology, which is realized by collecting the communication behavior of the terminal equipment and analyzing the characteristics of the terminal equipment.
终端指纹识别技术包括主动式指纹识别技术和被动式指纹识别技术。Terminal fingerprint identification technology includes active fingerprint identification technology and passive fingerprint identification technology.
采用主动式指纹识别技术识别终端设备类型时,鉴定设备向被鉴定设备发送一定数量的组合数据包,根据所述被鉴定设备的响应,确定所述被鉴定设备的设备型号、操作系统类型及版本号等。When using active fingerprint identification technology to identify the type of terminal device, the identification device sends a certain number of combined data packets to the identified device, and determines the device model, operating system type and version of the identified device according to the response of the identified device. number, etc.
但是所述主动式指纹识别技术通常限于网络安全/黑客领域进行使用,无法应用于企业/家庭网络领域。当安全专家或黑客需要对远程系统进行渗透时,常常会先进行指纹识别过程。安全专家或黑客可以运用FIN(用于确定被鉴定设备的操作系统)探测、错误传输控制协议(transmission control protocol,TCP)标志位探测、TCP起始序列号采样、接口指针标识(interface pointer identifier,IPID)采样、TCP时间戳扩展、TCP起始窗口大小、确认(acknowledged,ACK)值、互联网控制报文协议(internet control message protocol,ICMP)错误信息测试、碎片处理现象等多种技术组合进行探测和鉴别,实现终端指纹的主动识别。However, the active fingerprint identification technology is usually limited to the field of network security/hacking, and cannot be applied to the field of enterprise/home network. When security experts or hackers need to infiltrate a remote system, the fingerprinting process is often performed first. Security experts or hackers can use FIN (used to determine the operating system of the device being authenticated) detection, error transmission control protocol (TCP) flag detection, TCP start sequence number sampling, interface pointer identifier, IPID) sampling, TCP timestamp extension, TCP start window size, acknowledged (ACK) value, Internet control message protocol (ICMP) error information test, fragmentation processing phenomenon and other technical combinations to detect And identification, to achieve active identification of terminal fingerprints.
一般主动式指纹识别技术限于网络安全/黑客领域使用,在BYOD场景中,被动式指纹识别技术更为常用。Generally, active fingerprint recognition technology is limited to the field of network security/hacking. In BYOD scenarios, passive fingerprint recognition technology is more commonly used.
采用被动式指纹技术识别终端设备类型时,可以基于以下技术方向实现:生存时间(time to live,TTL)指纹分析、传输控制协议(Transmission Control Protocol,TCP)指纹分析、动态主机配置(Dynamic Host Configuration Protocol,DHCP)指纹分析、超文本传输协议(hypertext transfer protocol,HTTP)指纹分析、国际移动设备识别码(international mobile equipment identity,IMEI)分析等技术。When the passive fingerprint technology is used to identify the terminal device type, it can be realized based on the following technical directions: time to live (TTL) fingerprint analysis, Transmission Control Protocol (TCP) fingerprint analysis, Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol) , DHCP) fingerprint analysis, hypertext transfer protocol (hypertext transfer protocol, HTTP) fingerprint analysis, international mobile equipment identity (international mobile equipment identity, IMEI) analysis and other technologies.
以TTL指纹分析为例,不同终端设备的TTL起始值对应的操作系统存在差异。针对TTL指纹分析识别终端设备类型时,鉴定设备根据被鉴定设备对应的TTL起始值可以识别出被鉴定设备的操作系统。例如:操作系统Macintosh OSX对应的TTL起始值为255,操作系统Novell Netware对应的TTL起始值为128,操作系统Windows XP/2000/2003/Vista对应的TTL起始值为128,操作系统Windows 95对应的TTL起始值为32,操作系统Windows 95A/B对应的TTL起始值为128,操作系统Cisco Catalyst 6000对应的TTL起始值为60,操作系统Linksys打印机服务器对应的TTL起始值为32。Taking TTL fingerprint analysis as an example, the operating systems corresponding to the TTL start values of different terminal devices are different. When identifying the terminal device type by TTL fingerprint analysis, the authentication device can identify the operating system of the authenticated device according to the TTL initial value corresponding to the authenticated device. For example: the starting TTL value corresponding to the operating system Macintosh OSX is 255, the starting TTL value corresponding to the operating system Novell Netware is 128, the starting value TTL corresponding to the operating system Windows XP/2000/2003/Vista is 128, and the operating system Windows The corresponding TTL start value of 95 is 32, the corresponding TTL start value of the operating system Windows 95A/B is 128, the corresponding TTL start value of the operating system Cisco Catalyst 6000 is 60, and the corresponding TTL start value of the operating system Linksys printer server is 32.
再以TCP指纹分析为例,各操作系统在不同时期的版本对通信规范的实现存在差异。针对TCP指纹分析识别终端设备类型时,鉴定设备根据被鉴定设备对应的TCP协议的通信过程,可以识别出被鉴定设备的操作系统。例如,鉴定设备可以根据被鉴定设备在TCP三次握手过程中选择的参数等信息,确定被鉴定设备的操作系统。Taking TCP fingerprint analysis as an example, there are differences in the implementation of communication specifications between versions of various operating systems in different periods. When identifying the terminal device type by TCP fingerprint analysis, the authentication device can identify the operating system of the authenticated device according to the communication process of the TCP protocol corresponding to the authenticated device. For example, the authentication device may determine the operating system of the authenticated device according to information such as parameters selected by the authenticated device during the TCP three-way handshake process.
对于智能终端,HTTP头一般会携带操作系统、版本信息、终端类型、设备型号或制造商等信息。针对HTTP指纹分析识别终端设备时,鉴定设备根据被鉴定设备(如终端设备)发送的数据的HTTP头,可以确定被鉴定设备的操作系统、版本号、设备型号或生产厂商等信息。For smart terminals, the HTTP header generally carries information such as operating system, version information, terminal type, device model or manufacturer. When identifying a terminal device for HTTP fingerprint analysis, the identification device can determine the operating system, version number, device model or manufacturer of the authenticated device according to the HTTP header of the data sent by the authenticated device (such as the terminal device).
IMEI一般包括15位,IMEI的前六位表示设备型号,IMEI的后两位表示生产厂商。针对IMEI分析识别终端设备类型时,鉴定设备根据被鉴定设备的IMEI,可以确定被鉴定设备的设备型号和生产厂商。The IMEI generally includes 15 digits. The first six digits of the IMEI represent the device model, and the last two digits of the IMEI represent the manufacturer. When identifying the type of terminal device by analyzing the IMEI, the identification device can determine the device model and manufacturer of the identified device according to the IMEI of the identified device.
被动式指纹识别需要进行特征库的人工维护,也即维护设备特征和设备类型之间的对应关系,鉴定设备才可以根据某个终端设备的设备信息,对照特征库实现终端设备类型的识别。由于终端设备的多样性,终端设备的生产厂商很多(可能达到几万家生产厂商),特征库需要维护的信息过多,导致特征库维护成本高、工作量大,并且由于设备产品更新频率高,通过人工维护特征库的方式导致识别灵活性和实时性较差,并且部分识别手段可能涉及到用户隐私。因此被动式指纹识别技术在企业网络(如BYOD场景)或家庭网络下的实用性不高。Passive fingerprint identification requires manual maintenance of the feature database, that is, to maintain the correspondence between device features and device types, so that the identification device can identify the terminal device type according to the device information of a terminal device against the feature database. Due to the diversity of terminal equipment, there are many manufacturers of terminal equipment (possibly tens of thousands of manufacturers), and the signature database needs to maintain too much information, resulting in high maintenance cost and workload of the signature database, and due to the high update frequency of equipment products , the manual maintenance of the feature database leads to poor recognition flexibility and real-time performance, and some of the recognition methods may involve user privacy. Therefore, the practicability of passive fingerprint identification technology in enterprise networks (such as BYOD scenarios) or home networks is not high.
基于此,为了快速识别网络中终端设备的设备型号,实现对企业网络(如BYOD场景)或家庭网络的适应,本申请提出了一种设备型号识别方法。在该方法中,网络设备可以获取到N个终端设备的N个设备信息,所述N个终端设备和所述N个设备信息分别一一对应,所述网络设备可以提取多个终端设备的多个设备信息的共同特征,根据所述共同特征,确定所述多个终端设备的设备型号,所述多个终端设备属于所述N个终端设备,所述多个设备信息属于所述N个设备信息。网络设备可以通过对多个终端设备的设备信息进行大数据分析,自动识别终端设备的设备型号,无需维护大量的特征库数据,即可实现对网络中终端设备的设备型号的识别,降低设备型号识别过程中数据库维护的成本和工作量,提高设备型号识别的灵活性和实时性。Based on this, in order to quickly identify the device model of the terminal device in the network and realize the adaptation to the enterprise network (such as the BYOD scenario) or the home network, the present application proposes a device model identification method. In this method, the network device can obtain N device information of N terminal devices, the N terminal devices and the N device information are in a one-to-one correspondence, and the network device can extract multiple data of multiple terminal devices. Common features of the pieces of equipment information, determine the equipment models of the multiple terminal equipments according to the common characteristics, the multiple terminal equipments belong to the N terminal equipments, and the multiple pieces of equipment information belong to the N equipments information. The network device can automatically identify the device model of the terminal device by performing big data analysis on the device information of multiple terminal devices, without maintaining a large number of feature database data, the device model of the terminal device in the network can be identified, and the device model can be reduced. The cost and workload of database maintenance during the identification process are improved, and the flexibility and real-time performance of equipment model identification are improved.
本申请实施例提供的设备型号识别方法可以应用于如图1或2所示的网络架构中,实 际可能的场景中,网络中还可以包括其他可能的网络设备和终端设备,在此对网络中包含的设备类型和数量不做限定。下面参考图4,对设备型号识别过程进行说明:The device model identification method provided in this embodiment of the present application can be applied to the network architecture shown in FIG. 1 or 2. In an actual possible scenario, the network may also include other possible network devices and terminal devices. The type and number of devices included are not limited. Referring to Figure 4 below, the device model identification process will be described:
S401:网络设备获取N个终端设备的N个设备信息,所述N个终端设备和所述N个设备信息分别一一对应,N≥2,N为整数。S401: The network device acquires N pieces of device information of N terminal devices, the N terminal devices and the N pieces of device information are in one-to-one correspondence, N≥2, and N is an integer.
所述设备信息至少包括以下一项或多项:终端设备的MAC地址、终端设备的设备名称、终端设备的接入频段、终端设备与所述网关设备协商的天线数量、终端设备与所述网关设备协商的速率、或终端设备的Wi-Fi接入模式。The device information includes at least one or more of the following: the MAC address of the terminal device, the device name of the terminal device, the access frequency band of the terminal device, the number of antennas negotiated between the terminal device and the gateway device, the terminal device and the gateway device. The rate negotiated by the device, or the Wi-Fi access mode of the terminal device.
所述网络设备可以理解为设备型号识别过程中的鉴定设备,所述终端设备可以理解为设备型号识别过程中的被鉴定设备。The network device can be understood as an authentication device in the process of device model identification, and the terminal device can be understood as an authenticated device in the device model identification process.
所述网络设备可以为网络管理系统(如企业网络管理系统或家庭网络管理系统),或网关设备(如企业网关设备或家庭网关设备)。所述终端设备可以为STA或AP。The network device may be a network management system (eg, an enterprise network management system or a home network management system), or a gateway device (eg, an enterprise gateway device or a home gateway device). The terminal device may be a STA or an AP.
以所述网络设备为网络管理系统为例进行说明,例如在S401中,所述网络设备可以向终端设备发送第一消息,所述第一消息用于请求获取终端设备的设备信息,所述第一消息用于指示终端设备上报设备信息。所述终端设备可以将自身的设备信息发送给所述网络设备,所述网络设备接收所述终端设备的设备信息。Taking the network device as a network management system as an example, for example, in S401, the network device may send a first message to the terminal device, where the first message is used to request to obtain device information of the terminal device, and the first message is used to request the terminal device. A message is used to instruct the terminal device to report device information. The terminal device may send its own device information to the network device, and the network device receives the device information of the terminal device.
又如在S401中,所述网络设备可以向网关设备发送第二消息,所述第二消息用于指示网关设备采集终端设备的设备信息。所述网关设备能够采集到其下挂设备的设备信息,所述网关设备的下挂设备包括连接到所述网关设备的无线网络的终端设备。所述网关设备将下挂设备的设备信息上报给所述网络设备,所述网络设备接收终端设备的设备信息。示例性的,终端设备接入网关设备时,网关设备可以为接入的终端设备分配设备信息中的部分内容。For another example, in S401, the network device may send a second message to the gateway device, where the second message is used to instruct the gateway device to collect device information of the terminal device. The gateway device can collect device information of the devices attached to it, and the devices attached to the gateway device include terminal devices connected to the wireless network of the gateway device. The gateway device reports the device information of the attached device to the network device, and the network device receives the device information of the terminal device. Exemplarily, when the terminal device accesses the gateway device, the gateway device may allocate part of the device information to the accessed terminal device.
可选的,所述N个终端设备可以为所述网络设备管理范围内的全部终端设备,或者可以为所述网络设备管理范围内的部分终端设备。一般的,所述网络设备管理范围内的终端设备的数量很多,在一些场景下可能达到十万级、百万级等的数据量。Optionally, the N terminal devices may be all terminal devices within the management range of the network device, or may be part of the terminal devices within the management range of the network device. Generally, the number of terminal devices within the management range of the network device is large, and in some scenarios, the amount of data may reach 100,000, 1,000,000, and so on.
S402:所述网络设备提取多个终端设备的多个设备信息的共同特征,根据所述共同特征确定所述多个终端设备的设备型号,其中,所述多个终端设备属于所述N个终端设备,所述多个设备信息属于所述N个设备信息。S402: The network device extracts common features of multiple device information of multiple terminal devices, and determines device models of the multiple terminal devices according to the common features, wherein the multiple terminal devices belong to the N terminals equipment, the pieces of equipment information belong to the N pieces of equipment information.
网络设备可以根据S401中获取的N个终端设备的N个设备信息,提取所述N个设备信息中的多个设备信息的共同特征,所述多个设备信息属于所述N个终端设备中的多个终端设备。在该S402中,所述网络设备提取多个终端设备的多个设备信息的共同特征时,可以是直接提取所述多个设备信息中包括的特征信息,确定共同特征,此种情形下,所述多个设备信息中即具有所述共同特征;或者也可以是根据输入数据,如所述N个设备信息或所述多个设备信息,进行加工分析,并根据加工分析后的结果确定所述多个设备信息的共同特征,此种情形下,该共同特征可以不直接包括于所述多个设备信息中,例如,该共同特征具体为对N个设备信息进行聚类后的某一类别。可选的,提取共同特征包括但不限于以下方式:对所述多个设备信息进行聚类、构建所述多个设备信息对应的前缀树、或采用AI算法在所述多个设备信息中提取特征信息。The network device may, according to the N device information of the N terminal devices acquired in S401, extract the common features of multiple device information in the N device information, and the multiple device information belongs to the N terminal devices. multiple end devices. In this S402, when the network device extracts the common feature of the multiple device information of the multiple terminal devices, it may directly extract the feature information included in the multiple device information to determine the common feature. The multiple pieces of equipment information have the common feature; or it may be based on input data, such as the N pieces of equipment information or the multiple pieces of equipment information, to perform processing analysis, and to determine the A common feature of multiple pieces of device information. In this case, the common feature may not be directly included in the multiple pieces of device information. For example, the common feature is specifically a certain category after clustering N pieces of device information. Optionally, extracting common features includes but is not limited to the following methods: clustering the multiple device information, constructing a prefix tree corresponding to the multiple device information, or using an AI algorithm to extract the multiple device information. characteristic information.
S402中所述的共同特征可以根据一个共同特征确定,即S402中所述的共同特征为一个共同特征,或为包括一个共同特征的集合,此情形下,S402中所述的共同特征可以根据多个共同特征确定,即S402中所述的共同特征为包括多个共同特征的集合,例如S402中 所述的共同特征包括第一共同特征和第二共同特征,所述第一共同特征根据设备名称确定,所述第二共同特征根据MAC地址确定。The common feature described in S402 may be determined according to a common feature, that is, the common feature described in S402 is a common feature, or a set including a common feature. In this case, the common feature described in S402 may be determined according to multiple common features. A common feature is determined, that is, the common feature described in S402 is a set including multiple common features, for example, the common feature described in S402 includes a first common feature and a second common feature, and the first common feature is based on the device name. Determine, the second common characteristic is determined according to the MAC address.
在一个示例中,所述多个设备信息包括多个设备名称,在该S402中,所述网络设备可以根据所述多个设备名称具有第一共同特征,确定所述多个终端设备的设备型号,所述第一共同特征属于所述共同特征。In an example, the multiple device information includes multiple device names, and in S402, the network device may determine the device models of the multiple terminal devices according to the multiple device names having a first common feature , the first common feature belongs to the common feature.
所述多个设备名称具有第一共同特征可以理解为所述多个设备名称包括的内容中可以直接获取到所述第一共同特征,或者可以理解为根据所述多个设备名称进行进一步分析或推导以确定所述第一共同特征。The multiple device names having the first common feature can be understood as the first common feature can be directly obtained from the content included in the multiple device names, or it can be understood as further analysis based on the multiple device names or Derivation to determine the first common characteristic.
可选的,所述网络设备可以根据所述多个设备名称中的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。Optionally, the network device may determine that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
所述第一阈值可以为任意整数,如所述第一阈值可以为1000次、10000次或50000次等,所述第一阈值可以由网络管理员设置。当多个设备名称中的第一特征出现的次数超过第一阈值时,可以根据该第一特征确定该多个终端设备的设备型号,所述第一阈值设置的越大,设备型号识别的准确率可能越高,但无法识别到的设备型号也可能越多,所述第一阈值设置的越小,设备型号识别的准确率可能越低,但能够识别到的设备型号也可能越多。The first threshold may be any integer, for example, the first threshold may be 1000 times, 10000 times or 50000 times, etc. The first threshold may be set by a network administrator. When the number of occurrences of the first feature in the multiple device names exceeds the first threshold, the device models of the multiple terminal devices can be determined according to the first feature. The larger the first threshold is, the more accurate the device model identification is. The higher the rate may be, the more unrecognized device models may be. The smaller the first threshold is set, the lower the accuracy rate of device model identification may be, but the more device models that can be identified may also be.
此外,最终识别出的设备型号内容也可能受到阈值取值的影响。例如,当第一阈值设置为第一值时,所述第一特征为HUAWEI MATE 20,由此确定该多个终端设备的型号为HUAWEI MATE 20。当第一阈值设置为第二值时,所述第一特征则为HUAWEI MATE,由此确定该多个终端设备的型号为HUAWEI MATE。因此,第一阈值可以根据需要或者经验具体确定。In addition, the final identified device model content may also be affected by the threshold value. For example, when the first threshold is set to a first value, the first feature is HUAWEI MATE 20, and thus it is determined that the models of the plurality of terminal devices are HUAWEI MATE 20. When the first threshold is set to the second value, the first feature is HUAWEI MATE, thereby determining that the models of the multiple terminal devices are HUAWEI MATE. Therefore, the first threshold can be specifically determined according to needs or experience.
又或者可选的,所述N个设备信息包括N个设备名称,所述网络设备可以根据所述N个设备名称生成前缀(Trie)树。前缀树,用来存储字符串。前缀树的每一个节点代表一个字符串(或一个前缀)。每一个节点下可能存多个子节点,通往不同子节点的路径上有不同的字符。子节点代表的字符串是由节点本身的原始字符串,以及通往该子节点路径上的所有字符构成。并且,在本申请实施例中针对每个节点还可以统计有该节点代表的字符串出现的次数。可选的,所述前缀树中每个叶节点代表的字符串可以看作一个完整的设备名称,从根节点到叶节点确定的一个字符串即为该路径上长度最长的字符串。例如,所述网络设备根据设备名称iPhone-6s出现的次数,生成如图5所示的前缀树。所述网络根据设备名称iPhone-8出现的次数,生成如图6所示的前缀树。参照图5和图6所示的生成前缀树的过程,生成所述N个设备名称的前缀树,如图7所示,其中iPhone-6s和iPhone-8各出现10000次。Or alternatively, the N device information includes N device names, and the network device may generate a prefix (Trie) tree according to the N device names. Prefix tree, used to store strings. Each node of the prefix tree represents a string (or a prefix). There may be multiple child nodes under each node, and the paths leading to different child nodes have different characters. The string represented by the child node is composed of the original string of the node itself, and all the characters on the path to the child node. In addition, in the embodiment of the present application, the number of occurrences of the character string represented by the node may also be counted for each node. Optionally, the character string represented by each leaf node in the prefix tree may be regarded as a complete device name, and a character string determined from the root node to the leaf node is the character string with the longest length on the path. For example, the network device generates a prefix tree as shown in FIG. 5 according to the number of occurrences of the device name iPhone-6s. The network generates a prefix tree as shown in FIG. 6 according to the number of occurrences of the device name iPhone-8. Referring to the process of generating the prefix tree shown in FIG. 5 and FIG. 6 , the prefix tree of the N device names is generated, as shown in FIG. 7 , where iPhone-6s and iPhone-8 each appear 10,000 times.
所述网络设备可以根据所述前缀树中所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。出现的次数超过第一阈值的第一特征可能为一个或多个。示例性的,若仅有一个第一特征出现的次数超过所述第一阈值,可以直接将所述第一特征确定为所述第一共同特征。若多个第一特征出现的次数均超过所述第一阈值,可以将所述多个第一特征中出现的次数最少的第一特征,确定为所述第一共同特征,或者可以将所述多个第一特征中字符串长度最长的第一特征,确定为所述第一共同特征;或者也可以将所述多个第一特征均分别确定为不同型号终端设备的第一共同特征。例如所述第一阈值为9000,在图5中,iPhone出现的次数为30000次,iPhone-6出现的次数为20000,iPhone-6s出现的次数为10000,均超过所述第一阈值,则可以将出现的次数最 少的第一特征即出现10000次的iPhone-6s,确定为所述第一共同特征,或者可以将字符串长度最长的第一特征即iPhone-6s,确定为所述第一共同特征;同样的,在图6中,可以将出现的次数最少的第一特征即出现10000次的iPhone-8,确定为所述第一共同特征,或者可以将字符串长度最长的第一特征即iPhone-8确定为所述第一共同特征。如根据图5所示的前缀树确定出的设备型号为iPhone-6s,而根据图6所示的前缀树确定出的设备型号为iPhone-8。The network device may determine that the first feature is the first common feature according to the number of occurrences of the first feature of the multiple device names in the prefix tree exceeding a first threshold. There may be one or more of the first features whose number of occurrences exceeds the first threshold. Exemplarily, if the number of occurrences of only one first feature exceeds the first threshold, the first feature may be directly determined as the first common feature. If the number of occurrences of multiple first features exceeds the first threshold, the first feature with the least number of occurrences among the multiple first features may be determined as the first common feature, or the first feature may be determined as the first common feature. The first feature with the longest character string length among the multiple first features is determined as the first common feature; or the multiple first features may be determined as the first common feature of different types of terminal devices respectively. For example, the first threshold is 9,000. In Figure 5, the number of occurrences of iPhone is 30,000, the number of occurrences of iPhone-6 is 20,000, and the number of occurrences of iPhone-6s is 10,000, all exceeding the first threshold. The first feature with the least number of occurrences, that is, the iPhone-6s that appears 10,000 times, is determined as the first common feature, or the first feature with the longest string length, that is, the iPhone-6s, is determined as the first feature. common feature; similarly, in FIG. 6 , the first feature with the least number of occurrences, that is, the iPhone-8 with 10,000 occurrences, can be determined as the first common feature, or the first feature with the longest string length can be determined as the first common feature. The feature, namely iPhone-8, is determined as the first common feature. For example, the device model determined according to the prefix tree shown in FIG. 5 is iPhone-6s, and the device model determined according to the prefix tree shown in FIG. 6 is iPhone-8.
在其他可能的实现方式中,也可以仅考虑到达叶节点的路径的第一特征出现的次数是否超过第一阈值而确定识别出的终端设备型号。一个前缀树中可能存在多个叶节点的路径,其中,从根节点通往该叶节点路径上的所有字符构成的字符串可以用来表示该叶节点的路径。该情形下,通过所述第一阈值可以确定出分别对应于不同终端设备型号的多个第一共同特征。如图7所示的前缀树中,叶节点包括0、8和S,其中叶节点0的路径为MATE10,叶节点8的路径为iPhone-8,叶节点S的路径为iPhone-6S,但此种情形下不再分析到达叶节点的路径上的其他子路径,例如,不再判断到达叶节点。通过设置第一阈值,可以同时识别出MATE10、iPhone-8和iPhone-6S三种型号。In other possible implementation manners, the identified terminal device model may also be determined only by considering whether the number of occurrences of the first feature of the path to the leaf node exceeds a first threshold. In a prefix tree, there may be paths of multiple leaf nodes, wherein a string composed of all characters on the path from the root node to the leaf node can be used to represent the path of the leaf node. In this case, a plurality of first common features corresponding to different terminal device models can be determined through the first threshold. In the prefix tree shown in Figure 7, the leaf nodes include 0, 8 and S. The path of leaf node 0 is MATE10, the path of leaf node 8 is iPhone-8, and the path of leaf node S is iPhone-6S, but this In this case, other sub-paths on the path to the leaf node are no longer analyzed, for example, the arrival of the leaf node is no longer determined. By setting the first threshold, three models of MATE10, iPhone-8 and iPhone-6S can be identified at the same time.
所述网络设备还可以通过AI算法等方法,确定第一共同特征。若所述网络设备通过AI算法确定第一共同特征,示例性的,所述网络设备中可以保存有训练完成的神经网络模型,所述网络设备可以将所述多个设备名称输入到所述神经网络模型中,根据所述神经网络模型的输出结果确定第一共同特征。所述神经网络模型可以为分类模型或判别模型等。The network device may also determine the first common feature through methods such as an AI algorithm. If the network device determines the first common feature through an AI algorithm, exemplarily, the network device may store a trained neural network model, and the network device may input the multiple device names into the neural network model. In the network model, the first common feature is determined according to the output result of the neural network model. The neural network model may be a classification model or a discriminant model, or the like.
在S402之前,所述网络设备还可以对不符合设备命名规则的设备名称进行处理。示例性的,对不符合设备命名规则的设备名称进行处理包括但不限于以下方式中的一种或多种:将不符合设备命名规则的设备名称进行过滤、剔除、或在不符合设备命名规则的设备名称中提取符合所述设备命名规则的设备名称。Before S402, the network device may also process device names that do not conform to the device naming rules. Exemplarily, processing the device names that do not meet the device naming rules includes, but is not limited to, one or more of the following methods: filtering, rejecting the device names that do not meet the device naming rules, or The device name that conforms to the device naming rules is extracted from the device name.
其中所述设备命名规则可以为包括设备名称的集合,和/或所述设备命名规则可以设定长度阈值。所述包括设备名称的集合可以包括当前市场上全部或部分终端设备的设备名称。所述预设长度阈值可以由网络管理员设置,或者根据当前市场上终端设备的设备名称的一般长度确定。The device naming rule may be a set including device names, and/or the device naming rule may set a length threshold. The set including the device names may include the device names of all or part of the terminal devices currently on the market. The preset length threshold may be set by the network administrator, or determined according to the general length of the device name of the terminal device currently on the market.
在将不符合设备命名规定的设备名称进行过滤或剔除时,例如获取到的设备名称为android-567812345678这种没有规律的字符串,该字符串中不包含与真正的设备名称相关的信息,因此可以直接将该字符串过滤掉。在不符合设备命名规则的设备名称中提取符合所述设备命名规则的设备名称时,例如获取到的设备名称为有意义的设备名称+没有规律的字符串(如Mate10-567812345678),该设备名称中可能包含有意义的设备名称,此时可以提取有意义的设备名称(如Mate10);又如获取到的设备名称的长度超过所述预设长度阈值时,可以查找该设备名称中的分隔符(如空格、-、@等分隔符),将所述分隔符前的内容确定为有意义的设备名称。When filtering or eliminating device names that do not meet the device naming regulations, for example, the acquired device name is an irregular string such as android-567812345678, the string does not contain information related to the real device name, so The string can be filtered out directly. When extracting a device name that conforms to the device naming rules from a device name that does not conform to the device naming rules, for example, the acquired device name is a meaningful device name + an irregular string (such as Mate10-567812345678), the device name may contain a meaningful device name, at this time, you can extract a meaningful device name (such as Mate10); for example, when the length of the acquired device name exceeds the preset length threshold, you can search for the delimiter in the device name (such as space, -, @ and other delimiters), and determine the content before the delimiter as a meaningful device name.
可选的,在根据所述多个设备名称具有第一共同特征,确定所述多个终端设备的设备型号时,可以对设备名称不区分大小写,即设备名称对大小写不敏感。Optionally, when determining the device models of the multiple terminal devices according to the multiple device names having the first common feature, the device names may be case-insensitive, that is, the device names are not case-sensitive.
在另一个示例中,所述多个设备信息包括多个MAC地址,在该S402中,所述网络设备可以根据所述多个MAC地址具有第二共同特征,确定所述多个终端设备的设备型号,所述第二共同特征属于所述共同特征。In another example, the pieces of equipment information include multiple MAC addresses, and in S402, the network equipment may determine the equipment of the multiple terminal equipment according to the second common feature of the multiple MAC addresses. model, said second common feature belongs to said common feature.
所述多个MAC地址具有第二共同特征可以理解为在所述多个MAC地址包括的内容 中可以直接获取到所述第二共同特征,或者可以理解为基于所述多个MAC地址可以进一步分析或推导出所述第二共同特征。The fact that the multiple MAC addresses have the second common feature may be understood that the second common feature can be directly obtained from the content included in the multiple MAC addresses, or it may be understood that further analysis can be performed based on the multiple MAC addresses or deriving the second common characteristic.
可选的,在所述多个MAC地址包括的内容中直接获取到第二共同特征,所述网络设备可以根据所述多个MAC地址中预设比特位数的连续比特位确定第二共同特征。其中所述预设比特位数为大于0小于MAC地址长度的整数,例如所述预设比特位数的连续比特位可以为MAC地址的前6位或后6位。Optionally, the second common feature is directly obtained from the content included in the multiple MAC addresses, and the network device may determine the second common feature according to consecutive bits of preset bit numbers in the multiple MAC addresses. . The preset number of bits is an integer greater than 0 and less than the length of the MAC address. For example, the consecutive bits of the preset number of bits may be the first 6 bits or the last 6 bits of the MAC address.
或者可选的,在从所述多个MAC地址中推导出第二共同特征时,所述网络设备可以根据地址距离小于或等于第二阈值的多个MAC地址,确定该多个MAC地址对应的多个终端设备具有第二共同特征。其中第二阈值可以为任意值,所述第二阈值可以由网络管理员进行设置,或者根据当前市场上同一设备型号的终端设备的MAC地址之间的地址距离确定。这是因为同一型号的终端设备的MAC地址通常是连续的。Alternatively, when deriving the second common feature from the plurality of MAC addresses, the network device may determine, according to the plurality of MAC addresses whose address distance is less than or equal to the second threshold, the corresponding MAC addresses. The plurality of terminal devices have a second common characteristic. The second threshold may be any value, and the second threshold may be set by a network administrator, or determined according to the address distance between the MAC addresses of terminal devices of the same device model currently on the market. This is because the MAC addresses of terminal devices of the same model are usually consecutive.
例如iPhone-8手机的MAC地址存在08:00:20:0A:8C:6D,另外一个终端设备没有设备名称或者根据设备名称无法识别设备型号,但可以获取到该终端设备的MAC地址为08:00:20:0A:8C:00,若计算该终端设备的MAC地址与已知iPhone-8的MAC地址之间的地址距离小于或等于第二阈值,所述网络设备可以确定该终端设备的设备型号为iPhone-8。For example, the MAC address of the iPhone-8 mobile phone exists at 08:00:20:0A:8C:6D, and another terminal device has no device name or cannot identify the device model according to the device name, but the MAC address of the terminal device can be obtained as 08: 00:20:0A:8C:00, if the calculated address distance between the MAC address of the terminal device and the known MAC address of the iPhone-8 is less than or equal to the second threshold, the network device can determine the device of the terminal device. The model number is iPhone-8.
又或者可选的,所述N个设备信息包括N个MAC地址,在从所述多个MAC地址中推导出第二共同特征时,所述网络设备还可以对所述N个MAC地址进行聚类;所述网络设备根据所述多个设备信息的所述多个MAC地址属于同一聚类类别,确定所述多个MAC地址具有第二共同特征;所述网络设备根据所述第二共同特征,确定所述多个终端设备的设备型号。例如,所述第二共同特征即为对MAC地址进行聚类得到的聚类结果中的某一聚类类别。Or alternatively, the N pieces of device information include N MAC addresses, and when deriving the second common feature from the plurality of MAC addresses, the network device may further aggregate the N MAC addresses. class; the network device determines that the multiple MAC addresses have a second common feature according to the multiple MAC addresses of the multiple device information belong to the same clustering category; the network device determines that the multiple MAC addresses have the second common feature according to the second common feature , and determine the device models of the multiple terminal devices. For example, the second common feature is a certain clustering category in a clustering result obtained by clustering MAC addresses.
所述网络设备对所述N个MAC地址进行聚类的过程可以通过聚类算法实现。The process of clustering the N MAC addresses by the network device may be implemented by a clustering algorithm.
在S402之前,所述网络设备还可以对不符合MAC地址规则的MAC地址进行过滤或剔除。所述MAC地址规则可以由网络管理员设置。Before S402, the network device may also filter or reject MAC addresses that do not conform to the MAC address rule. The MAC address rules can be set by the network administrator.
在本申请实施例中可以在每次识别设备型号时都执行S401和S402。或者网络设备可以基于设备型号的识别结果自动建立和维护动态特征库,后续可以根据特征库识别设备型号,从而减少每次设备型号的识别时间,提高设备型号的识别效率。所述特征库中可以包括所述N个终端设备的N个设备信息、终端设备的设备型号、每个设备型号的共同特征(包括每个设备型号的第一共同特征和/或第二共同特征)。In this embodiment of the present application, S401 and S402 may be performed each time a device model is identified. Alternatively, the network device can automatically establish and maintain a dynamic feature library based on the identification result of the device model, and subsequently identify the device model according to the feature library, thereby reducing the identification time of each device model and improving the device model identification efficiency. The feature library may include N device information of the N terminal devices, device models of the terminal devices, and common features of each device model (including the first common feature and/or the second common feature of each device model. ).
如此,所述网络设备基于S401和S402中设备型号的识别结果,可以对其他终端设备进行识别。示例性的,所述网络设备获取第一终端设备的第一设备信息,所述第一终端设备不同于所述N个终端设备;所述网络设备根据从所述第一设备信息提取出所述共同特征,确定所述第一终端设备的型号为所述设备型号。即所述网络设备可以基于提取到的设备型号所具有的共同特征,对获取到的所述第一设备信息进行识别。In this way, the network device can identify other terminal devices based on the identification results of the device models in S401 and S402. Exemplarily, the network device obtains first device information of a first terminal device, and the first terminal device is different from the N terminal devices; the network device extracts the first device information according to the first device information. The common feature is that the model of the first terminal device is determined to be the device model. That is, the network device may identify the acquired first device information based on the common features of the extracted device models.
若所述第一设备信息包括所述第一终端设备的第一MAC地址,在所述网络根据从所述第一设备信息提取出所述共同特征,确定所述第一终端设备的型号为所述设备型号时:所述网络设备可以根据所述第一MAC地址与M个MAC地址存在等于或大于预设比特位数的连续比特位,确定所述第一终端设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个终端设备中的M个终端设备的MAC地址,1≤M≤N,M为整数。If the first device information includes the first MAC address of the first terminal device, the network determines that the model of the first terminal device is the type of the first terminal device according to the common feature extracted from the first device information. When the device model is described: the network device may determine that the model of the first terminal device is the device model according to the presence of consecutive bits equal to or greater than the preset number of bits in the first MAC address and the M MAC addresses , wherein the M MAC addresses are the MAC addresses of M terminal devices in the multiple terminal devices, 1≤M≤N, and M is an integer.
或者在所述网络设备根据从所述第一设备信息提取出所述共同特征,确定所述第一终 端设备的型号为所述设备型号时:所述网络设备可以根据所述第一MAC地址与M个MAC地址的地址距离小于或等于第二阈值,确定所述第一终端设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个终端设备中的M个终端设备的MAC地址,1≤M≤N,M为整数。Or when the network device determines that the model of the first terminal device is the device model according to the common feature extracted from the first device information: the network device may match the first MAC address with the device model according to the first MAC address. The address distances of the M MAC addresses are less than or equal to the second threshold, and it is determined that the model of the first terminal device is the device model, where the M MAC addresses are M terminal devices in the multiple terminal devices MAC address, 1≤M≤N, M is an integer.
可选的,在S402之后,所述网络设备还可以通过设备型号获取终端设备的接入能力和/或行为,以使得所述网络设备或者其他第三方设备能够基于所述终端设备的接入能力和/或行为,对终端设备进行针对性的优化以及为终端设备提供定制化的服务,或者帮助改进所述网络设备或者其他第三方设备服务性能等。例如,所述网络设备根据终端设备的设备型号,确定所述终端设备为出厂时间较早的老旧机型,这类终端设备由于硬件的限制,一般和接入点(Access Point,AP)之间的最大带宽无法达到200M或500M等较高的带宽,因此可以为这类终端设备推荐50M或100M的带宽服务,避免过高带宽无法使用造成的浪费;或者如果所述网络设备根据终端设备的设备型号,确定所述终端设备为出厂时间较新的机型,这类终端设备可以达到200M或500M的宽带,因此可以为这类终端设备推荐200M或500M的带宽服务,以为用户带来更好的使用体验。又如,所述网络设备根据所述终端设备的设备型号,确定所述终端设备的协商速率为128M,所述网关设备与所述终端设备之间采用128M以下的速率进行通信;或者所述网络设备根据所述终端型号的设备型号,确定所述终端设备的协商速率为1024M,所述网关设备与所述终端设备之间采用1024M以下的速率进行通信,以保证为用户带来更好更稳定的使用体验。Optionally, after S402, the network device may also obtain the access capability and/or behavior of the terminal device through the device model, so that the network device or other third-party devices can be based on the access capability of the terminal device. and/or behavior, perform targeted optimization on terminal equipment and provide customized services for terminal equipment, or help improve the service performance of the network equipment or other third-party equipment, etc. For example, the network device determines, according to the device model of the terminal device, that the terminal device is an old model with an earlier delivery time. Due to hardware limitations, this type of terminal device is generally similar to an access point (Access Point, AP). The maximum bandwidth cannot reach higher bandwidths such as 200M or 500M, so 50M or 100M bandwidth services can be recommended for such terminal equipment to avoid waste caused by too high bandwidth. Equipment model, determine that the terminal equipment is a newer model when it leaves the factory. This type of terminal equipment can reach 200M or 500M bandwidth, so a 200M or 500M bandwidth service can be recommended for this type of terminal equipment to bring better benefits to users. user experience. For another example, the network device determines that the negotiation rate of the terminal device is 128M according to the device model of the terminal device, and the gateway device and the terminal device communicate at a rate below 128M; or the network According to the device model of the terminal model, the device determines that the negotiation rate of the terminal device is 1024M, and the gateway device and the terminal device communicate at a rate below 1024M to ensure better and more stable performance for the user. user experience.
示例性的,所述网络设备可以根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数。所述性能数据用于确定终端设备的接入能力和/或行为。Exemplarily, the network device may extract K pieces of performance data according to K pieces of device information, where the K pieces of device information belong to the plurality of pieces of device information, where K≧1, and K is an integer. The performance data is used to determine the access capability and/or behavior of the terminal device.
所述性能数据包括Wi-Fi接入频段(即终端设备的接入频段)、Wi-Fi接入模式(即终端设备的Wi-Fi接入模式)、协商天线个数(即终端设备与网关设备协商的天线数量)、协商速率(即终端设备与网关设备协商的速率)、信号强度(包括终端设备的发送信号强度和/或网络设备的接收信号强度)中的一个或多个。The performance data includes the Wi-Fi access frequency band (that is, the access frequency band of the terminal device), the Wi-Fi access mode (that is, the Wi-Fi access mode of the terminal device), and the number of negotiated antennas (that is, the terminal device and the gateway). One or more of the number of antennas negotiated by the device), the negotiation rate (ie the rate negotiated by the terminal device and the gateway device), and the signal strength (including the transmitted signal strength of the terminal device and/or the received signal strength of the network device).
所述网络设备可以根据所述性能数据,获取所述设备型号的终端设备的接入能力和/或行为;或者,所述网络设备可以将根据所述性能数据获取的分析数据发送至第三方,所述第三方根据所述分析数据获取所述设备型号的终端设备的接入能力和/或行为。其中所述第三方例如可以是运营商或网关。其中获取到的终端设备的接入能力可以是终端设备的最大接入能力。The network device may obtain the access capability and/or behavior of the terminal device of the device model according to the performance data; or, the network device may send the analysis data obtained according to the performance data to a third party, The third party acquires the access capability and/or behavior of the terminal device of the device model according to the analysis data. The third party may be, for example, an operator or a gateway. The obtained access capability of the terminal device may be the maximum access capability of the terminal device.
所述网络设备根据所述性能数据,获取所述设备型号的终端设备的接入能力和行为中的一个或多个时,包括以下一种或多种实现方式。可以理解的是,以下一种或多种实现方式之间可以任意结合。When the network device acquires one or more of the access capabilities and behaviors of the terminal device of the device model according to the performance data, it includes one or more of the following implementation manners. It can be understood that, any combination of one or more of the following implementations can be made.
方式一,所述性能数据包括所述多个终端设备的多个接收信号强度(received signal strength indicator,RSSI),所述网络设备根据所述多个RSSI的分布情况,获取具有所述设备型号的终端设备的接入可达速率。其中所述接入可达速率为估计值。所述第三方可以根据所述接入可达速率,对所述设备型号的终端设备提供定制化的服务。Manner 1: The performance data includes multiple received signal strength indicators (RSSIs) of the multiple terminal devices, and the network device obtains, according to the distribution of the multiple RSSIs, a signal with the device model. Access achievable rate of the terminal device. The accessible access rate is an estimated value. The third party may provide customized services to the terminal device of the device model according to the access reachable rate.
方式二,所述性能数据包括所述K个终端设备的K个Wi-Fi接入频段,所述网络设备根据对所述K个Wi-Fi接入频段的统计,确定所述设备型号的终端设备支持单频接入或双频接入。所述单频接入指终端设备通过2.4G连接或通过5G连接,所述双频接入指终端设 备既通过2.4G连接又通过5G连接。例如根据K个Wi-Fi接入频段,确定所述终端型号的终端设备既通过2.4G连接又通过5G连接,则可以确定所述终端型号的终端设备支持双频接入。所述网络设备或所述第三方可以根据终端设备支持单频接入或双频接入,可以为终端设备提供定制化服务,例如为单频接入的终端设备推荐的带宽小于为双频接入的终端设备推荐的带宽。Mode 2, the performance data includes K Wi-Fi access frequency bands of the K terminal devices, and the network device determines the terminal of the device model according to statistics on the K Wi-Fi access frequency bands The device supports single frequency access or dual frequency access. The single-frequency access means that the terminal equipment is connected through 2.4G or 5G, and the dual-frequency access means that the terminal equipment is connected through both 2.4G and 5G. For example, according to the K Wi-Fi access frequency bands, it is determined that the terminal device of the terminal model is connected through both 2.4G and 5G, then it can be determined that the terminal device of the terminal model supports dual-band access. The network device or the third party can support single-frequency access or dual-frequency access according to the terminal equipment, and can provide customized services for the terminal equipment. For example, the recommended bandwidth for single-frequency access terminal equipment is smaller than that for dual-frequency access. The recommended bandwidth of the incoming terminal device.
方式三,所述性能数据包括所述K个终端设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,所述网络设备根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,获取具有所述设备型号的终端设备的接入能力。所述网络设备可以根据终端设备接入能力,与终端设备进行通信,例如终端设备可以按照协商速率与终端设备进行通信,以避免造成信道拥塞或通信资源浪费。其中所述设备型号的终端设备的接入能力可以包括协商天线个数的最大值、协商速率最大值和/或Wi-Fi接入模式最大值的一个或多个。Mode 3, the performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K terminal devices, and the network device according to the K One or more of the number of negotiated antennas, the K negotiated rates, and/or the K Wi-Fi access modes, and the access capability of the terminal device with the device model is acquired. The network device can communicate with the terminal device according to the access capability of the terminal device. For example, the terminal device can communicate with the terminal device at a negotiated rate to avoid channel congestion or waste of communication resources. The access capability of the terminal device of the device model may include one or more of the maximum number of negotiated antennas, the maximum negotiated rate, and/or the maximum Wi-Fi access mode.
方式四,所述性能数据包括所述K个终端设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,所述网络设备根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,获取具有所述设备型号的终端设备的行为。例如所述第三方在确定所述设备型号的终端设备不位于所述第三方的管理范围内时,例如确定终端设备存在漫游行为时,暂时切断为该终端设备提供的信道,或者所述第三方在确定终端设备重回管理范围,例如该终端设备的行为为本地行为时,为已处于非漫游状态的终端设备重新建立信道连接等。Manner 4, the performance data includes K signal strengths of the K terminal devices and one or more of the K Wi-Fi access frequency bands, and the network device is based on the K signal strengths and K Wi-Fi access frequency bands. - Fi access to one or more of the frequency bands, obtain the behavior of the terminal device with the device model. For example, when the third party determines that the terminal device of the device model is not within the management scope of the third party, for example, when it is determined that the terminal device has roaming behavior, it temporarily cuts off the channel provided for the terminal device, or the third party temporarily cuts off the channel provided for the terminal device. When it is determined that the terminal device returns to the management range, for example, when the behavior of the terminal device is a local behavior, a channel connection is re-established for the terminal device that has been in a non-roaming state, and the like.
下面结合图1和图2所示的网络架构,对设备型号的其中一种可能的识别过程进行说明。One of the possible identification processes of the device model will be described below with reference to the network architecture shown in FIG. 1 and FIG. 2 .
网络管理系统通过远程通道发送第一命令(如GET_SUB_DEVICE_LIST命令)给网关,指示网关采集所述网关挂载DHCP STA的列表信息。The network management system sends the first command (such as the GET_SUB_DEVICE_LIST command) to the gateway through the remote channel, instructing the gateway to collect the list information of the DHCP STA mounted on the gateway.
网关采集其挂载STA的列表信息,所述列表信息包括挂载STA的设备信息,所述挂载STA的数量为多个,如所述挂载STA的数量为1万个。挂载STA的设备信息可以包括STA的MAC地址、STA的设备名称、STA的接入频段、STA与所述网关协商的天线数量、STA与所述网关协商的速率及STA的Wi-Fi接入模式中的一项或多项。The gateway collects list information of the mounted STAs, where the list information includes device information of the mounted STAs, and the number of the mounted STAs is multiple, for example, the number of the mounted STAs is 10,000. The information of the device mounted on the STA may include the MAC address of the STA, the device name of the STA, the access frequency band of the STA, the number of antennas negotiated by the STA and the gateway, the rate negotiated by the STA and the gateway, and the Wi-Fi access of the STA one or more of the patterns.
所述网络管理系统针对获取到的挂载STA的设备信息中的设备名称进行建模,生成前缀树,如针对1万个设备信息中的1万个设备名称生成前缀树。在其他情形中,所述网络管理系统也可以根据需要选择其中一部分设备名称,如7000个设备名称生成前缀树。The network management system models the acquired device names in the STA-mounted device information, and generates a prefix tree, for example, generates a prefix tree for 10,000 device names in 10,000 device information. In other cases, the network management system may also select a part of the device names as required, such as 7000 device names to generate a prefix tree.
所述网络管理系统可以根据最后一层节点(即叶节点)所对应的字符串和设定的阈值确定挂载STA的设备型号,如图7所示,所述网关管理系统可以确定所述前缀树中的设备型号包括:iPhone-6、iPhone-8和(HUAWEI)MATE 10。The network management system can determine the model of the device that mounts the STA according to the string corresponding to the last layer node (ie, the leaf node) and the set threshold. As shown in FIG. 7 , the gateway management system can determine the prefix. Device models in the tree include: iPhone-6, iPhone-8, and (HUAWEI)MATE 10.
和/或,网络设备管理系统针对获取到的挂载STA的设备信息中的MAC地址进行聚类,可以确定聚类后的一个或多个聚类类别,例如,1万个MAC地址中的3000个地址聚类成为同一个类别,确定挂载STA的设备型号。例如所述网络管理系统可以根据聚类类别确定网关挂载的STA的设备型号包括HUAWEI MATE 30和HUAWEI P40。And/or, the network device management system performs clustering on the acquired MAC addresses in the device information on which the STA is mounted, and can determine one or more clustering categories after the clustering, for example, 3000 of the 10,000 MAC addresses. The addresses are clustered into the same category, and the model of the device that mounts the STA is determined. For example, the network management system may determine, according to the clustering category, that the device models of the STAs mounted on the gateway include HUAWEI MATE 30 and HUAWEI P40.
在上述图1至图7的基础上,本申请实施例还提供一种网络设备,图8为本申请实施例提供的一种网络设备800的示意图。该网络设备800可以应用于图1或图2所示的网络 架构中,例如可以是图1或图2中所示的网络架构中的网络管理系统,用于执行图4中网络设备所执行的操作。Based on the foregoing FIG. 1 to FIG. 7 , an embodiment of the present application further provides a network device, and FIG. 8 is a schematic diagram of a network device 800 provided by an embodiment of the present application. The network device 800 can be applied to the network architecture shown in FIG. 1 or FIG. 2 , for example, it can be the network management system in the network architecture shown in FIG. 1 or FIG. operate.
如图8所示,网络设备800可以包括处理器801,与所述处理器801耦合连接的存储器802,收发器803。处理器801可以是中央处理器(英文:central processing unit,CPU),网络处理器(英文:network processor,NP)或者CPU和NP的组合。处理器801还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(英文:application specific integrated circuit,ASIC),可编程逻辑器件(英文:programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,CPLD),现场可编程逻辑门阵列(英文:field programmable gate array,FPGA),通用阵列逻辑(英文:generic array logic,GAL)或其任意组合。处理器801可以是指一个处理器,也可以包括多个处理器。存储器802可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random access memory,RAM);存储器也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read only memory,ROM),快闪存储器(英文:flash memory),硬盘驱动器(英文:hard disk drive,HDD)或固态硬盘(英文:solid state disk,SSD);存储器802还可以包括上述种类的存储器的组合。存储器802可以是指一个存储器,也可以包括多个存储器。收发器803的个数可以为一个或多个。As shown in FIG. 8 , the network device 800 may include a processor 801 , a memory 802 coupled to the processor 801 , and a transceiver 803 . The processor 801 may be a central processing unit (English: central processing unit, CPU), a network processor (English: network processor, NP), or a combination of CPU and NP. The processor 801 may further include a hardware chip. The above-mentioned hardware chip may be an application specific integrated circuit (English: application specific integrated circuit, ASIC), a programmable logic device (English: programmable logic device, PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (English: complex programmable logic device, CPLD), a field programmable logic gate array (English: field programmable gate array, FPGA), a general-purpose array logic (English: generic array logic, GAL) or any combination thereof. The processor 801 may refer to one processor, or may include multiple processors. The memory 802 may include volatile memory (English: volatile memory), such as random access memory (English: random access memory, RAM); the memory may also include non-volatile memory (English: non-volatile memory), such as only Read memory (English: read only memory, ROM), flash memory (English: flash memory), hard disk drive (English: hard disk drive, HDD) or solid state hard disk (English: solid state disk, SSD); memory 802 can also Include a combination of the above types of memory. The memory 802 may refer to one memory, or may include multiple memories. The number of transceivers 803 may be one or more.
在本实施例中,处理器801根据所述存储器中存储的计算机可读指令而执行相应的操作。例如,处理器801用于根据多个终端设备的多个设备信息提取共同特征,确定所述多个终端设备的设备型号。收发器803用于获取N个终端设备的N个设备信息。In this embodiment, the processor 801 performs corresponding operations according to the computer-readable instructions stored in the memory. For example, the processor 801 is configured to extract common features according to multiple device information of multiple terminal devices, and determine the device models of the multiple terminal devices. The transceiver 803 is configured to acquire N device information of the N terminal devices.
在一种可能的实现方式中,存储器802中存储的计算机可读指令可以包括软件模块,例如处理模块804。处理器801执行各个软件模块后可以按照各个软件模块的指示进行相应的操作,并可以与收发器803配合完成相应的方法步骤。In one possible implementation, the computer-readable instructions stored in memory 802 may include software modules, such as processing module 804 . After executing each software module, the processor 801 can perform corresponding operations according to the instructions of each software module, and can cooperate with the transceiver 803 to complete the corresponding method steps.
图9示出了本申请实施例中提供的设备型号识别装置900的一种示意性框图,该设备型号识别装置可以为上述图4中的网络设备(或具有网络设备功能的组件,或者,该组件可以与网络设备匹配使用,以支持网络设备实现相应功能)。该设备型号识别装置900可以是软件的形式存在,还可以为可用于设备的芯片。设备型号识别装置900包括:处理单元901和收发单元902。可选的,收发单元902还可以划分为发送单元(并未在图9中示出)和接收单元(并未在图9中示出)。其中,发送单元,用于支持设备型号识别装置900向其他网元发送信息。接收单元,用于支持设备型号识别装置900从其他网元接收信息。FIG. 9 shows a schematic block diagram of a device model identification device 900 provided in an embodiment of the present application, and the device model identification device may be the network device (or a component having a network device function) in the foregoing FIG. 4 , or the device Components can be used with network equipment to support network equipment to achieve corresponding functions). The device model identification device 900 may exist in the form of software, or may be a chip that can be used for the device. The device type identification device 900 includes: a processing unit 901 and a transceiver unit 902 . Optionally, the transceiver unit 902 may be further divided into a sending unit (not shown in FIG. 9 ) and a receiving unit (not shown in FIG. 9 ). The sending unit is used to support the device model identification device 900 to send information to other network elements. The receiving unit is configured to support the device model identification apparatus 900 to receive information from other network elements.
若设备型号识别装置900为上文图4中提及的网络设备,处理单元901可以用于支持图4中的网络设备执行S401、S402等,和/或用于本文所描述的方案的其他过程,如网络设备获取终端设备的接入能力和/或行为等操作。收发单元902用于支持网络设备和其他网元之间的通信,例如支持图4中的网络设备执行S401等,和/或用于本文所描述的方案的其他收发操作,如网络设备获取第一设备信息等操作。If the device model identification device 900 is the network device mentioned above in FIG. 4 , the processing unit 901 can be used to support the network device in FIG. 4 to perform S401, S402, etc., and/or other processes for the solution described herein , for example, the network device obtains the access capability and/or behavior of the terminal device. The transceiver unit 902 is used to support communication between the network device and other network elements, for example, to support the network device in FIG. device information, etc.
需要说明的是,以上所描述的装置900的划分方式是示意性的,单元的划分可以为逻辑功能的划分,具体实现时可以有另外的划分或组合方式,不同的划分或组合方式不影响相应功能的实现。It should be noted that the division method of the apparatus 900 described above is schematic, and the division of units may be the division of logical functions, and there may be other division or combination methods during specific implementation, and different division or combination methods do not affect the corresponding function realization.
本申请实施例还提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述任一方法实施例中的方法。An embodiment of the present application further provides a chip system, including: a processor, where the processor is coupled with a memory, the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the The chip system implements the method in any of the foregoing method embodiments.
可选地,该芯片系统中的处理器可以为一个或多个。该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。Optionally, the number of processors in the chip system may be one or more. The processor can be implemented by hardware or by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software codes stored in memory.
可选地,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置,本申请并不限定。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请对存储器的类型,以及存储器与处理器的设置方式不作具体限定。Optionally, there may also be one or more memories in the chip system. The memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application. Exemplarily, the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips. The setting method of the processor is not particularly limited.
示例性的,该芯片系统可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。Exemplarily, the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller). controller unit, MCU), it can also be a programmable logic device (PLD) or other integrated chips.
应理解,上述方法实施例中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that, each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software. The method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
本申请实施例还提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述任一方法实施例中的方法。Embodiments of the present application further provide a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when the computer reads and executes the computer-readable instructions, the computer is made to execute any of the foregoing method embodiments method in .
本申请实施例还提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述任一方法实施例中的方法。Embodiments of the present application further provide a computer program product, which, when the computer reads and executes the computer program product, causes the computer to execute the method in any of the above method embodiments.
本申请实施例还提供一种通信系统,所述通信系统包括用于实现上述各实施例的第一网络设备和终端设备。An embodiment of the present application further provides a communication system, where the communication system includes a first network device and a terminal device for implementing the foregoing embodiments.
可选的,所述通信系统中还可以包括第二网络设备,所述第二网络设备包括运营商管理设备和/或网关设备。Optionally, the communication system may further include a second network device, and the second network device includes an operator management device and/or a gateway device.
本申请实施例还提供一种通信系统,所述通信系统包括用于实现上述各实施例的第一网络设备和第二网络设备。An embodiment of the present application further provides a communication system, where the communication system includes a first network device and a second network device for implementing the foregoing embodiments.
可选的,所述第二网络设备可以是运营商管理设备和/或网关设备。Optionally, the second network device may be an operator management device and/or a gateway device.
可选的,在其他应用场景下,所述第二网络设备也可以是DSL设备、PON设备、路由器和/或交换机等设备。Optionally, in other application scenarios, the second network device may also be a device such as a DSL device, a PON device, a router, and/or a switch.
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits ( application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或 可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present invention. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机 存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (35)

  1. 一种设备型号识别方法,其特征在于,所述方法包括:A device model identification method, characterized in that the method comprises:
    网络设备获取N个接入设备的N个设备信息,所述N个接入设备和所述N个设备信息分别一一对应,N≥2,N为整数;The network device acquires N device information of N access devices, the N access devices and the N device information are in one-to-one correspondence, N≥2, and N is an integer;
    所述网络设备提取多个接入设备的多个设备信息的共同特征;The network device extracts common features of multiple device information of multiple access devices;
    所述网络设备根据所述共同特征确定所述多个接入设备的设备型号,其中,所述多个接入设备属于所述N个接入设备,所述多个设备信息属于所述N个设备信息。The network device determines the device models of the multiple access devices according to the common feature, wherein the multiple access devices belong to the N access devices, and the multiple device information belongs to the N access devices Device Information.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    所述网络设备获取第一接入设备的第一设备信息,所述第一接入设备不同于所述N个接入设备;obtaining, by the network device, first device information of a first access device, where the first access device is different from the N access devices;
    所述网络设备根据从所述第一设备信息提取出所述共同特征,确定所述第一接入设备的型号为所述设备型号。The network device determines that the model of the first access device is the device model according to the common feature extracted from the first device information.
  3. 如权利要求1或2所述的方法,其特征在于,所述N个设备信息至少分别包括以下一项或多项:接入设备的媒体访问控制MAC地址或接入设备的设备名称。The method according to claim 1 or 2, wherein the N pieces of device information respectively include at least one or more of the following: a media access control MAC address of the access device or a device name of the access device.
  4. 如权利要求3所述的方法,其特征在于,所述网络设备根据所述共同特征确定所述多个接入设备的设备型号,包括:The method according to claim 3, wherein the network device determines the device models of the multiple access devices according to the common feature, comprising:
    所述多个设备信息包括多个设备名称,所述网络设备根据所述多个设备名称具有第一共同特征,确定所述多个接入设备的设备型号,所述第一共同特征属于所述共同特征;或者,The multiple device information includes multiple device names, the network device determines the device models of the multiple access devices according to the multiple device names having a first common feature, and the first common feature belongs to the common characteristics; or,
    所述多个设备信息包括多个MAC地址,所述网络设备根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,所述第二共同特征属于所述共同特征。The multiple device information includes multiple MAC addresses, and the network device determines the device models of the multiple access devices according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the Common feature.
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    所述网络设备根据所述多个设备名称中的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。The network device determines that the first feature is the first common feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold.
  6. 如权利要求5所述的方法,其特征在于,所述N个设备信息包括N个设备名称,所述网络设备根据所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征,包括:The method of claim 5, wherein the N pieces of device information include N device names, and the network device determines the number of device names according to the number of occurrences of the first feature of the plurality of device names exceeding a first threshold. The first feature is the first common feature, including:
    所述网络设备根据所述N个设备名称生成前缀树;generating, by the network device, a prefix tree according to the N device names;
    所述网络设备根据所述前缀树中所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。The network device determines that the first feature is the first common feature according to the number of occurrences of the first feature of the multiple device names in the prefix tree exceeding a first threshold.
  7. 如权利要求4所述的方法,其特征在于,所述N个设备信息包括N个MAC地址,所述网络设备根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,包括:The method according to claim 4, wherein the N pieces of device information include N MAC addresses, and the network device determines the plurality of access devices according to the second common feature of the plurality of MAC addresses. device models, including:
    所述网络设备对所述N个MAC地址进行聚类;The network device performs clustering on the N MAC addresses;
    所述网络设备根据所述多个设备信息的所述多个MAC地址属于同一聚类类别,确定所述多个MAC地址具有第二共同特征;The network device determines that the multiple MAC addresses have a second common feature according to the multiple MAC addresses of the multiple device information belonging to the same clustering category;
    所述网络设备根据所述第二共同特征,确定所述多个接入设备的设备型号。The network device determines the device models of the multiple access devices according to the second common feature.
  8. 如权利要求2所述的方法,其特征在于,所述第一设备信息包括所述第一接入设备的第一媒体访问控制MAC地址,所述方法还包括:The method of claim 2, wherein the first device information includes a first media access control MAC address of the first access device, and the method further comprises:
    所述网络设备根据所述第一MAC地址与M个MAC地址存在等于或大于预设比特位数的连续比特位,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数;或者,The network device determines that the model of the first access device is the device model according to the presence of consecutive bits equal to or greater than a preset number of bits between the first MAC address and the M MAC addresses, wherein the The M MAC addresses are the MAC addresses of M access devices in the multiple access devices, 1≤M≤N, where M is an integer; or,
    所述网络设备根据所述第一MAC地址与M个MAC地址的地址距离小于或等于第二阈值,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数。The network device determines that the model of the first access device is the device model according to the address distance between the first MAC address and the M MAC addresses being less than or equal to a second threshold, wherein the M MAC addresses is the MAC addresses of M access devices in the multiple access devices, 1≤M≤N, and M is an integer.
  9. 如权利要求1-8任一项所述的方法,其特征在于,所述网络设备根据所述共同特征确定所述多个接入设备的设备型号之后,所述方法还包括:The method according to any one of claims 1-8, wherein after the network device determines the device models of the multiple access devices according to the common feature, the method further comprises:
    所述网络设备根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数。The network device extracts K pieces of performance data according to the K pieces of equipment information, where the K pieces of equipment information belong to the plurality of pieces of equipment information, where K≧1, and K is an integer.
  10. 如权利要求9所述的方法,其特征在于,所述方法还包括:The method of claim 9, wherein the method further comprises:
    所述网络设备根据所述性能数据,获取所述设备型号的接入设备的接入能力和/或行为;或者,The network device obtains, according to the performance data, the access capability and/or behavior of the access device of the device model; or,
    所述网络设备将根据所述性能数据获取的分析数据发送至第三方,以使得所述第三方根据所述分析数据获取所述设备型号的接入设备的接入能力和/或行为。The network device sends the analysis data obtained according to the performance data to a third party, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
  11. 如权利要求10所述的方法,其特征在于,所述性能数据包括无线保真Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。The method of claim 10, wherein the performance data comprises one or more of a Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength Piece.
  12. 如权利要求11所述的方法,其特征在于,所述网络设备根据所述性能数据,获取所述设备型号的接入设备的接入能力和行为中的一个或多个,包括:The method according to claim 11, wherein the network device acquires one or more of the access capabilities and behaviors of the access device of the device model according to the performance data, comprising:
    所述性能数据包括所述多个接入设备的多个接收信号强度RSSI,所述网络设备根据所述多个RSSI的分布情况,获取具有所述设备型号的接入设备的接入可达速率;或者,The performance data includes multiple RSSIs of received signal strengths of the multiple access devices, and the network device obtains, according to the distribution of the multiple RSSIs, the accessible access rate of the access device with the device model ;or,
    所述性能数据包括所述K个接入设备的K个Wi-Fi接入频段,所述网络设备根据对所述K个Wi-Fi接入频段的统计,确定所述设备型号的接入设备支持单频接入或双频接入;或者,The performance data includes K Wi-Fi access frequency bands of the K access devices, and the network device determines the access device of the device model according to statistics on the K Wi-Fi access frequency bands Supports single-band access or dual-band access; or,
    所述性能数据包括所述K个接入设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,所述网络设备根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,获取具有所述设备型号的接入设备的接入能力;或者,The performance data includes one or more of the K negotiated antenna numbers, K negotiated rates, and K Wi-Fi access modes of the K access devices, and the network device negotiates according to the K negotiated antennas. One or more of the number of antennas, K negotiated rates and/or K Wi-Fi access modes, to obtain the access capability of the access device with the device model; or,
    所述性能数据包括所述K个接入设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,所述网络设备根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,获取具有所述设备型号的接入设备的行为。The performance data includes K signal strengths of the K access devices and one or more of K Wi-Fi access frequency bands, the network device according to the K signal strengths and K Wi-Fi Access one or more of the frequency bands, and obtain the behavior of the access device with the device model.
  13. 如权利要求10所述的方法,其特征在于,所述第三方包括运营商管理设备或网关设备。The method of claim 10, wherein the third party comprises an operator management device or a gateway device.
  14. 如权利要求1-13任一项所述的方法,其特征在于,所述接入设备包括终端设备。The method according to any one of claims 1-13, wherein the access device comprises a terminal device.
  15. 一种设备型号识别装置,其特征在于,包括:A device type identification device, characterized in that it includes:
    收发单元,用于获取N个接入设备的N个设备信息,所述N个接入设备和所述N个设备信息分别一一对应,N≥2,N为整数;a transceiver unit, configured to acquire N pieces of device information of N pieces of access equipment, the N pieces of access equipment and the N pieces of equipment information are in one-to-one correspondence, N≥2, and N is an integer;
    处理单元,用于提取多个接入设备的多个设备信息的共同特征,根据所述共同特征确定所述多个接入设备的设备型号,其中,所述多个接入设备属于所述N个接入设备,所述多个设备信息属于所述N个设备信息。a processing unit, configured to extract common features of multiple device information of multiple access devices, and determine device models of the multiple access devices according to the common features, wherein the multiple access devices belong to the N access devices, and the multiple pieces of equipment information belong to the N pieces of equipment information.
  16. 如权利要求15所述的装置,其特征在于,所述收发单元,还用于获取第一接入设备的第一设备信息,所述第一接入设备不同于所述N个接入设备;The apparatus of claim 15, wherein the transceiver unit is further configured to acquire first device information of a first access device, and the first access device is different from the N access devices;
    所述处理单元,还用于根据从所述第一设备信息提取出所述共同特征,确定所述第一接入设备的型号为所述设备型号。The processing unit is further configured to determine the model of the first access device as the device model according to the common feature extracted from the first device information.
  17. 如权利要求15或16所述的装置,其特征在于,所述N个设备信息至少分别包括以下一项或多项:接入设备的媒体访问控制MAC地址或接入设备的设备名称。The apparatus according to claim 15 or 16, wherein the N pieces of device information respectively include at least one or more of the following: a media access control MAC address of the access device or a device name of the access device.
  18. 如权利要求17所述的装置,其特征在于,所述处理单元,具体用于所述多个设备信息包括多个设备名称,根据所述多个设备名称具有第一共同特征,确定所述多个接入设备的设备型号,所述第一共同特征属于所述共同特征;或者,The apparatus according to claim 17, wherein the processing unit is specifically configured to: the multiple device information includes multiple device names, and determine the multiple device names according to the first common feature of the multiple device names. The device model of each access device, the first common feature belongs to the common feature; or,
    所述多个设备信息包括多个MAC地址,根据所述多个MAC地址具有第二共同特征,确定所述多个接入设备的设备型号,所述第二共同特征属于所述共同特征。The multiple device information includes multiple MAC addresses, and the device models of the multiple access devices are determined according to the multiple MAC addresses having a second common feature, and the second common feature belongs to the common feature.
  19. 如权利要求18所述的装置,其特征在于,所述处理单元,还用于根据所述多个设备名称中的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。The apparatus according to claim 18, wherein the processing unit is further configured to determine that the first feature is the first feature according to the number of occurrences of the first feature in the multiple device names exceeding a first threshold The first common feature.
  20. 如权利要求19所述的装置,其特征在于,所述处理单元,具体用于所述N个设备信息包括N个设备名称,根据所述N个设备名称生成前缀树;根据所述前缀树中所述多个设备名称的第一特征出现的次数超过第一阈值,确定所述第一特征为所述第一共同特征。The apparatus according to claim 19, wherein the processing unit is specifically configured to: the N device information includes N device names, and generate a prefix tree according to the N device names; When the number of occurrences of the first feature of the plurality of device names exceeds a first threshold, the first feature is determined to be the first common feature.
  21. 如权利要求17所述的装置,其特征在于,所述处理单元,具体用于所述N个设备信息包括N个MAC地址,对所述N个MAC地址进行聚类;根据所述多个设备信息的所述多个MAC地址属于同一聚类类别,确定所述多个MAC地址具有第二共同特征;根据所述第二共同特征,确定所述多个接入设备的设备型号。The apparatus according to claim 17, wherein the processing unit is specifically configured to perform the clustering of the N MAC addresses according to the N device information including N MAC addresses; The multiple MAC addresses of the information belong to the same clustering category, and it is determined that the multiple MAC addresses have a second common feature; and the device models of the multiple access devices are determined according to the second common feature.
  22. 如权利要求16所述的装置,其特征在于,所述处理单元,还用于所述第一设备信息包括所述第一接入设备的第一媒体访问控制MAC地址,根据所述第一MAC地址与M个MAC地址存在等于或大于预设比特位数的连续比特位,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数;或者,The apparatus of claim 16, wherein the processing unit is further configured to: the first device information includes a first media access control MAC address of the first access device, according to the first MAC address The address and M MAC addresses have consecutive bits equal to or greater than a preset number of bits, and the model of the first access device is determined to be the device model, wherein the M MAC addresses are the multiple access devices. MAC addresses of M access devices in the incoming device, 1≤M≤N, where M is an integer; or,
    根据所述第一MAC地址与M个MAC地址的地址距离小于或等于第二阈值,确定所述第一接入设备的型号为所述设备型号,其中,所述M个MAC地址为所述多个接入设备中的M个接入设备的MAC地址,1≤M≤N,M为整数。According to the address distance between the first MAC address and the M MAC addresses being less than or equal to a second threshold, it is determined that the model of the first access device is the device model, wherein the M MAC addresses are the multiple MAC addresses. MAC addresses of M access devices in the access devices, 1≤M≤N, where M is an integer.
  23. 如权利要求15-22所述的装置,其特征在于,所述处理单元,还用于根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数。The apparatus according to claims 15-22, wherein the processing unit is further configured to extract K pieces of performance data according to K pieces of equipment information, where the K pieces of equipment information belong to the plurality of pieces of equipment information, and K≥ 1, K is an integer.
  24. 如权利要求23所述的装置,其特征在于,所述处理单元,还用于根据所述性能数据,获取所述设备型号的接入设备的接入能力和/或行为;或者,The apparatus according to claim 23, wherein the processing unit is further configured to acquire, according to the performance data, the access capability and/or behavior of the access device of the device model; or,
    通过所述收发单元将根据所述性能数据获取的分析数据发送至第三方,以使得所述第三方根据所述分析数据获取所述设备型号的接入设备的接入能力和/或行为。The analysis data obtained according to the performance data is sent to a third party by the transceiver unit, so that the third party obtains the access capability and/or behavior of the access device of the device model according to the analysis data.
  25. 如权利要求24所述的装置,其特征在于,所述性能数据包括Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。The apparatus of claim 24, wherein the performance data comprises one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
  26. 如权利要求25所述的装置,其特征在于,所述性能数据包括所述多个接入设备的多个接收信号强度RSSI,所述处理单元用于根据所述多个RSSI的分布情况,通过所述收发单元获取具有所述设备型号的接入设备的接入可达速率;或者,The apparatus according to claim 25, wherein the performance data comprises multiple RSSIs of the multiple access devices, and the processing unit is configured to, according to the distribution of the multiple RSSIs, pass obtaining, by the transceiver unit, the access reachable rate of the access device with the device model; or,
    所述性能数据包括所述K个接入设备的K个Wi-Fi接入频段,所述处理单元用于根据 对所述K个Wi-Fi接入频段的统计,确定所述设备型号的接入设备支持单频接入或双频接入;或者,The performance data includes K Wi-Fi access frequency bands of the K access devices, and the processing unit is configured to determine the connection of the device model according to statistics on the K Wi-Fi access frequency bands. The incoming device supports single-band access or dual-band access; or,
    所述性能数据包括所述K个接入设备的K个协商天线个数、K个协商速率和K个Wi-Fi接入模式中的一个或多个,所述处理单元用于根据所述K个协商天线个数、K个协商速率和/或K个Wi-Fi接入模式中的一个或多个,通过所述收发单元获取具有所述设备型号的接入设备的接入能力;或者,The performance data includes one or more of the K negotiated antenna numbers, the K negotiated rates, and the K Wi-Fi access modes of the K access devices, and the processing unit is configured to One or more of the number of negotiated antennas, K negotiated rates, and/or K Wi-Fi access modes, obtain the access capability of the access device with the device model through the transceiver unit; or,
    所述性能数据包括所述K个接入设备的K个信号强度和K个Wi-Fi接入频段中的一个或多个,所述处理单元用于根据所述K个信号强度和K个Wi-Fi接入频段中的一个或多个,通过所述收发单元获取具有所述设备型号的接入设备的行为。The performance data includes K signal intensities of the K access devices and one or more of K Wi-Fi access frequency bands, and the processing unit is configured to - In one or more of the Fi access frequency bands, the transceiver unit acquires the behavior of the access device with the device model.
  27. 如权利要求24所述的装置,其特征在于,所述第三方包括运营商管理设备或网关设备。The apparatus of claim 24, wherein the third party comprises an operator management device or a gateway device.
  28. 如权利要求15-27任一项所述的装置,其特征在于,所述接入设备包括终端设备。The apparatus according to any one of claims 15-27, wherein the access device comprises a terminal device.
  29. 一种网络设备,其特征在于,包括处理器和存储器,所述处理器与所述存储器耦合;A network device, comprising a processor and a memory, wherein the processor is coupled with the memory;
    存储器,用于存储计算机程序;memory for storing computer programs;
    处理器,用于执行所述存储器中存储的计算机程序,以使得所述网络设备执行如权利要求1-14任一项所述的方法。A processor for executing a computer program stored in the memory, so that the network device executes the method according to any one of claims 1-14.
  30. 一种网络系统,其特征在于,所述系统包括第一网络设备和第二网络设备,所述第一网络设备用于执行权利要求1-8任一项所述的方法,A network system, characterized in that the system includes a first network device and a second network device, the first network device is configured to execute the method according to any one of claims 1-8,
    所述第一网络设备,在根据多个接入设备的多个设备信息的共同特征确定所述多个接入设备的设备型号之后,还用于根据K个设备信息提取K个性能数据,所述K个设备信息属于所述多个设备信息,K≥1,K为整数,并将根据所述性能数据获取的所述设备型号的接入设备的接入能力和/或行为发送给所述第二网络设备;或者将根据所述性能数据获取的分析数据发送至所述第二网络设备;The first network device is further configured to extract K pieces of performance data according to the K pieces of equipment information after determining the equipment models of the multiple pieces of access equipment according to the common features of the pieces of equipment information of the multiple pieces of access equipment. The K pieces of equipment information belong to the multiple pieces of equipment information, K≥1, K is an integer, and the access capability and/or behavior of the access equipment of the equipment model obtained according to the performance data is sent to the a second network device; or send the analysis data obtained according to the performance data to the second network device;
    所述第二网络设备,用于接收所述设备型号的接入设备的接入能力和/或行为;或者根据所述分析数据获取所述设备型号的接入设备的接入能力和/或性能。the second network device, configured to receive the access capability and/or behavior of the access device of the device model; or obtain the access capability and/or performance of the access device of the device model according to the analysis data .
  31. 如权利要求30所述的系统,其特征在于,所述性能数据包括Wi-Fi接入频段、Wi-Fi接入模式、协商天线个数、协商速率、信号强度中的一个或多个。The system of claim 30, wherein the performance data includes one or more of Wi-Fi access frequency band, Wi-Fi access mode, number of negotiated antennas, negotiation rate, and signal strength.
  32. 如权利要求31所述的系统,其特征在于,在第一网络设备获取N个接入设备的N个设备信息之前,所述第二网络设备还用于向所述第一网络设备发送所述N个设备信息,N≥2,N为整数。The system according to claim 31, wherein before the first network device acquires N device information of N access devices, the second network device is further configured to send the first network device the N device information, N≥2, N is an integer.
  33. 如权利要求30-32任一项所述的系统,其特征在于,所述第二网络设备为网关设备或运营商管理设备。The system according to any one of claims 30-32, wherein the second network device is a gateway device or an operator management device.
  34. 如权利要求30-33任一项所述的系统,其特征在于,所述第一网络设备为网络管理设备。The system according to any one of claims 30-33, wherein the first network device is a network management device.
  35. 如权利要求30-34任一项所述的系统,其特征在于,所述接入设备为终端设备。The system according to any one of claims 30-34, wherein the access device is a terminal device.
PCT/CN2021/101042 2020-06-30 2021-06-18 Device model recognition method, apparatus, network device and system WO2022001709A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010622529.2A CN113873521A (en) 2020-06-30 2020-06-30 Equipment model identification method, device, network equipment and system
CN202010622529.2 2020-06-30

Publications (1)

Publication Number Publication Date
WO2022001709A1 true WO2022001709A1 (en) 2022-01-06

Family

ID=78981971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101042 WO2022001709A1 (en) 2020-06-30 2021-06-18 Device model recognition method, apparatus, network device and system

Country Status (2)

Country Link
CN (1) CN113873521A (en)
WO (1) WO2022001709A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553621A (en) * 2022-01-17 2022-05-27 青岛海尔科技有限公司 Equipment access method and device, storage medium and electronic device
CN114979077A (en) * 2022-05-23 2022-08-30 中移(杭州)信息技术有限公司 Device identification method, device, storage medium and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018413A (en) * 2007-01-17 2007-08-15 上海华为技术有限公司 Performance statistics method of the terminal, access network device and radio network
US20130139263A1 (en) * 2011-11-29 2013-05-30 Georgia Tech Research Corporation Systems and methods for fingerprinting physical devices and device types based on network traffic
CN108681667A (en) * 2018-04-02 2018-10-19 阿里巴巴集团控股有限公司 A kind of unit type recognition methods, device and processing equipment
CN111031562A (en) * 2019-12-11 2020-04-17 迈赫机器人自动化股份有限公司 Wireless terminal access and identification method and system based on ad hoc network
CN111147305A (en) * 2019-12-30 2020-05-12 成都科来软件有限公司 Network asset portrait extraction method
CN111314504A (en) * 2020-04-01 2020-06-19 江苏润和智融科技有限公司 Power sensing equipment virtualization IP management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5257311B2 (en) * 2008-12-05 2013-08-07 ソニー株式会社 Information processing apparatus and information processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018413A (en) * 2007-01-17 2007-08-15 上海华为技术有限公司 Performance statistics method of the terminal, access network device and radio network
US20130139263A1 (en) * 2011-11-29 2013-05-30 Georgia Tech Research Corporation Systems and methods for fingerprinting physical devices and device types based on network traffic
CN108681667A (en) * 2018-04-02 2018-10-19 阿里巴巴集团控股有限公司 A kind of unit type recognition methods, device and processing equipment
CN111031562A (en) * 2019-12-11 2020-04-17 迈赫机器人自动化股份有限公司 Wireless terminal access and identification method and system based on ad hoc network
CN111147305A (en) * 2019-12-30 2020-05-12 成都科来软件有限公司 Network asset portrait extraction method
CN111314504A (en) * 2020-04-01 2020-06-19 江苏润和智融科技有限公司 Power sensing equipment virtualization IP management method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553621A (en) * 2022-01-17 2022-05-27 青岛海尔科技有限公司 Equipment access method and device, storage medium and electronic device
CN114553621B (en) * 2022-01-17 2024-03-22 青岛海尔科技有限公司 Equipment access method and device, storage medium and electronic device
CN114979077A (en) * 2022-05-23 2022-08-30 中移(杭州)信息技术有限公司 Device identification method, device, storage medium and apparatus

Also Published As

Publication number Publication date
CN113873521A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
US11552856B2 (en) Data analytics method and apparatus
CN109600790B (en) Method and device for acquiring characteristic parameters
US10129878B2 (en) Systems and methods for dynamic band switching
CN107409072B (en) System and method for supporting communication between wireless local area networks through radio access network
WO2020187194A1 (en) Communication method and apparatus
US11617092B2 (en) Data analytics method and apparatus
US8547946B2 (en) Efficient creation of WLAN connections
WO2022001709A1 (en) Device model recognition method, apparatus, network device and system
WO2021243837A1 (en) Application data routing method based on ursp rule, and user equipment
RU2684474C1 (en) Access point supporting at least two virtual networks, and method accomplished by means of access point for data exchanging with wireless device
WO2013097391A1 (en) Method for uniformly configuring wireless access points and access controller
US20180368049A1 (en) Method and apparatus for gathering network neighborhood information and generating a reduced neighbor report
CN109327882B (en) Access control method, communication equipment and equipment with storage function
WO2015143763A1 (en) Load information transfer method, system, network elements and computer storage medium
WO2022000171A1 (en) Wireless communication method, terminal device, and network device
CN109792677A (en) The group addressing for netting related information with access transmits
EP3318038A1 (en) Ue identification in wlan
WO2019153252A1 (en) Wireless communication method, network device, and terminal device
CN113709718B (en) Single terminal identification method and device
WO2022061829A1 (en) Wireless communication method and device
US20220377547A1 (en) Wireless communication method, terminal device and network element
US20160127521A1 (en) Wlan extension elements
WO2024073889A1 (en) Communication processing method and apparatus, and terminal device and network device
WO2022141223A1 (en) Wireless communication method, terminal device and network device
WO2022000510A1 (en) Wireless communication method and apparatus, and communication device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21833666

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21833666

Country of ref document: EP

Kind code of ref document: A1