CN115988124A - Method and device for determining equipment ID - Google Patents

Method and device for determining equipment ID Download PDF

Info

Publication number
CN115988124A
CN115988124A CN202211665234.9A CN202211665234A CN115988124A CN 115988124 A CN115988124 A CN 115988124A CN 202211665234 A CN202211665234 A CN 202211665234A CN 115988124 A CN115988124 A CN 115988124A
Authority
CN
China
Prior art keywords
application
identifier
terminal equipment
main
determining
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.)
Pending
Application number
CN202211665234.9A
Other languages
Chinese (zh)
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202211665234.9A priority Critical patent/CN115988124A/en
Publication of CN115988124A publication Critical patent/CN115988124A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a method and a device for determining an equipment ID, and relates to the technical field of terminal and equipment identity identification. The specific implementation mode comprises the following steps: responding to a determination function of an ID of terminal equipment, and then restarting after the determination function is closed, if a target application is installed on the terminal equipment during the closing period of the determination function and the equipment ID of the target application jumps, determining an application with the highest priority in all applications installed on the terminal equipment, wherein the priority is the priority of an application identifier selected as a main identifier; and determining the application-internal unique ID of the application with the highest priority as the main identification of the terminal equipment. The method and the device can ensure the uniformity and stability of the terminal equipment identification through the main identification.

Description

Method and device for determining equipment ID
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for determining an ID of a device.
Background
With the development of internet technology, more and more users use various applications of mobile terminals. However, these applications all have their own ID, i.e. the same terminal, and there may be a plurality of different IDs.
The android operating system in the mobile terminal often limits representation and unification of the ID to the terminal equipment. Therefore, there may be a plurality of IDs in the same device, thereby causing a relatively large obstacle to data analysis.
Disclosure of Invention
Provided are a method and an apparatus for determining a device ID, an electronic device, and a storage medium.
According to a first aspect, there is provided a method for determining a device ID, comprising: responding to the fact that the ID determining function of the terminal equipment is restarted after the ID determining function is closed, if the terminal equipment is provided with the target application during the closing period of the determining function and the equipment ID of the target application jumps, determining the application with the highest priority in all the applications provided by the terminal equipment, wherein the priority is the priority of the application which is selected as the main identification; and determining the application-internal unique ID of the application with the highest priority as the main identification of the terminal equipment.
According to a second aspect, there is provided an apparatus for determining a device ID, comprising: the jump unit is configured to respond to the fact that the determined function of the ID of the terminal equipment is restarted after the ID is closed, and if the terminal equipment is provided with the target application during the closing period of the determined function and the equipment ID of the target application jumps, the application with the highest priority level in all the applications arranged on the terminal equipment is determined, wherein the priority level is the priority level of the application which is selected as the main identification; a determination unit configured to determine an intra-application unique ID of an application with the highest priority as a primary identifier of the terminal device.
According to a third aspect, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any of the embodiments of the method of determining a device ID.
According to a fourth aspect, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method according to any one of the embodiments of the method of determining a device ID.
According to a fifth aspect, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method according to any one of the embodiments of the method of determining a device ID.
According to the scheme disclosed by the invention, the uniformity and stability of the terminal equipment identification can be ensured through the main identification.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method of device ID determination according to the present disclosure;
FIG. 3 is a flowchart of the steps of generating a mapping of the ID of the terminal device to the MID according to the present disclosure;
fig. 4 is a schematic diagram of one application scenario of a device ID determination method according to the present disclosure;
FIG. 5 is a block diagram of one embodiment of an apparatus for determining a device ID according to the present disclosure;
fig. 6 is a block diagram of an electronic device to implement the method of determining a device ID of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of embodiments of the present disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, necessary security measures are taken, and the public order and the custom are not violated.
It should be noted that, in the present disclosure, the embodiments and the features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the device ID determination method or device ID determination apparatus of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as video applications, live applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
Here, the terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for the terminal devices 101, 102, 103. The background server may analyze and process the received data such as the Master ID (MID) determination request, and feed back a processing result (e.g., the Master ID) to the terminal device.
It should be noted that the method for determining the device ID provided by the embodiment of the present disclosure may be executed by the server 105 or the terminal devices 101, 102, and 103, and accordingly, the device ID determining apparatus may be disposed in the server 105 or the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method of device ID determination in accordance with the present disclosure is shown. The method for determining the equipment ID comprises the following steps:
step 201, in response to that the determination function of the ID of the terminal device is turned on again after being turned off, if the terminal device installs the target application during the turn-off period of the determination function and the device ID of the target application jumps, determining the application with the highest priority among the applications installed in the terminal device, where the identifier with the priority as the application is selected as the priority of the primary identifier.
In this embodiment, an execution main body (for example, the terminal device shown in fig. 1) on which the method for determining the device ID operates may determine, if the function (that is, the shared path) for determining the ID of the terminal device is turned on again after being turned off, that is, if the terminal device can determine the ID again, and if the terminal device installs the target application during the turn-off period of the function is determined, and a device ID of the target application jumps, the execution main body may determine the application with the highest priority among the applications installed in the terminal device.
Each application installed by a device has its own priority. The priority here refers to the priority of the device identity being selected as the primary identity. The priority of different applications may be different. For example, the prioritization among xaapp, yapp, and Zapp may be: yapp > Xapp > Zapp, i.e., yapp is the highest priority followed by Xapp, and Zapp is the lowest priority.
The device ID (e.g., the CUID) of the target application may hop after the ID determination function of the terminal is turned off. After hopping, the device ID changes. Specifically, in the case where the device ID is the CUID, the CUID is composed of the DID and imei numbers. Among which DID may be the hopping.
In practice, the priority of different applications may be different, and only one application with the highest priority may be present on the terminal device. Alternatively, if there is a case where more than one application has the highest priority, an application with the highest priority may be determined from the applications with the highest priority according to a preset rule. For example, the preset rule may be to take the earliest installed application among the highest priority applications as a determined highest priority application, or to randomly take one application from among the highest priority applications as a determined highest priority application.
Step 202, determining the unique ID in the application of the application with the highest priority as the main identifier of the terminal device.
In this embodiment, the execution subject may determine, after determining the application with the highest priority, an intra-application unique ID (APP-CUID, AID) of the application with the highest priority as the main identifier MID of the terminal device.
The method provided by the above embodiment of the present disclosure may determine the primary identifier of the terminal device through the priority difference between the applications if the device ID of the target application is hopped when the ID determining function is turned off and the ID of the terminal device cannot be determined. Therefore, the method and the device can not only unify the identification of the terminal device, avoid different IDs corresponding to different data, provide convenience for data analysis of the terminal device, but also ensure the stability of the main identification after the ID of the device jumps through the priority, and avoid frequent change of the main identification to a certain extent.
In some optional implementations of any embodiment of the present disclosure, the step of re-determining the main identifier of the terminal device includes: in response to receiving ID report information reported by the terminal equipment, searching a main identifier of the terminal equipment in an ID database, wherein the ID report information comprises an in-application unique ID and an application list of an application installed in the terminal equipment; if the main identifier of the terminal equipment is found, determining the main identifier as the main identifier of the terminal equipment; and if the main identification of the terminal equipment is not found, determining the application with the highest priority in all the applications installed by the terminal equipment.
In these alternative implementations, the terminal devices in these implementations may be the same as the terminal device described above, or may be different terminal devices. After receiving the ID report information reported by the terminal device, the electronic device such as the server may search the ID database for the primary identifier of the terminal device. The ID database includes history data of the ID of the terminal device. The ID report information includes AIDs and application lists of applications installed in the terminal device, such as an application list add list.
Specifically, if the primary identifier of the terminal device is found in the ID database, the found primary identifier may be directly determined as the primary identifier of the terminal device. If the main identifier of the terminal device is not found, the executing agent may execute the main identifier determining step, and determine the in-application unique ID of the application with the highest priority as the main identifier MID of the terminal device.
These implementations can ensure the uniqueness of the MID by looking up in a database, avoiding repeated generation of MIDs.
Optionally, the determining, if the main identifier of the terminal device is found, the main identifier of the terminal device may include: and if the number of the searched main identifiers of the terminal equipment is at least two, generating the earliest main identifier from the searched main identifiers, and determining the earliest main identifier as the main identifier of the terminal equipment.
In these optional implementation manners, if at least two primary identifiers are found in the ID database, the electronic device may determine the primary identifier that is generated earliest, that is, the primary identifier that appears earliest, in the found primary identifiers as the primary identifier of the terminal device.
These optional implementations may use the earliest generated primary identifier as the primary identifier of the terminal device, thereby ensuring the stability of the primary identifier and avoiding frequent changes of the primary identifier.
In some optional implementations of any embodiment of the disclosure, the method may further comprise: acquiring a set of unique IDs in applications of each application installed by the terminal equipment; and determining the application-in-application unique ID of the application with the highest priority as the main identification MID of the terminal equipment, wherein the method comprises the following steps: and determining the unique ID in the application with the highest priority in the set as the main identification MID of the terminal equipment.
In these alternative implementations, the execution subject may obtain a set SID of intra-application unique IDs of respective applications installed by the terminal device. Specifically, the execution subject may obtain a set of transmissions of other electronic devices. Alternatively, the execution agent may generate a set of the IDs by using the intra-application unique IDs of the respective applications. Specifically, the execution agent may generate the set using a determination function of the ID.
After acquiring the set, the execution subject may determine a main identifier MID of the terminal device in the set.
The realization modes can improve the recall rate of the ID through the unique ID set in each application of the terminal equipment, and are beneficial to improving the accuracy of determining the main identification.
Further referring to fig. 3, the ID of the terminal device and the MID have a mapping relationship, and the generating step of the mapping relationship may include:
step 301, according to different browsers of the terminal device, collecting different IDs for the terminal device, where one browser corresponds to one ID to be collected, and different browsers correspond to different IDs.
In the present embodiment, the execution agent (e.g., the server shown in fig. 1) on which the device ID determination method is executed may collect different IDs for the terminal device according to different browsers of the terminal device. The execution body may collect different IDs for the terminal device in various ways according to different browsers of the terminal device. For example, a browser may have an ID to collect. The execution agent may collect one ID for each browser in a case where there is one ID for each browser. Or, there may be at least two IDs in one browser, and the execution agent may collect one of the at least two IDs by using a preset rule. For example, an ID with the highest frequency of use is selected from at least two IDs and determined as the ID to be collected. Furthermore, the execution agent may collect an ID other than the browser. The collected IDs may include, for example, the CUID, the anonymous device identifier OAID, the app package name pkg, the device number deviceid, the imei number. Specifically, the information may be collected from various logs (i.e., ID report information) uploaded by the terminal device, such as a CUID log (related to CUID, IDFA, and OAID, where IDFA is an advertisement Identifier, identifier for Advertising), an imei log (related to imei number and CUID), a terminal behavior log (related to CUID, UID, and IDFA, where UID is a user Identifier), and a call-up log (related to CUID).
Step 302, generating a mapping relation between different IDs and MIDs of the terminal devices.
In this embodiment, the execution main body may generate a mapping relationship between each of the different IDs and the MID of the terminal device.
The embodiment can generate mapping between different IDs and MIDs, thereby being beneficial to unifying various IDs of the terminal equipment to the MIDs and being beneficial to carrying out data analysis and statistics by utilizing the MIDs.
Optionally, the method may further include: in response to receiving a query request that has one of the mapping relationships involved as a query term, a query result is output that includes the other of the mapping relationships involved.
In these alternative implementations, the mapping relationship is a relationship of the two, the ID of the different IDs is the one to which the mapping relationship relates, and the MID is the other to which the mapping relationship relates. That is, if the query term includes any of the different IDs, the query result includes the MID. And if the query term includes the MID, the query result includes at least one of the different IDs.
In these implementations, the user may query the IDs of different data sources on the same user device using the mapping relationship.
Optionally, the MID has a function of mapping an ID mapped by the MID in the relationship, and the method further includes: and responding to the first ID mapped by the main identification for requesting to acquire the information flow, sending an information flow acquisition request comprising the main identification, and receiving the returned information flow.
Specifically, if the first ID mapped by the primary identifier is used for requesting to acquire an information stream, the first ID may also be carried in the information stream acquisition request. In a general case, the execution main body may send an information flow (e.g., feed flow) acquisition request for acquiring an information flow to a device such as a server, where the information flow acquisition request includes the first ID, and receive a feedback information flow. Accordingly, if the execution subject sends an information stream acquisition request including the MID to the device, the returned information stream is also received.
In these implementations, the MID may have the function of the mapped ID, so that various functions may be performed instead of the mapped ID, improving the ease of use of the terminal device identification.
Optionally, the collecting different IDs for the terminal device according to different browsers of the terminal device may include: and for each browser of the terminal equipment, responding to at least two IDs corresponding to the browser, and collecting the ID with the latest generation time in the at least two IDs.
Specifically, if the browser corresponds to at least two IDs, the ID whose generation time (i.e., appearance time) is the latest may be used as the ID to be collected. These alternative implementations may ensure timeliness of the collected IDs by the time-most recent IDs.
In some optional implementations of any embodiment of the disclosure, the method further comprises: responding to the closing of the ID determining function of the terminal equipment, if the terminal equipment is provided with a target application during the closing of the determining function and the equipment ID of the target application jumps, reporting first ID report information comprising identifier information of a main application and second ID report information comprising identifier information of the target application, wherein the main application is the application indicated by the main identification of the terminal equipment before the determining function is closed, the ID report information is used for executing a re-determining step, and the identifier information comprises the main identification; and in response to the fact that the ID determining function of the terminal equipment is restarted after the ID determining function is closed, reporting third ID report information comprising identifier information corresponding to each application installed in the terminal equipment.
In these alternative implementations, the identifier information of the primary application includes an intra-application unique ID of the primary application, a device ID of the terminal device before hopping, and a primary identifier assigned as the intra-application unique ID of the primary application. The identifier information of the target application may include an intra-application unique ID of the target application, a device ID of the terminal device after hopping, and another primary identity assigned as the intra-application unique ID of the target application. The identifier information is information of an identifier, that is, an ID, of an application of the terminal device.
After the ID determination function of the terminal device is recovered, identifier information corresponding to each application installed in the terminal device may be reported, and the identifier information constitutes third ID report information.
These optional implementation manners may help the server to execute a process of re-determining the primary identifier by determining and reporting identifier information of each application including the primary identifier when the ID determination function is turned back on after the shutdown.
Optionally, the primary identifier in the first ID report information is an intra-application unique ID of the primary application, the primary identifier of the second ID report information is an intra-application unique ID of the target application, and the primary identifier of the third ID report information is an intra-application unique ID of the primary application, where the priority of the primary application is higher than the priority of the target application.
As shown in fig. 4, it shows that (1) the ID determination function of the terminal device is turned on, the terminal device installs a hand X app first, and the reported ID report information includes that AID of the hand X is X, cuid.x of the hand X (i.e. DID in cuid.x) is a, and AID list (i.e. the aggregate SID of AID) is { X }.
(2) The terminal equipment is also provided with the good Y app, the reported ID report information comprises that AID of the good Y is Y, CUID.X of the good Y is a, AID list is { x, Y }, and mid is x. The priority of the hand X app is higher than the priority of the good Y app. Hand X app is the primary application.
(3) The ID determining function of the terminal equipment is closed for some reasons, the terminal is provided with the full Z app, the CUID.X jumps, and two pieces of ID report information, namely the first ID report information and the second ID report information, are respectively reported. The first ID report information includes that AID of hand X is X, cuid.x of hand X is a, AID list is { X, y }, and mid is X. The second ID report information includes that AID of full Z is Z, cuid.x of full Z is a', AID list is { Z }, mid is Z.
(4) After the determining function of the terminal device ID is resumed, the reported third ID report information includes that the AID of the hand X is X, the cuid.x of the hand X is a, and the AID list is { X, y, z }; good Y AID is Y, good Y cuid.x is a, AID list is { x, Y, z }; AID of full Z is Z, cuid.x of full Z is a', AID list is { x, y, Z }; mid is { x }.
The terminal device in these optional implementations may still use the in-application unique identifier of the master application with the highest priority as the master identifier after determining that the function is turned off and turned back on, thereby ensuring the uniqueness and stability of the master identifier.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for determining a device ID, where the apparatus embodiment corresponds to the method embodiment shown in fig. 2, and besides the features described below, the apparatus embodiment may further include the same or corresponding features or effects as the method embodiment shown in fig. 2. The device can be applied to various electronic equipment.
As shown in fig. 5, the device ID determination apparatus 500 of the present embodiment includes: a hopping unit 501 and a determination unit 502. The hopping unit 501 is configured to restart the determination function of the ID of the terminal device after the determination function is turned off, and if the terminal device installs a target application during the turn-off period of the determination function and the device ID of the target application hops, determine an application with the highest priority among applications installed in the terminal device, where the priority is a priority of an application identifier selected as a primary identifier; a determining unit 502 configured to determine an intra-application unique ID of an application with the highest priority as a primary identifier of the terminal device.
In this embodiment, specific processing of the jumping unit 501 and the determining unit 502 of the device ID determining apparatus 500 and technical effects thereof may refer to related descriptions of step 201 and step 202 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementation manners of this embodiment, the main identifier of the terminal device has a re-determination step, where the re-determination step includes: in response to receiving ID report information reported by the terminal equipment, searching a main identifier of the terminal equipment in an ID database, wherein the ID report information comprises an in-application unique ID and an application list of an application installed in the terminal equipment; if the main identifier of the terminal equipment is found, determining the main identifier as the main identifier of the terminal equipment; and if the main identification of the terminal equipment is not found, determining the application with the highest priority in all the applications installed by the terminal equipment.
In some optional implementation manners of this embodiment, if the main identifier of the terminal device is found, determining the main identifier as the main identifier of the terminal device includes: and if the number of the searched main identifiers of the terminal equipment is at least two, generating the earliest main identifier from the searched main identifiers, and determining the earliest main identifier as the main identifier of the terminal equipment.
In some optional implementations of this embodiment, the apparatus further includes: an acquisition unit configured to acquire a set of intra-application unique IDs of respective applications installed by a terminal device; and a determination unit further configured to perform determining the intra-application unique ID of the application with the highest priority as the primary identifier of the terminal device as follows: and determining the application-internal unique ID of the application with the highest priority in the set as the main identification of the terminal equipment.
In some optional implementation manners of this embodiment, a mapping relationship exists between the ID of the terminal device and the main identifier, and the generating step of the mapping relationship includes: collecting different IDs for the terminal equipment according to different browsers of the terminal equipment, wherein one browser corresponds to one ID to be collected, and the different browsers correspond to different IDs; and generating a mapping relation between different IDs and the main identification of the terminal equipment.
In some optional implementations of this embodiment, the primary identifier has a function of an ID mapped by the primary identifier in the mapping relationship, and the apparatus further includes: and the interaction unit is configured to respond to the first ID mapped by the main identifier for requesting to acquire the information stream, send an information stream acquisition request comprising the main identifier and receive the returned information stream.
In some optional implementation manners of this embodiment, collecting different IDs for the terminal device according to different browsers of the terminal device includes: for each browser of the terminal equipment, in response to the browser corresponding to at least two IDs, collecting the ID with the latest generation time in the at least two IDs.
In some optional implementations of this embodiment, the apparatus further includes: a first reporting unit, configured to, in response to a determination function of an ID of a terminal device being turned off, if a target application is installed in the terminal device during a period of turning off the determination function and a device ID of the target application is jumped, report first ID report information including identifier information of a master application and second ID report information including identifier information of the target application, where the master application is an application indicated by a master identity of the terminal device before the determination function is turned off, the ID report information is used for performing a re-determination step, and the identifier information includes the master identity; and the second reporting unit is configured to respond to the re-opening of the determined function of the ID of the terminal equipment after the ID is closed, and report third ID report information comprising identifier information respectively corresponding to each application installed by the terminal equipment.
In some optional implementations of this embodiment, the primary identifier in the first ID report information is an intra-application unique ID of the primary application, the primary identifier of the second ID report information is an intra-application unique ID of the target application, and the primary identifier of the third ID report information is an intra-application unique ID of the primary application, where a priority of the primary application is higher than a priority of the target application.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the determination method of the device ID. For example, in some embodiments, the method of device ID determination may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the above described method of determining a device ID may be performed. Alternatively, in other embodiments, the calculation unit 601 may be configured by any other suitable means (e.g. by means of firmware) to perform the method of device ID determination.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (21)

1. A method of device ID determination, the method comprising:
responding to a determination function of an ID of terminal equipment, and then restarting after the determination function is closed, if a target application is installed on the terminal equipment during the closing period of the determination function and the equipment ID of the target application jumps, determining an application with the highest priority in all applications installed on the terminal equipment, wherein the priority is the priority of an application identifier selected as a main identifier;
and determining the application-internal unique ID of the application with the highest priority as the main identification of the terminal equipment.
2. The method of claim 1, wherein the primary identity of the terminal device is present with a re-determination step comprising:
in response to receiving ID report information reported by the terminal equipment, searching a main identifier of the terminal equipment in an ID database, wherein the ID report information comprises an in-application unique ID and an application list of an application installed in the terminal equipment;
if the main identifier of the terminal equipment is found, determining the main identifier as the main identifier of the terminal equipment;
and if the main identification of the terminal equipment is not found, determining the application with the highest priority level in all the applications installed by the terminal equipment.
3. The method according to claim 2, wherein the determining the primary identifier as the primary identifier of the terminal device if the primary identifier of the terminal device is found includes:
and if the number of the searched main identifiers of the terminal equipment is at least two, generating the earliest main identifier from the searched main identifiers, and determining the earliest main identifier as the main identifier of the terminal equipment.
4. The method of claim 1, wherein the method further comprises:
acquiring a set of unique IDs in applications of each application installed by the terminal equipment; and
the determining the in-application unique ID of the application with the highest priority as the primary identifier of the terminal device includes:
and determining the application-internal unique ID of the application with the highest priority in the set as the main identification of the terminal equipment.
5. The method of claim 1, wherein the ID of the terminal device has a mapping relationship with the primary identifier, and the generating of the mapping relationship comprises:
collecting different IDs for the terminal equipment according to different browsers of the terminal equipment, wherein one browser corresponds to one ID to be collected, and the different browsers correspond to different IDs;
and generating a mapping relation between the different IDs and the main identification of the terminal equipment.
6. The method of claim 5, wherein the primary identity has a function of an ID mapped by the primary identity in the mapping relationship, the method further comprising:
and responding to the first ID mapped by the main identifier for requesting to acquire the information flow, sending an information flow acquisition request comprising the main identifier, and receiving the returned information flow.
7. The method of claim 5, wherein the collecting different IDs for the terminal device according to different browsers of the terminal device comprises:
and for each browser of the terminal equipment, responding to at least two IDs corresponding to the browser, and collecting the ID with the latest generation time in the at least two IDs.
8. The method according to one of claims 1 to 7, wherein the method further comprises:
in response to the closing of the ID determining function of the terminal equipment, if a target application is installed in the terminal equipment during the closing of the determining function and the equipment ID of the target application jumps, reporting first ID report information including identifier information of a main application and second ID report information including identifier information of the target application, wherein the main application is an application indicated by a main identifier of the terminal equipment before the determining function is closed, and the ID report information is used for executing a re-determining step and comprises the main identifier;
and in response to the fact that the ID determining function of the terminal equipment is restarted after being closed, reporting third ID report information including identifier information corresponding to each application installed in the terminal equipment.
9. The method of claim 8, wherein the primary identifier of the first ID report information is an intra-application unique ID of a primary application, the primary identifier of the second ID report information is an intra-application unique ID of the target application, and the primary identifier of the third ID report information is an intra-application unique ID of a primary application, wherein the primary application has a higher priority than the target application.
10. An apparatus for device ID determination, the apparatus comprising:
the jump unit is configured to respond to the fact that the determination function of the ID of the terminal equipment is restarted after the ID determination function is closed, and if the terminal equipment installs a target application during the closing period of the determination function and the equipment ID of the target application jumps, the jump unit determines the application with the highest priority in all applications installed on the terminal equipment, wherein the priority is the priority of the application which is selected as the main identification;
a determining unit configured to determine an intra-application unique ID of the application with the highest priority as a primary identifier of the terminal device.
11. The apparatus of claim 10, wherein the primary identity of the terminal device is present for a re-determination step comprising:
in response to receiving ID report information reported by the terminal equipment, searching a main identifier of the terminal equipment in an ID database, wherein the ID report information comprises an in-application unique ID and an application list of an application installed in the terminal equipment;
if the main identifier of the terminal equipment is found, determining the main identifier as the main identifier of the terminal equipment;
and if the main identification of the terminal equipment is not found, determining the application with the highest priority in all the applications installed by the terminal equipment.
12. The apparatus of claim 11, wherein the determining the primary identifier as the primary identifier of the terminal device if the primary identifier of the terminal device is found comprises:
and if the number of the searched main identifiers of the terminal equipment is at least two, generating the earliest main identifier from the searched main identifiers, and determining the earliest main identifier as the main identifier of the terminal equipment.
13. The apparatus of claim 10, wherein the apparatus further comprises:
an acquisition unit configured to acquire a set of intra-application unique IDs of respective applications installed by the terminal device; and
the determining unit is further configured to perform the determining of the intra-application unique ID of the application with the highest priority as the primary identifier of the terminal device as follows:
and determining the application-in-application unique ID of the application with the highest priority in the set as the main identifier of the terminal equipment.
14. The apparatus of claim 10, wherein the ID of the terminal device has a mapping relationship with the primary identifier, and the mapping relationship is generated by:
collecting different IDs for the terminal equipment according to different browsers of the terminal equipment, wherein one browser corresponds to one ID to be collected, and the different browsers correspond to different IDs;
and generating a mapping relation between the different IDs and the main identification of the terminal equipment.
15. The apparatus of claim 14, wherein the primary identity has a function of an ID mapped by the primary identity in the mapping relationship, the apparatus further comprising:
and the interaction unit is configured to respond to the first ID mapped by the main identifier for requesting to acquire the information stream, send an information stream acquisition request comprising the main identifier and receive the returned information stream.
16. The apparatus of claim 14, wherein the collecting different IDs for the terminal device according to different browsers of the terminal device comprises:
and for each browser of the terminal equipment, collecting the ID with the latest generation time in at least two IDs in response to the browser corresponding to the at least two IDs.
17. The apparatus according to one of claims 10-16, wherein the apparatus further comprises:
a first reporting unit, configured to, in response to a determination function of an ID of a terminal device being turned off, if a target application is installed in the terminal device during a period of turning off the determination function and a device ID of the target application is jumped, report first ID report information including identifier information of a master application and second ID report information including identifier information of the target application, where the master application is an application indicated by a master identity of the terminal device before the determination function is turned off, the ID report information is used for performing a re-determination step, and the identifier information includes the master identity;
and the second reporting unit is configured to respond to the fact that the ID determining function of the terminal equipment is turned on again after being turned off, and report third ID report information including identifier information corresponding to each application installed in the terminal equipment.
18. The apparatus of claim 17, wherein a primary identifier of the first ID reporting information is an intra-application unique ID of a primary application, a primary identifier of the second ID reporting information is an intra-application unique ID of the target application, and a primary identifier of the third ID reporting information is an intra-application unique ID of a primary application, wherein the primary application has a higher priority than the target application.
19. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-9.
21. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-9.
CN202211665234.9A 2022-12-23 2022-12-23 Method and device for determining equipment ID Pending CN115988124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211665234.9A CN115988124A (en) 2022-12-23 2022-12-23 Method and device for determining equipment ID

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211665234.9A CN115988124A (en) 2022-12-23 2022-12-23 Method and device for determining equipment ID

Publications (1)

Publication Number Publication Date
CN115988124A true CN115988124A (en) 2023-04-18

Family

ID=85975350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211665234.9A Pending CN115988124A (en) 2022-12-23 2022-12-23 Method and device for determining equipment ID

Country Status (1)

Country Link
CN (1) CN115988124A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210403A1 (en) * 2011-02-10 2012-08-16 Siemens Aktiengesellschaft Mobile communications device-operated electronic access system
US20120326848A1 (en) * 2011-06-24 2012-12-27 Kt Corporation Method, terminal, server, and system for providing a service
CN108011936A (en) * 2017-11-28 2018-05-08 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN108156268A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Acquisition methods and server, the terminal device of device identification
CN110321738A (en) * 2019-07-10 2019-10-11 上海掌门科技有限公司 Information processing method and device
CN111046371A (en) * 2019-12-10 2020-04-21 上海掌门科技有限公司 Method, electronic device and computer-readable medium for generating device identification
CN114722437A (en) * 2022-04-11 2022-07-08 平安科技(深圳)有限公司 Cross-APP unique identifier generation method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210403A1 (en) * 2011-02-10 2012-08-16 Siemens Aktiengesellschaft Mobile communications device-operated electronic access system
US20120326848A1 (en) * 2011-06-24 2012-12-27 Kt Corporation Method, terminal, server, and system for providing a service
CN108156268A (en) * 2016-12-05 2018-06-12 腾讯科技(深圳)有限公司 Acquisition methods and server, the terminal device of device identification
CN108011936A (en) * 2017-11-28 2018-05-08 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN110321738A (en) * 2019-07-10 2019-10-11 上海掌门科技有限公司 Information processing method and device
CN111046371A (en) * 2019-12-10 2020-04-21 上海掌门科技有限公司 Method, electronic device and computer-readable medium for generating device identification
CN114722437A (en) * 2022-04-11 2022-07-08 平安科技(深圳)有限公司 Cross-APP unique identifier generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11244153B2 (en) Method and apparatus for processing information
CN114816393B (en) Information generation method, device, equipment and storage medium
CN114389969B (en) Method and device for testing client, electronic equipment and storage medium
CN115686499A (en) Method, device, storage medium and electronic equipment for generating request message
US20210279109A1 (en) Method and apparatus for acquiring information
CN112965799A (en) Task state prompting method and device, electronic equipment and medium
CN112069137A (en) Method and device for generating information, electronic equipment and computer readable storage medium
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN113691937B (en) Method for determining position information, cloud mobile phone and terminal equipment
CN113360689B (en) Image retrieval system, method, related device and computer program product
CN114138397B (en) Page display method and device, electronic equipment and storage medium
CN113656689B (en) Model generation method and network information pushing method
CN114997329A (en) Method, apparatus, device, medium and product for generating a model
CN115988124A (en) Method and device for determining equipment ID
CN114329164A (en) Method, apparatus, device, medium and product for processing data
CN114429211A (en) Method, apparatus, device, medium and product for generating information
CN114579311A (en) Method, apparatus, device and storage medium for executing distributed computing task
CN114116924A (en) Data query method based on map data, map data construction method and device
CN114218313A (en) Data management method, device, electronic equipment, storage medium and product
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN113590447A (en) Buried point processing method and device
CN112860811A (en) Method and device for determining data blood relationship, electronic equipment and storage medium
CN113032040B (en) Method, apparatus, device, medium, and article for processing tasks
CN113691442B (en) Friend recommendation method, device, equipment, storage medium and program product
CN113434432B (en) Performance test method, device, equipment and medium for recommendation platform

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