CN108540582B - Terminal identification processing method, server and terminal - Google Patents

Terminal identification processing method, server and terminal Download PDF

Info

Publication number
CN108540582B
CN108540582B CN201710123237.2A CN201710123237A CN108540582B CN 108540582 B CN108540582 B CN 108540582B CN 201710123237 A CN201710123237 A CN 201710123237A CN 108540582 B CN108540582 B CN 108540582B
Authority
CN
China
Prior art keywords
hardware
terminal
identifier
information
server
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710123237.2A
Other languages
Chinese (zh)
Other versions
CN108540582A (en
Inventor
蔡东赟
邓颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710123237.2A priority Critical patent/CN108540582B/en
Publication of CN108540582A publication Critical patent/CN108540582A/en
Application granted granted Critical
Publication of CN108540582B publication Critical patent/CN108540582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a method for processing a terminal identifier, which comprises the following steps: the method comprises the steps that a server obtains type information and first hardware characteristic information of a terminal, the server obtains a first hardware identifier of the terminal according to the first hardware characteristic information through calculation according to a preset rule, the server distributes a virtual identifier to the terminal according to the type information and the first hardware characteristic information, and the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier. The server acquires the type information and the hardware characteristic information of the terminal, allocates corresponding virtual identifiers for the type information and the hardware characteristic information, and generates the network identifiers of the terminal, so that the possibility of duplication of the identifiers of the terminal is reduced, and the server performs unified calculation without calculating the network identifiers of the terminal, so that the consumption of network resources is reduced.

Description

Terminal identification processing method, server and terminal
Technical Field
The invention relates to the field of equipment management and control, in particular to a terminal identification processing method, a server and a terminal.
Background
The identifier of the device is an important identifier for counting and managing the whole network, the device identifier is unique identification information of the device in the whole network, and when how many devices are in the network, the number of the devices in the network can be counted through the identifiers by acquiring the identifiers of all the devices, so that the security management, the authority management, the resource scheduling and the like can be performed on the devices in the network. If the identifiers of a plurality of devices in a network are the same, a series of management problems may result, and therefore, the uniqueness of the identifiers of the devices is extremely important in network management.
In the prior art, the identifier of the device is generally the MAC address of the device, or the identifier generated by the MAC address of the device through a fixed algorithm, and once the identifier is generated, the identifier is not changed any more, and when statistics or management is needed, the terminal device sends the identifier generated by the terminal device to the server for statistics and management. Therefore, each terminal device needs to calculate and generate its own identifier, which results in relatively high network resource consumption, and when the MAC address of the device is modified or a virtual machine exists, the identifiers of the terminal devices may be consistent, but the terminal device itself does not know whether its own identifier is unique in the entire network, which may cause a problem of device management by the server.
Disclosure of Invention
The embodiment of the invention provides a terminal identifier processing method, a server and a terminal, which are used for reducing the consumption of network resources and reducing the repetition of identifiers of the terminal.
A first aspect of an embodiment of the present invention provides a method for processing a terminal identifier, where the method includes:
the method comprises the steps that a server obtains type information and first hardware characteristic information of a terminal;
the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal;
the server allocates a virtual identifier for the terminal according to the type information and the first hardware characteristic information;
and the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier.
In a possible implementation manner, the processing method further includes:
the server sends the network identifier to the terminal.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information; the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal, and the method comprises the following steps:
and if the first hardware characteristic information also comprises empty characteristic information, the server replaces the first hardware characteristic information with a default value to calculate a first hardware identifier of the terminal according to a preset rule.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information, and there is no empty feature information; the processing method further comprises the following steps:
acquiring second hardware characteristic information of the terminal;
if the second hardware characteristic information does not contain empty characteristic information and is different from all the characteristic information of the first hardware characteristic information, the server recalculates according to a preset rule according to the second hardware characteristic information to obtain a second hardware identifier of the terminal, and generates a new network identifier according to the second hardware identifier, the type information and the virtual identifier;
and if the second hardware characteristic information contains empty characteristic information, the server does not recalculate the hardware identifier of the terminal.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information, and there is empty feature information; the processing method further comprises the following steps:
the server acquires second hardware characteristic information of the terminal;
if the second hardware feature does not contain empty feature information, the server recalculates the second hardware identifier of the terminal according to the second hardware feature information and preset rules, and generates a new network identifier according to the second hardware identifier, the type information and the virtual identifier;
and if the second hardware feature contains empty feature information, the server does not recalculate the hardware identifier of the terminal.
In another possible implementation manner, the processing method further includes:
the server acquires network identifiers of a plurality of terminals and third hardware characteristics of the terminals, and is used for managing and controlling the terminals;
when the times of recalculating the hardware identifier of the target terminal in the plurality of terminals within a preset time reach a preset threshold value, the server recalculates the third hardware identifier of the terminal according to the third hardware characteristic of the target terminal and a preset rule, and generates a new network identifier according to the third hardware identifier, the type information of the target terminal and the virtual identifier.
In another possible implementation manner, the allocating, by the server, a virtual identifier to the terminal according to the type information and the first hardware feature information includes:
when the type information and the first hardware characteristic information are not the same as the stored type information and hardware characteristic information of other terminals, allocating default virtual identification;
and when the type information and the first hardware characteristic information are the same as the stored type information and hardware characteristic information of other terminals, distributing different virtual identifications according to an accumulation rule.
A second aspect of the embodiments of the present invention provides a method for processing a terminal identifier, including:
the method comprises the steps that a terminal detects the type of the terminal and collects first hardware characteristics of the terminal;
the terminal sends the detected type information and the collected first hardware characteristic information to a server, so that the server calculates a first hardware identifier of the terminal according to the first hardware characteristic information and a preset rule, and generates a network identifier of the terminal according to the type information, the first hardware identifier and the distributed virtual identifier;
and the terminal receives the network identifier sent by the server.
In a possible implementation manner, the processing method further includes:
the terminal acquires second hardware characteristics of the terminal according to a preset period;
and the terminal sends the collected second hardware characteristic information to the server, so that the server determines whether to recalculate the hardware identifier of the terminal according to the second hardware characteristic.
A third aspect of an embodiment of the present invention provides a server, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring type information and first hardware characteristic information of a terminal;
the computing unit is used for computing a first hardware identifier of the terminal according to the first hardware characteristic information and a preset rule;
the allocation unit is used for allocating virtual identifiers for the terminal according to the type information and the first hardware characteristic information;
a generating unit, configured to generate a network identifier of the terminal according to the type information, the first hardware identifier, and the virtual identifier.
In a possible implementation manner, the server further includes:
a sending unit, configured to send the network identifier to the terminal.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information; the computing unit is specifically configured to:
and if the first hardware characteristic information also comprises empty characteristic information, replacing the first hardware characteristic information with a default value to calculate a first hardware identifier of the terminal according to a preset rule.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information, and there is no empty feature information; the acquiring unit is further configured to acquire second hardware characteristic information of the terminal;
the calculation unit is further configured to, if the second hardware feature information does not include empty feature information and is different from all feature information of the first hardware feature information, recalculate according to a preset rule based on the second hardware feature information to obtain a second hardware identifier of the terminal; if the second hardware characteristic information contains empty characteristic information, the hardware identifier of the terminal is not recalculated;
the generating unit is further configured to generate a new network identifier according to the second hardware identifier, the type information, and the virtual identifier.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information, and there is empty feature information; the acquiring unit is further configured to acquire second hardware characteristic information of the terminal;
the computing unit is further configured to, if the second hardware feature does not include empty feature information, recalculate according to a preset rule based on the second hardware feature information to obtain a second hardware identifier of the terminal; if the second hardware feature contains empty feature information, the hardware identifier of the terminal is not recalculated;
the generating unit is further configured to generate a new network identifier according to the second hardware identifier, the type information, and the virtual identifier.
In another possible implementation manner, the obtaining unit is further configured to:
acquiring network identifiers of a plurality of terminals and third hardware characteristics of the plurality of terminals, and controlling the plurality of terminals;
the calculating unit is further configured to, when the number of times that a target terminal of the plurality of terminals performs hardware identifier recalculation within a preset time reaches a preset threshold, perform recalculation according to a preset rule according to a third hardware feature of the target terminal to obtain a third hardware identifier of the terminal;
the generating unit is further configured to generate a new network identifier according to the third hardware identifier, the target terminal type information, and the virtual identifier.
In another possible implementation manner, the allocation unit is specifically configured to:
when the type information and the first hardware characteristic information are not the same as the stored type information and hardware characteristic information of other terminals, allocating default virtual identification;
and when the type information and the first hardware characteristic information are the same as the stored type information and hardware characteristic information of other terminals, distributing different virtual identifications according to an accumulation rule.
A fourth aspect of the present invention provides a terminal, including:
the monitoring unit is used for detecting the type of the terminal;
the acquisition unit is used for acquiring a first hardware characteristic of the terminal;
a sending unit, configured to send the detected type information and the collected first hardware feature information to a server, so that the server obtains a first hardware identifier of the terminal according to the first hardware feature information and through calculation according to a preset rule, and generates a network identifier of the terminal according to the type information, the first hardware identifier, and the allocated virtual identifier;
a receiving unit, configured to receive the network identifier sent by the server.
In another possible implementation manner, the acquisition unit is further configured to:
acquiring a second hardware characteristic of the terminal according to a preset period;
the sending unit is further configured to send the collected second hardware feature information to the server, so that the server determines whether to recalculate the hardware identifier of the terminal according to the second hardware feature.
According to the technical scheme, the embodiment of the invention has the following advantages:
the method comprises the steps that a server obtains type information and first hardware characteristic information of a terminal, the server obtains a first hardware identifier of the terminal according to the first hardware characteristic information through calculation according to a preset rule, the server distributes a virtual identifier to the terminal according to the type information and the first hardware characteristic information, and the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier. The server acquires the type information and the hardware characteristic information of the terminal, allocates corresponding virtual identifiers for the type information and the hardware characteristic information, and generates the network identifiers of the terminal, so that the possibility of duplication of the identifiers of the terminal is reduced, and the server performs unified calculation without calculating the network identifiers of the terminal, so that the consumption of network resources is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an architecture to which a method for processing a terminal identifier according to an embodiment of the present invention is applied;
fig. 2 is a schematic diagram of an embodiment of a method for processing a terminal identifier according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another embodiment of a method for processing a terminal identifier according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of an application scenario in an embodiment of the present invention;
FIG. 5 is a diagram of an embodiment of an interaction flow in an embodiment of the invention;
FIG. 6 is a schematic diagram of another embodiment of the interaction flow in the embodiment of the present invention;
FIG. 7 is a diagram of one embodiment of a server in an embodiment of the invention;
fig. 8 is a schematic diagram of an embodiment of a terminal in an embodiment of the present invention;
fig. 9 is a schematic diagram of another embodiment of the terminal in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a terminal identifier processing method, a server and a terminal, which are used for reducing the consumption of network resources and reducing the repetition of identifiers of the terminal.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of an architecture applied by a method for processing a terminal identifier in an embodiment of the present invention, where the architecture provided in the embodiment of the present invention includes a server, a plurality of terminals, and a router for performing communication forwarding between the server and the terminals, where the router may be replaced by other forwarding devices, such as a switch. Optionally, the architecture provided in the embodiment of the present invention may further include multiple forwarding devices at the same time, for example, may include a router, a switch, a bridge, and the like at the same time. The plurality of terminals are connected to the router by wire or wireless, and the router is connected to the server by wire or wireless, and when the plurality of terminals communicate data with the server, the router performs functions such as routing and forwarding of packets. The multiple terminals all have the function of judging the types of the terminals, the types can include a physical machine type and a virtual machine type, and the multiple terminals simultaneously have the function of acquiring the hardware characteristics of the terminals, such as acquiring the device name of the terminal, the BOIS information of the terminal, the SN number of a disk of the terminal and the like. The plurality of terminals send the judged terminal type information and the collected hardware characteristic information to the server, the server can calculate the hardware characteristic information of the terminals according to preset rules to obtain hardware identifiers of the terminals, can allocate corresponding virtual identifiers according to the types of the terminals and the hardware characteristic information of the terminals, generates network identifiers for the terminals according to the type information of the terminals, the hardware characteristic information of the terminals and the allocated virtual identifiers, and uses the network identifiers as unique identity identifiers of the terminals in the whole network, so that statistics and management of the plurality of terminals in the network are achieved.
It should be noted that, in the embodiment of the present invention, the terminal may be an intelligent device such as a personal computer, a mobile phone, and a tablet computer, which has type determination and feature information acquisition functions, and is not limited specifically.
Referring to fig. 2, an embodiment of a method for processing a terminal identifier in the embodiment of the present invention includes:
101. the terminal detects the type of the terminal and collects a first hardware characteristic of the terminal.
In the embodiment of the invention, the terminal does not need to calculate the network identifier by itself, but the server generates the network identifier for the terminal through the type information and the hardware characteristic information acquired from the terminal, so that the terminal only needs to judge the type of the terminal and acquire the hardware characteristic of the terminal. Specifically, the type of the terminal may include a physical machine and a virtual machine, or may be further divided into type information such as a computer-type terminal device and a mobile phone-type computer device. The hardware characteristics of the terminal may include a terminal name of the terminal, an SN number of each disk of the terminal, BIOS information of the terminal, and the like.
It should be noted that the type of the terminal may also be obtained by the terminal by collecting software features of the terminal, where the software features refer to type information of the terminal.
102. And the terminal sends the detected type information and the collected first hardware characteristic information to a server.
103. The server acquires the type information of the terminal and the first hardware characteristic information.
Specifically, after the server sends the report instruction, the terminal may perform type determination and hardware feature acquisition, and send the determined terminal type information and the acquired hardware feature to the server. Or, the terminal may also automatically determine the terminal type and collect hardware characteristics according to a preset period or during startup, and actively send the terminal type and the collected hardware characteristics to the server, so that the server generates the network identifier.
104. And the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal.
Optionally, the server may calculate the first hardware identifier of the terminal according to the obtained first hardware feature information of the terminal according to a hash algorithm.
Optionally, the first hardware feature information includes at least one feature information, and the server calculates, according to a preset rule, a first hardware identifier of the terminal according to the first hardware feature information, which may specifically be:
and if the first hardware characteristic information also comprises empty characteristic information, the server replaces the first hardware characteristic information with a default value to calculate a first hardware identifier of the terminal according to a preset rule.
Wherein the default value may be a space character, or other fixed character. And when one of the first hardware characteristic information sent by the terminal is empty, replacing all the first hardware characteristics of the terminal by space characters, and calculating the first hardware identifier of the terminal by a hash algorithm. Or, only the information which is empty in the first hardware characteristic is replaced by a space character, so that the first hardware identification of the terminal is calculated by a hash algorithm.
105. And the server allocates a virtual identifier for the terminal according to the type information and the first hardware characteristic information.
If the type information reported by the terminals is the same as the first hardware characteristic information, the server can distinguish different terminal devices by allocating different virtual identifiers.
Optionally, the virtual identifier may be represented by an eight-bit number, and the server allocates the virtual identifier to the terminal according to the type information and the first hardware feature information, including:
when the type information and the first hardware characteristic information are not the same as the stored type information and hardware characteristic information of other terminals, allocating default virtual identification;
and when the type information and the first hardware characteristic information are the same as the stored type information and hardware characteristic information of other terminals, distributing different virtual identifications according to an accumulation rule.
For example, the default value of the virtual identifier is "00000001", and if the same terminal type and the first hardware feature information are the same, the default value is accumulated to obtain "00000002", so as to distinguish different terminal devices.
106. And the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier.
For example, if the terminal device is a virtual machine type, the type of the terminal is represented by a character "v", and if the terminal is a physical machine type, the type of the terminal is represented by a character "r", and a first hardware characteristic of the terminal is calculated by a hash algorithm to obtain a first hardware identifier of the terminal, for example, "55 f2e753099a0529e783f84c2f3 ffaa", and a virtual identifier, for example, a default value "00000001", is assigned to the terminal, so that a network identifier of the terminal, for example, "v 55f2e753099a0529e783f84c2f3ffa 100000001", can be generated.
Optionally, the embodiment of the present invention may further include the following steps:
107. the server sends the network identifier to the terminal.
108. And the terminal receives the network identifier sent by the server.
In order to enable the terminal to use the network identifier for network operation, after the server generates the network identifier for the terminal, the server can also send the network identifier to the corresponding terminal, so that the terminal can perform other network operations through the network identifier, and the server can directly acquire the network identifier of the terminal when the server needs to perform terminal management and control.
In the embodiment of the invention, a server acquires type information and first hardware characteristic information of a terminal, the server calculates a first hardware identifier of the terminal according to the first hardware characteristic information and a preset rule, the server allocates a virtual identifier to the terminal according to the type information and the first hardware characteristic information, and the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier. The server acquires the type information and the hardware characteristic information of the terminal, allocates corresponding virtual identifiers for the type information and the hardware characteristic information, and generates the network identifiers of the terminal, so that the possibility of duplication of the identifiers of the terminal is reduced, and the server performs unified calculation without calculating the network identifiers of the terminal, so that the consumption of network resources is reduced.
Referring to fig. 3, another embodiment of the method for processing a terminal identifier in the embodiment of the present invention includes:
201. the terminal detects the type of the terminal and collects a first hardware characteristic of the terminal.
The details are described with reference to step 101.
202. And the terminal sends the detected type information and the collected first hardware characteristic information to a server.
203. The server acquires the type information of the terminal and the first hardware characteristic information.
The details are described with reference to step 103.
204. And the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal.
The details are described with reference to step 104.
205. And the server allocates a virtual identifier for the terminal according to the type information and the first hardware characteristic information.
The details are described with reference to step 105.
206. And the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier.
The details are described with reference to step 106.
207. The server sends the network identifier to the terminal.
208. And the terminal receives the network identifier sent by the server.
The details are described with reference to step 108.
209. And the terminal acquires second hardware characteristics of the terminal according to a preset period.
In practical application, because the MAC address is easily modified, the single machine identifier is easy to jump, the MAC addresses of a plurality of virtual machines are repeated, the identifiers of the plurality of machines are the same, the virtual network card is also externally connected with a wifi network card device, the identifier symbol is easily recalculated, and the same device jumps to identify. After the system is reassembled, the identification symbol is easy to find out by an identification algorithm, and a new identification symbol is recalculated, so that the hopping identification of the same equipment is caused. The method comprises the steps that Ghost or virtual mirror images exist, and calculation results exist in a system disk, so that multiple machines are identified in the same mode. Virtualization devices, virtual machines, etc. cannot identify unique running instances. In the prior art, each terminal machine calculates itself, so that fault tolerance cannot be achieved, for example, multiple repeated treatments exist in the whole network.
Therefore, in the embodiment of the invention, the server performs unified calculation and performs fault-tolerant management on the network identifiers of the plurality of terminals, for example, recalculating the network identifiers of the terminals, thereby reducing the problem of network identifier duplication of the plurality of terminals in the whole network. The recalculation is based on the feature information that may change in the terminal, and the type information of the terminal is generally not possible to change, so the recalculation can be performed through the hardware feature information of the terminal, for example, if the hardware feature information reported by the terminal twice is completely inconsistent, it may be considered as a new device, and the recalculation of the network identifier of the terminal is required. Therefore, in the embodiment of the present invention, the terminal is further required to perform hardware feature acquisition according to a certain period, for example, hardware feature acquisition is performed every 5 hours, or it may be further specified that hardware feature acquisition is performed every time the terminal is restarted or turned on, and the acquired hardware feature is reported to the server.
210. And the terminal sends the collected second hardware characteristic information to the server.
211. And acquiring second hardware characteristic information of the terminal, and determining whether to recalculate the hardware identifier of the terminal according to the second hardware characteristic information.
In a possible implementation manner, the first hardware feature information includes at least one piece of feature information, and there is no empty feature information; the processing method further comprises the following steps:
if the second hardware characteristic information does not contain empty characteristic information and is different from all the characteristic information of the first hardware characteristic information, the server recalculates according to a preset rule according to the second hardware characteristic information to obtain a second hardware identifier of the terminal, and generates a new network identifier according to the second hardware identifier, the type information and the virtual identifier;
and if the second hardware characteristic information contains empty characteristic information, the server does not recalculate the hardware identifier of the terminal.
In this implementation manner, as long as all the hardware feature information reported by the terminal is inconsistent with the previously reported hardware feature information, the server considers that the hardware feature information has been replaced by a new terminal device, and then the hardware identifier of the terminal needs to be recalculated, and a new network identifier of the terminal is regenerated.
In another possible implementation manner, the first hardware feature information includes at least one piece of feature information, and there is empty feature information;
if the second hardware feature does not contain empty feature information, the server recalculates the second hardware identifier of the terminal according to the second hardware feature information and preset rules, and generates a new network identifier according to the second hardware identifier, the type information and the virtual identifier;
and if the second hardware feature contains empty feature information, the server does not recalculate the hardware identifier of the terminal.
In this implementation, if the hardware identifier information of the terminal reported by the terminal before includes a feature that is empty, it indicates that the previously calculated hardware identifier of the terminal is not completely accurate, and when the hardware feature reported by the terminal again is not empty, the server performs recalculation of the hardware identifier of the terminal by using the report with the most complete feature information, and generates a new network identifier of the terminal. If the hardware characteristics reported again also contain the empty characteristic information, the two reports are incomplete, and the server does not need to recalculate.
Optionally, the embodiment of the present invention may further include the following steps:
212. the server acquires network identifiers of a plurality of terminals and third hardware characteristics of the terminals, and is used for managing and controlling the terminals.
When the server needs to count or manage a plurality of terminals, the corresponding network identifiers need to be acquired from the terminals, and because the hardware information of the terminals may be changed, the terminals can acquire the hardware characteristics again before reporting the network identifiers, send the hardware characteristics and the network identifiers to the server, and judge whether to recalculate the network identifiers of the terminals by the server.
213. When the times of recalculating the hardware identifier of the target terminal in the plurality of terminals within a preset time reach a preset threshold value, the server recalculates the third hardware identifier of the terminal according to the third hardware characteristic of the target terminal and a preset rule, and generates a new network identifier according to the third hardware identifier, the type information of the target terminal and the virtual identifier.
In practical applications, some terminal devices may need to recalculate their network identifiers frequently, for example, a computer device in a conference room is an operating system installed through a mirroring system and has a restart recovery function, if the mirroring system file already contains a network identifier generated by a server, the network identifier may also become a network identifier in the mirroring system file after being restarted, thereby causing a problem of network identifier duplication, and in order to strictly distinguish different terminal devices from each other to use different network identifiers, the network identifier recalculation must be performed on such terminal devices. In the embodiment of the present invention, whether to perform forced recalculation on the network identifier of the terminal is determined by determining whether the hardware identifier recalculation times of the terminal within a preset time period reach a preset value, for example, if a terminal device recalculates the hardware identifier 5 times within a week, when a server needs to manage and control the terminal again, after acquiring the network identifier and the third hardware feature of the terminal, the hardware identifier of the terminal is recalculated, and a new network identifier is generated. Thereby avoiding the problem of duplication of network identifiers for multiple terminals.
In the embodiment of the invention, the server periodically acquires the hardware characteristics reported by the terminal and judges whether to recalculate the terminal identifier of the terminal according to the reported hardware characteristics each time, so as to generate a new network identifier and reduce the repeated situation of the network identifiers of a plurality of terminals.
The following is a description of an application scenario and an interaction flow.
In practical applications, it may also be determined by a developer whether to recalculate the network identifier of the terminal. It has been found that in the system subjected to the ghost reinstallation, a record of DeviceID (i.e. a network identifier of a terminal) is recorded in a registry, and when new device features are not fully adopted, a plurality of devices have the same DeviceID, and the situation needs to be handled. One statistic can be added, the number of devices with the same DeviceID but different machine names, and the mail is pushed to the developer, and after verification and confirmation that recalculation is needed, the DeviceID is forced to be recalculated. The specific flow is shown in fig. 4.
The heartbeat in fig. 4 refers to that the client (i.e. the terminal) is in high-frequency communication connection with the server, each heartbeat represents one data interaction, and each heartbeat carries basic information and may also contain information such as DeviceID and hardware characteristics.
The client will send a request to the background to compute a unique identifier in three cases:
1) when the client starts.
2) When a change in the information associated with DeviceID is detected.
3) When the seq returned by the server is inconsistent with the seq sent by the client, the seq refers to an indication mark indicating whether the server needs to recalculate the DeviceID, if the seq returned by the server is consistent with the former seq, the server does not need to recalculate the DeviceID, and if the seq returned by the server is inconsistent, the server does not need to recalculate the DeviceID.
The interaction flow between the first and second cases is shown in fig. 5, where the client sends a request for computing the unique identifier to the background, the access layer forwards the request to the module for computing the unique identifier, the module determines whether computing (recalculating) the DeviceID is needed according to hardware and software characteristics, if so, the module returns the DeviceID with the unique identifier to the client, and if not, the module directly returns the DeviceID sent by the client. Wherein the DeviceID module belongs to the server side.
The interaction flow of the third case is shown in fig. 6, in which a command is added to the heartbeat to push the request detected by the server that needs to recalculate the unique identifier to the client, and the flow is as follows:
every heartbeat, whether the unique identifier needs to be recalculated is verified, if so, the seq +1 transmitted by the client is returned, and if not, the seq transmitted by the client is directly returned. The client checks the seq returned by the server, and if the seq is larger than the seq saved on the local computer, the client sends a request for computing the DeviceID to the background, and the process is the same as the first and second cases.
Referring to fig. 7, an embodiment of the server provided in the embodiment of the present invention includes:
an obtaining unit 301, configured to obtain type information and first hardware feature information of a terminal;
a calculating unit 302, configured to calculate, according to the first hardware feature information and according to a preset rule, a first hardware identifier of the terminal;
an allocating unit 303, configured to allocate a virtual identifier to the terminal according to the type information and the first hardware feature information;
a generating unit 304, configured to generate a network identifier of the terminal according to the type information, the first hardware identifier, and the virtual identifier.
Optionally, the server further includes:
a sending unit 305, configured to send the network identifier to the terminal.
Optionally, the first hardware feature information includes at least one feature information; the calculating unit 302 is specifically configured to:
and if the first hardware characteristic information also comprises empty characteristic information, replacing the first hardware characteristic information with a default value to calculate a first hardware identifier of the terminal according to a preset rule.
Optionally, the first hardware feature information includes at least one piece of feature information, and there is no empty feature information; the obtaining unit 301 is further configured to obtain second hardware feature information of the terminal;
the calculating unit 302 is further configured to, if the second hardware feature information does not include empty feature information and is different from all feature information of the first hardware feature information, recalculate according to a preset rule according to the second hardware feature information to obtain a second hardware identifier of the terminal; if the second hardware characteristic information contains empty characteristic information, the hardware identifier of the terminal is not recalculated;
the generating unit 304 is further configured to generate a new network identifier according to the second hardware identifier, the type information, and the virtual identifier.
Optionally, the first hardware feature information includes at least one piece of feature information, and there is empty feature information; the obtaining unit 301 is further configured to obtain second hardware feature information of the terminal;
the calculating unit 302 is further configured to, if the second hardware feature does not include empty feature information, recalculate according to a preset rule according to the second hardware feature information to obtain a second hardware identifier of the terminal; if the second hardware feature contains empty feature information, the hardware identifier of the terminal is not recalculated;
the generating unit 304 is further configured to generate a new network identifier according to the second hardware identifier, the type information, and the virtual identifier.
Optionally, the obtaining unit 301 is further configured to:
acquiring network identifiers of a plurality of terminals and third hardware characteristics of the plurality of terminals, and controlling the plurality of terminals;
the calculating unit 302 is further configured to, when the number of times that a target terminal in the plurality of terminals performs hardware identifier recalculation within a preset time reaches a preset threshold, perform recalculation according to a preset rule according to a third hardware feature of the target terminal to obtain a third hardware identifier of the terminal;
the generating unit 304 is further configured to generate a new network identifier according to the third hardware identifier, the target terminal type information, and the virtual identifier.
Optionally, the allocating unit 303 is specifically configured to:
when the type information and the first hardware characteristic information are not the same as the stored type information and hardware characteristic information of other terminals, allocating default virtual identification;
and when the type information and the first hardware characteristic information are the same as the stored type information and hardware characteristic information of other terminals, distributing different virtual identifications according to an accumulation rule.
Optionally, the type information includes a physical machine or a virtual machine; the first hardware characteristic information comprises at least one of a terminal name, BIOS information of the terminal and an SN (serial number) of a disk of the terminal.
Referring to fig. 8, an embodiment of a terminal provided in the embodiment of the present invention includes:
a monitoring unit 401, configured to detect a type of a terminal;
an acquisition unit 402, configured to acquire a first hardware feature of a terminal;
a sending unit 403, configured to send the detected type information and the collected first hardware feature information to a server, so that the server obtains a first hardware identifier of the terminal according to the first hardware feature information and according to a preset rule, and generates a network identifier of the terminal according to the type information, the first hardware identifier, and the allocated virtual identifier;
a receiving unit 404, configured to receive the network identifier sent by the server.
Optionally, the acquiring unit 402 is further configured to:
acquiring a second hardware characteristic of the terminal according to a preset period;
the sending unit 403 is further configured to send the acquired second hardware feature information to the server, so that the server determines whether to recalculate the hardware identifier of the terminal according to the second hardware feature.
The specific description of each unit in fig. 7 and fig. 8 may refer to a specific implementation manner of the processing method for the terminal identifier in fig. 1 to fig. 6, which is not described herein again.
The embodiment of the invention also provides another mobile terminal which can be a mobile phone. As shown in fig. 9, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and the detailed technical details are not disclosed, please refer to the method portion of the embodiment of the present invention.
Fig. 9 is a block diagram illustrating a partial structure of a mobile terminal 800 according to an embodiment of the present invention. Referring to fig. 9, the mobile terminal includes: camera 810, memory 820, input unit 830, display unit 840, sensor 850, audio circuitry 860, WiFi module 870, processor 880, and power supply 890. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 9 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 9:
camera 810 may be used for photography;
the memory 820 may be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the mobile terminal by operating the software programs and modules stored in the memory 820. The memory 820 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, the memory 820 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 830 may be used to receive operation instructions of a user, such as: a scan instruction is input, and key signal inputs related to user settings and function control of the mobile terminal 800 are generated. Specifically, the input unit 830 may include a touch panel 831 and other input devices 832. The touch panel 831, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on the touch panel 831 or near the touch panel 831 using any suitable object or accessory such as a finger or a stylus pen) thereon or nearby, and drive a corresponding connected mobile terminal according to a preset program. Alternatively, the touch panel 831 may include two portions of a touch detection mobile terminal and a touch controller. The touch detection mobile terminal detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing mobile terminal, converts it into touch point coordinates, and then sends the touch point coordinates to the processor 880, and can receive and execute commands sent from the processor 880. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 830 may include other input devices 832 in addition to the touch panel 831. In particular, other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 840 may be used to display an application interface. The Display unit 840 may include an indicator Light 841, and the indicator Light 841 may be optionally configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, touch panel 831 can cover indicator 841, and when touch panel 831 detects a touch operation thereon or nearby, it can transmit to processor 880 to determine the type of touch event, and then processor 880 can provide a corresponding visual output on indicator 841 according to the type of touch event. Although the touch panel 831 and the indicator light 841 are implemented as two separate components in fig. 9 to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 831 and the indicator light 841 may be integrated to implement the input and output functions of the mobile terminal.
The mobile terminal 800 may also include at least one sensor 850.
Audio circuitry 860, speaker 861, microphone 862 may provide an audio interface between the user and the mobile terminal. The audio circuit 860 can transmit the electrical signal converted from the received audio data to the speaker 861, and the electrical signal is converted into a sound signal by the speaker 861 and output; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal, which is received by the audio circuit 860 and converted into audio data, and then the audio data is processed by the audio data output processor 880 and transmitted to, for example, another mobile terminal via the camera 810, or the audio data is output to the memory 820 for further processing.
WiFi module 870 may be used for communication.
The processor 880 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 820 and calling data stored in the memory 820, thereby integrally monitoring the mobile terminal. Optionally, processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 880.
The mobile terminal 800 further includes a power supply 890 (e.g., a battery) for supplying power to the various components, which may be logically connected to the processor 880 via a power management system that may be configured to manage charging, discharging, and power consumption.
Although not shown, the mobile terminal 800 may further include a Radio Frequency (RF) circuit, a bluetooth module, and the like, which will not be described herein.
In the embodiment of the present invention, the processor 880 included in the mobile terminal when performing object scanning further has the following functions:
detecting the type of a terminal and acquiring a first hardware characteristic of the terminal;
sending the detected type information and the collected first hardware characteristic information to a server, so that the server calculates a first hardware identifier of the terminal according to the first hardware characteristic information and a preset rule, and generates a network identifier of the terminal according to the type information, the first hardware identifier and the distributed virtual identifier;
receiving the network identifier sent by the server.
Optionally, the processor 880 further has the following functions:
acquiring a second hardware characteristic of the terminal according to a preset period;
and sending the collected second hardware characteristic information to the server, so that the server determines whether to recalculate the hardware identifier of the terminal according to the second hardware characteristic.
The mobile terminal provided in the embodiment of the present invention can be understood by referring to the corresponding descriptions in fig. 1 to fig. 6, which are not described in detail herein.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (19)

1. A processing method of a terminal identifier is characterized in that the processing method comprises the following steps:
the method comprises the steps that a server obtains type information and first hardware characteristic information of a terminal;
the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal;
the server allocates a virtual identifier for the terminal according to the type information and the first hardware characteristic information;
the server generates a network identifier of the terminal according to the type information, the first hardware identifier and the virtual identifier;
wherein the first hardware feature information comprises at least one feature information; the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal, and the method comprises the following steps:
if the first hardware characteristic information also comprises empty characteristic information, the server replaces the whole first hardware characteristic information with a default value or replaces the empty information in the first hardware characteristic information with a default value, and calculates a first hardware identifier of the terminal according to a preset rule.
2. The method of claim 1, wherein the processing method further comprises:
the server sends the network identifier to the terminal.
3. The processing method according to claim 1 or 2, wherein the first hardware feature information includes at least one feature information, and there is no feature information that is null; the processing method further comprises the following steps:
acquiring second hardware characteristic information of the terminal;
if the second hardware characteristic information does not contain empty characteristic information and is different from all the characteristic information of the first hardware characteristic information, the server recalculates according to a preset rule according to the second hardware characteristic information to obtain a second hardware identifier of the terminal, and generates a new network identifier according to the second hardware identifier, the type information and the virtual identifier;
and if the second hardware characteristic information contains empty characteristic information, the server does not recalculate the hardware identifier of the terminal.
4. The processing method according to claim 1 or 2, wherein the first hardware feature information includes at least one feature information, and there is a feature information that is empty; the processing method further comprises the following steps:
the server acquires second hardware characteristic information of the terminal;
if the second hardware feature does not contain empty feature information, the server recalculates the second hardware identifier of the terminal according to the second hardware feature information and preset rules, and generates a new network identifier according to the second hardware identifier, the type information and the virtual identifier;
and if the second hardware feature contains empty feature information, the server does not recalculate the hardware identifier of the terminal.
5. The processing method according to claim 4, characterized in that it further comprises:
the server acquires network identifiers of a plurality of terminals and third hardware characteristics of the terminals, and is used for managing and controlling the terminals;
when the times of recalculating the hardware identifier of the target terminal in the plurality of terminals within a preset time reach a preset threshold value, the server recalculates the third hardware identifier of the terminal according to the third hardware characteristic of the target terminal and a preset rule, and generates a new network identifier according to the third hardware identifier, the type information of the target terminal and the virtual identifier.
6. The processing method according to claim 1 or 2, wherein the server allocates a virtual identifier to the terminal according to the type information and the first hardware feature information, and the method includes:
when the type information and the first hardware characteristic information are not the same as the stored type information and hardware characteristic information of other terminals, allocating default virtual identification;
and when the type information and the first hardware characteristic information are the same as the stored type information and hardware characteristic information of other terminals, distributing different virtual identifications according to an accumulation rule.
7. The processing method according to claim 1 or 2, wherein the type information includes a physical machine or a virtual machine; the first hardware characteristic information comprises at least one of a terminal name, BIOS information of the terminal and an SN (serial number) of a disk of the terminal.
8. A processing method of a terminal identifier is characterized in that the processing method comprises the following steps:
the method comprises the steps that a terminal detects the type of the terminal and collects first hardware characteristics of the terminal;
the terminal sends the detected type information and the collected first hardware characteristic information to a server, so that the server calculates a first hardware identifier of the terminal according to the first hardware characteristic information and a preset rule, and generates a network identifier of the terminal according to the type information, the first hardware identifier and the distributed virtual identifier;
the terminal receives the network identifier sent by the server;
wherein the first hardware feature information comprises at least one feature information; the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal, and the method comprises the following steps:
if the first hardware characteristic information also comprises empty characteristic information, the server replaces the whole first hardware characteristic information with a default value or replaces the empty information in the first hardware characteristic information with a default value, and calculates a first hardware identifier of the terminal according to a preset rule.
9. The processing method according to claim 8, characterized in that it further comprises:
the terminal acquires second hardware characteristics of the terminal according to a preset period;
and the terminal sends the collected second hardware characteristic information to the server, so that the server determines whether to recalculate the hardware identifier of the terminal according to the second hardware characteristic.
10. A server, characterized in that the server comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring type information and first hardware characteristic information of a terminal;
the computing unit is used for computing a first hardware identifier of the terminal according to the first hardware characteristic information and a preset rule;
the allocation unit is used for allocating virtual identifiers for the terminal according to the type information and the first hardware characteristic information;
a generating unit, configured to generate a network identifier of the terminal according to the type information, the first hardware identifier, and the virtual identifier;
wherein the first hardware feature information comprises at least one feature information; the computing unit is specifically configured to:
if the first hardware characteristic information also comprises empty characteristic information, the server replaces the whole first hardware characteristic information with a default value or replaces the empty information in the first hardware characteristic information with a default value, and calculates a first hardware identifier of the terminal according to a preset rule.
11. The server according to claim 10, further comprising:
a sending unit, configured to send the network identifier to the terminal.
12. The server according to claim 10 or 11, wherein the first hardware feature information includes at least one feature information, and there is no feature information that is empty; the acquiring unit is further configured to acquire second hardware characteristic information of the terminal;
the calculation unit is further configured to, if the second hardware feature information does not include empty feature information and is different from all feature information of the first hardware feature information, recalculate according to a preset rule based on the second hardware feature information to obtain a second hardware identifier of the terminal; if the second hardware characteristic information contains empty characteristic information, the hardware identifier of the terminal is not recalculated;
the generating unit is further configured to generate a new network identifier according to the second hardware identifier, the type information, and the virtual identifier.
13. The server according to claim 10 or 11, wherein the first hardware feature information includes at least one feature information, and there is a null feature information; the acquiring unit is further configured to acquire second hardware characteristic information of the terminal;
the computing unit is further configured to, if the second hardware feature does not include empty feature information, recalculate according to a preset rule based on the second hardware feature information to obtain a second hardware identifier of the terminal; if the second hardware feature contains empty feature information, the hardware identifier of the terminal is not recalculated;
the generating unit is further configured to generate a new network identifier according to the second hardware identifier, the type information, and the virtual identifier.
14. The server according to claim 13, wherein the obtaining unit is further configured to:
acquiring network identifiers of a plurality of terminals and third hardware characteristics of the plurality of terminals, and controlling the plurality of terminals;
the calculating unit is further configured to, when the number of times that a target terminal of the plurality of terminals performs hardware identifier recalculation within a preset time reaches a preset threshold, perform recalculation according to a preset rule according to a third hardware feature of the target terminal to obtain a third hardware identifier of the terminal;
the generating unit is further configured to generate a new network identifier according to the third hardware identifier, the target terminal type information, and the virtual identifier.
15. The server according to claim 10 or 11, wherein the allocation unit is specifically configured to:
when the type information and the first hardware characteristic information are not the same as the stored type information and hardware characteristic information of other terminals, allocating default virtual identification;
and when the type information and the first hardware characteristic information are the same as the stored type information and hardware characteristic information of other terminals, distributing different virtual identifications according to an accumulation rule.
16. The server according to claim 10 or 11, wherein the type information includes a physical machine or a virtual machine; the first hardware characteristic information comprises at least one of a terminal name, BIOS information of the terminal and an SN (serial number) of a disk of the terminal.
17. A terminal, characterized in that the terminal comprises:
the monitoring unit is used for detecting the type of the terminal;
the acquisition unit is used for acquiring a first hardware characteristic of the terminal;
a sending unit, configured to send the detected type information and the collected first hardware feature information to a server, so that the server obtains a first hardware identifier of the terminal according to the first hardware feature information and through calculation according to a preset rule, and generates a network identifier of the terminal according to the type information, the first hardware identifier, and the allocated virtual identifier;
a receiving unit, configured to receive the network identifier sent by the server;
wherein the first hardware feature information comprises at least one feature information; the server calculates according to the first hardware characteristic information and a preset rule to obtain a first hardware identifier of the terminal, and the method comprises the following steps:
if the first hardware characteristic information also comprises empty characteristic information, the server replaces the whole first hardware characteristic information with a default value or replaces the empty information in the first hardware characteristic information with a default value, and calculates a first hardware identifier of the terminal according to a preset rule.
18. The terminal of claim 17, wherein the acquisition unit is further configured to:
acquiring a second hardware characteristic of the terminal according to a preset period;
the sending unit is further configured to send the collected second hardware feature information to the server, so that the server determines whether to recalculate the hardware identifier of the terminal according to the second hardware feature.
19. A computer-readable storage medium comprising instructions for performing the method of any of claims 1-7 or 8-9.
CN201710123237.2A 2017-03-02 2017-03-02 Terminal identification processing method, server and terminal Active CN108540582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710123237.2A CN108540582B (en) 2017-03-02 2017-03-02 Terminal identification processing method, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710123237.2A CN108540582B (en) 2017-03-02 2017-03-02 Terminal identification processing method, server and terminal

Publications (2)

Publication Number Publication Date
CN108540582A CN108540582A (en) 2018-09-14
CN108540582B true CN108540582B (en) 2020-09-15

Family

ID=63488700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710123237.2A Active CN108540582B (en) 2017-03-02 2017-03-02 Terminal identification processing method, server and terminal

Country Status (1)

Country Link
CN (1) CN108540582B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865558A (en) * 2019-05-19 2020-10-30 北京骑胜科技有限公司 Service data processing method and device, electronic equipment and storage medium
CN112866174B (en) * 2019-11-12 2023-04-18 千寻位置网络有限公司 Terminal access authentication method and system thereof
CN112055316B (en) * 2020-07-28 2022-03-29 四川虹美智能科技有限公司 Production detection system and method of intelligent module and electronic equipment
CN112003939A (en) * 2020-08-24 2020-11-27 杭州海康存储科技有限公司 Method, system and device for processing suite information and server

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101080036A (en) * 2006-05-25 2007-11-28 华为技术有限公司 Method for processing call in wireless communication network
US8219710B2 (en) * 2006-10-28 2012-07-10 General Motors Llc Method of establishing a data connection with a telematics-equipped vehicle
US8473442B1 (en) * 2009-02-25 2013-06-25 Mcafee, Inc. System and method for intelligent state management
CA2830846C (en) * 2011-03-21 2018-08-28 Irdeto B.V. System and method for securely binding and node-locking program execution to a trusted signature authority
CN102546660A (en) * 2012-02-21 2012-07-04 北京国泰信安科技有限公司 Digital rights protection method supporting dynamic licensing authorization
CN102868970A (en) * 2012-09-21 2013-01-09 上海永畅信息科技有限公司 System and method for actively identifying and communicating with vehicles

Also Published As

Publication number Publication date
CN108540582A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108540582B (en) Terminal identification processing method, server and terminal
CN110489391B (en) Data processing method and related equipment
CN109101318B (en) Virtual machine migration control method and device
CN108429721B (en) Identification method and device for web crawler
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
CN105429775B (en) Method and device for reporting log
CN107526638B (en) Application processing method and device, mobile terminal and storage medium
US20150067147A1 (en) Group server performance correction via actions to server subset
US10587741B2 (en) Communication event processing method and apparatus
WO2017131774A1 (en) Log event summarization for distributed server system
CN112422711B (en) Resource allocation method and device, electronic equipment and storage medium
US20140201356A1 (en) Monitoring system of managing cloud-based hosts and monitoring method using for the same
CN108200180B (en) Method and device for limiting request frequency and computer equipment
CN109428839B (en) CDN scheduling method, device and system
CN106470253B (en) IP address recovery method and device
CN103516547A (en) Network parameter distribution method and device
CN111340587A (en) Virtual commodity management method and related device
CN110730205B (en) Cluster system deployment method, device, computer equipment and storage medium
CN112118205B (en) Domain name information detection method and related device
CN108616896B (en) Operator identification method and device and internet access system
US20210400013A1 (en) Systems and methods for utilizing an internet protocol (ip) address scanning model to identify available ip addresses
CN107688498B (en) Application program processing method and device, computer equipment and storage medium
CN115269243A (en) Method, device and equipment for detecting process and storage medium
CN112801837B (en) Equipment clustering method and device, storage medium and electronic equipment
CN111490894B (en) Supply and installation monitoring system and method for virtual machine network card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211015

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right