Method and apparatus for data processing, device, and storage medium

By determining the corresponding regions of data entries in data processing and associating them, the problem of data attribution identification is solved, and region-based data management is realized, and data management efficiency is improved.

WO2025136226A1PCT designated stage expired Publication Date: 2025-06-26LEMON INC(GB)
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/SG2024/050813
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-21
Filing Date
2024-12-19
Publication Date
2025-06-26

AI Technical Summary

Technical Problem

With the development of Internet applications, the generation of massive data has brought about data security problems, especially the identification of data attribution has become the basic task in data management, and it is difficult for existing technology to effectively solve this problem.

Method used

The target data entry is associated with the region by determining whether the target data entry includes a first entity identifier corresponding to the first entity type and determining the region corresponding to the entity identifier based on the preset mapping information.

Benefits of technology

It automatically identifies the corresponding regions of data entries, supports region-based data management, and improves the efficiency of data management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure SG2024050813_26062025_PF_FP_ABST
    Figure SG2024050813_26062025_PF_FP_ABST
Patent Text Reader

Abstract

According to embodiments of the present invention, provided are a method and apparatus for data processing, a device, and a storage medium. The method described herein comprises: determining whether a target data entry comprises a first entity identifier corresponding to a first entity type; in response to the target data entry comprising the first entity identifier, on the basis of first mapping information, determining a first region corresponding to the first entity identifier, the first mapping information indicating a first mapping relationship between a first group of entity identifiers and a group of preset regions, and the first group of entity identifiers corresponding to the first entity type; and associating the target data entry with the first region. On the basis of such a method, according to the embodiments of the present invention, regions corresponding to data entries can be automatically identified, thereby supporting region-based data management.
Need to check novelty before this filing date? Find Prior Art

Description

[0001]This application claims priority to Chinese invention patent application number 202311773500.4, filed on December 21, 2023, entitled "Method, Apparatus, Device, and Storage Medium for Data Processing," the entire contents of which are incorporated herein by reference. TECHNICAL FIELD Various implementations of the present disclosure relate to the field of computers, and more specifically, to methods, apparatuses, devices, and computer storage media for data processing. BACKGROUND With the development of internet technology, a wide variety of internet applications have become an integral part of people's lives. These applications generate massive amounts of data daily, raising various data security issues, such as data sovereignty protection. For example, some countries may prohibit certain types of user data from being sent to overseas servers. Therefore, identifying the location of data is a fundamental task in data management. SUMMARY In a first aspect of the present disclosure, a data processing method is provided. The method includes: determining whether a target data entry includes a first entity identifier corresponding to a first entity type; in response to the target data entry including the first entity identifier, determining a first region corresponding to the first entity identifier based on first mapping information, the first mapping information indicating a first mapping relationship between a first group of entity identifiers and a set of preset regions, the first group of entity identifiers corresponding to the first entity type; and associating the target data entry with the first region. In a second aspect of the present disclosure, a device for data processing is provided. The device includes: a first determination module configured to determine whether the target data entry includes the first entity identifier corresponding to the first entity type; a second determination module configured to determine, in response to the target data entry including the first entity identifier, a first region corresponding to the first entity identifier based on the first mapping information, the first mapping information indicating a first mapping relationship between the first group of entity identifiers and a set of preset regions, the first group of entity identifiers corresponding to the first entity type; and a data association module configured to associate the target data entry with the first region. In a third aspect of the present disclosure, an electronic device is provided. The device includes: a memory and a processor; the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect of the present disclosure. In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to the first aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and other features, advantages, and aspects of various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings.In the accompanying drawings, identical or similar reference numerals indicate identical or similar elements, wherein: FIG1 is a schematic block diagram of a data processing system according to an embodiment of the present disclosure; FIG2A and FIG2B are flowcharts of example processes for data processing according to some embodiments of the present disclosure; FIG3 is an example block diagram of an apparatus for data processing according to some embodiments of the present disclosure; and FIG4 is a block diagram of an example device that can be used to implement embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure. In describing the embodiments of the present disclosure, the terms "including" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to." The term "based on" should be understood as "based, at least in part, on." The terms "one embodiment" or "the embodiment" should be understood as "at least one embodiment." The term "some embodiments" should be understood as "at least some embodiments." Other explicit and implicit definitions may be included below. In this document, unless explicitly stated, executing a step "in response to A" does not mean executing the step immediately after "A," but may include one or more intermediate steps. It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage, or deletion of the data) must comply with relevant laws, regulations, and relevant provisions. It is understood that before using the technical solutions disclosed in each embodiment of this disclosure, the type, scope of use, and usage scenarios of the information involved in this disclosure must be notified to the relevant users in accordance with relevant laws and regulations through appropriate means, and authorization must be obtained from the relevant users. Relevant users may include any type of rights holder, such as individuals, enterprises, and groups. It is understood that the above notification and user authorization process is merely illustrative and does not limit the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure. As mentioned above, various Internet applications generate massive amounts of data every day, which raises various data security issues, such as data sovereignty protection. For example, some countries may prohibit certain types of user data from being sent to overseas servers. Therefore, identifying the location of data is a fundamental task in data management. According to embodiments of the present disclosure, a solution for data processing is provided.According to this solution, it can be determined whether a target data entry includes a first entity identifier corresponding to a first entity type. Furthermore, in response to the target data entry including the first entity identifier, a first region corresponding to the first entity identifier is determined based on first mapping information. The first mapping information indicates a first mapping relationship between a first group of entity identifiers and a set of preset regions, where the first group of entity identifiers corresponds to the first entity type. Accordingly, the target data entry can be associated with the first region. In this manner, embodiments of the present disclosure can automatically identify the region corresponding to a data entry, thereby supporting region-based data management. The following describes the basic principles and several example implementations of the present disclosure with reference to the accompanying drawings. Example Environment: FIG1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG1 , example environment 100 may include an electronic device 110 . In this example environment 100, electronic device 110 may obtain a dataset 120 . Such dataset 120 may include multiple data entries 125 , also referred to as a row of data. In some embodiments, dataset 120 may be generated based on user operations within an application. For example, taking comment data as an example, after a user submits a comment within an application, the application may generate a corresponding data entry corresponding to the user-submitted comment. In some embodiments, such a data entry 125 may include multiple data segments, each of which may correspond to a different type of data content. For example, a data entry 125 may be organized based on multiple pre-defined fields, with each data segment associated with a corresponding field. Continuing with the comment data example, such fields may include, for example, the comment identifier, the identifier of the user who submitted the comment, the time the comment was submitted, and so on. As discussed in detail below with reference to Figures 2A and 2B, electronic device 110 may determine the region 130 corresponding to each data entry 125 in a dataset 120, thereby supporting regional-based management or processing of data in dataset 120. The process of determining the region corresponding to a data entry will be described in detail below. Flowchart 200A. Process 200A can be implemented at electronic device 110 as shown in FIG. Process 200A will be described below with reference to FIG. At block 210, electronic device 110 determines whether the target data entry includes a first entity identifier corresponding to a first entity type. Taking data entry 125 in FIG. 1 as an example, electronic device 110 may determine whether data entry 125 includes an entity identifier corresponding to a specific entity type. In some embodiments, such a specific entity type may correspond to a unique region. In some embodiments, the first entity type may correspond to a user entity, and the first entity identifier may include a user identifier of the user entity. For example, electronic device 110 may determine whether data entry 125 includes the user identifier. Continuing with FIG. 2 , in response to the target data entry including the first entity identifier, process 200A proceeds to block 220. Specifically, electronic device 110 determines a first region corresponding to the first entity identifier based on first mapping information. The first mapping information indicates a first mapping relationship between a first set of entity identifiers and a set of preset regions, and the first set of entity identifiers corresponds to the first entity type. Continuing with the user identifier as an example, if data entry 125 includes a user identifier, electronic device 110 can determine the region corresponding to the user identifier based on pre-established mapping information. In some embodiments, a first mapping relationship can be established based on the user's region or the region to which the user belongs. For example, the first mapping relationship can be expressed as <user identifier, region>. At block 230, electronic device 110 associates the target data entry with the first region. Furthermore, electronic device 110 can establish an association between data entry 125 and the region corresponding to the first entity identifier to support region-based management or processing of data entry 125. Continuing with FIG. 2A , if it is determined at block 210 that the target data entry does not include the first entity identifier, process 200A can proceed to process 200B as shown in FIG. 2B . Specifically, as shown in FIG. 2B , at block 240, electronic device 110 can determine whether the target data entry includes a second entity identifier corresponding to a second entity type. Unlike the first entity type, the second entity type can be an appropriate entity type that can be used to determine the corresponding first entity type. For example, the first entity type may be a user entity, and the second entity type may be a comment entity. Based on the comment entity, electronic device 110 can determine the unique user entity that posted the comment. If, at block 240 , it is determined that the target data entry includes a second entity identifier, process 200B may proceed to block 250 .At block 250, electronic device 110 may determine a third entity identifier corresponding to the second entity identifier based on the second mapping information. In some embodiments, the third entity identifier corresponds to the first entity type, and the second mapping information indicates a second mapping relationship between the second group of entity identifiers and the third group of entity identifiers, where the second group of entity identifiers corresponds to the second entity type, and the third group of entity identifiers corresponds to the first entity type. Taking a comment entity and a user entity as an example, the second mapping information may be expressed as <comment identifier, user identifier>. Electronic device 110 may determine the identifier of the user entity corresponding to the comment entity based on the identifier of the comment entity included in data entry 125. In some embodiments, electronic device 110 may construct the second mapping information based on the following process. Electronic device 110 may determine a mapping relationship between a candidate entity type and the first entity type. Furthermore, in response to the mapping relationship being a many-to-one mapping or a one-to-one mapping, electronic device 110 may construct second mapping information between the candidate entity type and the first entity type. In other words, electronic device 110 may determine another entity type that has a many-to-one mapping or a one-to-one mapping with the first entity type and construct the corresponding mapping relationship accordingly. In contrast, electronic device 110 may not process other entity types that have a many-to-many mapping relationship with the first entity type. For example, using the user entity as the first entity type, the fan entity and the user entity have a many-to-many mapping relationship. That is, a fan entity may follow multiple user entities, and a user entity may be associated with multiple fan entities. In this case, the fan entity is not suitable for use as the second entity type. Furthermore, in block 260, electronic device 110 associates the target data entry with the second region corresponding to the third entity identifier based on the third entity identifier and the first mapping information. Continuing with the user identifier as an example, if data entry 125 includes a user identifier, electronic device 110 may determine the region corresponding to the user identifier based on pre-established mapping information and associate data entry 125 with the region to support region-based management or processing of data entry 125. Continuing with FIG. 2B , if it is determined in block 240 that the target data entry does not include a second entity identifier, process 200B may proceed to block 270. Electronic device 110 may determine whether the target data entry includes a target data segment that meets the preset requirements. Furthermore, if it is determined at block 270 that the target data entry includes the target data segment, process 200B may proceed to block 280. At block 280, electronic device 110 may determine a fourth entity identifier corresponding to the target data segment based on the third mapping information.In some embodiments, the fourth entity identifier corresponds to the first entity type, and the third mapping information indicates a second mapping relationship between a set of data segments and the fourth set of entity identifiers, where the fourth set of entity identifiers corresponds to the first entity type. Taking a user entity as an example of the first entity, the target data segment may be data used to uniquely identify the corresponding user entity. For example, the target data segment may be a personal information identifier of the user entity. In some embodiments, electronic device 110 may extract the target data segment based on format requirements corresponding to a preset information type of the user entity. For example, such format requirements may include format requirements for a specific personal information identifier. Electronic device 110 may pre-establish a mapping relationship between a set of data segments and the user identifier, which may be expressed as <data segment, user identifier>. Thus, electronic device 110 may determine the user entity corresponding to the data entry 125 based on the data segments extracted from the data entry. Furthermore, in block 280, electronic device 110 may associate the target data entry with the third region corresponding to the fourth entity identifier based on the fourth entity identifier and the first mapping information. Continuing with the user identification example, if data entry 125 includes a user identification, electronic device 110 can determine the region corresponding to the user identification based on pre-established mapping information and associate data entry 125 with the region to support region-based management or processing of data entry 125. In some embodiments, after associating data entry 125 with the corresponding region, electronic device 110 can also perform data processing operations corresponding to the corresponding region on the target data entry based on the target data being associated with the corresponding region. In some embodiments, electronic device 110 can delete at least part of the content in the target data entry. For example, if certain regions prohibit the storage of a certain type of data, electronic device 110 can perform corresponding operations on the data entry associated with the region, such as deleting the certain type of data from the data entry. In some embodiments, electronic device 110 can also modify at least part of the content in the target data entry. For example, if certain regions require the anonymization of certain types of data, electronic device 110 can perform corresponding operations on the data entry associated with the region, such as anonymizing certain content in the data entry. Embodiments of the present disclosure can automatically identify the region corresponding to a data entry, thereby supporting region-based data management and improving data management efficiency. Example Devices and Apparatus: Embodiments of the present disclosure also provide corresponding devices for implementing the aforementioned methods or processes. Figure 3 shows a schematic block diagram of a data processing device 300 according to certain embodiments of the present disclosure.Apparatus 300 may be implemented as or included in electronic device 110. Each module / component in apparatus 300 may be implemented by hardware, software, firmware, or any combination thereof. As shown in FIG3 , apparatus 300 includes a first determination module 310 configured to determine whether a target data entry includes a first entity identifier corresponding to a first entity type; a second determination module 320 configured to, in response to the target data entry including the first entity identifier, determine a first region corresponding to the first entity identifier based on first mapping information, the first mapping information indicating a first mapping relationship between a first group of entity identifiers and a set of preset regions, the first group of entity identifiers corresponding to the first entity type; and a data association module 330 configured to associate the target data entry with the first region. In some embodiments, the first entity type corresponds to a user entity, and the first entity identifier includes a user identifier of the user entity. In some embodiments, apparatus 300 further includes a first processing module configured to: in response to the target data entry including the first entity identifier, determine whether the target data entry includes the second entity identifier corresponding to the second entity type; in response to the target data entry including the second entity identifier, determine a third entity identifier corresponding to the second entity identifier based on second mapping information, the third entity identifier corresponding to the first entity type, the second mapping information indicating a second mapping relationship between the second group of entity identifiers and the third group of entity identifiers, the second group of entity identifiers corresponding to the second entity type, and the third group of entity identifiers corresponding to the first entity type; and, based on the third entity identifier and the first mapping information, associate the target data entry with the second region corresponding to the third entity identifier. In some embodiments, the second mapping information is constructed based on the following process: determining a mapping relationship between a candidate entity type and the first entity type; and in response to the mapping relationship being a many-to-one mapping or a one-to-one mapping, constructing second mapping information between the candidate entity type and the first entity type. In some embodiments, apparatus 300 further includes a second processing module configured to: in response to the target data entry not including the second entity identifier, determine whether the target data entry includes a target data segment that meets a preset requirement; in response to the target data entry including the target data segment, determine a fourth entity identifier corresponding to the target data segment based on third mapping information, the fourth entity identifier corresponding to the first entity type, the third mapping information indicating a second mapping relationship between a group of data segments and a fourth group of entity identifiers, the fourth group of entity identifiers corresponding to the first entity type; and, based on the fourth entity identifier and the first mapping information, associate the target data entry with a third region corresponding to the fourth entity identifier. In some embodiments, the preset requirement indicates a format requirement corresponding to a preset information type of a user entity.In some embodiments, apparatus 300 further includes a third processing module configured to: perform a data processing operation corresponding to the first region on the target data entry. In some embodiments, the data processing operation includes at least one of the following: deleting at least part of the content in the target data entry; or modifying at least part of the content in the target data entry. Figure 4 shows a schematic block diagram of an example device 400 that can be used to implement embodiments of the present disclosure. For example, electronic device 110 according to embodiments of the present disclosure can be implemented by device 400. As shown, device 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes based on computer program instructions stored in a read-only memory (ROM) 402 or loaded from a storage unit 408 into a random access memory (RAM) 403. RAM 403 can also store various programs and data required for the operation of device 400. CPU 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to bus 404. Multiple components within device 400 are connected to I / O interface 405, including: an input unit 406, such as a keyboard and mouse; an output unit 407, such as various types of displays and speakers; a storage unit 408, such as a magnetic disk and optical disk; and a communication unit 409, such as a network card, a modem, or a wireless communication transceiver. Communication unit 409 allows device 400 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks. The various processes and procedures described above, such as process 200A and / or process 200B, may be executed by processing unit 401. For example, in some embodiments, 200A and / or process 200B may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed onto device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by CPU 401, one or more actions of process 200A and / or process 200B described above may be performed. The present disclosure may be a method, apparatus, system, and / or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions for executing various aspects of the present disclosure. The computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.Computer-readable storage media may be, for example, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disks (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or raised structures within grooves on which instructions are stored, and any suitable combination thereof. As used herein, computer-readable storage media is not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber-optic cables), or electrical signals transmitted via wires. The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored on the computer-readable storage medium in the respective computing / processing device. The computer program instructions used to perform the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-specific instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).In some embodiments, by utilizing state information from computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure. Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block in the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine. When these instructions are executed by the processing unit of the computer or other programmable data processing device, they generate a device that implements the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams. These computer-readable program instructions can also be stored in a computer-readable storage medium. These instructions cause a computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture, which includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams. The computer-readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device, causing the computer, other programmable data processing device, or other device to execute a series of operational steps to generate a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing device, or other device to implement the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams. The flowcharts and block diagrams in the accompanying drawings illustrate possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or portion of instructions, each of which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the accompanying figures. For example, two consecutive blocks may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flow charts, as well as combinations of blocks in the block diagrams and / or flow charts, may be implemented using a dedicated hardware-based system that performs the specified functions or actions, or may be implemented using a combination of dedicated hardware and computer instructions.The above descriptions describe various embodiments of the present disclosure. These descriptions are illustrative and non-exhaustive, and are not intended to limit the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the various embodiments, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various embodiments disclosed herein.

Claims

Claims 1. A method for data processing, comprising: determining whether the target data entry includes a first entity identifier corresponding to the first entity type; In response to the target data entry including the first entity identifier, determining a first region corresponding to the first entity identifier based on first mapping information, the first mapping information indicating a first mapping relationship between a first group of entity identifiers and a group of preset regions, the first group of entity identifiers corresponding to the first entity type; and associating the target data entry with the first region.

2. The method according to claim 1, wherein the first entity type corresponds to a user entity, and the first entity identifier comprises a user identifier of the user entity.

3. The method according to claim 1, further comprising: In response to the target data entry including the first entity identifier, determining whether the target data entry includes a second entity identifier corresponding to a second entity type; In response to the target data entry including the second entity identifier, a third entity identifier corresponding to the second entity identifier is determined based on second mapping information, the third entity identifier corresponds to the first entity type, the second mapping information indicates a second mapping relationship between a second group of entity identifiers and a third group of entity identifiers, the second group of entity identifiers corresponds to the second entity type, and the third group of entity identifiers corresponds to the first entity type; and based on the third entity identifier and the first mapping information, the target data entry is associated with a second area corresponding to the third entity identifier.

4. The method according to claim 3, wherein the second mapping information is constructed based on the following process: determining a mapping relationship between a candidate entity type and the first entity type; and in response to the mapping relationship being a many-to-one mapping or a one-to-one mapping, constructing the second mapping information between the candidate entity type and the first entity type.

5. The method according to claim 3, further comprising: In response to the target data entry not including the second entity identifier, determining whether the target data entry includes a target data segment that meets a preset requirement; In response to the target data entry including the target data segment, a fourth entity identifier corresponding to the target data segment is determined based on third mapping information, the fourth entity identifier corresponds to the first entity type, the third mapping information indicates a second mapping relationship between a group of data segments and a fourth group of entity identifiers, the fourth group of entity identifiers corresponds to the first entity type; and based on the fourth entity identifier and the first mapping information, the target data entry is associated with a third area corresponding to the fourth entity identifier.

6. The method according to claim 5, wherein the preset requirement indicates: a format requirement corresponding to a preset information type of the user entity.

7. The method according to claim 1, further comprising: A data processing operation corresponding to the first region is performed on the target data entry.

8. The method according to claim 7, wherein the data processing operation comprises at least one of the following: deleting at least part of the content in the target data entry; modifying at least part of the content in the target data entry.

9. A device for data processing, comprising: A first determination module, configured to determine whether the target data entry includes a first entity identifier corresponding to a first entity type; a second determining module, configured to determine, in response to the target data entry including the first entity identifier, a first region corresponding to the first entity identifier based on first mapping information, the first mapping information indicating a first mapping relationship between a first group of entity identifiers and a group of preset regions, the first group of entity identifiers corresponding to the first entity type; and a data association module configured to associate the target data entry with the first region.

10. An electronic device, comprising: A memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 9.

11. A computer-readable storage medium having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Data processing method and device, equipment and storage medium

    CN120197619A

  • Data processing method and device, storage medium and electronic equipment

    CN115238658A

  • Application of information management policies based on operation with a geographic entity

    US20140188804A1

  • Country Identification Using Unsupervised Machine Learning on Names

    US20200394525A1

  • Multi-country data pipeline that protects personally identifying information

    US20210026986A1