WO2023065901A1 - 设备标识符获取方法及装置 - Google Patents

设备标识符获取方法及装置 Download PDF

Info

Publication number
WO2023065901A1
WO2023065901A1 PCT/CN2022/118813 CN2022118813W WO2023065901A1 WO 2023065901 A1 WO2023065901 A1 WO 2023065901A1 CN 2022118813 W CN2022118813 W CN 2022118813W WO 2023065901 A1 WO2023065901 A1 WO 2023065901A1
Authority
WO
WIPO (PCT)
Prior art keywords
valid
time
target
period
time unit
Prior art date
Application number
PCT/CN2022/118813
Other languages
English (en)
French (fr)
Inventor
石俊杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023065901A1 publication Critical patent/WO2023065901A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords

Definitions

  • the embodiments of the present application relate to the field of network technologies, and in particular, to a method and device for obtaining a device identifier.
  • device data such as device-based applications, services, and system data
  • sensitive information such as user ID numbers, phone numbers, addresses, and credit cards. Numbers, etc., once leaked, will cause unnecessary losses and harm.
  • the device data is usually desensitized to ensure data security.
  • the device identifier is used to identify the data of the device.
  • the device identifier can be used to obtain the data of the device and identify sensitive information in the data. Therefore, the device identifier is particularly important for data security.
  • the security of various current device identifiers is relatively low, leading to a relatively high risk of data leakage.
  • the present application provides a device identifier acquisition method and device, which reduce the type and quantity of data identified by the target device identifier, thereby improving data security and privacy of the device.
  • the present application provides a method for obtaining a device identifier, the method comprising: determining a target validity period; acquiring a target device identifier corresponding to the target validity period, where the target device identifier is valid within the target validity period, Different validity periods correspond to different device identifiers, and the target device identifier is used to collect data within the target validity period.
  • the target device identifier is only valid within the target validity period, so the device identifiers corresponding to different validity periods are different, so that after the application obtains the target device identifier, it can only collect the data of the device within the target validity period, reducing the number of target devices.
  • the type and amount of data identified by the identifier thereby improving the data security and privacy of the device.
  • the target validity period includes at least one of the following characters: a start time field, an end time field, a valid time unit field, and a valid duration field.
  • the target validity period includes any time field in the start time field and the expiration time field and the effective time unit field, and the time unit of the any time field and The time units indicated by the valid time unit field are the same.
  • the start time field is used to indicate the start time of the valid period of the target, and the start time may be the receiving time of the acquisition request.
  • the expiration time field is used to indicate the expiration time of the target validity period.
  • the receiving time can be used as the starting time, and the expiration time can be obtained according to the receiving time and the target range information.
  • the valid time unit indicated by the valid time unit field can be obtained based on the first valid time unit in the target scope information, and the valid time period field is used to indicate the duration of the target valid period, and the duration can be greater than or equal to the valid time period in the target range information .
  • the determining the target validity period includes: receiving an acquisition request of a device identifier, where the acquisition request is used to indicate target range information, and the target range information includes a valid duration or a first valid time unit ; determining the target validity period based on the receiving time of the acquisition request and the target range information, and the time period formed by the receiving time and the target range information belongs to the target validity period.
  • the acquisition request may be sent by a device running any application, for example, it is sent by a device running any application when a data collection event occurs.
  • the device running any application may be the same as or different from the device receiving the obtaining request, that is, the device running any application and the device receiving the obtaining request are two devices in a distributed device networking scenario.
  • the acquisition request may directly indicate target range information.
  • the acquisition request may directly indicate the usage purpose of the device identifier.
  • the device determines the purpose of use according to the acquisition request, and then determines the target range information based on the purpose of use.
  • the device can determine the time required for the data acquisition process according to the purpose of use, and determine the target range information according to the time.
  • the device may pre-store correspondences between multiple purposes of use and multiple ranges of information, and after receiving the acquisition request, determine the range information corresponding to the purpose of use indicated by the acquisition request as the target range information based on the correspondence.
  • a purpose character string may be carried in the acquisition request, and the purpose character string is used to indicate the purpose of use.
  • Correspondences between multiple destination character strings and multiple scope information may be stored in the device.
  • Receive time can be absolute time or relative time.
  • the receiving time when the receiving time is an absolute time, it may be the time when the acquisition request is received.
  • the receiving time when the receiving time is a relative time, it can be the relative time between the time when the acquisition request is received and the reference time, that is, first determine the interval between the time when the acquisition request is received and the reference time, and then start with the reference time and pass the interval The later time is determined as the receiving time.
  • the target range information includes the first effective time unit, and determining the target validity period based on the receiving time of the acquisition request and the target range information includes: based on the The receiving time and the first validity time unit, determine the first validity period and/or the second validity period as the target validity period, the first validity period and the second validity period both include the start time field and the Any time field in the expiration time field and the valid time unit field; the any time field and the valid time unit field in the first validity period indicate the receiving time and the first valid time respectively unit; the any time field and the valid time unit field in the second validity period respectively indicate the neighbor time of the receiving time and the first valid time unit, or respectively indicate the receiving time and the second A valid time unit; the time interval between the neighbor time and the receiving time is at least one of the first valid time unit, the second valid time unit is longer than the first valid time unit, and the first valid period is The time unit of the receiving time and the time unit of the adjacent time in the second valid period are the same as the first valid time unit, and the time unit
  • the determining the first valid period and/or the second valid period as the target valid period based on the receiving time and the first valid time unit includes: based on the receiving time and the The first valid time unit determines the first valid period; when the remaining valid period in the first valid period is greater than the duration threshold, the first valid period is determined to be the target valid period, and the remaining valid period is the first valid period A difference between the expiration time of a valid period and the receiving time; when the remaining valid period is less than or equal to the duration threshold, the second valid period is determined based on the receiving time and the first valid time unit, and Determining the first validity period and the second validity period as the target validity period.
  • the second validity period can be determined to increase the remaining validity period of the target validity period, so that sufficient quantity and type of data can be obtained to ensure the realization of the purpose of use.
  • the acquiring the target device identifier corresponding to the target validity period includes: generating the target device identifier according to the target validity period.
  • the device may acquire target device identifier information according to the target validity period, where the target device identifier information includes a field for indicating the target device identifier and a field for indicating the target validity period.
  • the target device identifier information may further include a time zone field, which is used to indicate the time zone corresponding to the time indicated by any time field included in the target validity period.
  • the device may obtain hardware information of the device, and then generate a target device identifier according to the hardware information and the target validity period, and then generate target device identifier information so that the target device identifier corresponds to the target validity period.
  • the device may use a hash algorithm to perform hash processing on part or all of the fields in the hardware information and the target validity period to obtain the target device identifier.
  • the acquiring the target device identifier corresponding to the target validity period includes: determining a device identifier whose corresponding validity period includes the target validity period among multiple device identifiers as the target device Identifiers, the multiple device identifiers correspond to valid periods, and any two device identifiers correspond to different valid periods.
  • the device can determine the target validity period by itself, and then pre-generate device identifiers corresponding to multiple validity periods.
  • the present application provides an apparatus for acquiring a device identifier, the apparatus comprising: a processing module configured to determine a target validity period; the processing module is also configured to acquire a target device identifier corresponding to the target validity period, so The target device identifier is valid within the target validity period, and the device identifiers corresponding to different validity periods are different, and the target device identifier is used to collect data within the target validity period.
  • the target validity period includes at least one of the following characters: a start time field, an end time field, a valid time unit field, and a valid duration field.
  • the target validity period includes any time field in the start time field and the expiration time field and the effective time unit field, and the time unit of the any time field and The time units indicated by the valid time unit field are the same.
  • the apparatus further includes: a transceiver module, configured to receive a device identifier acquisition request, where the acquisition request is used to indicate target range information, and the target range information includes a valid duration or a first Valid time unit; the processing module is specifically configured to determine the target validity period based on the receiving time of the acquisition request and the target range information, and the time period formed by the receiving time and the target range information belongs to the Target validity period.
  • a transceiver module configured to receive a device identifier acquisition request, where the acquisition request is used to indicate target range information, and the target range information includes a valid duration or a first Valid time unit
  • the processing module is specifically configured to determine the target validity period based on the receiving time of the acquisition request and the target range information, and the time period formed by the receiving time and the target range information belongs to the Target validity period.
  • the target range information includes the first valid time unit
  • the processing module is specifically configured to determine the first valid period and the first valid time unit based on the receiving time and the first valid time unit.
  • the second valid period is the target valid period, and both the first valid period and the second valid period include any one of the start time field and the end time field and the valid time unit field;
  • the any time field and the valid time unit field in the first valid period indicate the receiving time and the first valid time unit respectively;
  • the valid time unit field respectively indicates the neighbor time of the receiving time and the first valid time unit, or respectively indicates the receiving time and the second valid time unit;
  • the time interval between the neighbor time and the receiving time is at least one of said first valid time unit, said second valid time unit is longer than said first valid time unit, said time unit of said reception time in said first valid period, said time unit of said receiving time in said second valid period
  • a time unit of the neighbor time is the same as the first valid time unit, and a time unit
  • the processing module is specifically configured to determine the first valid period based on the receiving time and the first valid time unit; when the remaining valid duration in the first valid period is greater than the duration threshold, determine that the first valid period is the target valid period, and the remaining valid duration is the difference between the deadline of the first valid period and the receiving time; when the remaining valid duration is less than or equal to the duration
  • the second valid period is determined based on the receiving time and the first valid time unit, and the first valid period and the second valid period are determined as the target valid period.
  • the processing module is specifically configured to generate the target device identifier according to the target validity period.
  • the processing module is specifically configured to determine a device identifier whose corresponding validity period includes the target validity period among multiple device identifiers as the target device identifier, and the multiple device identifiers
  • the identifiers correspond to valid periods respectively, and any two device identifiers correspond to different valid periods.
  • the present application provides an apparatus for obtaining a device identifier, including: one or more processors; a memory for storing one or more computer programs or instructions; when the one or more computer programs or instructions are executed The one or more processors execute such that the one or more processors implement the method according to any one of the first aspect.
  • the present application provides an apparatus for obtaining a device identifier, including: a processor configured to execute the method according to any one of the first aspect.
  • the present application provides a computer-readable storage medium, including computer programs or instructions, which, when executed on a computer, cause the computer to perform the method described in any one of the first aspect .
  • the present application provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on a computer, the computer is made to execute the method described in any one of the first aspects.
  • FIG. 1 is a schematic diagram of a device provided in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for obtaining a device identifier provided in an embodiment of the present application
  • Fig. 3 is a schematic diagram of a purpose of use and target range information provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of a determination process of a target validity period provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a generation process of target device identifier information provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of interaction between a first device and a cloud provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of parameters used in a cloud data analysis process provided by an embodiment of the present application.
  • FIG. 8 is a block diagram of an apparatus for obtaining a device identifier provided in an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an apparatus for obtaining a device identifier provided in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another apparatus for obtaining a device identifier provided in an embodiment of the present application.
  • first and second in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.
  • a first range, a second range, etc. are used to distinguish different ranges, not to describe a specific order of the ranges.
  • words such as “in an example”, “example” or “for example” are used to represent an example, illustration or description. Any embodiment or design solution described as “in an example”, “exemplarily” or “for example” in the embodiments of the present application shall not be interpreted as being more preferable or more advantageous than other embodiments or design solutions. Rather, use of words such as “in an example”, “exemplarily” or “such as” is intended to present related concepts in a concrete manner.
  • multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
  • device identifiers are used to identify device data.
  • Device identifiers can be used to obtain device data and identify sensitive information in the data.
  • the device may be a terminal device.
  • it may include: an access terminal, a terminal unit, a terminal station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a wireless communication device, a terminal agent, and a terminal device.
  • Access terminals may include: cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital assistants (PDA), wireless Handheld devices with communication functions, computing devices, other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) network or evolved public land Terminal equipment in the mobile network (Public Land Mobile Network, PLMN), etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA personal digital assistants
  • 5G Fifth Generation Mobile Communication Technology
  • 5G Fifth Generation Mobile Communication Technology
  • PLMN Public Land Mobile Network
  • Current equipment identifiers usually include: International Mobile Equipment Identity (IMEI), Serial Number (Serial Number, SN), Mobile Equipment Identifier (MEID), Unique Device Identifier (Unique Device) Identifier, UDID), Anonymous Device Identifier (Open Anonymous Device Identifier, OAID), Android Identity Identifier (Android Identity document, AndroidId), Open Device Identifier (Open Device Identifier, ODID) and Universally Unique Identifier (Universally Unique Identifier) , uuid).
  • IMEI International Mobile Equipment Identity
  • Serial Number Serial Number
  • MEID Mobile Equipment Identifier
  • Unique Device Identifier Unique Device
  • UDID Unique Device Identifier
  • OAID Open Anonymous Device Identifier
  • Android Identity Identifier Android Identity document, AndroidId
  • Open Device Identifier Open Device Identifier, ODID
  • Universally Unique Identifier Universally Unique Identifier
  • the existing device identifiers are usually fixed, and in order to ensure the data security of the device, the device has strict management on the permission to obtain the device identifier.
  • the fixed device identifier will lead to a gradual increase in the type and quantity of data identified by the device identifier, which will lead to a greater possibility of the device being tracked, a lower data security of the device, and a greater risk of data leakage on the device.
  • Stricter management of device identifier acquisition permissions will increase the difficulty of obtaining device identifiers (for example, the difficulty of obtaining device identifiers for some applications), thus affecting the normal progress of some data analysis processes.
  • a device collects an identifiable device identifier, and sends the device identifier to a server.
  • the server converts the received device identification into an irreversible device identifier through a preset algorithm, and sends the device identifier to the device.
  • the device stores the device identifier in a non-updatable storage area.
  • the server stores the original device identification, so the original device identification can be obtained from the server, thereby obtaining the data of the device, resulting in low data security of the device.
  • the process of generating the device identifier at the server needs to be performed in a networked environment. When the server is in a non-networked environment, the server cannot generate the device identifier, so the applicability of related technologies is poor.
  • FIG. 1 is a schematic diagram of a device framework provided by an embodiment of the present application.
  • FIG. 1 shows a first device and multiple applications (including application A, application B, and application C) running on the first device. ).
  • the first device includes a data collection module 101 , a device identifier generation module 102 and a device identifier management module 103 . The method is described below by taking FIG. 1 as an example.
  • FIG. 2 is a schematic flowchart of a method for obtaining a device identifier provided in an embodiment of the present application, and the method is applied to the aforementioned first device (for example, the first device shown in FIG. 1 ).
  • the method may include the following procedures:
  • 201 Receive an acquisition request of a device identifier, where the acquisition request is used to indicate target range information, and the target range information includes a valid duration or a first valid time unit.
  • the acquisition request may be sent by a device running any application, for example, it is sent by a device running any application when a data collection event occurs.
  • the device on which any application runs may be the same as or different from the device receiving the acquisition request, for example, it may be the first device or the second device.
  • the two devices are two devices in the distributed device networking scenario.
  • the obtaining request may directly indicate the usage purpose of the device identifier, and the usage purpose may be determined by the device running any application based on the data collection event.
  • the device determines the purpose of use according to the acquisition request, and then determines the target range information based on the purpose of use.
  • the device can determine the time required for the data acquisition process according to the purpose of use, and determine the target range information according to the time. The longer the duration, the longer the effective duration or the larger the effective time unit in the target range information; the shorter the duration, the shorter the effective duration or the smaller effective time unit in the target range information.
  • the effective time unit may include at least one of the following: year, quarter, month, day, hour, minute, second and so on.
  • the time unit of the valid duration can refer to the valid time unit, which is not described in this embodiment of the present application.
  • the device may pre-store correspondences between multiple purposes of use and multiple ranges of information, and after receiving the acquisition request, determine the range information corresponding to the purpose of use indicated by the acquisition request as the target range information based on the correspondence.
  • a purpose character string may be carried in the acquisition request, and the purpose character string is used to indicate the purpose of use.
  • Correspondences between multiple destination character strings and multiple scope information may be stored in the device.
  • the type of the target character string may include a text character string, a symbol string, and a binary number string, etc.
  • the target character string may be a multi-digit code, which is not limited in this embodiment of the present application.
  • the purpose of use may include at least one of the following: locating a single point of failure, locating application performance freezes, frame loss, and unsmooth failures, and counting application user behaviors (for example, newly developed application pages need to count monthly, weekly, or daily life), and perform loss analysis on some devices (for example, loss analysis on batteries).
  • Single-point failures can include application not response (Application Not Response, ANR), downtime (Crash), and Tombstone problems that have occurred in reliability.
  • Tombstone is a file that is used to record fault information for single-point failures.
  • Fault information Including the basic information of the application, the address where the Crash occurred, and the stack call information when the Crash occurred. The duration of the data acquisition process for the four purposes of locating single-point faults, locating application performance freezes, frame loss, and unsmooth failures, statistical application user behavior, and loss analysis for some devices is gradually increasing.
  • FIG. 3 is a schematic diagram of usage purpose and target range information provided by an embodiment of the present application.
  • FIG. 3 takes the target range information including the first valid time unit as an example for illustration.
  • the data acquisition module sends an acquisition request when a data acquisition event occurs, and then determines the purpose of use according to the acquisition request.
  • Figure 3 shows the above four purposes of use.
  • the purpose of use is to locate a single point of failure, the first effective time unit is determined; The effective time unit is day.
  • the purpose of use is to count application user behavior, the first effective time unit is determined to be month.
  • the purpose of use is to analyze the loss of some devices, the first effective time unit is determined to be year.
  • the target range information includes an effective time period, and the effective time period corresponding to locating a single point of failure may be 50 minutes, 1 hour, 2 hours and 15 minutes, and so on.
  • the effective duration for locating application performance freezes, frame drops, and unsmooth failures can be 22 hours, 1 day, and 2 hours a day.
  • the effective period corresponding to the statistical application user behavior can be 29 days, 1 month, 2 months and 3 days, etc.
  • the effective time period corresponding to the loss analysis of some devices can be 300 days, 1 year, 2 years and 18 days, etc.
  • the acquisition request may directly indicate target range information.
  • the device running any application can determine the purpose of use according to the data collection event, and further determine the target range information according to the purpose of use.
  • the process of determining the target range information can refer to the above-mentioned first implementation mode, which will not be described in this embodiment of the application. .
  • the process 201 can be executed by the device identifier management module 103 in FIG. 1 .
  • Figure 1 also shows the second device and the applications (including application D) running on the second device, the first device and the second device are two devices in the distributed device networking scenario, the second device includes distributed
  • the distributed communication module 104 establishes a communication connection with the data collection module 102 of the first device.
  • the obtaining request may be sent to the device identifier management module 103 by calling a corresponding module in the running device from any application A to D. For example, for any application from application A to application C, when a data collection event occurs, the data collection module 101 may be invoked to send an acquisition request to the device identifier management module 103 .
  • the distributed communication module 104 can be called to send instruction information to the data collection module 101.
  • the data collection module 101 determines that a data collection event has occurred in application D according to the received instruction information, and then based on the data collection The event sends an acquisition request to the device identifier management module 103 .
  • Receive time can be absolute time or relative time.
  • the receiving time when the receiving time is an absolute time, it may be the time when the acquisition request is received.
  • the receiving time When the receiving time is a relative time, it can be the relative time between the time when the acquisition request is received and the reference time, that is, first determine the interval between the time when the acquisition request is received and the reference time, and then start with the reference time and pass the interval
  • the later time is determined as the receiving time.
  • the reference time may be January 1, 1971 00:00:00.
  • the time zone corresponding to the time when the acquisition request is received may be any one of the 24 time zones, for example, it may be East Eighth District (ie, Beijing time).
  • the target validity period may include at least one of the following characters: a start time field, an end time field, a valid time unit field, and a valid duration field.
  • the target validity period includes any one of the start time field and the end time field and a valid time unit field, the time unit of any time field is the same as the time unit indicated by the valid time unit field.
  • the target validity period may include a start time field and an end time field, or any one of the start time field and the end time field, and any one of the valid time unit field and the valid duration field, as long as it can be based on including
  • the characters of the characters can be obtained for a time period, which is not limited in this embodiment of the present application.
  • the start time field is used to indicate the start time of the valid period of the target, and the start time may be the receiving time of the acquisition request.
  • the expiration time field is used to indicate the expiration time of the target validity period.
  • the receiving time can be used as the starting time, and the expiration time can be obtained according to the receiving time and the target range information.
  • the valid time unit indicated by the valid time unit field can be obtained based on the first valid time unit in the target scope information, and the valid time period field is used to indicate the duration of the target valid period, and the duration can be greater than or equal to the valid time period in the target range information .
  • the target range information includes the first valid time unit
  • the content indicated by the valid time unit field can be determined, and then the target validity period including any time field in the start time field and the end time field and the valid time unit field can be determined.
  • the first validity period and/or the second validity period may be determined as the target validity period based on the receiving time and the first validity time unit.
  • Both the first valid period and the second valid period include any one of the start time field and the end time field and a valid time unit field.
  • An arbitrary time field and a valid time unit field in the first validity period indicate a reception time and a first valid time unit, respectively.
  • Either of the time field and the valid time unit field in the second valid period respectively indicate the time adjacent to the receiving time and the first valid time unit, or respectively indicate the receiving time and the second valid time unit.
  • the time interval between the neighbor time and the receiving time is at least one first valid time unit, and the second valid time unit is longer than the first valid time unit.
  • the time unit of the reception time in the first valid period and the time unit of the adjacent time in the second valid period are the same as the first valid time unit, and the time unit of the reception time in the second valid period is the same as the second valid time unit.
  • the number of the second valid period may be one or more.
  • the effective time unit field indicates the day, and any time field indicates December 18, 2021, that is The first validity period is December 18, 2021.
  • any time field and the valid time unit field in the second valid period respectively indicate an adjacent time of the receiving time and the first valid time unit.
  • the effective time unit field indicates the day, and any time field indicates December 16, 2021, December 17, 2021, December 19, 2021, or December 20, 2021, etc., that is, the second Valid on December 16, 2021, December 17, 2021, December 19, 2021 or December 20, 2021.
  • any time field and valid time unit field in the second validity period indicate the receiving time and the second valid time unit respectively.
  • the second valid time unit is longer than the first valid time unit, and the second valid time unit can be weeks, months, quarters or years, etc.
  • any time field indicates 51 weeks in 2021, December 2021 , the fourth quarter of 2021 or 2021, etc., that is, the second validity period is 51 weeks of 2021, December 2021, the fourth quarter of 2021 or 2021, etc.
  • the first valid period may be determined based on the receiving time and the first valid time unit. Afterwards, when the remaining valid duration in the first valid period is greater than the duration threshold, it is determined that the first valid period is the target valid period. When the remaining valid duration is less than or equal to the duration threshold, a second valid period is determined based on the receiving time and the first valid time unit, and the first valid period and the second valid period are determined as target valid periods. The remaining validity period is the difference between the expiration time of the first validity period and the receiving time.
  • the second validity period can be determined to increase the remaining validity period of the target validity period, so that sufficient quantity and type of data can be obtained to ensure the realization of the purpose of use.
  • the time unit of the duration threshold may be shorter than or equal to the time unit indicated by the valid time unit field in the first validity period.
  • FIG. 4 is a schematic diagram of the determination process of a target validity period provided by the embodiment of the present application.
  • FIG. 4 shows the data collection module 101 and the device identifier management module 103, and FIG. 4 uses the purpose of Locating a single point of failure is taken as an example.
  • the first valid time unit corresponding to locating a single point of failure is a day.
  • the data acquisition module 101 sends an acquisition request to the device identifier management module 103 when the data acquisition behavior occurs, and the receiving time of the acquisition request is 2021 April 5 at 23:58.
  • the first validity period determined at this time is April 5, 2021, the remaining validity period of the first validity period is 2 minutes, and when the remaining validity period is less than 0.5, the second validity period can be determined.
  • FIG. 4 takes any time field and the effective time unit field of the second valid period to respectively indicate the adjacent time of the receiving time and the first valid time unit as an example, and shows three second valid periods, and the three second valid periods are respectively April 6, 2021, April 7, 2021 and April 8, 2021.
  • the contents indicated by the start character and end time fields are the same, that is, both indicate the receiving time .
  • the receiving time is 15:00 on December 18, 2021, and the first valid time unit is day
  • the contents indicated by the start time field string and the end time field string are both December 15, 2021 .
  • the time after the valid duration from the receiving time may be determined as the deadline indicated by the expiration time field.
  • the first valid time unit may be used as the time unit of the receiving time to determine the deadline. For example, assuming that the valid period is 20 days and the receiving time is April 1, 2021, April 20, 2021 may be determined as the deadline. Assuming that the first valid unit is a month, the last day of the month in which the receiving time is located is determined as the cut-off time, for example, assuming the receiving time is April 7, 2021, then April 30, 2021 is determined as the cut-off time. Assuming that the first valid unit is a year, the last day of the year in which the receiving time is located is determined as the cut-off time, for example, assuming the receiving time is April 7, 2021, then December 31, 2021 is determined as the cut-off time.
  • the target range information when the target range information includes the valid duration, a duration greater than or equal to the valid duration in the target range information may be determined as the content indicated by the valid duration field.
  • the target range information includes the first valid time unit
  • the first valid time unit may be used as the time unit of the receiving time to determine the content indicated by the valid time length field. For example, assuming that the valid duration is 20 days, 20 days, 21 days, or 22 days may be determined as the content indicated by the valid duration field.
  • the time period from April 8, 2021 to the end of the last day of April 2021 in April 2021 can be determined as the valid time period field
  • the indicated content is to determine 23 days as the content indicated by the valid duration field.
  • each field in the target validity period There are many formats for each field in the target validity period. For example, take the target validity period including any time field in the start time field or end time field and the valid time unit field as an example. Assume that the time indicated by any time field is At 15:00 on April 1, 2021, the effective time unit field is year, month, week, day or hour. Correspondingly, the content indicated by any time field can be expressed as 2021, 202104, 202114, 20210401 or 2021040115.
  • the target device identifier is valid within the target validity period, and different device identifiers correspond to different validity periods.
  • the target device identifier is used to collect data within the target validity period.
  • the device may acquire target device identifier information according to the target validity period, and the target device identifier information includes a field for indicating a target device identifier (also referred to as a target UDID) and a field for indicating a target validity period.
  • the target device identifier information may further include a time zone field, which is used to indicate the time zone corresponding to the time indicated by any time field included in the target validity period.
  • the target device identifier There are two ways to obtain the target device identifier.
  • the first method is to directly generate the target device identifier according to the validity period of the target.
  • the second acquisition method is to obtain the target device identifier from the existing device identifiers. For example, the device identifier whose validity period includes the target validity period among the multiple device identifiers can be determined as the target device identifier.
  • the device identifiers correspond to valid periods respectively, and any two device identifiers correspond to different valid periods.
  • the device may judge according to the target validity period whether there is a device identifier whose corresponding validity period includes the target validity period, and this process may be executed by the device identifier management module 103 .
  • the corresponding device identifier whose validity period includes the target validity period may be acquired as the target device identifier, and this process may be executed by the device identifier management module 103 .
  • the target device identifier can also be regenerated, and the device identifier management module 103 can call the device identifier generation module 102 to regenerate the target device identifier.
  • the target device identifier may be directly generated.
  • the device identifier management module 103 can call the device identifier generation module 102 to directly generate the target device identifier.
  • the device can obtain the hardware information of the device, then generate the target device identifier according to the hardware information and the target validity period, and then generate the target device identifier information so that the target device identifier corresponds to the target validity period.
  • the device may use a hash algorithm to perform hash processing on part or all of the fields in the hardware information and the target validity period to obtain the target device identifier.
  • the hash algorithm may include a secure hash algorithm (Secure Hash Algorithm, sha), such as hash sha256.
  • the hardware information includes at least one of the following: SN, Embedded Multi Media Card ID (Emmedded Multi Media Card ID, emmcid), Wireless Fidelity Media Access Control Address (Wireless Fidelity Media Access Control Address, WifiMac), Bluetooth Mac (BluetoothMac) .
  • FIG. 5 is a schematic diagram of a generation process of target device identifier information provided by an embodiment of the present application.
  • FIG. 5 takes an example in which the target validity period includes a start time field and a valid time unit field, and the start time field indicates 20210401 for illustration.
  • the device hashes SN, emmcid, WifiMac, BluetoothMac, and 20210401 through sha256 to obtain the target device identifier.
  • the target device identifier, time zone field, start time field (20210401) and effective time unit field are concatenated to obtain the target device identifier information.
  • the device may pre-generate device identifiers corresponding to multiple validity periods. For this process, refer to the foregoing description, and this embodiment of the present application does not repeat it here.
  • the device can determine the target validity period by itself. Assuming that the target validity period includes a valid time unit field, the device can determine multiple start times and multiple valid time units corresponding to each start time, and then determine multiple target validity periods, and each target validity period includes one of the multiple start times A start time and a valid time unit corresponding to the start time.
  • the device may regenerate the target device identifier corresponding to the target validity period, or generate a target device identifier corresponding to a time other than a period of time in the target validity period, which is not limited in this embodiment of the present application.
  • the device may send the target device identifier information to the application that sent the obtaining request.
  • the device running the application that sends the acquisition request may be the first device or the second device, that is, the application running on the second device in this embodiment of the present application may also request the target device identifier of the first device.
  • the target device identifier may include a time valid device identifier, a daily valid device identifier, a monthly valid device identifier, a yearly valid device identifier, and the like.
  • the sent target device identifiers are different.
  • FIG. 3 also shows target device identifiers corresponding to different usage purposes. Among them, locating a single point of failure corresponds to an effective target device identifier at the time, locating application performance freezes, frame loss, and unsmooth faults corresponds to a daily effective target device identifier, and statistical application user behavior corresponds to a monthly effective target device identifier. For some devices Perform loss analysis corresponding to year valid target device identifier.
  • FIG. 4 also shows target device identifiers UDID0 to UDID3 respectively corresponding to the first valid period and the three second valid periods.
  • UDID0 to UDID3 are device identifiers valid on April 5, 2021, device identifiers valid on April 6, 2021, device identifiers valid on April 7, 2021, and device identifiers valid on April 8, 2021, respectively. Therefore, in this embodiment of the present application, if the remaining validity period of the target device identifier corresponding to the current first validity period is too short, the device identifier corresponding to the second validity period may be obtained to ensure that the purpose of use can be achieved.
  • the device identifier management module 103 can classify and manage the generated device identifiers according to various time units, so that it can quickly determine whether there is a device identifier whose corresponding validity period includes the target validity period, The efficiency of obtaining the target device identifier has been improved.
  • the first device may also report the obtained target device identifier information to the cloud, and the cloud analyzes the target device identifier information to obtain the content indicated by each field in the target device identifier information, and store the analyzed get the content.
  • the cloud can obtain the data of the device according to the content indicated by each field in the stored target device identifier information, and analyze the data of the device.
  • FIG. 6 is a schematic diagram of interaction between a first device and a cloud according to an embodiment of the present application.
  • Fig. 6 shows the first device and the cloud, where the cloud includes a server, a storage module and a data analysis module.
  • the first device sends the target device identifier information to the cloud, and the server parses the target device identifier information to obtain the content indicated by each field in the target device identifier information, and stores the content indicated by each field in the storage module.
  • the data analysis module can use the content indicated by each field in the target device identifier information stored in the storage module to perform data analysis.
  • the data analysis may include: battery aging analysis, reliability analysis, and user behavior analysis.
  • the data analysis process in the cloud is described below by taking a data analysis scenario as an example.
  • the data analysis scenario is cloud analysis of the delay in April 2021 when a first device (such as a mobile phone) projects a screen to a second device (such as a TV).
  • the first device can obtain and send to the cloud the target device identifier corresponding to April 2021 of the first device and the second device, and the second device can obtain and send the target device identifier corresponding to April 2021 of the second device to the cloud symbol.
  • the cloud Based on the target device identifiers corresponding to the first device and the second device in April 2021 sent by the first device, the cloud associates the target device identifiers corresponding to the first device and the second device in April 2021 to determine the A screen projection object of a device.
  • the first device sends a screen projection request to the second device and at the same time sends a screen projection event to the cloud.
  • the second device receives the screen projection request and simultaneously sends and receives a screen projection event to the cloud.
  • the first device sends the screen projection data stream to the second device, and the second device reads the screen projection data stream and simultaneously sends a read data stream event to the cloud.
  • the second device will also send the target device identifier corresponding to other times and events occurring at other times to the cloud.
  • the second device may obtain and send the target device identifier corresponding to May 2021 of the second device to the cloud. And when receiving an instruction to open a certain application (such as a video application) in May 2021, open a certain application and send an event of opening a certain application to the cloud at the same time.
  • a certain application such as a video application
  • the cloud analyzes the time delay from the first device to the second device in April 2021 based on the target device identifiers corresponding to the first device and the second device in April 2021, the time delay corresponding to April 2021
  • the target device identifier will only identify the data corresponding to the screencasting process in April 2021, and the device data at other times will not be identified (for example, the data corresponding to opening an application event in May 2021), and the cloud will not analyze the first Device and second device data for times other than April 2021. Therefore, while reducing the amount and type of data in the data analysis process, the data security and privacy of the device are improved.
  • FIG. 7 is a schematic diagram of parameters used in a cloud data analysis process provided by the embodiment of the present application.
  • the parameters include related parameters of the first device and related parameters of the second device. parameter.
  • Relevant parameters include: device type, target device identifier, start time of target validity period, end time of target validity period, time zone, valid time unit of target validity period, event name, event occurrence time and event parameters of various events.
  • FIG. 7 shows the corresponding target device identifiers of the two devices in April 2021, and the event name, event occurrence time and event parameters of the screen casting process that occurred in April 2021.
  • FIG. 7 also shows the target device identifier corresponding to the second device in May 2021 and the event name, event occurrence time and event parameters of opening a certain application that occurred in May 2021.
  • the device identifier acquisition method can determine the target validity period, and then obtain the target device identifier corresponding to the target validity period.
  • the target device identifier is valid within the target validity period, and the device identifiers corresponding to different validity periods Instead, the target device identifier is used to collect data within the validity period of the target.
  • the target device identifier is only valid within the target validity period, so the device identifiers corresponding to different validity periods are different, so that after the application obtains the target device identifier, it can only collect the data of the device within the target validity period, which reduces the cost of the target device identifier.
  • the type and quantity of data thereby improving the data security and privacy of the device.
  • the validity period may be determined based on the received acquisition request sent by the application.
  • the acquisition request may directly indicate the use purpose of the device identifier or indicate target range information, and the target range information includes a valid duration or a first valid time unit.
  • the applications running on the device need to determine the usage purpose or target range information of the device data before collecting the device data, so as to obtain the target device identifier corresponding to the corresponding target validity period. In this way, it is possible to prevent malicious applications from collecting and leaking device data.
  • the device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the embodiments of the present application may divide the device into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 8 is a block diagram of an apparatus for acquiring a device identifier provided in an embodiment of the present application.
  • the apparatus for acquiring an equipment identifier 300 may include a transceiver module 301 and a processing module 302 .
  • the apparatus for obtaining the device identifier may be a device (such as a terminal device), or may be a chip therein or other combined devices, components, etc. having the function of the apparatus for obtaining the device identifier described above.
  • the transceiver module 301 can be a transceiver, and the transceiver can include an antenna and a radio frequency circuit, etc.;
  • the processing module 302 can be a processor (or, a processing circuit), such as a baseband processor, a baseband processing
  • the processor may include one or more central processing units (central processing unit, CPU).
  • the transceiver module 301 may be a radio frequency unit;
  • the processing module 302 may be a processor (or, a processing circuit), such as a baseband processor.
  • the transceiver module 301 may be an input and output interface of a chip (such as a baseband chip); the processing module 302 may be a processor (or a processing circuit) of the chip system, and may include one or Multiple central processing units. It should be understood that the transceiver module 301 in the embodiment of the present application may be implemented by a transceiver or a transceiver-related circuit component; the processing module 302 may be implemented by a processor or a processor-related circuit component (or called a processing circuit).
  • the transceiver module 301 can be used to perform all the transceiver operations performed by the device in the embodiment shown in FIG. 2 , and/or to Other processes that support the technology described herein; the processing module 302 may be used to perform all operations performed by the device in the embodiment shown in FIG. 2 except the transceiving operation, and/or to support the technology described herein other processes.
  • the transceiver module 301 may include a sending module and/or a receiving module, respectively configured to perform the sending and receiving operations performed by the device in the embodiment shown in FIG. 2 , and in one example, the device identifier acquisition means includes :
  • the processing module is further configured to obtain a target device identifier corresponding to the target validity period, the target device identifier is valid within the target validity period, different device identifiers correspond to different validity periods, and the target device identifier is used Data collected within the validity period of the target.
  • the target validity period includes at least one of the following characters: a start time field, an expiration time field, a valid time unit field, and a valid duration field.
  • the target validity period includes any time field in the start time field and the expiration time field and the valid time unit field, and the time unit of the any time field and the valid time unit The time units indicated by the fields are the same.
  • the apparatus further includes: a transceiver module, configured to receive an acquisition request of a device identifier, the acquisition request is used to indicate target range information, and the target range information includes a valid duration or a first valid time unit;
  • the processing module is specifically configured to determine the target validity period based on the receiving time of the acquisition request and the target range information, and the time period formed by the receiving time and the target range information belongs to the target validity period.
  • the target range information includes the first valid time unit
  • the processing module is specifically configured to determine a first valid period and/or a second valid period based on the receiving time and the first valid time unit is the target validity period
  • the first validity period and the second validity period both include any time field in the start time field and the expiration time field and the valid time unit field
  • the first validity period The any time field and the valid time unit field in the period respectively indicate the receiving time and the first valid time unit
  • the any time field and the valid time unit field in the second validity period Respectively indicate the neighbor time of the receiving time and the first valid time unit, or respectively indicate the receiving time and the second valid time unit
  • the time interval between the neighbor time and the receiving time is at least one of the first valid time units a valid time unit, the second valid time unit is longer than the first valid time unit, the time unit of the receiving time in the first valid period, the time unit of the adjacent time in the second valid period
  • the time unit of the receiving time in the second validity period is the same as the first valid time unit and the same as
  • the processing module is specifically configured to determine the first valid period based on the receiving time and the first valid time unit; when the remaining valid duration in the first valid period is greater than a duration threshold, determine the The first validity period is the target validity period, and the remaining validity period is the difference between the cut-off time of the first validity period and the receiving time; when the remaining validity period is less than or equal to the duration threshold, based on the Determine the second validity period based on the receiving time and the first validity time unit, and determine the first validity period and the second validity period as the target validity period.
  • the processing module is specifically configured to generate the target device identifier according to the target validity period.
  • the processing module is specifically configured to determine a device identifier whose corresponding validity period includes the target validity period among the plurality of device identifiers as the target device identifier, and the plurality of device identifiers respectively correspond to the validity period , any two device identifiers correspond to different validity periods.
  • FIG. 9 is a schematic structural diagram of an apparatus for obtaining a device identifier provided in an embodiment of the present application.
  • the apparatus for obtaining a device identifier 400 may be a chip or a functional module in a device. As shown in FIG. 9 , the apparatus 400 for obtaining a device identifier includes a processor 401 , a transceiver 402 and a communication line 403 .
  • the processor 401 is used to execute any step performed by the device in the method embodiment shown in FIG. Operate accordingly.
  • the device identifier obtaining apparatus 400 may also include a memory 404 .
  • the processor 401 , the memory 404 and the transceiver 402 may be connected through a communication line 403 .
  • the processor 401 is a CPU, a general-purpose processor, a network processor (network processor, NP), a digital signal processor (digital signal processing, DSP), a microprocessor, a microcontroller, a programmable logic device (programmable logic device, PLD) or any combination of them.
  • the processor 401 may also be other devices with processing functions, such as circuits, devices or software modules, which are not limited.
  • the transceiver 402 is configured to communicate with other devices or other communication networks, and other communication networks may be Ethernet, radio access network (radio access network, RAN), wireless local area networks (wireless local area networks, WLAN), etc.
  • the transceiver 402 may be a module, a circuit, a transceiver or any device capable of realizing communication.
  • the transceiver 402 is mainly used for sending and receiving signals/data, and may include a transmitter and a receiver for sending and receiving signals/data respectively; operations other than sending and receiving signals/data are implemented by a processor, such as information processing, calculation, etc. .
  • the communication line 403 is used for transmitting information between the components included in the device identifier obtaining apparatus 400 .
  • the processor can be considered as the logic circuit and the transceiver as the interface circuit.
  • the memory 404 is used for storing instructions.
  • the instruction may be a computer program.
  • the memory 404 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (RAM), which acts as external cache memory.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM enhanced synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • serial link DRAM SLDRAM
  • direct memory bus random access memory direct rambus RAM, DR RAM
  • the memory 404 can also be a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or Other magnetic storage devices, etc. It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • CD-ROM compact disc read-only memory
  • optical disc storage including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.
  • magnetic disk storage medium or Other magnetic storage devices, etc.
  • the memory 404 may exist independently of the processor 401 or may be integrated with the processor 401 .
  • the memory 404 can be used to store instructions or program codes or some data, etc.
  • the memory 404 may be located in the apparatus for obtaining the device identifier 400 or outside the apparatus for obtaining the apparatus 400 without limitation.
  • the processor 401 is configured to execute instructions stored in the memory 404, so as to implement the methods provided in the above-mentioned embodiments of the present application.
  • the processor 401 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 9 .
  • the apparatus 400 for obtaining a device identifier includes multiple processors, for example, in addition to the processor 401 in FIG. 9 , it may further include a processor 407 .
  • the apparatus 400 for obtaining a device identifier further includes an output device 405 and an input device 406 .
  • the input device 406 is a device such as a keyboard, a mouse, a microphone, or a joystick
  • the output device 405 is a device such as a display screen and a speaker (speaker).
  • the device identifier obtaining apparatus 400 may be a terminal device, a network device, a relay device, an embedded device, a chip system or a device having a structure similar to that shown in FIG. 9 .
  • the composition structure shown in FIG. 9 does not constitute a limitation to the device identifier obtaining apparatus 400.
  • the device identifier obtaining apparatus 400 may include more or Fewer parts, or combining certain parts, or different parts arrangements.
  • the processors and transceivers described in this application can be implemented on integrated circuits (integrated circuits, ICs), analog ICs, radio frequency integrated circuits, mixed-signal ICs, application specific integrated circuits (ASICs), printed circuit boards (printed circuit board, PCB), electronic equipment, etc.
  • the processor and transceiver can also be fabricated using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS nMetal-oxide-semiconductor
  • PMOS P-type Metal oxide semiconductor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon german
  • the apparatus for obtaining the device identifier 400 may be any type of handheld device or fixed device, for example, a notebook computer or a laptop computer, a mobile phone, a smart phone, a tablet or a tablet computer, a camera, a desktop computer, a set-top box, a television machines, display devices, digital media players, video game consoles, video streaming devices (such as content service servers or content distribution servers), broadcast receiving devices, broadcast transmitting devices, and monitoring devices, etc., and may not use or use any type of operating system.
  • the apparatus for obtaining the device identifier 400 may also be a device in a cloud computing scenario, such as a virtual machine in a cloud computing scenario.
  • device identifier obtaining apparatus 400 may be equipped with components for wireless communication. Therefore, the device identifier obtaining apparatus 400 may be a wireless communication device. Or have the equipment of similar structure in Fig. 9.
  • the composition structure shown in FIG. 9 does not constitute a limitation to the device identifier obtaining apparatus 400.
  • the device identifier obtaining apparatus 400 may include more or Fewer parts, or combining certain parts, or different parts arrangements.
  • the apparatus for obtaining the device identifier 400 may also be a system-on-a-chip, and the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • actions, terms, etc. involved in various embodiments of the present application may refer to each other without limitation.
  • the names of messages exchanged between various devices or the names of parameters in messages are just examples, and other names may also be used in specific implementations, which are not limited.
  • the transceiver module 301 in FIG. 8 can be replaced by the transceiver 402 in FIG. 9, and the transceiver 402 can integrate the functions of the transceiver module 301;
  • the processor 407 can integrate the functions of the processing module 302.
  • the device identifier acquisition apparatus 300 shown in FIG. 8 may also include a memory (not shown in the figure).
  • the device identifier obtaining apparatus 300 shown in FIG. 8 may be the device identifier obtaining apparatus 400 shown in FIG. 9 .
  • FIG. 10 is a schematic structural diagram of another apparatus for obtaining a device identifier provided in an embodiment of the present application.
  • the apparatus for obtaining the device identifier is applicable to the scenarios shown in the foregoing method embodiments.
  • FIG. 10 only shows the main components of the device identifier acquisition device, including a processor, a memory, a control circuit, and an input and output device.
  • the processor is mainly used to process communication protocols and communication data, execute software programs, and process data of software programs.
  • Memory is primarily used to store software programs and data.
  • the control circuit is mainly used for power supply and transmission of various electrical signals.
  • the input and output device is mainly used to receive data input by the user and output data to the user.
  • the control circuit is a main board
  • the memory includes a hard disk, RAM, ROM and other media with storage functions
  • the processor may include a baseband processor and a central processing unit.
  • the baseband processor is mainly used for The communication protocol and communication data are processed.
  • the central processing unit is mainly used to control the entire network equipment, execute the software program, and process the data of the software program.
  • the input and output devices include display screen, keyboard and mouse, etc.; the control circuit can further include or connect Transceiver circuits or transceivers, such as network cable interfaces, are used to send or receive data or signals, such as data transmission and communication with other devices. Further, an antenna may also be included for transmitting and receiving wireless signals, and for performing data/signal transmission with other devices.
  • the present application also provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on the computer, the computer executes any one of the embodiments described in the present application. method.
  • the embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer or a device with information processing capabilities to execute computer programs or instructions to control related hardware.
  • the computer program or the set of instructions can be stored in the above computer-readable storage medium When the computer program or the set of instructions is executed, it may include the processes of the above-mentioned method embodiments.
  • the computer-readable storage medium may be an internal storage unit of the device in any of the foregoing embodiments, such as a hard disk or memory of the device.
  • the above-mentioned computer-readable storage medium may also be an external storage device of the above-mentioned device, such as a plug-in hard disk equipped on the above-mentioned device, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash memory card (flash card) etc. Further, the above-mentioned computer-readable storage medium may also include both an internal storage unit of the above-mentioned device and an external storage device.
  • the above-mentioned computer-readable storage medium is used to store the above-mentioned computer programs or instructions and other programs and data required by the above-mentioned devices.
  • the computer-readable storage medium described above can also be used to temporarily store data that has been output or will be output.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (personal computer, server, or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种设备标识符获取方法及装置,本申请的设备标识符获取方法包括:确定目标有效期;获取对应所述目标有效期的目标设备标识符,所述目标设备标识符在所述目标有效期内有效,不同有效期对应的设备标识符不同,所述目标设备标识符用于采集所述目标有效期内的数据。本申请可以减小目标设备标识符标识的数据的种类和数量,从而提高设备的数据安全性和隐私性。

Description

设备标识符获取方法及装置
本申请要求于2021年10月22日提交中国专利局、申请号为202111232300.9、申请名称为“设备标识符获取方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及网络技术领域,尤其涉及一种设备标识符获取方法及装置。
背景技术
通信在设备的数据采集和数据处理等数据分析场景中,设备的数据(例如基于设备的应用、服务和系统的数据)通常包括较多的敏感信息,如用户身份证号、电话、地址、信用卡号码等,一旦发生泄密,将造成不必要的损失和危害。为了避免敏感信息的泄露,通常对设备的数据进行脱敏处理,以保证数据的安全性。
设备标识符用于标识设备的数据,通过设备标识符能够实现对设备的数据的获取,并且能够识别数据中的敏感信息,因此设备标识符对于数据的安全性尤为重要。但是目前的各种设备标识符的安全性均较低,导致数据的泄露风险较大。
因此亟需一种保证数据安全性以及减小数据泄露风险的设备标识符。
发明内容
本申请提供一种设备标识符获取方法及装置,减小了目标设备标识符标识的数据的种类和数量,从而提高了设备的数据安全性和隐私性。
第一方面,本申请提供一种设备标识符获取方法,所述方法包括:确定目标有效期;获取对应所述目标有效期的目标设备标识符,所述目标设备标识符在所述目标有效期内有效,不同有效期对应的设备标识符不同,所述目标设备标识符用于采集所述目标有效期内的数据。
该方法中,目标设备标识符仅在目标有效期内有效,因此不同有效期对应的设备标识符不同,使得应用在获取到目标设备标识符后只能采集目标有效期内设备的数据,减小了目标设备标识符标识的数据的种类和数量,从而提高了设备的数据安全性和隐私性。
在一种可能的实现方式中,所述目标有效期包括以下至少一种字符:起始时间字段、截止时间字段、有效时间单位字段、有效时长字段。
在一种可能的实现方式中,所述目标有效期包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段,所述任一时间字段的时间单位和所述有效时间单位字段所指示的时间单位相同。
其中,起始时间字段用于指示目标有效期的起始时间,该起始时间可以为获取请求的接收时间。截止时间字段用于指示目标有效期的截止时间,可以将接收时间作为起始时间,根据接收时间和目标范围信息得到截止时间。有效时间单位字段所指示的有效时间单位可 以基于目标范围信息中的第一有效时间单位得到,有效时长字段用于指示目标有效期的持续时长,该持续时长可以大于或等于目标范围信息中的有效时长。
在一种可能的实现方式中,所述确定目标有效期,包括:接收设备标识符的获取请求,所述获取请求用于指示目标范围信息,所述目标范围信息包括有效时长或第一有效时间单位;基于所述获取请求的接收时间和所述目标范围信息,确定所述目标有效期,所述接收时间和所述目标范围信息组成的时间段属于所述目标有效期。
获取请求可以是任一应用所运行的设备发送的,例如是任一应用所运行的设备在数据采集事件发生时发送的。任一应用所运行的设备可以与接收获取请求的设备相同或不同,即任一应用所运行的设备与接收获取请求的设备为分布式设备组网场景中的两个设备。
获取请求指示目标范围信息的方式有多种。在一种实现方式中,获取请求可以直接指示目标范围信息。在另一种实现方式中,获取请求可以直接指示设备标识符的使用目的。设备根据获取请求确定使用目的,之后基于使用目的确定目标范围信息。设备可以根据使用目的确定数据获取过程所需的时长,根据该时长确定目标范围信息。
设备中可以预先存储有多种使用目的与多个范围信息的对应关系,在接收到获取请求后,基于该对应关系将获取请求所指示的使用目的对应的范围信息确定为目标范围信息。可选地,获取请求中可以携带有目的字符串,该目的字符串用于指示使用目的。设备中可以存储有多个目的字符串与多个范围信息的对应关系。
接收时间可以为绝对时间或相对时间。示例地,当接收时间为绝对时间时,其可以是接收到获取请求的时间。当接收时间为相对时间时,其可以是接收到获取请求的时间与参考时间的相对时间,即先确定接收到获取请求的时间与参考时间的间隔,之后以参考时间为起始,将经过间隔后的时间确定为接收时间。
在一种可能的实现方式中,所述目标范围信息包括所述第一有效时间单位,所述基于所述获取请求的接收时间和所述目标范围信息,确定所述目标有效期,包括:基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,所述第一有效期和所述第二有效期均包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段;所述第一有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间和所述第一有效时间单位;所述第二有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间的近邻时间和所述第一有效时间单位,或者分别指示所述接收时间和第二有效时间单位;所述近邻时间与所述接收时间的时间间隔为至少一个所述第一有效时间单位,所述第二有效时间单位长于所述第一有效时间单位,所述第一有效期中的所述接收时间的时间单位、所述第二有效期中的所述近邻时间的时间单位与所述第一有效时间单位相同,所述第二有效期中的所述接收时间的时间单位与所述第二有效时间单位相同。
在一种可能的实现方式中,所述基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,包括:基于所述接收时间和所述第一有效时间单位确定所述第一有效期;当所述第一有效期中的剩余有效时长大于时长阈值时,确定所述第一有效期为所述目标有效期,所述剩余有效时长为所述第一有效期的截止时间与所述接收时间的差值;当所述剩余有效时长小于或等于所述时长阈值时,基于所述接收时间和所述第一有效时间单位确定所述第二有效期,并确定所述第一有效期和所述第二有效期 为所述目标有效期。
当第一有效期的剩余有效时长小于或等于时长阈值时,会导致数据获取过程的时长过短,获取到的数据数量和种类均较少,进而出现无法达到使用目的的情况。因此当第一有效期的剩余有效时长,可以确定第二有效期,增加目标有效期的剩余有效时长,这样可以获取到足够数量和种类的数据,保证了使用目的的实现。
在一种可能的实现方式中,所述获取对应所述目标有效期的目标设备标识符,包括:根据所述目标有效期生成所述目标设备标识符。
设备可以根据目标有效期获取目标设备标识符信息,该目标设备标识符信息包括用于指示目标设备标识符的字段和用于指示目标有效期的字段。可选地,该目标设备标识符信息还可以包括时区字段,时区字段用于指示目标有效期中包括的任一时间字段所指示的时间对应的时区。
设备可以获取设备的硬件信息,之后根据硬件信息和目标有效期生成目标设备标识符,再生成目标设备标识符信息,以使目标设备标识符和目标有效期对应。可选地,设备可以利用哈希算法对硬件信息与目标有效期中的部分或全部字段进行哈希处理得到目标设备标识符。
在一种可能的实现方式中,所述获取对应所述目标有效期的目标设备标识符,包括:将多个设备标识符中对应的有效期包括所述目标有效期的设备标识符确定为所述目标设备标识符,所述多个设备标识符分别对应有效期,任意两个设备标识符对应的有效期不同。设备可以自行确定目标有效期,之后预先生成对应多个有效期的设备标识符。
第二方面,本申请提供一种设备标识符获取装置,所述装置包括:处理模块,用于确定目标有效期;所述处理模块,还用于获取对应所述目标有效期的目标设备标识符,所述目标设备标识符在所述目标有效期内有效,不同有效期对应的设备标识符不同,所述目标设备标识符用于采集所述目标有效期内的数据。
在一种可能的实现方式中,所述目标有效期包括以下至少一种字符:起始时间字段、截止时间字段、有效时间单位字段、有效时长字段。
在一种可能的实现方式中,所述目标有效期包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段,所述任一时间字段的时间单位和所述有效时间单位字段所指示的时间单位相同。
在一种可能的实现方式中,所述装置还包括:收发模块,用于接收设备标识符的获取请求,所述获取请求用于指示目标范围信息,所述目标范围信息包括有效时长或第一有效时间单位;所述处理模块,具体用于基于所述获取请求的接收时间和所述目标范围信息,确定所述目标有效期,所述接收时间和所述目标范围信息组成的时间段属于所述目标有效期。
在一种可能的实现方式中,所述目标范围信息包括所述第一有效时间单位,所述处理模块,具体用于基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,所述第一有效期和所述第二有效期均包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段;所述第一有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间和所述第一有效时间单位;所述第二有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间 的近邻时间和所述第一有效时间单位,或者分别指示所述接收时间和第二有效时间单位;所述近邻时间与所述接收时间的时间间隔为至少一个所述第一有效时间单位,所述第二有效时间单位长于所述第一有效时间单位,所述第一有效期中的所述接收时间的时间单位、所述第二有效期中的所述近邻时间的时间单位与所述第一有效时间单位相同,所述第二有效期中的所述接收时间的时间单位与所述第二有效时间单位相同。
在一种可能的实现方式中,所述处理模块,具体用于基于所述接收时间和所述第一有效时间单位确定所述第一有效期;当所述第一有效期中的剩余有效时长大于时长阈值时,确定所述第一有效期为所述目标有效期,所述剩余有效时长为所述第一有效期的截止时间与所述接收时间的差值;当所述剩余有效时长小于或等于所述时长阈值时,基于所述接收时间和所述第一有效时间单位确定所述第二有效期,并确定所述第一有效期和所述第二有效期为所述目标有效期。
在一种可能的实现方式中,所述处理模块,具体用于根据所述目标有效期生成所述目标设备标识符。
在一种可能的实现方式中,所述处理模块,具体用于将多个设备标识符中对应的有效期包括所述目标有效期的设备标识符确定为所述目标设备标识符,所述多个设备标识符分别对应有效期,任意两个设备标识符对应的有效期不同。
第三方面,本申请提供一种设备标识符获取装置,包括:一个或多个处理器;存储器,用于存储一个或多个计算机程序或指令;当所述一个或多个计算机程序或指令被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面中任一项所述的方法。
第四方面,本申请提供一种设备标识符获取装置,包括:处理器,所述处理器用于执行如第一方面中任一项所述的方法。
第五方面,本申请提供一种计算机可读存储介质,包括计算机程序或指令,所述计算机程序或指令在计算机上被执行时,使得所述计算机执行第一方面中任一项所述的方法。
第六方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面中任一项所述的方法。
附图说明
图1为本申请实施例提供的一种设备的框架示意图;
图2为本申请实施例提供的一种设备标识符获取方法的流程示意图;
图3为本申请实施例提供的一种使用目的与目标范围信息的示意图;
图4为本申请实施例提供的一种目标有效期的确定过程示意图;
图5为本申请实施例提供的一种目标设备标识符信息的生成过程示意图;
图6为本申请实施例提供的一种第一设备和云端之间的交互示意图;
图7为本申请实施例提供的一种云端的数据分析过程所用到的参数示意图;
图8为本申请实施例提供的一种设备标识符获取装置的框图;
图9为本申请实施例提供的一种设备标识符获取装置的结构示意图;
图10为本申请实施例提供的另一种设备标识符获取装置的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
本申请实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一范围和第二范围等是用于区别不同的范围,而不是用于描述范围的特定顺序。
在本申请实施例中,“在一种示例中”、“示例地”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“在一种示例中”、“示例地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“在一种示例中”、“示例地”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“至少一个”的含义是指一个或多个,“多个”的含义是指两个或两个以上。例如,多个处理单元是指两个或两个以上的处理单元;多个系统是指两个或两个以上的系统。
在用户行为分析、故障分析以及大数据统计等数据分析场景中,设备标识符用于标识设备的数据,通过设备标识符能够实现对设备的数据的获取,并且能够识别数据中的敏感信息。
本申请实施例中,设备可以为终端设备。例如可以包括:接入终端、终端单元、终端站、移动站、移动台、远方站、远程终端、移动设备、无线通信设备、终端代理以及终端装置等。接入终端可以包括:蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备、连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,第五代移动通信技术(5th Generation Mobile Communication Technology,5G)网络中的终端设备或者演进的公共陆地移动网(Public Land Mobile Network,PLMN)中的终端设备等。
目前的设备标识符通常包括:国际移动设备识别码(International Mobile Equipment Identity,IMEI)、序列号(Serial Number,SN)、移动设备识别码(Mobile Equipment Identifier,MEID)、设备唯一标识符(Unique Device Identifier,UDID)、匿名设备标识符(Open Anonymous Device Identifier,OAID)、安卓身份标识号(Android Identity document,AndroidId)、开放设备标识符(Open Device Identifier,ODID)和通用唯一识别码(Universally Unique Identifier,uuid)。
现有的设备标识符通常固定不变,且为了保证设备的数据安全性,设备对于设备标识符获取权限的管理较为严格。设备标识符固定不变会导致设备标识符所标识的数据的种类和数量均逐渐增加,从而导致设备被追踪的可能性较大且设备的数据安全性较低,设备的数据泄露风险较大。设备标识符获取权限的管理较为严格会提高设备标识符的获取难度 (例如部分应用获取设备标识符的难度),从而影响部分数据分析过程的正常进行。
进一步地,对于可以实现跨设备的应用体验的分布式设备组网场景,需要获取该组网场景中多个设备的设备标识符,根据多个设备的设备标识符能够获取到多个设备的数据,导致获取到的数据量增大,从而导致多个设备的数据安全性均较低。
目前亟需一种保证数据安全性以及减小数据泄露风险的设备标识符。相关技术中,设备采集可识别的设备标识,并向服务端发送该设备标识。服务端将接收到的设备标识通过预设算法转化成不可逆的设备标识符,并向设备发送该设备标识符。设备将设备标识符存储至不可更新存储区域。该过程中服务端存储有原始的设备标识,因此可以从服务端获取到原始的设备标识,从而获取到设备的数据,导致设备的数据安全性较低。此外,服务端生成设备标识符的过程需要在联网环境下进行,当处于无联网环境时,服务端无法生成设备标识符,因此相关技术的适用性较差。
本申请实施例提供了一种设备标识符获取方法,该设备标识符获取方法可以应用于前述设备,例如可以应用于第一设备。当设备标识符获取方法应用于第一设备时,该方法可以由第一设备中的不同模块执行。请参考图1,图1为本申请实施例提供的一种设备的框架示意图,图1示出了第一设备和运行在第一设备上的多个应用(包括应用A、应用B和应用C)。其中,第一设备包括数据采集模块101、设备标识符生成模块102和设备标识符管理模块103。以下以图1为例对该方法进行说明。
请参考图2,图2为本申请实施例提供的一种设备标识符获取方法的流程示意图,该方法应用于前述第一设备(例如图1所示的第一设备)。该方法可以包括以下过程:
201、接收设备标识符的获取请求,该获取请求用于指示目标范围信息,目标范围信息包括有效时长或第一有效时间单位。
该获取请求可以是任一应用所运行的设备发送的,例如是任一应用所运行的设备在数据采集事件发生时发送的。任一应用所运行的设备可以与接收获取请求的设备相同或不同,例如可以为第一设备或第二设备。当任一应用所运行的设备与接收获取请求的设备不同时,该两个设备即为分布式设备组网场景中的两个设备。
获取请求指示目标范围信息的方式有多种。在一种实现方式中,获取请求可以直接指示设备标识符的使用目的,该使用目的可以是任一应用所运行的设备基于数据采集事件确定的。设备根据获取请求确定使用目的,之后基于使用目的确定目标范围信息。设备可以根据使用目的确定数据获取过程所需的时长,根据该时长确定目标范围信息。时长越长确定的目标范围信息中的有效时长越长或有效时间单位越大;时长越短确定的目标范围信息中的有效时长越短或有效时间单位越小。
其中,有效时间单位可以包括以下至少一种:年、季度、月、日、时、分、秒等。有效时长的时间单位可以参考有效时间单位,本申请实施例在此不做赘述。
设备中可以预先存储有多种使用目的与多个范围信息的对应关系,在接收到获取请求后,基于该对应关系将获取请求所指示的使用目的对应的范围信息确定为目标范围信息。可选地,获取请求中可以携带有目的字符串,该目的字符串用于指示使用目的。设备中可以存储有多个目的字符串与多个范围信息的对应关系。其中,目的字符串的类型可以包括文本字符串、符号串和二进制数字串等,例如目的字符串可以为多位数的编码,本申请实施例对此不做限定。
示例地,使用目的可以包括以下至少一种:定位单点故障、定位应用性能卡顿、丢帧以及不流畅等故障、统计应用用户行为(例如新开发的应用页面需要统计月活、周活或日活)、对部分器件进行损耗分析(例如对电池进行损耗分析)。单点故障可以包括发生了可靠性的应用程序无响应(Application Not Response,ANR)、宕机(Crash)以及Tombstone问题,Tombstone是一种文件,其用于记录单点故障的故障信息,故障信息包括应用程序的基本信息、Crash的发生地址以及Crash发生时的堆栈调用信息等。定位单点故障、定位应用性能卡顿、丢帧以及不流畅等故障、统计应用用户行为以及对部分器件进行损耗分析这四种使用目的所需的数据获取过程的时长逐渐递增。
示例地,请参考图3,图3为本申请实施例提供的一种使用目的与目标范围信息的示意图,图3以目标范围信息包括第一有效时间单位为例进行说明。如图3所示,数据采集模块在数据采集事件发生时,发送获取请求,之后根据获取请求确定使用目的。图3示出了前述四种使用目的,当使用目的为定位单点故障时确定第一有效时间单位为时,当使用目的为定位应用性能卡顿、丢帧以及不流畅等故障时确定第一有效时间单位为天,当使用目的为统计应用用户行为时确定第一有效时间单位为月,当使用目的为对部分器件进行损耗分析时确定第一有效时间单位为年。
需要说明的是,前述使用目的以及对应的目标范围信息仅为示例性说明,并不构成对使用目的和目标范围信息的限定。只要保证基于使用目的确定的目标范围信息的时长,与该使用目的对应的数据获取过程所需的时长的差值绝对值小于差值阈值即可。例如目标范围信息包括有效时长,定位单点故障对应的有效时长可以为50分、1小时以及2小时15分等。定位应用性能卡顿、丢帧以及不流畅等故障对应的有效时长可以为22小时、1天以及1天2小时等。统计应用用户行为对应的有效时长可以为29天、1个月以及2个月3天等。对部分器件进行损耗分析对应的有效时长可以为300天、1年以及2年18天等。
在另一种实现方式中,获取请求可以直接指示目标范围信息。任一应用所运行的设备可以根据数据采集事件确定使用目的,进一步根据使用目的确定目标范围信息,该确定目标范围信息的过程可以参考上述第一种实现方式,本申请实施例在此不做赘述。
该过程201可以由图1中的设备标识符管理模块103执行。图1还示出了第二设备以及运行在第二设备上的应用(包括应用D),第一设备与第二设备均为分布式设备组网场景中的两个设备,第二设备包括分布式通信模块104,分布式通信模块104与第一设备的数据采集模块102建立通信连接。获取请求可以是应用A至应用D中的任一应用调用所运行的设备中的相应模块向设备标识符管理模块103发送的。示例地,对于应用A至应用C中的任一应用,在数据采集事件发生时可以调用数据采集模块101向设备标识符管理模块103发送获取请求。对于应用D,在数据采集事件发生时可以调用分布式通信模块104向数据采集模块101发送指示信息,数据采集模块101根据接收到的指示信息确定应用D发生了数据采集事件,之后基于该数据采集事件向设备标识符管理模块103发送获取请求。
202、基于获取请求的接收时间和目标范围信息,确定目标有效期,接收时间和目标范围信息组成的时间段属于目标有效期。
该过程可以由图1所示的设备标识符管理模块103执行。接收时间可以为绝对时间或相对时间。示例地,当接收时间为绝对时间时,其可以是接收到获取请求的时间。当接收时间为相对时间时,其可以是接收到获取请求的时间与参考时间的相对时间,即先确定接 收到获取请求的时间与参考时间的间隔,之后以参考时间为起始,将经过间隔后的时间确定为接收时间。例如,参考时间可以为1971年1月1日00:00:00。接收到获取请求的时间对应的时区可以为24个时区中的任一个,例如可以为东八区(即北京时间)。
目标有效期可以包括以下至少一种字符:起始时间字段、截止时间字段、有效时间单位字段、有效时长字段。当目标有效期包括起始时间字段和截止时间字段中的任一时间字段以及有效时间单位字段时,任一时间字段的时间单位和有效时间单位字段所指示的时间单位相同。
可选地,目标有效期可以包括起始时间字段和截止时间字段,或者包括起始时间字段和截止时间字段中的任一个,以及有效时间单位字段和有效时长字段中的任一个,只要能够基于包括的字符得到一个时间段即可,本申请实施例对此不做限定。
其中,起始时间字段用于指示目标有效期的起始时间,该起始时间可以为获取请求的接收时间。截止时间字段用于指示目标有效期的截止时间,可以将接收时间作为起始时间,根据接收时间和目标范围信息得到截止时间。有效时间单位字段所指示的有效时间单位可以基于目标范围信息中的第一有效时间单位得到,有效时长字段用于指示目标有效期的持续时长,该持续时长可以大于或等于目标范围信息中的有效时长。
当目标范围信息包括第一有效时间单位时,可以确定有效时间单位字段所指示的内容,进而确定包括起始时间字段和截止时间字段中的任一时间字段以及有效时间单位字段的目标有效期。
可选地,可以基于接收时间和第一有效时间单位,确定第一有效期和/或第二有效期为目标有效期。第一有效期和第二有效期均包括起始时间字段和截止时间字段中的任一时间字段以及有效时间单位字段。第一有效期中的任一时间字段和有效时间单位字段分别指示接收时间和第一有效时间单位。第二有效期中的任一时间字段和有效时间单位字段分别指示接收时间的近邻时间和第一有效时间单位,或者分别指示接收时间和第二有效时间单位。近邻时间与接收时间的时间间隔为至少一个第一有效时间单位,第二有效时间单位长于第一有效时间单位。第一有效期中的接收时间的时间单位、第二有效期中的近邻时间的时间单位与第一有效时间单位相同,第二有效期中的接收时间的时间单位与第二有效时间单位相同。本申请实施例中,第二有效期的数量可以为一个或多个。
示例地,假设第一有效时间单位为日,接收时间为2021年12月18日15时,则第一有效期中,有效时间单位字段指示日,任一时间字段指示2021年12月18日,即第一有效期为2021年12月18日。在一种示例下,第二有效期中的任一时间字段和有效时间单位字段分别指示接收时间的近邻时间和第一有效时间单位。则第二有效期中,有效时间单位字段指示日,任一时间字段指示2021年12月16日、2021年12月17日、2021年12月19日或2021年12月20日等,即第二有效期为2021年12月16日、2021年12月17日、2021年12月19日或2021年12月20日。在另一种示例下,第二有效期中的任一时间字段和有效时间单位字段分别指示接收时间和第二有效时间单位。第二有效时间单位长于第一有效时间单位,第二有效时间单位可以为周、月、季度或年等,相应地,第二有效期中,任一时间字段指示2021年51周、2021年12月、2021年4季度或2021年等,即第二有效期为2021年51周、2021年12月、2021年4季度或2021年等。
可选地,可以基于接收时间和第一有效时间单位确定第一有效期。之后当第一有效期 中的剩余有效时长大于时长阈值时,确定所第一有效期为目标有效期。当剩余有效时长小于或等于时长阈值时,基于接收时间和第一有效时间单位确定第二有效期,并确定第一有效期和第二有效期为目标有效期。剩余有效时长为第一有效期的截止时间与接收时间的差值。
当第一有效期的剩余有效时长小于或等于时长阈值时,会导致数据获取过程的时长过短,获取到的数据数量和种类均较少,进而出现无法达到使用目的的情况。因此当第一有效期的剩余有效时长,可以确定第二有效期,增加目标有效期的剩余有效时长,这样可以获取到足够数量和种类的数据,保证了使用目的的实现。时长阈值的时间单位可以短于或等于第一有效期中的有效时间单位字段所指示的时间单位。
示例地,请参考图4,图4为本申请实施例提供的一种目标有效期的确定过程示意图,图4示出了数据采集模块101和设备标识符管理模块103,且图4以使用目的为定位单点故障为例进行说明。定位单点故障对应的第一有效时间单位为日,假设时长阈值为0.5时,数据采集模块101在数据采集行为发生时向设备标识符管理模块103发送获取请求,获取请求的接收时间为2021年4月5日23时58分。此时确定的第一有效期为2021年4月5日,第一有效期的剩余有效时长为2分,剩余有效时长小于0.5时,因此可以确定第二有效期。图4以第二有效期的任一时间字段和有效时间单位字段分别指示接收时间的近邻时间和第一有效时间单位为例,且示出了三个第二有效期,该三个第二有效期分别为2021年4月6日、2021年4月7日和2021年4月8日。
需要说明的是,对于第一有效期或第二有效期,由于任一时间字段的时间单位和有效时间单位字段相同,因此起始字符和截止时间字段所指示的内容是一样的,即均指示接收时间。例如对于第一有效期,假设接收时间为2021年12月18日15时,第一有效时间单位为日,则起始时间字段串和截止时间字段串所指示的内容均为2021年12月15日。
对于目标有效期的截止时间字段,当目标范围信息包括有效时长时,可以将从接收时间开始经过有效时长之后的时间确定为截止时间字段所指示的截止时间。当目标范围信息包括第一有效时间单位时,可以将第一有效时间单位作为接收时间的时间单位,以确定截止时间。示例地,假设有效时长为20天,接收时间为2021年4月1日,则可以将2021年4月20日确定为截止时间。假设第一有效单位为月,则将接收时间所在的月的最后一天确定为截止时间,例如假设接收时间为2021年4月7日,则将2021年4月30日确定为截止时间。假设第一有效单位为年,则将接收时间所在的年的最后一天确定为截止时间,例如假设接收时间为2021年4月7日,则将2021年12月31日确定为截止时间。
对于目标有效期的有效时长字段,当目标范围信息包括有效时长时,可以将大于或等于目标范围信息中的有效时长的时长确定为有效时长字段所指示的内容。当目标范围信息包括第一有效时间单位时,可以将第一有效时间单位作为接收时间的时间单位,以确定有效时长字段所指示的内容。示例地,假设有效时长为20天,则可以将20天、21天或22天等确定为有效时长字段所指示的内容。假设第一有效单位为月,接收时间为2021年4月8日,则可以将2021年4月中从2021年4月8日开始至2021年4月的最后一天结束的时长确定为有效时长字段所指示的内容,即将23天确定为有效时长字段所指示的内容。
目标有效期中各个字段的格式有多种,示例地,以目标有效期包括起始时间字段或截止时间字段中的任一时间字段以及有效时间单位字段为例,假设任一时间字段所指示的时 间为2021年4月1日15时,有效时间单位字段为年、月、周、日或时,相应地,任一时间字段指示的内容可以表示为2021、202104、202114、20210401或2021040115。
203、获取对应目标有效期的目标设备标识符,目标设备标识符在目标有效期内有效,不同有效期对应的设备标识符不同,目标设备标识符用于采集目标有效期内的数据。
设备可以根据目标有效期获取目标设备标识符信息,该目标设备标识符信息包括用于指示目标设备标识符(也可称为目标UDID)的字段和用于指示目标有效期的字段。可选地,该目标设备标识符信息还可以包括时区字段,时区字段用于指示目标有效期中包括的任一时间字段所指示的时间对应的时区。
获取目标设备标识符的方式有两种,第一种获取方式是直接根据目标有效期生成目标设备标识符。第二种获取方式是从已有的设备标识符中获取目标设备标识符,示例地,可以将多个设备标识符中对应的有效期包括目标有效期的设备标识符确定为目标设备标识符,多个设备标识符分别对应有效期,任意两个设备标识符对应的有效期不同。
设备可以根据目标有效期判断是否存在对应的有效期包括目标有效期的设备标识符,该过程可以由设备标识符管理模块103执行。当存在包括目标有效期的设备标识符时,可以将对应的有效期包括目标有效期的设备标识符获取为目标设备标识符,该过程可以由设备标识符管理模块103执行。也可以重新生成目标设备标识符,设备标识符管理模块103可以调用设备标识符生成模块102重新生成目标设备标识符。当不存在包括目标有效期的设备标识符时,可以直接生成目标设备标识符。设备标识符管理模块103可以调用设备标识符生成模块102直接生成目标设备标识符。
对于设备生成目标设备标识符的过程,设备可以获取设备的硬件信息,之后根据硬件信息和目标有效期生成目标设备标识符,再生成目标设备标识符信息,以使目标设备标识符和目标有效期对应。可选地,设备可以利用哈希算法对硬件信息与目标有效期中的部分或全部字段进行哈希处理得到目标设备标识符。哈希算法可以包括哈希安全散列算法(Secure Hash Algorithm,sha),例如哈希sha256。硬件信息包括以下至少一种:SN、嵌入式多媒体卡ID(Embedded Multi Media Card ID,emmcid)、无线保真媒体存取控制位址(Wireless Fidelity Media Access Control Address,WifiMac)、蓝牙Mac(BluetoothMac)。
示例地,请参考图5,图5为本申请实施例提供的一种目标设备标识符信息的生成过程示意图。图5以目标有效期包括起始时间字段以及有效时间单位字段,且起始时间字段指示20210401为例进行说明。设备将SN、emmcid、WifiMac、BluetoothMac以及20210401经过哈希sha256得到目标设备标识符。之后将目标设备标识符、时区字段、起始时间字段(20210401)和有效时间单位字段进行拼接,得到目标设备标识符信息。
对于设备从已有的设备标识符中获取目标设备标识符的过程,设备可以预先生成对应多个有效期的设备标识符,该过程可以参考前述描述,本申请实施例在此不做赘述。设备在预先生成对应多个有效期的设备标识符时,设备可以自行确定目标有效期。假设目标有效期包括有效时间单位字段,设备可以确定多个起始时间和每个起始时间对应的多个有效时间单位,之后确定多个目标有效期,每个目标有效期包括多个起始时间中的一个起始时间和该一个起始时间对应的一个有效时间单位。
需要说明的是,当目标有效期包括以下至少一种字段:起始时间字段、截止时间字段、有效时长字段时,若已有的设备标识符对应的有效期中仅包括目标有效期中的一段时间, 时,设备可以重新生成对应目标有效期的目标设备标识符,也可以生成对应目标有效期中除一段时间之外的时间对应的目标设备标识符,本申请实施例对此不做限定。
设备在获取目标设备标识符后,可以向发送获取请求的应用发送目标设备标识符信息。发送获取请求的应用运行的设备可以为第一设备或第二设备,即本申请实施例中第二设备运行的应用也可以请求第一设备的目标设备标识符。
当目标有效期包括有效时间单位字段时,目标设备标识符可以包括时有效设备标识符、日有效设备标识符、月有效设备标识符以及年有效设备标识符等。如前述过程202所述,对应不同的使用目的,发送的目标设备标识符不同。如前述图3所示,图3还示出了不同使用目的所对应的目标设备标识符。其中,定位单点故障对应时有效目标设备标识符,定位应用性能卡顿、丢帧以及不流畅等故障对应日有效目标设备标识符,统计应用用户行为对应月有效目标设备标识符,对部分器件进行损耗分析对应年有效目标设备标识符。
此外,当目标有效期包括有效时间单位字段且目标有效期的数量为多个时,例如前述第一有效期和第二有效期,对应的目标设备标识符的数量也为多个。如前述图4所示,图4还示出了第一有效期和三个第二有效期分别对应的目标设备标识符UDID0至UDID3。UDID0至UDID3分别为2021年4月5日有效设备标识符、2021年4月6日有效设备标识符、2021年4月7日有效设备标识符和2021年4月8日有效设备标识符。因此本申请实施例中,若当前第一有效期对应的目标设备标识符的剩余有效时长过短时,可以获取第二有效期对应的设备标识符,以保证使用目的能够实现。
当目标有效期包括有效时间单位字段时,设备标识符管理模块103可以按照各种时间单位对已生成的设备标识符进行分类管理,使得能够快速判断是否存在对应的有效期包括目标有效期的设备标识符,提高了目标设备标识符的获取效率。
本申请实施例中,第一设备还可以将获取的目标设备标识符信息上报至云端,云端对目标设备标识符信息进行解析,得到目标设备标识符信息中各个字段所指示的内容,并存储解析得到的内容。云端可以根据存储的目标设备标识符信息中各个字段所指示的内容获取设备的数据,并对设备的数据进行分析。
示例地,请参考图6,图6为本申请实施例提供的一种第一设备和云端之间的交互示意图。图6示出了第一设备和云端,云端包括服务器、存储模块和数据分析模块。第一设备向云端发送目标设备标识符信息,服务器对目标设备标识符信息进行解析得到目标设备标识符信息中的各个字段所指示的内容,并将各个字段所指示的内容存储至存储模块。之后数据分析模块可以利用存储模块中存储的目标设备标识符信息中的各个字段所指示的内容,进行数据分析。示例地,数据分析可以包括:电池老化分析、可靠性分析以及用户行为分析等。
以下以一种数据分析场景为例对云端的数据分析过程进行说明,该数据分析场景为云端分析2021年4月第一设备(例如手机)投屏至第二设备(例如电视)的时延。第一设备可以获取并向云端发送第一设备和第二设备的2021年4月对应的目标设备标识符,第二设备可以获取并向云端发送第二设备的2021年4月对应的目标设备标识符。云端基于第一设备发送的第一设备和第二设备的2021年4月对应的目标设备标识符,将第一设备和第二设备的2021年4月对应的目标设备标识符关联,以确定第一设备的投屏对象。在2021年4月进行的投屏过程中,第一设备向第二设备发送投屏请求并同时向云端发送投 屏事件。第二设备接收投屏请求并同时向云端发送接收投屏事件。之后第一设备向第二设备发送投屏数据流,第二设备读取投屏数据流并同时向云端发送读取数据流事件。
需要说明的是,第二设备也会向云端发送其他时间对应的目标设备标识符以及在其他时间发生的事件。例如第二设备可以获取并向云端发送第二设备的2021年5月对应的目标设备标识符。并在2021年5月接收到打开某一应用(例如视频应用)的指令时,打开某一应用并同时向云端发送打开某一应用事件。
这样云端在根据第一设备和第二设备的2021年4月对应的目标设备标识符,对2021年4月第一设备投屏至第二设备的时延进行分析时,2021年4月对应的目标设备标识符仅会标识2021年4月投屏过程对应的数据,其他时间设备的数据不会被标识(例如2021年5月打开某一应用事件对应的数据),云端也不会分析第一设备和第二设备在2021年4月之外的时间的数据。从而在减小了数据分析过程中数据的数量和种类的同时,提高了设备的数据安全性和隐私性。
示例地,请参考图7,图7为本申请实施例提供的一种云端的数据分析过程所用到的参数示意图,如图7所示,参数包括第一设备的相关参数和第二设备的相关参数。相关参数包括:设备类型、目标设备标识符、目标有效期起始时间、目标有效期截止时间、时区、目标有效期的有效时间单位,以及各种事件的事件名称、事件发生时间和事件参数。图7示出了两个设备的2021年4月对应的目标设备标识符以及在2021年4月发生的投屏过程的事件名称、事件发生时间和事件参数。且图7还示出了第二设备的2021年5月对应的目标设备标识符以及在2021年5月发生的打开某一应用事件名称、事件发生时间和事件参数。
综上所述,本申请实施例提供的设备标识符获取方法,可以确定目标有效期,之后获取对应目标有效期的目标设备标识符,目标设备标识符在目标有效期内有效,不同有效期对应的设备标识符不同,目标设备标识符用于采集目标有效期内的数据。目标设备标识符仅在目标有效期内有效,因此不同有效期对应的设备标识符不同,使得应用在获取到目标设备标识符后只能采集目标有效期内设备的数据,减小了目标设备标识符标识的数据的种类和数量,从而提高了设备的数据安全性和隐私性。
此外,可以基于接收到的应用发送的获取请求确定有效期。获取请求可以直接指示设备标识符的使用目的或者指示目标范围信息,目标范围信息包括有效时长或第一有效时间单位。这样可以使得设备上运行的应用在采集设备的数据之前均需要确定设备的数据的使用目的或目标范围信息,以获取相应目标有效期对应的目标设备标识符。从而避免恶意应用采集并泄露设备的数据的情况出现。
本申请实施例提供的方法的先后顺序可以进行适当调整,过程也可以根据情况进行相应增减。例如前述过程101和102也可以不执行,而是直接确定目标有效期。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,本申请实施例对此不做限定。
上述主要从设备的角度对本申请实施例提供的设备标识符获取方法进行了介绍。可以理解的是,设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算 机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图8为本申请实施例提供的一种设备标识符获取装置的框图,在采用对应各个功能划分各个功能模块的情况下,设备标识符获取装置300可以包括收发模块301和处理模块302。示例性地,该设备标识符获取装置可以是设备(例如终端设备),也可以是其中的芯片或者其他具有上述设备标识符获取装置功能的组合器件、部件等。当该设备标识符获取装置是设备时,收发模块301可以是收发器,收发器可以包括天线和射频电路等;处理模块302可以是处理器(或者,处理电路),例如基带处理器,基带处理器中可以包括一个或多个中央处理器(central processing unit,CPU)。当该设备标识符获取装置是具有上述功能的器件或部件时,收发模块301可以是射频单元;处理模块302可以是处理器(或者,处理电路),例如基带处理器。当该设备标识符获取装置300是芯片系统时,收发模块301可以是芯片(例如基带芯片)的输入输出接口;处理模块302可以是芯片系统的处理器(或者,处理电路),可以包括一个或多个中央处理单元。应理解,本申请实施例中的收发模块301可以由收发器或收发器相关电路组件实现;处理模块302可以由处理器或处理器相关电路组件(或者,称为处理电路)实现。
例如,当该设备标识符获取装置300为设备或设备的芯片或功能单元时,收发模块301可以用于执行图2所示的实施例中由设备所执行的全部收发操作,和/或用于支持本文所描述的技术的其它过程;处理模块302可以用于执行图2所示的实施例中由设备所执行的除了收发操作之外的全部操作,和/或用于支持本文所描述的技术的其它过程。
收发模块301可以包括发送模块和/或接收模块,分别用于执行图2所示的实施例中由设备所执行的发送和接收的操作,在一种示例中,所述设备标识符获取装置包括:
处理模块,用于确定目标有效期;
所述处理模块,还用于获取对应所述目标有效期的目标设备标识符,所述目标设备标识符在所述目标有效期内有效,不同有效期对应的设备标识符不同,所述目标设备标识符用于采集所述目标有效期内的数据。
结合上述方案,所述目标有效期包括以下至少一种字符:起始时间字段、截止时间字段、有效时间单位字段、有效时长字段。
结合上述方案,所述目标有效期包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段,所述任一时间字段的时间单位和所述有效时间单位字段所指示的时间单位相同。
结合上述方案,所述装置还包括:收发模块,用于接收设备标识符的获取请求,所述获取请求用于指示目标范围信息,所述目标范围信息包括有效时长或第一有效时间单位;所述处理模块,具体用于基于所述获取请求的接收时间和所述目标范围信息,确定所述目 标有效期,所述接收时间和所述目标范围信息组成的时间段属于所述目标有效期。
结合上述方案,所述目标范围信息包括所述第一有效时间单位,所述处理模块,具体用于基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,所述第一有效期和所述第二有效期均包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段;所述第一有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间和所述第一有效时间单位;所述第二有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间的近邻时间和所述第一有效时间单位,或者分别指示所述接收时间和第二有效时间单位;所述近邻时间与所述接收时间的时间间隔为至少一个所述第一有效时间单位,所述第二有效时间单位长于所述第一有效时间单位,所述第一有效期中的所述接收时间的时间单位、所述第二有效期中的所述近邻时间的时间单位与所述第一有效时间单位相同,所述第二有效期中的所述接收时间的时间单位与所述第二有效时间单位相同。
结合上述方案,所述处理模块,具体用于基于所述接收时间和所述第一有效时间单位确定所述第一有效期;当所述第一有效期中的剩余有效时长大于时长阈值时,确定所述第一有效期为所述目标有效期,所述剩余有效时长为所述第一有效期的截止时间与所述接收时间的差值;当所述剩余有效时长小于或等于所述时长阈值时,基于所述接收时间和所述第一有效时间单位确定所述第二有效期,并确定所述第一有效期和所述第二有效期为所述目标有效期。
结合上述方案,所述处理模块,具体用于根据所述目标有效期生成所述目标设备标识符。
结合上述方案,所述处理模块,具体用于将多个设备标识符中对应的有效期包括所述目标有效期的设备标识符确定为所述目标设备标识符,所述多个设备标识符分别对应有效期,任意两个设备标识符对应的有效期不同。
图9为本申请实施例提供的一种设备标识符获取装置的结构示意图,该设备标识符获取装置400可以为设备中的芯片或者功能模块。如图9所示,该设备标识符获取装置400包括处理器401,收发器402以及通信线路403。
其中,处理器401用于执行如图2所示的方法实施例中由设备执行的任一步骤,且在执行诸如获取等信号/数据传输时,可选择调用收发器402以及通信线路403来完成相应操作。
进一步的,该设备标识符获取装置400还可以包括存储器404。其中,处理器401,存储器404以及收发器402之间可以通过通信线路403连接。
其中,处理器401是CPU、通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal processing,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器401还可以是其它具有处理功能的装置,例如电路、器件或软件模块,不予限制。
收发器402,用于与其他设备或其它通信网络进行通信,其它通信网络可以为以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。收发器402可以是模块、电路、收发器或者任何能够实现通信的装置。
收发器402主要用于信号/数据的收发,可以包括发射器和接收器,分别进行信号/数 据的发送和接收;除信号/数据收发之外的操作由处理器实现,如信息处理,计算等。
通信线路403,用于在设备标识符获取装置400所包括的各部件之间传送信息。
在一种设计中,可以将处理器看做逻辑电路,收发器看做接口电路。
存储器404,用于存储指令。其中,指令可以是计算机程序。
其中,存储器404可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。存储器404还可以是只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或其他磁存储设备等。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
需要指出的是,存储器404可以独立于处理器401存在,也可以和处理器401集成在一起。存储器404可以用于存储指令或者程序代码或者一些数据等。存储器404可以位于设备标识符获取装置400内,也可以位于设备标识符获取装置400外,不予限制。处理器401,用于执行存储器404中存储的指令,以实现本申请上述实施例提供的方法。
在一种示例中,处理器401可以包括一个或多个CPU,例如图9中的CPU0和CPU1。
作为一种可选的实现方式,设备标识符获取装置400包括多个处理器,例如,除图9中的处理器401之外,还可以包括处理器407。
作为一种可选的实现方式,设备标识符获取装置400还包括输出设备405和输入设备406。示例性地,输入设备406是键盘、鼠标、麦克风或操作杆等设备,输出设备405是显示屏、扬声器(speaker)等设备。
需要指出的是,设备标识符获取装置400可以是终端设备、网络设备、中继设备、嵌入式设备、芯片系统或有图9中类似结构的设备。此外,图9中示出的组成结构并不构成对该设备标识符获取装置400的限定,除图9所示部件之外,该设备标识符获取装置400可以包括比图9所示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请中描述的处理器和收发器可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。该处理器和收发器也可以用各种IC工艺技术来制造,例如互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)、N型金属氧化物半导体(nMetal-oxide-semiconductor,NMOS)、P型金属氧化物半导体(positive channel metal oxide semiconductor,PMOS)、双极结型晶体管(Bipolar  Junction Transistor,BJT)、双极CMOS(BiCMOS)、硅锗(SiGe)、砷化镓(GaAs)等。
需要指出的是,设备标识符获取装置400可以是任意类型的手持设备或固定设备,例如,笔记本电脑或膝上型电脑、手机、智能手机、平板或平板电脑、相机、台式计算机、机顶盒、电视机、显示设备、数字媒体播放器、视频游戏控制台、视频流设备(例如,内容业务服务器或内容分发服务器)、广播接收设备、广播发射设备以及监控设备等等,并可以不使用或使用任意类型的操作系统。设备标识符获取装置400也可以是云计算场景中的设备,例如云计算场景中的虚拟机等。在一些情况下,设备标识符获取装置400可配备用于无线通信的组件。因此,设备标识符获取装置400可以是无线通信设备。或有图9中类似结构的设备。此外,图9中示出的组成结构并不构成对该设备标识符获取装置400的限定,除图9所示部件之外,该设备标识符获取装置400可以包括比图9所示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
设备标识符获取装置400还可以是芯片系统,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。此外,本申请的各实施例之间涉及的动作、术语等均可以相互参考,不予限制。本申请的实施例中各个设备之间交互的消息名称或消息中的参数名称等只是一个示例,具体实现中也可以采用其他的名称,不予限制。
作为又一种可实现方式,图8中的收发模块301可以由图9中的收发器402代替,该收发器402可以集成收发模块301的功能;处理模块302可以由处理器407代替,该处理器407可以集成处理模块302的功能。进一步的,图8所示设备标识符获取装置300还可以包括存储器(图中未示出)。当收发模块301由收发器402代替,处理模块302由处理器407代替时,图8所示的设备标识符获取装置300可以为图9所示的设备标识符获取装置400。
图10为本申请实施例提供的另一种设备标识符获取装置的结构示意图。该设备标识符获取装置可适用于上述方法实施例所示出的场景中。为了便于说明,图10仅示出了设备标识符获取装置的主要部件,包括处理器、存储器、控制电路、以及输入输出装置。处理器主要用于对通信协议以及通信数据进行处理,执行软件程序,处理软件程序的数据。存储器主要用于存储软件程序和数据。控制电路主要用于供电及各种电信号的传递。输入输出装置主要用于接收用户输入的数据以及对用户输出数据。
当该设备标识符获取装置为设备时,该控制电路为主板,存储器包括硬盘,RAM,ROM等具有存储功能的介质,处理器可以包括基带处理器和中央处理器,基带处理器主要用于对通信协议以及通信数据进行处理,中央处理器主要用于对整个网络设备进行控制,执行软件程序,处理软件程序的数据,输入输出装置包括显示屏、键盘和鼠标等;控制电路可以进一步包括或连接收发电路或收发器,例如:网线接口等,用于发送或接收数据或信号,例如与其他设备进行数据传输及通信。进一步的,还可以包括天线,用于无线信号的收发,用于与其他设备进行数据/信号传输。
根据本申请实施例提供的方法,本申请还提供一种计算机程序产品,该计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行本申请实施例任一所述的方法。
本申请实施例还提供了一种计算机可读存储介质。上述方法实施例中的全部或者部分流程可以由计算机或者具有信息处理能力的装置执行计算机程序或指令,以控制相关的硬 件完成,该计算机程序或该组指令可存储于上述计算机可读存储介质中,该计算机程序或该组指令在执行时,可包括如上述各方法实施例的流程。计算机可读存储介质可以是前述任一实施例的设备的内部存储单元,例如设备的硬盘或内存。上述计算机可读存储介质也可以是上述设备的外部存储设备,例如上述设备上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,上述计算机可读存储介质还可以既包括上述设备的内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序或指令以及上述设备所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (18)

  1. 一种设备标识符获取方法,其特征在于,所述方法包括:
    确定目标有效期;
    获取对应所述目标有效期的目标设备标识符,所述目标设备标识符在所述目标有效期内有效,不同有效期对应的设备标识符不同,所述目标设备标识符用于采集所述目标有效期内的数据。
  2. 根据权利要求1所述的方法,其特征在于,所述目标有效期包括以下至少一种字符:起始时间字段、截止时间字段、有效时间单位字段、有效时长字段。
  3. 根据权利要求2所述的方法,其特征在于,所述目标有效期包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段,所述任一时间字段的时间单位和所述有效时间单位字段所指示的时间单位相同。
  4. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:
    接收设备标识符的获取请求,所述获取请求用于指示目标范围信息,所述目标范围信息包括有效时长或第一有效时间单位;
    所述确定目标有效期,包括:
    基于所述获取请求的接收时间和所述目标范围信息,确定所述目标有效期,所述接收时间和所述目标范围信息组成的时间段属于所述目标有效期。
  5. 根据权利要求4所述的方法,其特征在于,所述目标范围信息包括所述第一有效时间单位,所述基于所述获取请求的接收时间和所述目标范围信息,确定所述目标有效期,包括:
    基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,所述第一有效期和所述第二有效期均包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段;
    所述第一有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间和所述第一有效时间单位;
    所述第二有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间的近邻时间和所述第一有效时间单位,或者分别指示所述接收时间和第二有效时间单位;
    所述近邻时间与所述接收时间的时间间隔为至少一个所述第一有效时间单位,所述第二有效时间单位长于所述第一有效时间单位,所述第一有效期中的所述接收时间的时间单位、所述第二有效期中的所述近邻时间的时间单位与所述第一有效时间单位相同,所述第二有效期中的所述接收时间的时间单位与所述第二有效时间单位相同。
  6. 根据权利要求5所述的方法,其特征在于,所述基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,包括:
    基于所述接收时间和所述第一有效时间单位确定所述第一有效期;
    当所述第一有效期中的剩余有效时长大于时长阈值时,确定所述第一有效期为所述目标有效期,所述剩余有效时长为所述第一有效期的截止时间与所述接收时间的差值;
    当所述剩余有效时长小于或等于所述时长阈值时,基于所述接收时间和所述第一有效 时间单位确定所述第二有效期,并确定所述第一有效期和所述第二有效期为所述目标有效期。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述获取对应所述目标有效期的目标设备标识符,包括:
    根据所述目标有效期生成所述目标设备标识符。
  8. 根据权利要求1至6任一项所述的方法,其特征在于,所述获取对应所述目标有效期的目标设备标识符,包括:
    将多个设备标识符中对应的有效期包括所述目标有效期的设备标识符确定为所述目标设备标识符,所述多个设备标识符分别对应有效期,任意两个设备标识符对应的有效期不同。
  9. 一种设备标识符获取装置,其特征在于,所述装置包括:
    处理模块,用于确定目标有效期;
    所述处理模块,还用于获取对应所述目标有效期的目标设备标识符,所述目标设备标识符在所述目标有效期内有效,不同有效期对应的设备标识符不同,所述目标设备标识符用于采集所述目标有效期内的数据。
  10. 根据权利要求9所述的装置,其特征在于,所述目标有效期包括以下至少一种字符:起始时间字段、截止时间字段、有效时间单位字段、有效时长字段。
  11. 根据权利要求10所述的装置,其特征在于,所述目标有效期包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段,所述任一时间字段的时间单位和所述有效时间单位字段所指示的时间单位相同。
  12. 根据权利要求10或11所述的装置,其特征在于,所述装置还包括:收发模块,用于接收设备标识符的获取请求,所述获取请求用于指示目标范围信息,所述目标范围信息包括有效时长或第一有效时间单位;所述处理模块,具体用于基于所述获取请求的接收时间和所述目标范围信息,确定所述目标有效期,所述接收时间和所述目标范围信息组成的时间段属于所述目标有效期。
  13. 根据权利要求12所述的装置,其特征在于,所述目标范围信息包括所述第一有效时间单位,所述处理模块,具体用于基于所述接收时间和所述第一有效时间单位,确定第一有效期和/或第二有效期为所述目标有效期,所述第一有效期和所述第二有效期均包括所述起始时间字段和所述截止时间字段中的任一时间字段以及所述有效时间单位字段;所述第一有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间和所述第一有效时间单位;所述第二有效期中的所述任一时间字段和所述有效时间单位字段分别指示所述接收时间的近邻时间和所述第一有效时间单位,或者分别指示所述接收时间和第二有效时间单位;所述近邻时间与所述接收时间的时间间隔为至少一个所述第一有效时间单位,所述第二有效时间单位长于所述第一有效时间单位,所述第一有效期中的所述接收时间的时间单位、所述第二有效期中的所述近邻时间的时间单位与所述第一有效时间单位相同,所述第二有效期中的所述接收时间的时间单位与所述第二有效时间单位相同。
  14. 根据权利要求13所述的装置,其特征在于,所述处理模块,具体用于基于所述接收时间和所述第一有效时间单位确定所述第一有效期;当所述第一有效期中的剩余有效时长大于时长阈值时,确定所述第一有效期为所述目标有效期,所述剩余有效时长为所述第 一有效期的截止时间与所述接收时间的差值;当所述剩余有效时长小于或等于所述时长阈值时,基于所述接收时间和所述第一有效时间单位确定所述第二有效期,并确定所述第一有效期和所述第二有效期为所述目标有效期。
  15. 根据权利要求9至14任一项所述的装置,其特征在于,所述处理模块,具体用于根据所述目标有效期生成所述目标设备标识符。
  16. 根据权利要求9至14任一项所述的装置,其特征在于,所述处理模块,具体用于将多个设备标识符中对应的有效期包括所述目标有效期的设备标识符确定为所述目标设备标识符,所述多个设备标识符分别对应有效期,任意两个设备标识符对应的有效期不同。
  17. 一种设备标识符获取装置,其特征在于,包括:
    一个或多个处理器;
    存储器,用于存储一个或多个计算机程序或指令;
    当所述一个或多个计算机程序或指令被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至8中任一项所述的方法。
  18. 一种计算机可读存储介质,其特征在于,包括计算机程序或指令,所述计算机程序或指令在计算机上被执行时,使得所述计算机执行权利要求1至8中任一项所述的方法。
PCT/CN2022/118813 2021-10-22 2022-09-14 设备标识符获取方法及装置 WO2023065901A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111232300.9 2021-10-22
CN202111232300.9A CN116016246A (zh) 2021-10-22 2021-10-22 设备标识符获取方法及装置

Publications (1)

Publication Number Publication Date
WO2023065901A1 true WO2023065901A1 (zh) 2023-04-27

Family

ID=86025533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/118813 WO2023065901A1 (zh) 2021-10-22 2022-09-14 设备标识符获取方法及装置

Country Status (2)

Country Link
CN (1) CN116016246A (zh)
WO (1) WO2023065901A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017596A1 (en) * 2008-07-16 2010-01-21 Disney Enterprises, Inc. System and method for managing authentication cookie encryption keys
CN104067596A (zh) * 2014-04-26 2014-09-24 华为技术有限公司 一种建立通信方法、设备及系统
CN107026832A (zh) * 2016-10-10 2017-08-08 阿里巴巴集团控股有限公司 账户登录方法、设备和服务器
CN111008325A (zh) * 2020-03-10 2020-04-14 支付宝(杭州)信息技术有限公司 数据查询方法、装置、电子设备和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011120450A2 (zh) * 2011-04-28 2011-10-06 华为终端有限公司 基于http的内容获取方法及客户端
CN106973046B (zh) * 2017-03-16 2020-03-31 中国联合网络通信集团有限公司 网关间数据传输方法、源网关及目的网关
CN111107073B (zh) * 2019-12-11 2022-05-10 数字广东网络建设有限公司 应用自动登录方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017596A1 (en) * 2008-07-16 2010-01-21 Disney Enterprises, Inc. System and method for managing authentication cookie encryption keys
CN104067596A (zh) * 2014-04-26 2014-09-24 华为技术有限公司 一种建立通信方法、设备及系统
CN107026832A (zh) * 2016-10-10 2017-08-08 阿里巴巴集团控股有限公司 账户登录方法、设备和服务器
CN113014568A (zh) * 2016-10-10 2021-06-22 创新先进技术有限公司 账户登录方法、设备和服务器
CN111008325A (zh) * 2020-03-10 2020-04-14 支付宝(杭州)信息技术有限公司 数据查询方法、装置、电子设备和系统

Also Published As

Publication number Publication date
CN116016246A (zh) 2023-04-25

Similar Documents

Publication Publication Date Title
US20150229669A1 (en) Method and device for detecting distributed denial of service attack
CN109564665B (zh) 广告监测方法、装置及系统
CN109831746B (zh) 一种基于蓝牙广播进行数据传输的方法、装置及蓝牙设备
US20170126556A1 (en) Information transmission method and apparatus, device and storage medium
US9402172B2 (en) Message combination method and device
CN110022259B (zh) 消息到达率确定方法、装置、数据统计服务器及存储介质
CN112654100B (zh) 一种信息处理方法和相关网络设备
WO2023184457A1 (zh) 生效时间确定方法及装置
CN113114707B (zh) 一种电力芯片以太网控制器规则过滤方法
CN115208808A (zh) 服务质量测试方法、装置以及芯片设备、存储介质
WO2023201760A1 (zh) PScell添加或改变的成功报告的记录方法、装置
WO2021129803A1 (zh) 一种信息处理方法及通信装置
US11425669B2 (en) Distributed and synchronized bluetooth scan across multiple devices for faster bluetooth discovery
WO2023065901A1 (zh) 设备标识符获取方法及装置
CN109639698B (zh) 一种数据处理方法及服务器
WO2023201758A1 (zh) 信息上报方法及装置
WO2022156802A1 (zh) 参考信号传输时机有效性的指示方法和用户设备
WO2022088106A1 (zh) 消息传输方法及装置
CN112637151A (zh) 数据消息的传输方法、终端设备、服务器及存储介质
CN107659950B (zh) 一种基于无线回传链路传输数据的方法及基站
WO2022205230A1 (zh) 一种分组数据汇聚协议实体的超帧号确定方法及其装置
WO2024099190A1 (zh) 能力指示方法、装置、终端、网络侧设备及可读存储介质
RU2825428C2 (ru) Способ и устройство для определения номера гиперкадра объекта протокола конвергенции пакетных данных
WO2023201757A1 (zh) 信息上报方法及装置
WO2024078589A1 (zh) 信息上报方法、装置、通信设备及存储介质

Legal Events

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

Ref document number: 22882512

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE