Device identification determination method, apparatus and system
By constructing an identification information mapping table, a stable target identification code is generated, which solves the problem of inaccurate IMEI code allocation for Android phones, achieves consistency and stability of client identification codes, and ensures the accuracy of data statistics.
Patent Information
- Application Number
- CN202210312876.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2042-03-28
AI Technical Summary
In existing technologies, the IMEI code of an Android phone can easily be assigned to multiple devices, resulting in inaccurate identification information and inconsistent client identification codes obtained by different apps, leading to inconsistent data statistics.
By constructing an identification information mapping table and combining system-level and non-system-level identification information, a stable target identification code is generated, and the client identification is updated in the server and client to ensure that the client identification codes collected by different applications in the same client are consistent.
It improves the accuracy and stability of client identification, ensuring that the client identifier obtained by various applications within the same client is consistent, and avoiding changes in the identification code caused by flashing or restoring factory settings.
Smart Images

Figure CN116866307B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the computer technical field, and in particular to a device identification determination method, device and system. BACKGROUND
[0002] In the related art, an IMEI code is usually used to identify an Android phone. If the phone is reflashed, one IMEI code may be assigned to multiple phone devices (such as a shanzhai phone), so that the identification information cannot accurately represent the phone device. In addition, the client identification codes obtained by different App applications on one phone device may be different, which may cause inconsistent data statistics of different App applications. SUMMARY
[0003] The present application provides a device identification determination method, device and system, which can ensure that the client identification codes collected by different application programs in the same client are consistent and improve the identification accuracy of the client.
[0004] In one aspect, the present application provides a device identification determination method, which comprises:
[0005] receiving a target identification code acquisition request sent by a target client, wherein the target identification code acquisition request carries target identification information of the target client; the target identification information is obtained based on a system application program or a non-system application program of the target client;
[0006] determining a target identification code of the target client based on an identification information mapping table and the target identification information; the identification information mapping table represents a corresponding relationship between at least two client identification information sets and identification codes; the identification code of each client is generated according to the identification information set of the client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the client; the non-system-level identification information is a client identification obtained based on a non-system application program of the client;
[0007] sending the target identification code to the target client, so that the target identification code is used as an updated client identification corresponding to the system application program and the non-system application program of the target client.
[0008] In another aspect, a device identification determination method is provided, which comprises:
[0009] sending a target identification code obtaining request to a server, the target identification code obtaining request carrying target identification information of a local client; the target identification information being obtained based on a system application program or a non-system application program of the local client;
[0010] receiving a target identification code sent by the server; the target identification code being determined by the server based on an identification information mapping table and the target identification information; the identification information mapping table representing a corresponding relationship between at least two client identification information sets and identification codes; an identification code of each client being generated according to an identification information set of the each client; the identification information set of the each client including system-level identification information and non-system-level identification information; the system-level identification information being client identification obtained based on a system application program of the each client; the non-system-level identification information being client identification obtained based on a non-system application program of the each client;
[0011] using the target identification code as updated client identification corresponding to the system application program and the non-system application program of the local client.
[0012] In another aspect, a device identification determination apparatus is provided, applied to a server, and the apparatus comprises:
[0013] a target identification code obtaining request receiving module, configured to receive a target identification code obtaining request sent by a target client, the target identification code obtaining request carrying target identification information of the target client; the target identification information being obtained based on a system application program or a non-system application program of the target client;
[0014] a target identification code determination module, configured to determine a target identification code of the target client based on an identification information mapping table and the target identification information; the identification information mapping table representing a corresponding relationship between at least two client identification information sets and identification codes; an identification code of each client being generated according to an identification information set of the each client; the identification information set of the each client including system-level identification information and non-system-level identification information; the system-level identification information being client identification obtained based on a system application program of the each client; the non-system-level identification information being client identification obtained based on a non-system application program of the each client;
[0015] a target identification code sending module, configured to send the target identification code to the target client, so that the target client uses the target identification code as updated client identification corresponding to the system application program and the non-system application program of the target client.
[0016] In another aspect, a device identification determination apparatus is provided, applied to a client, and the apparatus comprises:
[0017] The target identification code obtaining request sending module is configured to send a target identification code obtaining request to a server, wherein the target identification code obtaining request carries target identification information of a local client; and the target identification information is obtained based on a system application program or a non-system application program of the local client.
[0018] The target identification code receiving module is configured to receive a target identification code sent by the server; the target identification code is determined by the server based on an identification information mapping table and the target identification information; the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients respectively and identification codes; an identification code of each client is generated according to an identification information set of the each client; the identification information set of the each client includes system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the each client; and the non-system-level identification information is a client identification obtained based on a non-system application program of the each client.
[0019] The identification updating module is configured to use the target identification code as an updated client identification corresponding to a system application program and a non-system application program of the local client.
[0020] In another aspect, a device identification determining system is provided, which includes a server and a target client.
[0021] The server is configured to determine a target identification code of the target client based on an identification information mapping table and target identification information; the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients respectively and identification codes; an identification code of each client is generated according to an identification information set of the each client; the identification information set of the each client includes system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the each client; the non-system-level identification information is a client identification obtained based on a non-system application program of the each client; and the target identification code is sent to the target client.
[0022] The target client is configured to send a target identification code obtaining request to a server, wherein the target identification code obtaining request carries target identification information of a local client; the target identification information is obtained based on a system application program or a non-system application program of the local client; and the target identification code is used as an updated client identification corresponding to a system application program and a non-system application program of the local client.
[0023] In another aspect, a device identity determination server is provided, the server comprising a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the device identity determination method as described above.
[0024] In another aspect, a device identity determination client is provided, the client comprising a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the device identity determination method as described above.
[0025] In another aspect, a computer storage medium is provided, the computer storage medium storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement the device identity determination method as described above.
[0026] In another aspect, a computer program product is provided, the computer program product comprising computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform to implement the device identity determination method as described above.
[0027] The device identity determination method, apparatus and system provided in the present application have the following technical effects:
[0028] This application receives a target identification code acquisition request sent by a target client, the target identification code acquisition request carrying the target identification information of the target client; the target identification information is obtained based on the target client's system application or non-system application; the target identification code of the target client is determined based on an identification information mapping table and the target identification information; the identification information mapping table represents the correspondence between the identification information sets and identification codes corresponding to at least two clients; the identification code of each client is generated according to the identification information set of each client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information is based on the system application of each client. The client identifier is obtained by the program; the non-system-level identifier information is the client identifier obtained based on the non-system application of each client; the target identification code is sent to the target client so that the target client uses the target identification code as the updated client identifier corresponding to the system application and the non-system application of the target client; this application combines the client identifiers obtained by the system application and the non-system application of the client to determine the client identification code, and redistributes the identification code to the system application and the non-system application; this application can ensure that the client identification codes collected by different applications in the same client are consistent, and the identification code has good stability, thereby improving the client identification accuracy. Attached Figure Description
[0029] To more clearly illustrate the technical solutions and advantages in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is a schematic diagram of a device identification system provided in an embodiment of this application;
[0031] Figure 2 This is a flowchart illustrating a device identification method provided in an embodiment of this application;
[0032] Figure 3 This is a flowchart illustrating a method for determining the target identification code of the target client according to an embodiment of this application;
[0033] Figure 4 This is a flowchart illustrating another method for determining the target identification code of the target client provided in an embodiment of this application;
[0034] Figure 5is a flowchart of a method for constructing an identification information mapping table according to an embodiment of the present application;
[0035] Figure 6 is a flowchart of a method for updating an identification code according to an embodiment of the present application;
[0036] Figure 7 is a flowchart of a method for determining a device identification according to a device identification determination system according to an embodiment of the present application;
[0037] Figure 8 is a flowchart of another method for determining a device identification according to an embodiment of the present application;
[0038] Figure 9 is a flowchart of a method for determining and maintaining a device identification code by a server according to an embodiment of the present application;
[0039] Figure 10 is a flowchart of a method for matching client identification information with an identification information mapping table according to an embodiment of the present application;
[0040] Figure 11 is a flowchart of another method for determining a device identification according to an embodiment of the present application;
[0041] Figure 12 is a flowchart of another method for determining a device identification according to an embodiment of the present application;
[0042] Figure 13 is a structural diagram of a device identification determination apparatus according to an embodiment of the present application;
[0043] Figure 14 is a structural diagram of another device identification determination apparatus according to an embodiment of the present application;
[0044] Figure 15 is a structural diagram of a server according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without any creative work fall within the scope of protection of the present application.
[0046] The device identifier determination method, device, equipment and storage medium provided by the embodiments of the present application are provided. Specifically, the device identifier determination method of the embodiments of the present application can be executed by a computer device, which can be a terminal or a server or the like. The embodiments of the present application can be applied to various scenarios such as data security, cloud technology, artificial intelligence, intelligent transportation and the like.
[0047] First, some of the nouns or terms appearing in the description of the embodiments of the present application are explained as follows:
[0048] Intelligent transportation is to fully utilize the Internet of Things, spatial perception, cloud computing, mobile Internet and other new generation information technologies in the entire transportation field, and comprehensively use traffic science, system method, artificial intelligence, knowledge mining and other theories and tools to achieve the goal of comprehensive perception, deep integration, active service and scientific decision-making. Through the construction of a real-time dynamic information service system, deep mining of transportation-related data, formation of problem analysis models, and realization of the optimization of industry resource allocation, public decision-making, industry management, and public service capabilities, the operation and development of transportation are promoted to be safer, more efficient, more convenient, more economical, more environmentally friendly, and more comfortable. It also drives the transformation and upgrading of transportation-related industries.
[0049] IMEI: International Mobile Equipment Identity, international mobile equipment identity code, international mobile equipment identification code, composed of 15 digits;
[0050] Android P / Q / R: Android P refers to Android 9, Android Q refers to Android 10, and Android R refers to Android 11;
[0051] IMID: ID-Mapping ID, a new ID reassigned to a mobile terminal;
[0052] Android provider: data sharing (cross-application) between various application programs in an Android mobile terminal;
[0053] ID-Mapping: mapping between IDs, used to associate related ID information, so that any 1 ID can be input to output the desired other ID;
[0054] SDK: Software Development Kit, software development kit, a set of development tools for building application software for a specific software package, software framework, hardware platform, operating system, etc.
[0055] It should be noted that the terms "first", "second", and the like in the description and claims of the application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in other than the order illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0056] Please refer to Figure 1 , Figure 1 is a schematic diagram of a device identification determination system provided by an embodiment of the application, as Figure 1 shown, the device identification determination system can at least include a server 01 and a target client 02.
[0057] Specifically, in the embodiments of the application, the server 01 can include a standalone server, or a distributed server, or a server cluster composed of multiple servers, and can also be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The server 01 can include a network communication unit, a processor, a memory, and the like. Specifically, the server 01 can be configured to determine a target identification code of the target client 02 based on an identification information mapping table and target identification information; the identification information mapping table represents a corresponding relationship between at least two client corresponding identification information sets and identification codes; the identification code of each client is generated according to the identification information set of the client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the client; the non-system-level identification information is a client identification obtained based on a non-system application program of the client; and the target identification code is sent to the target client.
[0058] Specifically, in the embodiments of the present application, the target client 02 can include an entity device such as a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, a smart speaker, a vehicle terminal, a smart television, etc., can also include a software running in an entity device, for example, a web page provided by a service provider to a user, and can also be an application provided by the service provider to the user. Specifically, the target client 02 can be used to send a target identification code acquisition request to the server 01, the target identification code acquisition request carrying target identification information of the local client; the target identification information is obtained based on a system application program or a non-system application program of the local client; and the target identification code is used as an update client identifier corresponding to the system application program and the non-system application program of the local client.
[0059] The following describes a device identification determination method of the present application, Figure 2 is a flowchart of a device identification determination method provided by the embodiments of the present application, and the present specification provides method operation steps as described in the embodiments or flowcharts, but more or fewer operation steps can be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one of the many execution orders of the steps, and does not represent the only execution order. In actual system or server product execution, the method order shown in the embodiments or the drawings can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, as shown in Figure 2 The method can include:
[0060] S201: The target client sends a target identification code acquisition request to the server, the target identification code acquisition request carrying target identification information of the local client; the target identification information is obtained based on a system application program or a non-system application program of the local client.
[0061] In the embodiments of the present application, the server can be a background server of the target terminal, the system application program of the local client can be a system self-provided application program in the target client, for example, can include a system self-provided weather application program, a music application program, a sports health application program, etc.; the non-system application program of the local client can be an application program downloaded by a user in the target client, for example, can include an email application program, a video application program, a shopping application program, etc. Among them, the system application program and the non-system application program can be one or more. The client can include an SDK module, and the system level identification information and the non-system level identification information can be collected through the SDK.
[0062] In the embodiments of the present application, the target identification information of the target client can include, but is not limited to, imei (International Mobile Equipment Identity), meid (Mobile Equipment Identifier), deviceid (device account number), mac (Media Access Control) address, android_id (account number of an Android device), uuid (Universally Unique Identifier), udid (Unique Device Identifier), oaid (anonymous device identifier), serial number, gaid (Google advertising ID), and the like, but these identification codes are usually changed in some cases, and cannot ensure their uniqueness, which may result in that various clients cannot be accurately identified by the identification codes. The target identification code will not be changed due to the operations such as client flashing, uninstalling an application, or restoring factory settings.
[0063] S203: The server determines a target identification code of the target client based on the identification information mapping table and the target identification information; the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients and identification codes; the identification code of each client is generated according to the identification information set of the each client; the identification information set of the each client includes system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the each client; and the non-system-level identification information is a client identification obtained based on a non-system application program of the each client.
[0064] In the embodiments of the present application, the target client can be a client that sends a request to the server for the first time, or can be one of the at least two clients; after the server constructs the identification information mapping table, the target client can send a target identification code obtaining request to the server.
[0065] In the embodiments of the present application, the server can be a background server of the at least two clients, and the at least two clients can include the target client; each client can obtain identification information of the client according to a local system application program and a non-system application program, and the identification information obtained by the two is of different types.
[0066] In some embodiments, if the target identification information is one, the server directly compares it with the identification information mapping table to determine whether there is an identification code matching the target identification information; if there is, the server takes the matching identification code as the target identification code of the target client.
[0067] In some embodiments, as shown in Figure 3 the target identification information is at least two, and the server determines the target identification code of the target client based on the identification information mapping table and the target identification information, including:
[0068] S2031: The server determines the priority of each target identification information.
[0069] In the embodiments of the present application, a mapping relationship between the target identification information and the priority can be constructed in advance to obtain an identification priority mapping table, so as to determine the priority of each target identification information according to the identification priority mapping table.
[0070] S2033: The server determines the matching order of each target identification information according to the priority of each target identification information.
[0071] In the embodiments of the present application, the matching order corresponding to each target identification information can be determined according to the priority of each target identification information, and the matching order of the target identification information with high priority is in the front.
[0072] S2035: The server determines the target identification code of the target client according to the identification information mapping table and the matching order of each target identification information.
[0073] In some embodiments, as shown in Figure 4 the server determines the target identification code of the target client according to the identification information mapping table and the matching order of each target identification information, including:
[0074] S20351: The server determines the target identification information at the first matching order and takes the target identification information at the first matching order as the current target identification information.
[0075] S20353: If there is no identification code matching the current target identification information in the identification information mapping table, the server determines the first target identification information after the current target identification information in the matching order to obtain a target identification information to be matched.
[0076] In some embodiments, the method further includes:
[0077] If the identification information mapping table contains an identification code matching the current target identification information, the server determines the identification code matching the current target identification information as the target identification code of the target client.
[0078] In some embodiments, the method further comprises:
[0079] If the identification information mapping table does not contain an identification code matching the target identification information, the method further comprises:
[0080] The server sends a device identification information acquisition request to the target client.
[0081] The target client acquires at least one device identification information according to the device identification information acquisition request.
[0082] The target client sends the at least one device identification information to the server.
[0083] The server generates the target identification code according to the target identification information and the at least one device identification information.
[0084] In the embodiments of the present application, the device identification information is the client identification information acquired by different applications in the target client; if the target identification information sent by the target client is one, the comparison result between the target identification information and the identification information mapping table is used to determine whether to generate the target identification code; thereby preventing the identification code from changing due to the change of the identification information in specific situations (e.g., flashing, uninstalling an application, or restoring factory settings), and improving the stability of the identification code.
[0085] S20355: The server reuses the target identification information to be matched as the current target identification information.
[0086] S20357: The server repeats the step of determining the first target identification information after the current target identification information in the matching order if the identification information mapping table does not contain an identification code matching the current target identification information, and obtaining the target identification information to be matched; and reusing the target identification information to be matched as the current target identification information.
[0087] In some embodiments, the method further comprises:
[0088] If there is no first target identification information after the current target identification information in the matching order, the server generates the target identification code of the target client according to each target identification information of the target client.
[0089] In some embodiments, if all the target identification information is matched, but none of them is matched successfully, the identification code is generated in real time.
[0090] In some embodiments, as shown in Figure 5 The method for constructing the mapping table of the identification information comprises the following steps.
[0091] S501: The server determines the identification information set corresponding to each of the at least two clients.
[0092] In the embodiments of the present application, the at least two clients can actively report the identification information set corresponding to each of the at least two clients to the server; and the reporting of the identification information set can also be performed according to the request of the server.
[0093] In some embodiments, the server determining the identification information set corresponding to each of the at least two clients can comprise the following steps.
[0094] The server sends an identification information set acquisition request to the at least two clients; the identification information set acquisition request carries a system application identifier and a non-system application identifier.
[0095] In the embodiments of the present application, the identification information set acquisition request for acquiring the identification information of the client can comprise an identification information acquisition instruction. The identification information set acquisition request can also carry an identification association information acquisition request of the client. The identification association information can comprise, but is not limited to, the location information, the latitude and longitude information, the Wifi address and the account active time of the client, and the like.
[0096] Each client acquires the identification of each client based on the system application program corresponding to the system application identifier, to obtain the system-level identification information of each client; and acquires the identification of each client based on the non-system application program corresponding to the non-system application identifier, to obtain the non-system-level identification information of each client.
[0097] Each client assembles the system-level identification information and the non-system-level identification information into an identification information set, and sends the identification information set corresponding to each client to the server.
[0098] In some embodiments, each client can also determine the identification association information of each client according to the identification association information acquisition request, and send the identification association information of each client to the server when sending the identification information set corresponding to each client to the server.
[0099] In some embodiments, the server determining the identification information set corresponding to each of the at least two clients comprises the following steps.
[0100] The server acquires the system-level identification information of each client based on the system application program corresponding to each of the at least two clients.
[0101] The server obtains non-system level identification information of each client based on the non-system application of each client;
[0102] The server determines the identification information set of each client according to the system level identification information and the non-system level identification information of each client.
[0103] In the embodiments of the present application, each client can obtain system level identification information based on a system application, and obtain non-system level identification information based on a non-system application,
[0104] S503: The server generates the identification code of each client according to the identification information set of each client.
[0105] In the embodiments of the present application, for any client, the server can convert each identification information in the identification information set of the client into a corresponding identification code according to an identification mapping algorithm. The identification code will not change due to operations such as client flashing, uninstalling App, or restoring factory settings.
[0106] In some embodiments, the identification mapping algorithm can include but is not limited to ID-Mapping algorithm, and when the identification mapping algorithm is ID-Mapping algorithm, the corresponding identification code can be IMID.
[0107] In some embodiments, each identification information in the identification information set can be weighted and averaged to obtain the identification code. The method of determining the identification code according to the identification information set in the present application is not limited to the method described in the present embodiment.
[0108] In some embodiments, the server generates the identification code of each client according to the identification information set of each client, including:
[0109] The server generates the initial identification code of each client according to the identification information set of each client.
[0110] In the embodiments of the present application, the initial identification code corresponding to the identification information set can be generated according to the ID-Mapping algorithm or other algorithms.
[0111] The server encrypts the initial identification code of each client to obtain the identification code of each client.
[0112] In the embodiments of the present application, the generated initial identification code can be encrypted to obtain the identification code, thereby improving the security of the identification code in the transmission process; and even if the identification code is attacked and tampered with locally on the client side, the server will reissue and rewrite it, and since encryption conversion is used, the identification code obtained on the client device is not the original ID and cannot be decoded reversibly, thereby ensuring the security of the identification code.
[0113] In some embodiments, the server generates the identification code of each client according to the identification information set of each client, comprising:
[0114] The server generates the identification code of each client according to the identification information set and the identification association information corresponding to each client.
[0115] In the embodiments of the present application, the identification association information can include but is not limited to the location information, latitude and longitude information, Wifi address and account active time of the client, etc.
[0116] In some embodiments, a plurality of clients can be used as sample clients, and corresponding sample data (including identification information set and identification association information) can be obtained, so as to train a client identification code generation model; for subsequent other clients, the corresponding identification code can be generated through the model, thereby improving the generation efficiency of the client identification code. Since the identification association information of the client is added as sample data, the accuracy of the model can be improved.
[0117] S505: The server constructs an identification information mapping table according to the correspondence between the identification information set of each client and the identification code.
[0118] In the embodiments of the present application, the identification information mapping table stores a one-to-many correspondence, in which one identification code corresponds to multiple identification information; the identification information mapping table can be constructed according to the identification information set and the identification code of the plurality of clients; so as to facilitate the query and update of the identification code.
[0119] In some embodiments, after constructing the identification information mapping table, the server can send an identification code update instruction to each client in the identification information mapping table, and each client can update the client identification information corresponding to the local system application and non-system application according to the instruction, and replace it with the corresponding identification code; thereby ensuring that each App in the client updates the client identification to the identification code, and improving the identification accuracy of the client. The client identification update process is not limited to the system application program and the non-system application program; it can also include all other application programs in the client.
[0120] S205: The server sends the target identification code to the target client.
[0121] S207: The target client takes the target identification code as the update client identification corresponding to the system application and non-system application of the local client.
[0122] In the embodiment of the present application, the target identification code can be used to identify the target client; when the system application or non-system application in the target client needs to obtain the client identification, the target identification code can be obtained; so as to ensure that the client identification obtained by each App in the same client is consistent. For example, when the video application needs to interact with the video server, the target identification code of the client can be obtained by the video application. And the target identification code will not change due to the operation of client flashing, uninstalling App or restoring factory settings, etc., and has good stability.
[0123] In some embodiments, after the server constructs the identification information mapping table, when any identification information in the identification information set of any client changes, the server can be sent an update identification information, or an identification update prompt message can be sent to the server, the update identification information is carried in the identification update prompt message, so as to determine whether the server needs to update the identification code.
[0124] In some embodiments, after the target client takes the target identification code as the update client identification corresponding to the system application and non-system application of the target client, if any target identification information in the target identification information set corresponding to the target client identification information mapping table changes, the server is reported the changed identification information.
[0125] In some embodiments, as shown in Figure 6 The method further includes:
[0126] S601: The target client sends an update identification information to the server; the update identification information is the update information of any target identification information in the target identification information set corresponding to the local client;
[0127] S603: If the update identification information is a preset identification information, the server generates an update identification code according to the update identification information and the target identification information set;
[0128] In the embodiment of the present application, the preset identification information is usually the identification in the client with a lower change probability, and the preset identification information can be set according to the actual situation, for example, the preset identification information can include imei, udid, etc.
[0129] In some embodiments, the method can further include:
[0130] If the updated identifier information is not the preset identifier information, the server does not generate an updated identifier code.
[0131] In some embodiments, the method may further include:
[0132] The server sends preset identification information to the target client;
[0133] If the preset identification information changes, the target client sends an identification update message to the server; the identification update message carries the updated preset identification information.
[0134] The server generates an updated identification code based on the updated preset identification information and the identification information set.
[0135] In this embodiment, the server can first send the preset identification information to the target client. The target client monitors the preset identification information in real time and sends a message to the server when it changes. During this process, the target client only needs to monitor the status information of the preset identification information and does not need to monitor other identifiers besides the preset identification information, which reduces the workload of the target client and improves the operating efficiency of the target client.
[0136] S605: The server sends an identification code update instruction to the target client, the identification code update instruction carrying the updated identification code;
[0137] In this embodiment of the application, when the server determines that the preset identification information has changed, it needs to generate an updated identification code and send the updated identification code to the target client so that the target client can update the identification code in a timely manner.
[0138] S607: The target client uses the updated identification code as the identifier for the system application and the secondary update client corresponding to the non-system application based on the updated identification code update instruction.
[0139] In this embodiment of the application, when the target identification code of the target client changes, the client identifiers corresponding to each App in the target client are updated simultaneously, thereby improving the accuracy of the identification code.
[0140] Specifically, in the embodiments of this application, such as Figure 7 As shown, Figure 7 A device identifier determination method corresponding to a device identifier determination system is provided. The system includes a client and a server. The client includes an icon 1 corresponding to system applications and an icon 2 corresponding to non-system applications. The device identifier determination method corresponding to this system includes:
[0141] S701: The system application of the client sends the collected system-level identification information of the client to the server;
[0142] S703: The non-system application of the client sends the collected non-system-level identification information of the client to the server;
[0143] S705: The server generates an identification code IMID according to the system-level identification information and the non-system-level identification information of the client, constructs a mapping relationship between the IMID and the system-level identification information and the non-system-level identification information according to an ID mapping mechanism to obtain an identification mapping table, maintains the identification mapping table according to an IMID maintenance mechanism, and generates a new IMID according to an IMID generation mechanism during the maintenance process according to actual needs. The IMID maintenance mechanism is that the IMID is not changed when the non-pre-set identification information of the client changes. The IMID generation mechanism is that the existing IMID is updated when the pre-set identification information of the client changes.
[0144] In some embodiments, as shown in Figure 8 , Figure 8 is a flowchart of another device identification determination method, which further includes:
[0145] S801: The SDK in the client collects various identification information of the client through the system-level App and the non-system-level App, including imei, meid, deviceid, mac address, android_id, uuid, udid, serial number, gaid, etc., and sends the collected information to the server;
[0146] S803: The server matches the various identification information with the information stored in the identification information mapping table in sequence, determines the IMID corresponding to the matched identification information in the mapping table as the IMID of the client if there is matched identification information, and generates a new IMID according to the various identification information and updates the identification information mapping table if the various identification information of the client does not exist matched identification information in the identification information mapping table;
[0147] The matching process of the identification information is an IMID generation mechanism. First, it is determined whether the identification information mapping table hits the imei. If yes, the corresponding allocated IMID is obtained. If no, it is determined whether the udid hits. If yes, the corresponding allocated IMID is obtained. If no, it is determined whether the deviceid hits. If yes, the corresponding allocated IMID is obtained. If no, it is determined whether the mac address hits. If yes, the corresponding allocated IMID is obtained. If no, it is determined whether the android_id hits. If yes, the corresponding allocated IMID is obtained. If no, it is determined whether the next identification hits. The above process is repeated until all the identifications are matched. If all the identifications are not matched, the IMID is allocated to the client again.
[0148] S805: The server sends the determined IMID to the client. The IMID is shared locally in the client, so that each APP application can use it.
[0149] In some embodiments, as shown in Figure 9 , Figure 9 a flow chart of a method for determining and maintaining the device identification code of a server, comprising:
[0150] S901: Obtain various device identification information of the client, generate an identification code IMID, and construct an identification information mapping table according to the mapping relationship between the various identification information and the IMID.
[0151] S903: If the multiple device identification information is changed, compare the identification information mapping table according to the priority of each device identification information in sequence.
[0152] S905: If the imei or udid identification is changed, the IMID is allocated to the client again. For example, if the imei is changed from 123 to 125, the IMID is changed from 88888 to 99999.
[0153] S907: If the identification other than imei and udid is changed, the IMID is not modified. For example, the deviceid and android_id are changed, but the IMID is not changed.
[0154] In some embodiments, as shown in Figure 10 , Figure 10The method comprises the following steps:
[0155] S1001: querying whether there is an identifier matched with the IMEI in the identifier mapping table, and returning an IMID corresponding to the matched identifier if the identifier exists;
[0156] S1003: if there is no identifier matched with the IMEI, continuing to query whether there is an identifier matched with the UDI;
[0157] S1005: if there is an identifier matched with the UDI, returning an IMID corresponding to the matched identifier;
[0158] S1007: if there is no identifier matched with the UDI, continuing to query whether there is an identifier matched with the device ID;
[0159] S1009: if there is an identifier matched with the device ID, returning an IMID corresponding to the matched identifier;
[0160] S10011: if there is no identifier matched with the device ID, continuing to query whether there is an identifier matched with the MAC address;
[0161] S10013: if there is an identifier matched with the MAC address, returning an IMID corresponding to the matched identifier;
[0162] S10015: if there is no identifier matched with the MAC address, continuing to query whether there is an identifier matched with the Android ID;
[0163] S10017: if there is an identifier matched with the Android ID, returning an IMID corresponding to the matched identifier;
[0164] S10019: if there is no identifier matched with the Android ID, continuing to query whether there is an identifier matched with the serial number;
[0165] S10021: if there is an identifier matched with the serial number, returning an IMID corresponding to the matched identifier;
[0166] S10023: If there is no identity matching the serial number, continue to query whether there is an identity matching other identities; if any other identity is matched, return the IMID corresponding to the matched identity, and terminate the query;
[0167] S10025: If there is no identity matching other identities, continue to query whether there is an identity matching the gaid; if not, assign a new IMID; if there is, return the matched IMID.
[0168] In the embodiments of the present application, generally, the client includes system application programs and non-system application programs, each application program can correspond to a background server, and in the interaction process of the application program and the background server, the identification information of the client where the application program is located needs to be acquired; and the identification information of the client includes multiple types, and the types of the identification information of the client acquired by different application programs are also different, which can cause that the data sharing between different background servers cannot be performed.
[0169] The identification code generated in the present application is more stable, and the uniqueness can be guaranteed in 99% of the scenarios. No matter how other identification codes of the terminal device change, the original allocated identification code can be found back, so that the terminal device can be accurately identified; since the identification code distributed to the terminal device can be shared, the identity ID acquired by each App application on the same terminal device is unified, which provides a very important identity basis for the unified construction of the account portrait label system, so that the data of all App applications can be compared horizontally on the same user identity system.
[0170] It can be seen from the technical solutions provided by the embodiments of the present application that the target identification code acquisition request sent by the target client is received, the target identification code acquisition request carries target identification information of the target client; the target identification information is acquired based on a system application program or a non-system application program of the target client; based on an identification information mapping table and the target identification information, a target identification code of the target client is determined; the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients respectively and identification codes; the identification code of each client is generated according to the identification information set of the each client; the identification information set of the each client includes system-level identification information and non-system-level identification information; the system-level identification information is a client identification acquired based on the system application program of the each client; the non-system-level identification information is a client identification acquired based on the non-system application program of the each client; the target identification code is sent to the target client, so that the target identification code is taken as an updated client identification corresponding to the system application program and the non-system application program of the target client; the identification code of the client is determined by combining the client identification acquired by the system application and the non-system application of the client respectively, and the identification code is redistributed to the system application and the non-system application; the present application can ensure that the client identification collected by different application programs in the same client is consistent, the identification code has good stability, and the identification accuracy of the client is improved.
[0171] The following describes a specific embodiment of a device identification determination method of the present specification with a server as an execution subject, Figure 11 is a flowchart of a device identification determination method provided by an embodiment of the present application, specifically, in combination with Figure 11 as shown, the method can include:
[0172] S1101: receiving a target identification code acquisition request sent by a target client, the target identification code acquisition request carrying target identification information of the target client; the target identification information being acquired based on a system application program or a non-system application program of the target client;
[0173] S1103: determining a target identification code of the target client based on an identification information mapping table and the target identification information; the identification information mapping table representing a corresponding relationship between identification information sets corresponding to at least two clients respectively and identification codes; the identification code of each client being generated according to the identification information set of the each client; the identification information set of the each client including system-level identification information and non-system-level identification information; the system-level identification information being a client identification acquired based on the system application program of the each client; the non-system-level identification information being a client identification acquired based on the non-system application program of the each client;
[0174] S1105: sending the target identification code to the target client, so that the target client takes the target identification code as an update client identification corresponding to a system application and a non-system application of the target client.
[0175] In some embodiments, the target identification information is at least two, and the target identification code of the target client is determined based on the identification information mapping table and the target identification information, comprising:
[0176] determining a priority of each target identification information;
[0177] determining a matching order of each target identification information according to the priority of each target identification information;
[0178] determining the target identification code of the target client according to the identification information mapping table and the matching order of each target identification information.
[0179] In some embodiments, the target identification code of the target client is determined according to the identification information mapping table and the matching order of each target identification information, comprising:
[0180] determining a target identification information located at a first matching order, and taking the target identification information located at the first matching order as a current target identification information;
[0181] if there is no identification code matched with the current target identification information in the identification information mapping table, determining a first target identification information located after the current target identification information in the matching order, to obtain a target identification information to be matched;
[0182] taking the target identification information to be matched as the current target identification information again;
[0183] repeating the step of determining the first target identification information located after the current target identification information in the matching order, to obtain the target identification information to be matched, if there is no identification code matched with the current target identification information in the identification information mapping table; and the step of taking the target identification information to be matched as the current target identification information again.
[0184] In some embodiments, the method further comprises:
[0185] if there is an identification code matched with the current target identification information in the identification information mapping table,
[0186] determining the identification code matched with the current target identification information as the target identification code of the target client.
[0187] In some embodiments, the method further comprises:
[0188] If there is no matching order of the first target identification information after the current target identification information, a target identification code of the target client is generated according to each target identification information of the target client.
[0189] In some embodiments, the method for constructing the identification information mapping table comprises:
[0190] determining a set of identification information corresponding to each of the at least two clients;
[0191] generating an identification code of each of the clients according to the set of identification information of the client;
[0192] constructing an identification information mapping table according to the correspondence between the set of identification information and the identification code of each of the clients.
[0193] In some embodiments, the method for determining the set of identification information corresponding to each of the at least two clients comprises:
[0194] obtaining system-level identification information of each of the clients based on the system application program of each of the at least two clients;
[0195] obtaining non-system-level identification information of each of the clients based on the non-system application program of each of the at least two clients;
[0196] determining the set of identification information of each of the clients according to the system-level identification information and the non-system-level identification information corresponding to each of the clients.
[0197] In some embodiments, the method further comprises:
[0198] receiving updated identification information sent by the target client; the updated identification information is update information of any target identification information in the set of target identification information corresponding to the target client;
[0199] if the updated identification information is preset identification information, generating an updated identification code according to the updated identification information and the set of target identification information;
[0200] sending an identification code update instruction to the target client, the identification code update instruction carrying the updated identification code, so that the target client takes the updated identification code as secondary updated client identification corresponding to the system application program and the non-system application program of the target client based on the identification code update instruction.
[0201] The server in the server embodiment and the method embodiment are based on the same inventive concept.
[0202] The embodiment of the present specification provides a device identification determination server, the server comprises a processor and a memory, the memory stores at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the device identification determination method as described above.
[0203] The following describes a specific embodiment of a device identification determination method of the present specification, taking a target client as the execution subject, Figure 12 is a flowchart of a device identification determination method provided by the embodiment of the present application, specifically, in combination with Figure 12 As shown in the figure, the method can include:
[0204] S1201: sending a target identification code acquisition request to a server, the target identification code acquisition request carrying target identification information of a local client; the target identification information is acquired based on a system application program or a non-system application program of the local client;
[0205] S1203: receiving a target identification code sent by the server; the target identification code is determined by the server based on an identification information mapping table and the target identification information; the identification information mapping table represents the corresponding relationship between the identification information set corresponding to each of at least two clients and the identification code; the identification code of each client is generated according to the identification information set of each client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information is the client identification acquired based on the system application program of each client; the non-system-level identification information is the client identification acquired based on the non-system application program of each client;
[0206] S1205: taking the target identification code as the updated client identification corresponding to the system application program and the non-system application program of the local client.
[0207] In some embodiments, the method further comprises:
[0208] sending update identification information to the server; the update identification information is the update information of any target identification information in the target identification information set corresponding to the local client;
[0209] receiving an identification code update instruction sent by the server, the identification code update instruction carrying an update identification code; the update identification code is generated by the server according to the update identification information and the target identification information set when the update identification information is a preset identification information;
[0210] The updating instruction is based on the identification code, and the target identification code is used as a secondary updating client identifier corresponding to a system application program and a non-system application program of the target client.
[0211] The client in the client embodiment and the method embodiment are based on the same inventive concept.
[0212] The device identification determination method provided in the embodiments of the present specification comprises the steps of: receiving a target identification code acquisition request sent by a target client, wherein the target identification code acquisition request carries target identification information of the target client; determining a target identification code of the target client based on the target identification information and an identification information mapping table; and sending the target identification code to the target client, so that the target client uses the target identification code as an updating client identifier corresponding to a system application program and a non-system application program of the target client.
[0213] The device identification determination method provided in the embodiments of the present specification comprises the steps of: receiving a target identification code acquisition request sent by a target client, wherein the target identification code acquisition request carries target identification information of the target client; determining a target identification code of the target client based on the target identification information and an identification information mapping table; and sending the target identification code to the target client, so that the target client uses the target identification code as an updating client identifier corresponding to a system application program and a non-system application program of the target client. Figure 13 As shown in the figure, the device comprises:
[0214] The target identification code acquisition request receiving module 1310 is configured to receive a target identification code acquisition request sent by a target client, wherein the target identification code acquisition request carries target identification information of the target client; the target identification information is obtained based on a system application program or a non-system application program of the target client.
[0215] The target identification code determining module 1320 is configured to determine a target identification code of the target client based on the target identification information and an identification information mapping table; the identification information mapping table represents a corresponding relationship between at least two client identification information sets and identification codes; the identification code of each client is generated according to the identification information set of the client; the identification information set of each client comprises system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the client; the non-system-level identification information is a client identification obtained based on a non-system application program of the client.
[0216] The target identification code sending module 1330 is configured to send the target identification code to the target client, so that the target client uses the target identification code as an updating client identifier corresponding to a system application program and a non-system application program of the target client.
[0217] In some embodiments, the target identification information is at least two, and the target identification code determining module comprises:
[0218] The priority determining sub-module is configured to determine the priority of each target identification information.
[0219] a matching order determination sub-module, configured to determine a matching order of each target identification information according to a priority of the each target identification information;
[0220] a target identification code determination sub-module, configured to determine a target identification code of the target client according to the identification information mapping table and the matching order of the each target identification information.
[0221] In some embodiments, the target identification code determination sub-module comprises:
[0222] a current target identification information determination unit, configured to determine a target identification information at a first matching order as a current target identification information;
[0223] a target identification information to be matched determination unit, configured to, if there is no identification code matching the current target identification information in the identification information mapping table, determine a first target identification information after the current target identification information in the matching order as a target identification information to be matched;
[0224] a current target identification information updating unit, configured to update the target identification information to be matched as the current target identification information;
[0225] a step repeating unit, configured to repeat the step of determining the first target identification information after the current target identification information in the matching order as the target identification information to be matched if there is no identification code matching the current target identification information in the identification information mapping table, and the step of updating the target identification information to be matched as the current target identification information.
[0226] In some embodiments, the apparatus further comprises:
[0227] an identification code determination module, configured to, if there is an identification code matching the current target identification information in the identification information mapping table, determine the identification code matching the current target identification information as a target identification code of the target client.
[0228] In some embodiments, the apparatus further comprises:
[0229] a target identification code generation module, configured to, if there is no first target identification information after the current target identification information in the matching order, generate a target identification code of the target client according to each target identification information of the target client.
[0230] In some embodiments, the apparatus further comprises:
[0231] an identification information set determination module, configured to determine an identification information set corresponding to each of the at least two clients.
[0232] an identification code generation module configured to generate an identification code of each of the clients according to the identification information set of the client;
[0233] a mapping table construction module configured to construct an identification information mapping table according to the correspondence between the identification information set and the identification code of each of the clients.
[0234] In some embodiments, the identification information set determination module comprises:
[0235] a system-level identification information acquisition sub-module configured to acquire system-level identification information of each of the clients based on a system application program of the client;
[0236] a non-system-level identification information acquisition sub-module configured to acquire non-system-level identification information of each of the clients based on a non-system application program of the client;
[0237] an identification information set determination sub-module configured to determine the identification information set of each of the clients according to the system-level identification information and the non-system-level identification information of the client.
[0238] In some embodiments, the apparatus further comprises:
[0239] an updated identification information receiving module configured to receive updated identification information sent by the target client; the updated identification information being update information of any target identification information in a target identification information set corresponding to the target client;
[0240] an updated identification code generation module configured to generate an updated identification code according to the updated identification information and the target identification information set if the updated identification information is preset identification information;
[0241] an updated instruction sending module configured to send an identification code updated instruction to the target client, the identification code updated instruction carrying the updated identification code, so that the target client takes the updated identification code as secondary updated client identification corresponding to the system application program and the non-system application program of the target client based on the identification code updated instruction.
[0242] Embodiments of the present application also provide a device identification determination apparatus applied to a client, as shown in Figure 14 The apparatus comprises:
[0243] a target identification code acquisition request sending module 1410 configured to send a target identification code acquisition request to a server, the target identification code acquisition request carrying target identification information of a local client; the target identification information being acquired based on a system application program or a non-system application program of the local client.
[0244] The target identification code receiving module 1420 is configured to receive a target identification code sent by the server, wherein the target identification code is determined by the server based on an identification information mapping table and the target identification information, the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients and identification codes, the identification code of each client is generated according to the identification information set of the client, the identification information set of each client includes system-level identification information and non-system-level identification information, the system-level identification information is client identification obtained based on a system application program of the client, and the non-system-level identification information is client identification obtained based on a non-system application program of the client.
[0245] The identification updating module 1430 is configured to use the target identification code as updated client identification corresponding to the system application program and the non-system application program of the local client.
[0246] In some embodiments, the apparatus further includes:
[0247] The updated identification information sending module is configured to send updated identification information to the server, wherein the updated identification information is update information of any target identification information in the target identification information set corresponding to the local client.
[0248] The update instruction receiving module is configured to receive an identification code update instruction sent by the server, wherein the identification code update instruction carries an updated identification code, and the updated identification code is generated by the server according to the updated identification information and the target identification information set when the updated identification information is preset identification information.
[0249] The client identification updating module is configured to use the updated identification code as secondary updated client identification corresponding to the system application program and the non-system application program of the local client based on the identification code update instruction.
[0250] Embodiments of the present application also provide a device identification determining system, which includes a server and a target client.
[0251] The server is configured to determine a target identification code of the target client based on a mapping table of identification information and target identification information, wherein the mapping table of identification information represents a corresponding relationship between identification information sets corresponding to at least two clients and identification codes, the identification code of each client is generated based on the identification information set of the client, the identification information set of each client includes system-level identification information and non-system-level identification information, the system-level identification information is a client identification obtained based on a system application program of the client, the non-system-level identification information is a client identification obtained based on a non-system application program of the client, and the target identification code is sent to the target client.
[0252] The target client is configured to send a target identification code obtaining request to the server, the target identification code obtaining request carries target identification information of a local client, the target identification information is obtained based on a system application program or a non-system application program of the local client, and the target identification code is used as an updated client identification corresponding to the system application program and the non-system application program of the local client.
[0253] Embodiments of the present application also provide a computer storage medium, which can be arranged in a terminal to save at least one instruction or at least one program related to a device identification determination method in the method embodiments, and the at least one instruction or at least one program is loaded and executed by the processor to implement the device identification determination method provided by the above method embodiments.
[0254] Embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the device identification determination method provided by the above method embodiments.
[0255] Optionally, in the embodiments of the present application, the storage medium can be located in at least one of a plurality of network servers of a computer network. Optionally, in the embodiments, the storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0256] The memory provided in the embodiments of the present application can be used to store software programs and modules. The processor performs various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store operating systems, application programs required for functions, etc. The data storage area can store data created according to the use of the device, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory can also include a memory controller to provide access for the processor to the memory.
[0257] The device identification determination method provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal, a server or similar computing device. Taking the case of running on a server as an example, Figure 15 is a hardware structure block diagram of a server of a device identification determination method provided in the embodiments of the present application. As Figure 15 indicated, the server 1500 can have a large difference due to different configurations or performances, and can include one or more central processing units (CPU) 1510 (the central processing unit 1510 can include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1530 for storing data, one or more storage media 1520 (such as one or more mass storage devices) for storing application programs 1523 or data 1522. Among them, the memory 1530 and the storage medium 1520 can be temporary storage or persistent storage. The programs stored in the storage medium 1520 can include one or more modules, each of which can include a series of instruction operations in the server. Further, the central processing unit 1510 can be configured to communicate with the storage medium 1520 and execute a series of instruction operations in the storage medium 1520 on the server 1500. The server 1500 can also include one or more power supplies 1560, one or more wired or wireless network interfaces 1550, one or more input and output interfaces 1540, and / or one or more operating systems 1521, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0258] The input / output interface 1540 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of server 1500. In one example, the input / output interface 1540 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 1540 may be a radio frequency (RF) module for wireless communication with the Internet.
[0259] Those skilled in the art will understand that Figure 15 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, server 1500 may also include... Figure 15 The more or fewer components shown, or having the same Figure 15 The different configurations shown.
[0260] As can be seen from the embodiments of the device identifier determination method, apparatus, and system provided in this application above, this application receives a target identification code acquisition request sent by a target client, the target identification code acquisition request carrying the target identification information of the target client; the target identification information is obtained based on the target client's system application or non-system application; the target identification code of the target client is determined based on an identification information mapping table and the target identification information; the identification information mapping table represents the correspondence between the identification information sets and identification codes corresponding to at least two clients; the identification code of each client is generated according to the identification information set of each client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information... The information is a client identifier obtained based on the system application of each client; the non-system-level identifier information is a client identifier obtained based on the non-system application of each client; the target identification code is sent to the target client so that the target client uses the target identification code as the updated client identifier corresponding to the system application and the non-system application of the target client; this application combines the client identifiers obtained by the system application and the non-system application of the client to determine the client identification code, and redistributes the identification code to the system application and the non-system application; this application can ensure that the client identification codes collected by different applications in the same client are consistent, and the identification code has good stability, thereby improving the client identification accuracy.
[0261] It should be noted that the above-mentioned order of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And the above describes the specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be executed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are possible or can be advantageous.
[0262] Each of the embodiments in the specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for the device, equipment, and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.
[0263] A person of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by program instructing relevant hardware to complete, and the program can be stored in a computer storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0264] The above is only the preferred embodiment of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A device identification determination method, characterized by, The method comprises: receiving a target identification code acquisition request sent by a target client, the target identification code acquisition request carrying target identification information of the target client; the target identification information is an identification of the target client acquired based on a system application program or an identification of the target client acquired based on a non-system application program; determining a target identification code of the target client based on an identification information mapping table and the target identification information; the identification information mapping table represents a corresponding relationship between identification code and identification information sets corresponding to at least two clients respectively; the identification code of each client is generated according to the identification information set of the client; the identification information set of each client comprises system-level identification information and non-system-level identification information; the system-level identification information is a client identification acquired based on a system application program of the client; the non-system-level identification information is a client identification acquired based on a non-system application program of the client; sending the target identification code to the target client, so that the target identification code is used as an updated client identification corresponding to a system application program and a non-system application program of the target client; the construction method of the identification information mapping table comprises: determining the identification information set corresponding to each of the at least two clients based on system-level identification information acquired based on a system application program of each client and non-system-level identification information acquired based on a non-system application program of the client; generating the identification code of each client according to the system-level identification information and the non-system-level identification information of the client; constructing the identification information mapping table according to the corresponding relationship between the identification information set and the identification code of each client.
2. The method of claim 1, wherein, The target identification information is at least two, and the determination of the target identification code of the target client based on the identification information mapping table and the target identification information comprises: determining the priority of each target identification information; determining the matching order of each target identification information according to the priority of the target identification information; determining the target identification code of the target client according to the identification information mapping table and the matching order of each target identification information.
3. The method of claim 2, wherein, The determination of the target identification code of the target client according to the identification information mapping table and the matching order of each target identification information comprises: determining a target identification information located at a first matching order and taking the target identification information located at the first matching order as a current target identification information; if there is no identification code matching the current target identification information in the identification information mapping table, determining a first target identification information located after the current target identification information in the matching order to obtain a target identification information to be matched; taking the target identification information to be matched as the current target identification information again. If the identification information mapping table does not contain the identification code matching the current target identification information, determining the first target identification information after the current target identification information in the matching order to obtain the target identification information to be matched; and taking the target identification information to be matched as the current target identification information again.
4. The method of claim 3, wherein, The method further comprises: If the identification information mapping table contains the identification code matching the current target identification information, determining the identification code matching the current target identification information as the target identification code of the target client.
5. The method of claim 3, wherein, The method further comprises: If there is no first target identification information after the current target identification information in the matching order, generating the target identification code of the target client according to each target identification information of the target client.
6. The method of claim 1, wherein, The determination of the identification information set corresponding to each of the at least two clients comprises: acquiring system-level identification information of each client based on a system application program of each of the at least two clients; acquiring non-system-level identification information of each client based on a non-system application program of each of the at least two clients; determining the identification information set of each client according to the system-level identification information and the non-system-level identification information corresponding to each client.
7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: receiving updated identification information sent by the target client; the updated identification information is update information of any target identification information in the target identification information set corresponding to the target client; if the updated identification information is preset identification information, generating an updated identification code according to the updated identification information and the target identification information set; sending an identification code update instruction to the target client, the identification code update instruction carrying the updated identification code, so that the target client takes the updated identification code as the secondary updated client identification corresponding to the system application program and the non-system application program of the target client based on the identification code update instruction.
8. A device identification determination method characterized by comprising: The method comprises: sending a target identification code acquisition request to a server, the target identification code acquisition request carrying target identification information of a local client; the target identification information is identification information of the local client acquired by a system application program of the local client or identification information of the local client acquired by a non-system application program of the local client; receiving the target identification code sent by the server; the target identification code is determined by the server based on an identification information mapping table and the target identification information; the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients respectively and identification codes; the identification code of each client is generated according to the identification information set of the client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information is client identification obtained based on a system application program of the client; the non-system-level identification information is client identification obtained based on a non-system application program of the client; the server determines the identification information set corresponding to each of the at least two clients based on the system-level identification information obtained based on the system application program of each client and the non-system-level identification information obtained based on the non-system application program; generates the identification code of each client according to the system-level identification information and the non-system-level identification information of each client; and constructs the identification information mapping table according to the corresponding relationship between the identification information set of each client and the identification code; using the target identification code as the updated client identification corresponding to the system application program and the non-system application program of the local client.
9. The method of claim 8, wherein, The method further includes: sending update identification information to the server; the update identification information is update information of any target identification information in the target identification information set corresponding to the local client; receiving an identification code update instruction sent by the server, the identification code update instruction carrying an update identification code; the update identification code is generated by the server according to the update identification information and the target identification information set when the update identification information is preset identification information; based on the identification code update instruction, using the update identification code as the secondary updated client identification corresponding to the system application program and the non-system application program of the local client.
10. A device identification determining apparatus applied to a server, characterized in that, The device includes: a target identification code acquisition request receiving module configured to receive a target identification code acquisition request sent by a target client, the target identification code acquisition request carrying target identification information of the target client; the target identification information is based on identification of the target client obtained by a system application program of the target client or identification of the target client obtained by a non-system application program of the target client; a target identification code determining module configured to determine a target identification code of the target client based on an identification information mapping table and the target identification information; the identification information mapping table represents a corresponding relationship between identification information sets corresponding to at least two clients respectively and identification codes; the identification code of each client is generated according to the identification information set of the client; the identification information set of each client includes system-level identification information and non-system-level identification information; the system-level identification information is client identification obtained based on a system application program of the client; the non-system-level identification information is client identification obtained based on a non-system application program of the client; The target identification code sending module is configured to send the target identification code to the target client, so that the target client takes the target identification code as an update client identifier corresponding to a system application program and a non-system application program of the target client. The identification information set determination module is configured to determine a respective identification information set of each of the at least two clients based on system-level identification information obtained by a system application program of each client and non-system-level identification information obtained by a non-system application program. The identification code generation module is configured to generate an identification code of each client according to the system-level identification information and the non-system-level identification information of the client. The mapping table construction module is configured to construct the identification information mapping table according to a correspondence between the identification information set and the identification code of each client.
11. The apparatus of claim 10, wherein, The target identification information is at least two, and the target identification code determination module includes: The priority determination submodule is configured to determine a priority of each target identification information. The matching order determination submodule is configured to determine a matching order of each target identification information according to the priority of each target identification information. The target identification code determination submodule is configured to determine a target identification code of the target client according to the identification information mapping table and the matching order of each target identification information.
12. The apparatus of claim 11, wherein, The target identification code determination submodule includes: The current target identification information determination unit is configured to determine a target identification information located at a first matching order and take the target identification information located at the first matching order as a current target identification information. The to-be-matched target identification information determination unit is configured to, if there is no identification code matching the current target identification information in the identification information mapping table, determine a first target identification information located after the current target identification information in the matching order, and obtain a to-be-matched target identification information. The current target identification information updating unit is configured to take the to-be-matched target identification information as the current target identification information again. The step repeating unit is configured to repeat the following steps: if there is no identification code matching the current target identification information in the identification information mapping table, determining a first target identification information located after the current target identification information in the matching order, and obtaining a to-be-matched target identification information; and taking the to-be-matched target identification information as the current target identification information again.
13. The apparatus of claim 12, wherein, The device further includes: The identification code determination module is configured to, if there is an identification code matching the current target identification information in the identification information mapping table, determine the identification code matching the current target identification information as a target identification code of the target client.
14. The apparatus of claim 12, wherein, The device further includes: The target identification code generation module is configured to, if there is no first target identification information located after the current target identification information in the matching order, generate a target identification code of the target client according to each target identification information of the target client.
15. The apparatus of claim 10, wherein, The identification information set determination module includes: The system-level identification information obtaining submodule is configured to obtain system-level identification information of each of the at least two clients based on a respective system application program of the client. The non-system-level identification information obtaining submodule is configured to obtain non-system-level identification information of each of the at least two clients based on respective non-system applications of the at least two clients. The identification information set determining submodule is configured to determine an identification information set of each of the at least two clients according to the system-level identification information and the non-system-level identification information of the each of the at least two clients.
16. The apparatus of any one of claims 10-15, wherein, The identification information set determining module comprises: The update identification information receiving module is configured to receive update identification information sent by the target client; the update identification information is update information of any target identification information in a target identification information set corresponding to the target client. The update identification code generating module is configured to generate an update identification code according to the update identification information and the target identification information set if the update identification information is preset identification information. The updating instruction sending module is configured to send an identification code updating instruction to the target client, the identification code updating instruction carrying the updating identification code, so that the target client, based on the identification code updating instruction, takes the updating identification code as the secondary updating client identification corresponding to the system application program and the non-system application program of the target client 。 17. A device identification determining apparatus applied to a client, comprising: a device identification determining unit, configured to determine a device identification of the client according to a device identification determining method. The apparatus comprises: The target identification information is obtained based on a system application or a non-system application of the local client. The target identification code receiving module is configured to receive a target identification code sent by the server; the target identification code is determined by the server based on an identification information mapping table and the target identification information; the identification information mapping table represents a correspondence between identification information sets corresponding to the at least two clients and identification codes; the identification code of each of the at least two clients is generated according to the identification information set of the each of the at least two clients; the identification information set of each of the at least two clients comprises system-level identification information and non-system-level identification information; the system-level identification information is client identification obtained based on a system application of the each of the at least two clients; the non-system-level identification information is client identification obtained based on a non-system application of the each of the at least two clients; the server is configured to determine the identification information set corresponding to the at least two clients based on the system-level identification information obtained based on a system application of each of the at least two clients and the non-system-level identification information obtained based on a non-system application of the each of the at least two clients; generate the identification code of the each of the at least two clients according to the system-level identification information and the non-system-level identification information of the each of the at least two clients; and construct the identification information mapping table according to the correspondence between the identification information set of the each of the at least two clients and the identification code. The identification updating module is configured to use the target identification code as an update client identification corresponding to the system application and the non-system application of the local client.
18. The apparatus of claim 17, wherein, The apparatus further comprises: The update identification information sending module is configured to send update identification information to the server; the update identification information is update information of any target identification information in a target identification information set corresponding to the local client. The update instruction receiving module is configured to receive an identification code update instruction sent by the server; the identification code update instruction carries an update identification code; the update identification code is generated by the server according to the update identification information and the target identification information set if the update identification information is preset identification information. The client identification updating module is configured to update the update identification code as the secondary update client identification corresponding to the system application program and the non-system application program of the local client based on the identification code update instruction.
19. An apparatus identification determination system, comprising: The system comprises a server and a target client. The server is configured to determine a target identification code of the target client based on an identification information mapping table and target identification information; the identification information mapping table represents a correspondence between identification information sets corresponding to at least two clients and identification codes; the identification code of each client is generated based on the identification information set of the client; the identification information set of each client comprises system-level identification information and non-system-level identification information; the system-level identification information is a client identification obtained based on a system application program of the client; the non-system-level identification information is a client identification obtained based on a non-system application program of the client; the identification information set corresponding to each of the at least two clients is determined based on the system-level identification information obtained based on the system application program of each client and the non-system-level identification information obtained based on the non-system application program of each client; the identification code of each client is generated based on the system-level identification information and the non-system-level identification information of the client; the identification information mapping table is constructed based on the correspondence between the identification information set of each client and the identification code; and the target identification code is sent to the target client; The target client is configured to send a target identification code obtaining request to the server, the target identification code obtaining request carrying target identification information of a local client; the target identification information is obtained based on a system application program or a non-system application program of the local client; and the target identification code is updated as the update client identification corresponding to the system application program and the non-system application program of the local client.
20. A computer storage medium, comprising, The storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the device identification determination method according to any one of claims 1-9.
21. A computer program product, characterised in that, The computer program product comprises computer instructions, and the processor of the computer device is configured to execute the computer instructions to implement the device identification determination method according to any one of claims 1-9.
Citation Information
Patent Citations
Identifier generation method, device and system
CN106708553A
Terminal fingerprint generating method and device
CN107665299A
Acquisition method of equipment identifier, server and terminal equipment
CN108156268A
Multi-factor-based android equipmentand identification method and device, and storage medium
CN113032019A