A data discovery method, device, apparatus and storage medium
Patent Information
- Application Number
- CN202211635352.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-12-19
AI Technical Summary
[0003]显然,采用人工标注的方式需要耗费大量人力资源,并且因为业务变化等原因,使得人工标注的准确率较低
[0034]本公开实施例提供的技术方案与现有技术相比至少具有如下优点:
Smart Images

Figure CN118227827B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of data processing, and more particularly to a data discovery method, apparatus, device, and storage medium. Background Technology
[0002] In privacy and security compliance governance projects, the first step is to clarify the scope of governance, such as a specific business storage or service. Currently, the main method for identifying whether a business's storage or service contains privacy-related data, such as user data, is through manual annotation.
[0003] Clearly, manual annotation requires significant human resources, and its accuracy is low due to factors such as business changes. Therefore, improving the accuracy of user data discovery is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] To address the aforementioned technical problems, this disclosure provides a data discovery method.
[0005] In a first aspect, this disclosure provides a data discovery method, the method comprising:
[0006] Obtain the data sample to be tested from the target business asset object;
[0007] The system detects whether there are data segments in the data sample to be detected that conform to the business entity identifier format; wherein, the business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user;
[0008] If it is determined that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, then at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment; wherein, the business entity service is used to obtain the corresponding user data based on the business entity identifier;
[0009] If it is determined that user data has been obtained based on the data fragment, then it is determined that user data is stored in the target business asset object.
[0010] In one optional implementation, the business entity identifier format includes one or more identifier formats; before invoking the business entity service and determining whether user data can be obtained based on the data fragment, the method further includes:
[0011] If it is determined that there is a data segment in the data sample to be detected that conforms to the first identifier format, then the business entity service corresponding to the first identifier format is determined;
[0012] Accordingly, the invocation of the business entity service to determine whether user data can be obtained based on the data fragment includes:
[0013] Invoke the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment.
[0014] In one optional implementation, different business entity services are used to obtain corresponding user data based on business entity identifiers of different business entity types; the step of calling the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment includes:
[0015] Call the first business entity service in the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment;
[0016] Accordingly, the method further includes:
[0017] If it is determined that user data has been obtained based on the data fragment, then it is determined that the target business asset object stores user data of the business entity type corresponding to the first business entity service.
[0018] In one optional implementation, the method further includes:
[0019] If it is determined that user data has been obtained based on the data fragment, then the data fragment is determined to be a business entity identifier belonging to the business entity type corresponding to the first business entity service.
[0020] In one optional implementation, the step of invoking the first business entity service in the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment includes:
[0021] Invoke the first business entity service in the business entity service corresponding to the first identifier format, and use the data fragment as the input of the first business entity service to determine whether to output user data belonging to the business entity type corresponding to the first business entity service.
[0022] In one optional implementation, the business entity identifiers of the different business entity types include at least one of user identifier, device identifier, and multimedia resource identifier.
[0023] In an optional implementation, before detecting whether there is a data fragment conforming to the business entity identifier format in the data sample to be detected, the method further includes:
[0024] Receive a target detection list from a preset configuration center; wherein, the target detection list includes the business entity identifier format corresponding to the business entity identifier of different business entity types;
[0025] From the target detection list, obtain the business entity identifier format corresponding to the business entity identifier of each business entity type.
[0026] Secondly, this disclosure provides a data discovery apparatus, the apparatus comprising:
[0027] The first acquisition module is used to acquire the data sample to be tested from the target business asset object;
[0028] The detection module is used to detect whether there are data fragments in the data sample to be detected that conform to the business entity identifier format; wherein, the business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user;
[0029] The first determining module is used to, if it is determined that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, call at least one business entity service to determine whether user data can be obtained based on the data fragment; wherein, the business entity service is used to obtain the corresponding user data based on the business entity identifier;
[0030] The second determining module is used to determine that user data is stored in the target business asset object if it is determined that user data has been obtained based on the data fragment.
[0031] Thirdly, this disclosure provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the above-described method.
[0032] Fourthly, this disclosure provides a data discovery device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method.
[0033] Fifthly, this disclosure provides a computer program product comprising a computer program / instruction that, when executed by a processor, implements the method described above.
[0034] The technical solution provided in this disclosure has at least the following advantages compared with the prior art:
[0035] This disclosure provides a data discovery method. First, a data sample to be tested is obtained from a target business asset object. Then, it checks whether a data fragment conforming to a business entity identifier format exists in the data sample. If it is determined that a data fragment conforming to a business entity identifier format exists in the data sample, at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment. If it is determined that user data has been obtained based on the data fragment, it is determined that user data is stored in the target business asset object. Therefore, this disclosure, based on the relationship between business entity identifiers and user data, achieves automated user data discovery by determining whether a business entity identifier exists in the target business asset object, thus improving the accuracy of user data discovery. Attached Figure Description
[0036] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0037] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 A flowchart of a data discovery method provided in an embodiment of this disclosure;
[0039] Figure 2 A flowchart of another data discovery method provided in this disclosure embodiment;
[0040] Figure 3 This is a schematic diagram of the structure of a data discovery device provided in an embodiment of the present disclosure;
[0041] Figure 4 This is a schematic diagram of the structure of a data discovery device provided in an embodiment of this disclosure. Detailed Implementation
[0042] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0043] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0044] In privacy and security compliance governance projects, the first step is to clarify the scope of governance. For example, for a certain business storage or service, the current method for discovering whether the business storage or service contains privacy and security related data, such as user data, is mainly to use manual annotation.
[0045] Clearly, manual annotation requires significant human resources, and its accuracy is low due to factors such as business changes. Therefore, improving the accuracy of user data discovery is a pressing technical problem that needs to be solved.
[0046] To address this, this disclosure provides a data discovery method. First, a data sample to be detected is obtained from a target business asset object. Then, it detects whether a data fragment conforming to a business entity identifier format exists in the data sample. If it is determined that a data fragment conforming to a business entity identifier format exists in the data sample, at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment. If it is determined that user data has been obtained based on the data fragment, it is determined that user data is stored in the target business asset object. Therefore, this disclosure, based on the relationship between business entity identifiers and user data, achieves automated user data discovery by determining whether a business entity identifier exists in the target business asset object, thus improving the accuracy of user data discovery.
[0047] Based on this, embodiments of this disclosure provide a data discovery method, referring to... Figure 1 The flowchart below illustrates a data discovery method provided in this disclosure, which includes:
[0048] S101: Obtain the data sample to be tested from the target business asset object.
[0049] In this embodiment of the disclosure, the business asset object may include business storage or business services from a certain business line. The target business asset object may be a pre-determined business asset object with user data discovery needs.
[0050] In this embodiment of the disclosure, obtaining the data sample to be tested from the target business asset object may include obtaining a data sample from the business storage of the target business asset object as the data sample to be tested, or obtaining real-time data traffic from the business service of the target business asset object as the data sample to be tested.
[0051] S102: Detect whether there is a data segment in the data sample to be detected that conforms to the business entity identifier format.
[0052] The business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user.
[0053] In this embodiment of the disclosure, the business entity identifier field can be used to carry the business entity identifier associated with the user. That is, the business entity identifier field stores the business entity identifier associated with the user, and the user-related data information, i.e., user data, can be associated through the business entity identifier.
[0054] In this embodiment of the disclosure, the business entity identifier field may include fields such as user_ID, device_ID, and item_ID.
[0055] If we use item_ID (video metadata identifier) as the primary key to query user video information, we can find all the video data created by that user using user_ID (user identifier), such as all video submissions, etc.
[0056] In this embodiment of the disclosure, the business entity identifier format can be used to characterize the format features of the business entity identifier field. The format features of the business entity identifier field can include length features, data type features, etc. The data type can include numerical, character, or binary numbers, etc. Assuming that the business entity identifier field is an Android device identifier field, its format feature is a continuous 16-bit random string. The format features of the Android device identifier field can be characterized by a 16-bit random string.
[0057] In one optional implementation, the data sample to be tested can be identified to determine data segments within the sample that can successfully match the business entity identifier format, thereby achieving the purpose of detecting whether there are data segments in the data sample that conform to the business entity identifier format. For example, assuming the device identifier field has a format feature of 16-bit random string, after obtaining the data sample to be tested, by identifying the data sample and matching it with the format feature of the 16-bit string, it can be determined that there are data segments in the data sample that conform to the format feature of the 16-bit string.
[0058] In practical applications, a target detection list can be received from a pre-defined configuration center, and the business entity identifier format corresponding to the business entity identifier of each business entity type can be obtained from the target detection list. The pre-defined configuration center pre-determines the target detection list based on user data discovery requirements, and the target detection list includes the correspondence between business entity types, business entity identifiers, and business entity identifier formats.
[0059] In this embodiment of the disclosure, the target detection list of the preset configuration center includes the business entity identifier format corresponding to the business entity identifier of different business entity types, as shown in Table 1 below, which shows the correspondence between business entity identifiers and business entity identifier formats.
[0060]
[0061] Table 1
[0062] After receiving the target detection list from the preset configuration center, the business entity identifier format corresponding to the business entity identifier of each business entity type is obtained from the target detection list. Then, based on the correspondence between the business entity identifier and the business entity identifier format, the system detects whether there are data fragments in the data sample to be detected that conform to the business entity identifier format.
[0063] S103: If it is determined that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, then at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment.
[0064] The business entity service is used to obtain corresponding user data based on the business entity identifier.
[0065] In this embodiment of the disclosure, the business entity service can be used to maintain the correspondence between business entity identifiers and user data. For example, assuming there is a correspondence between business entity identifier A and user data B in the business entity service, the user data B corresponding to business entity identifier A can be obtained by calling the business entity service.
[0066] In this embodiment of the disclosure, user data refers to data related to the user, including user-published video works information, user device information, and other user-related data.
[0067] In this embodiment of the disclosure, it is determined that there is a data segment in the data sample to be detected that conforms to the business entity identifier format, indicating that the format of the data segment conforms to the business entity identifier format. However, whether the data segment is a business entity identifier needs to be further determined.
[0068] To address this, this embodiment further determines whether a data fragment conforming to the business entity identifier format is a business entity identifier by invoking a business entity service. Specifically, the business entity service is invoked, with the data fragment conforming to the business entity identifier format as input. If the business entity service can output user data, then the data fragment can be determined to be a business entity identifier. If the business entity service cannot output user data, meaning that user data cannot be obtained based on the data fragment, then the data fragment only conforms to the business entity identifier format, but is not a business entity identifier.
[0069] S104: If it is determined that user data has been obtained based on the data fragment, then it is determined that user data is stored in the target business asset object.
[0070] For example, if it is determined that there is a data fragment in the data sample to be tested that conforms to the identifier generator format (i.e., the first identifier format), then the business entity service corresponding to the identifier generator format can be determined, assuming it includes a user service and an item service. Then, the user service and the item service are called to determine whether user data can be obtained based on the data fragment.
[0071] In the data discovery method provided in this disclosure, a sample of data to be detected is first obtained from the target business asset object. Then, it is detected whether a data fragment conforming to the business entity identifier format exists in the sample of data to be detected. If it is determined that a data fragment conforming to the business entity identifier format exists in the sample of data to be detected, at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment. If it is determined that user data has been obtained based on the data fragment, it is determined that user data is stored in the target business asset object. Therefore, this disclosure, based on the relationship between business entity identifiers and user data, achieves automated discovery of user data by determining whether a business entity identifier exists in the target business asset object, thus improving the accuracy of user data discovery.
[0072] In practical applications, different business entity services can be used to retrieve corresponding user data based on business entity identifiers of different business entity types. In other words, there is a correspondence between business entity services and business entity types.
[0073] The business entity identifiers for different business entity types may include at least one of user identifiers, device identifiers, and multimedia resource identifiers.
[0074] For example, by calling the user service, you can obtain the user data corresponding to the user_ID (i.e., user identifier), and by calling the item service, you can obtain the user data corresponding to the item_ID (i.e., multimedia resource identifier), and so on.
[0075] In one optional embodiment, after determining that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, it is also necessary to call at least one business entity service to further determine whether user data can be obtained based on the above data fragment, thereby determining whether the data fragment belongs to the business entity identifier.
[0076] Based on the above embodiments, this disclosure provides a flowchart of another data discovery method, which includes:
[0077] S201: Obtain the data sample to be tested from the target business asset object.
[0078] S202: Detect whether there is a data segment in the data sample to be detected that conforms to the business entity identifier format; wherein, the business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user; the business entity identifier format includes one or more identifier formats.
[0079] In this embodiment of the disclosure, the business entity identifier format may include one or more identifier formats. For example, the business entity identifier format may include the generated format by the identifier generator, the identifier format provided by the device, etc. Therefore, before calling the business entity service to determine whether user data can be obtained based on the data fragment, it is necessary to match each business entity identifier format with the data sample to be detected to determine whether there is a data fragment in the data sample to be detected that conforms to any business entity identifier format.
[0080] S203: If it is determined that there is a data segment conforming to the first identifier format in the data sample to be detected, then the business entity service corresponding to the first identifier format is determined; wherein, the business entity service corresponding to the first identifier format includes at least one business entity service.
[0081] In this embodiment of the disclosure, the first identifier format can be any of the business entity identifier formats.
[0082] For example, if it is determined that there are data fragments in the data sample to be tested that conform to the generation format of the identifier generator (i.e., the first identifier format), then the business entity services corresponding to the generation format of the identifier generator, such as user services and item services, can be identified as the business entity services corresponding to the first identifier format.
[0083] S204: Invoke the first business entity service in the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment.
[0084] In this embodiment of the disclosure, after determining at least one business entity service corresponding to the first identifier format, each business entity service is invoked to further determine whether user data can be obtained based on the data fragment. The first business entity service belongs to any one of the at least one business entity services corresponding to the first identifier format.
[0085] For example, suppose it is determined that there are data fragments in the data sample to be tested that conform to the generation format of the identifier generator. Then, the business entity services corresponding to the generation format of the identifier generator are called respectively, such as the user service and the item service, to determine whether user data can be obtained based on the data fragments.
[0086] In one optional implementation, in order to further determine whether user data can be obtained based on the data fragment, this embodiment of the present disclosure calls the first business entity service in the business entity service corresponding to the first identifier format, and uses the data fragment as the input of the first business entity service to determine whether to output user data belonging to the business entity type corresponding to the first business entity service.
[0087] If the first business entity service can output user data belonging to the business entity type corresponding to the first business entity service, then the data fragment can be determined to be the business entity identifier of the business entity type corresponding to the first business entity service; if the first business entity service cannot output user data, it means that the data fragment only conforms to the first identifier format, but is not the business entity identifier of the business entity type corresponding to the first business entity service.
[0088] S205: If it is determined that user data has been obtained based on the data fragment, then it is determined that the target business asset object stores user data of the business entity type corresponding to the first business entity service, and that the data fragment belongs to the business entity identifier of the business entity type corresponding to the first business entity service.
[0089] For example, firstly, the item service (i.e., the first business entity service) is called to determine whether user data can be obtained based on data fragments conforming to the identifier generator format. If it is determined that user data has been obtained based on data fragments conforming to the identifier generator format, then it can be determined that the target business asset object stores user data of the business entity type corresponding to the item service, that is, video-related user data corresponding to the item service.
[0090] In one optional implementation, if it is determined that user data has been obtained based on a data fragment, then the data fragment can be identified as a business entity identifier belonging to the business entity type corresponding to the first business entity service.
[0091] For example, when calling the item service, if it is determined that user data has been obtained based on the data fragment, then it can be determined that the data fragment belongs to the user identifier of the business entity type corresponding to the item service, that is, the user video identifier.
[0092] As can be seen, the embodiments of this disclosure can determine whether user data can be obtained based on data fragments by calling business entity services, and then determine whether user data of the business entity type corresponding to the first business entity service is stored in the target business asset object, thereby realizing the automated discovery of user data.
[0093] Based on the above method embodiments, this disclosure also provides a data discovery device, with reference to Figure 3 This is a schematic diagram of a data discovery device provided in an embodiment of the present disclosure. The device includes:
[0094] The first acquisition module 301 is used to acquire the data sample to be detected from the target business asset object;
[0095] The detection module 302 is used to detect whether there is a data segment in the data sample to be detected that conforms to the business entity identifier format; wherein, the business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user;
[0096] The first determining module 303 is used to, if it is determined that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, call at least one business entity service to determine whether user data can be obtained based on the data fragment; wherein, the business entity service is used to obtain the corresponding user data based on the business entity identifier;
[0097] The second determining module 304 is used to determine that user data is stored in the target business asset object if it is determined that user data has been obtained based on the data fragment.
[0098] In one optional implementation, the business entity identifier format includes one or more identifier formats; the apparatus further includes:
[0099] The third determining module is used to determine the business entity service corresponding to the first identifier format if it is determined that there is a data fragment in the data sample to be detected that conforms to the first identifier format.
[0100] Accordingly, the first determining module includes:
[0101] The first determining submodule is used to call the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment.
[0102] In one optional implementation, different business entity services are used to obtain corresponding user data based on business entity identifiers of different business entity types; the first determining submodule includes:
[0103] The second determining submodule is used to call the first business entity service in the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment;
[0104] Accordingly, the device also includes:
[0105] The fourth determining module is used to determine, if it is determined that user data has been obtained based on the data fragment, that the target business asset object stores user data of the business entity type corresponding to the first business entity service.
[0106] In one optional embodiment, the apparatus further includes:
[0107] The fifth determining module is used to determine, if it is determined that user data has been obtained based on the data fragment, that the data fragment belongs to the business entity identifier of the business entity type corresponding to the first business entity service.
[0108] In one optional implementation, the second determining submodule includes:
[0109] The third determining submodule is used to call the first business entity service in the business entity service corresponding to the first identifier format, and use the data fragment as the input of the first business entity service to determine whether to output user data belonging to the business entity type corresponding to the first business entity service.
[0110] In one optional implementation, the business entity identifiers of the different business entity types include at least one of user identifier, device identifier, and multimedia resource identifier.
[0111] In one optional embodiment, the apparatus further includes:
[0112] The receiving module is used to receive a target detection list from a preset configuration center; wherein, the target detection list includes the business entity identifier format corresponding to the business entity identifier of different business entity types;
[0113] The second acquisition module is used to acquire the business entity identifier format corresponding to the business entity identifier of each business entity type from the target detection list.
[0114] In the data discovery apparatus provided in this disclosure, a sample of data to be detected is first obtained from a target business asset object. Then, the apparatus detects whether a data fragment conforming to a business entity identifier format exists in the sample. If it is determined that a data fragment conforming to a business entity identifier format exists in the sample, at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment. If it is determined that user data has been obtained based on the data fragment, it is determined that user data is stored in the target business asset object. Therefore, this disclosure, based on the relationship between business entity identifiers and user data, achieves automated user data discovery by determining whether a business entity identifier exists in the target business asset object, thus improving the accuracy of user data discovery.
[0115] In addition to the methods and apparatus described above, this disclosure also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the data discovery method described in this disclosure.
[0116] This disclosure also provides a computer program product, which includes a computer program / instructions that, when executed by a processor, implement the data discovery method described in this disclosure.
[0117] In addition, this disclosure also provides a data discovery device, see [link to relevant documentation]. Figure 4 As shown, it may include:
[0118] The data discovery device includes a processor 401, a memory 402, an input device 403, and an output device 404. The number of processors 401 in the data discovery device can be one or more. Figure 4 Taking a processor as an example. In some embodiments of this disclosure, the processor 401, memory 402, input device 403, and output device 404 can be connected via a bus or other means, wherein, Figure 4 Taking the example of a connection between China and Israel via a bus.
[0119] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing of the data discovery device by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input device 403 can be used to receive input digital or character information, and generate signal inputs related to user settings and function control of the data discovery device.
[0120] Specifically in this embodiment, the processor 401 loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby realizing the various functions of the data discovery device described above.
[0121] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0122] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data discovery method, characterized in that, The method includes: Obtain the data sample to be tested from the target business asset object; The system detects whether there are data segments in the data sample to be detected that conform to the business entity identifier format; wherein, the business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user; If it is determined that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, then at least one business entity service is invoked to determine whether user data can be obtained based on the data fragment, so as to determine whether the data fragment is a business entity identifier; wherein, the business entity service is used to obtain the corresponding user data based on the business entity identifier; If it is determined that user data has been obtained based on the data fragment, then the data fragment is determined to be the identifier of the business entity, and user data is determined to be stored in the target business asset object.
2. The method according to claim 1, characterized in that, The business entity identifier format includes one or more identifier formats; before invoking the business entity service to determine whether user data can be obtained based on the data fragment, the process further includes: If it is determined that there is a data segment in the data sample to be detected that conforms to the first identifier format, then the business entity service corresponding to the first identifier format is determined; Accordingly, the business entity service is invoked to determine whether user data can be obtained based on the data fragment, including: Invoke the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment.
3. The method according to claim 2, characterized in that, Different business entity services are used to obtain corresponding user data based on the business entity identifier of different business entity types; The step of invoking the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment includes: Call the first business entity service in the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment; Accordingly, the method further includes: If it is determined that user data has been obtained based on the data fragment, then it is determined that the target business asset object stores user data of the business entity type corresponding to the first business entity service.
4. The method according to claim 3, characterized in that, Determining the data fragment as the identifier of the business entity includes: The data fragment is identified as a business entity identifier belonging to the business entity type corresponding to the first business entity service.
5. The method according to claim 3, characterized in that, The step of invoking the first business entity service in the business entity service corresponding to the first identifier format to determine whether user data can be obtained based on the data fragment includes: Invoke the first business entity service in the business entity service corresponding to the first identifier format, and use the data fragment as the input of the first business entity service to determine whether to output user data belonging to the business entity type corresponding to the first business entity service.
6. The method according to any one of claims 3-5, characterized in that, The business entity identifiers for different business entity types include at least one of user identifier, device identifier, and multimedia resource identifier.
7. The method according to claim 1, characterized in that, Before detecting whether there is a data fragment conforming to the business entity identifier format in the data sample to be detected, the method further includes: Receive a target detection list from a preset configuration center; wherein, the target detection list includes the business entity identifier format corresponding to the business entity identifier of different business entity types; From the target detection list, obtain the business entity identifier format corresponding to the business entity identifier of each business entity type.
8. A data discovery device, characterized in that, The device includes: The acquisition module is used to obtain the data sample to be tested from the target business asset object; The detection module is used to detect whether there are data fragments in the data sample to be detected that conform to the business entity identifier format; wherein, the business entity identifier format is used to characterize the format features of the business entity identifier field, and the business entity identifier field is used to carry the business entity identifier associated with the user; The first determining module is used to, if it is determined that there is a data fragment in the data sample to be detected that conforms to the business entity identifier format, call at least one business entity service to determine whether user data can be obtained based on the data fragment, so as to determine whether the data fragment is a business entity identifier; wherein, the business entity service is used to obtain the corresponding user data based on the business entity identifier; The second determining module is used to determine, if it is determined that user data has been obtained based on the data fragment, that the data fragment is the identifier of the business entity, and to determine that user data is stored in the target business asset object.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the method as described in any one of claims 1-7.
10. A data discovery device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1-7.
Citation Information
Patent Citations
Business data query method and device, storage medium and electronic device
CN111125175A
Data processing method and device
CN111966716A
