WO2023035964A1 - 数据操作方法、装置、存储介质及电子设备 - Google Patents

数据操作方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2023035964A1
WO2023035964A1 PCT/CN2022/114875 CN2022114875W WO2023035964A1 WO 2023035964 A1 WO2023035964 A1 WO 2023035964A1 CN 2022114875 W CN2022114875 W CN 2022114875W WO 2023035964 A1 WO2023035964 A1 WO 2023035964A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
file
target
sub
offline
Prior art date
Application number
PCT/CN2022/114875
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 WO2023035964A1 publication Critical patent/WO2023035964A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance

Definitions

  • the present disclosure relates to the field of data technology, and in particular, to a data operation method, device, storage medium, and electronic equipment.
  • Data warehouse is a strategic collection that provides all types of data support for enterprise-level decision-making process, and it is the structured data of decision support system (DSS, Decision-making Support System) and online analytical processing (OLAP, Online Analytical Processing) data source Environment, mainly used for data mining and data analysis.
  • DSS Decision-making Support System
  • OLAP Online Analytical Processing
  • the present disclosure provides a data manipulation method, the method comprising:
  • the target file storing the target data is retrieved in the offline data warehouse, wherein the The first data associated with the user in the offline data warehouse is stored in a first file, the second data associated with the user is stored in a second file, and the first data can uniquely identify the user;
  • the present disclosure provides a data operation device, the device comprising:
  • the first retrieval module is configured to, in response to a data operation request for the target data in the offline data warehouse, retrieve and store the target in the offline data warehouse according to the identification information of the target data carried in the data operation request
  • the target file of the data wherein the first data associated with the user in the offline data warehouse is stored in the first file, the second data associated with the user is stored in the second file, and the first data can uniquely identify the user;
  • the second retrieval module is configured to query the data in the target file based on the identification information, and if the identification information of the queried data is the same as the identification information of the target data, then determine the Data row corresponding to the data to be operated;
  • a data operation module configured to perform a data operation corresponding to the data operation request on the data in the data row to be operated.
  • the present disclosure provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processing device, the steps of the method described in the first aspect are implemented.
  • an electronic device including:
  • a processing device configured to execute the computer program in the storage device to implement the steps of the method in the first aspect
  • the first data that can uniquely identify the user is stored in the first file
  • the second data associated with the user is stored in the second file, so in response to the target in the offline data warehouse
  • the first data associated with the user can be read for data operations
  • the second data associated with the user can be avoided for data operations, thereby reducing unnecessary IO during data operations in the offline data warehouse scenario and reducing resource consumption And time consumption, improve data operation efficiency.
  • FIG. 1 is a schematic diagram of a storage method of user data in the related art
  • Fig. 2 is a flow chart showing a data operation method according to an exemplary embodiment of the present disclosure
  • Fig. 3 is a schematic diagram showing a storage manner of user data in a data operation method according to an exemplary embodiment of the present disclosure
  • Fig. 4 is a schematic diagram of storage content after performing data operations in a data operation method according to an exemplary embodiment of the present disclosure
  • Fig. 5 is a schematic diagram showing a process of a data manipulation method according to an exemplary embodiment of the present disclosure
  • Fig. 6 is a block diagram of a data operation device according to an exemplary embodiment of the present disclosure.
  • Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • a row of data in the Hive table is stored in a file, including the following fields: uid (user ID), device_id (user device ID), idfa (advertiser identifier), login_time (login time), category (page operation category) and other_info (other page operation information).
  • the present disclosure provides a data operation method to reduce unnecessary IO during data operation in an offline data warehouse scenario, thereby reducing resource consumption and time consumption during data operation, and improving data operation efficiency.
  • Fig. 2 is a flow chart showing a data operation method according to an exemplary embodiment of the present disclosure.
  • the data manipulation method includes:
  • Step 201 in response to a data operation request for target data in the offline data warehouse, retrieve a target file for storing the target data in the offline data warehouse according to the identification information of the target data carried in the data operation request.
  • the first data associated with the user in the offline data warehouse is stored in the first file
  • the second data associated with the user is stored in the second file
  • the first data can uniquely identify the user.
  • Step 202 query the data in the target file based on the identification information, and if the identification information of the queried data is the same as the identification information of the target data, determine the data row corresponding to the data in the target file to be operated.
  • Step 203 perform data operation corresponding to the data operation request on the data in the data row to be operated.
  • the first data may include the user ID entered by the user during account registration, the user's age, information on the area where the user is located, etc.
  • the second data may be Including the user's page operation data, such as public pictures and public videos posted by the user, the embodiment of the present disclosure does not limit the specific content of the first data and the second data.
  • the first data that can uniquely identify the user (such as uid, device_id, etc.) is stored in the first file
  • the second data that cannot uniquely identify the user (such as login_time) is stored in the second file
  • the target file for storing the target data can be retrieved in the offline data warehouse according to the identification information of the target data carried in the data operation request, and then the target file can be read The data row in the data operation.
  • the first data associated with the user can be read for data operations
  • the second data associated with the user can be avoided for data operations, thereby reducing unnecessary IO during data operations in the offline data warehouse scenario and reducing resource consumption And time consumption, improve data operation efficiency.
  • user-related data needs to be deleted after the user cancels the account.
  • this method in the related art will cause a large amount of unnecessary IO (Input/Output, input/output) due to the need to read the entire row of data.
  • the Reading the corresponding user operation data consumes a lot of resources and time. Therefore, this disclosure proposes to vertically split and store the first data that can uniquely identify a user (such as the personal registration data exemplified above) and the second data associated with the user (such as the user operation data exemplified above) in multiple files In this way, the data rows in the corresponding file can be read to perform data operations, reducing unnecessary IO, thereby reducing resource consumption and time consumption.
  • the data in the offline data warehouse is stored in the offline data warehouse in the following way: Classify each sub-data included in the data to be stored in the offline data warehouse, and obtain the sub-data that can uniquely identify the user in the data The first sub-data and the second sub-data that cannot uniquely identify the user; the first sub-data is written into the first file of the offline data warehouse, and the second sub-data is written into the second file of the offline data warehouse, and the second sub-data is established.
  • a mapping relationship between the first sub-data in a file and the second sub-data in a second file the mapping relationship is used to indicate that the first sub-data and the second sub-data come from the same user data.
  • the first data may include the user ID entered by the user during account registration, the user's age, information on the area where the user is located, etc.
  • the second data may be Including the user's page operation data, such as public pictures and public videos posted by the user.
  • the specific data content included in the first sub-data and the second sub-data can be divided according to the actual situation, that is, the data content stored in the first file and the second file can be set according to the actual situation. Not limited.
  • each sub-data included in the data can be classified based on the pre-set content to obtain the data
  • the first sub-data that can uniquely identify the user and the second sub-data that cannot uniquely identify the user then write the first sub-data into the first file of the offline data warehouse, and write the second sub-data into the first file of the offline data warehouse two files, and simultaneously establish a mapping relationship between the first sub-data in the first file and the second sub-data in the second file. Therefore, the data associated with the same user in the first file and the second file can be mapped through the mapping relationship, and in the process of data operation, only the data in the first file can be read for data operation, reducing unnecessary IO , improve data operation efficiency.
  • the first sub-data may be written into the target data line of the first file
  • the second sub-data may be written into the data line of the second file having the same line number as the target data line.
  • establishing the mapping relationship between the first sub-data in the first file and the second sub-data in the second file can be: through the data line number and the second sub-data in the first file of the first sub-data In the data line number in the second file, the first sub-data is mapped with the second sub-data.
  • the data associated with the same user in the first file and the second file can be mapped through the data line number.
  • the mapping between the data associated with the same user in the first file and the second file can be realized without additional settings, thereby improving the efficiency of data operation.
  • mapping relationship between the first sub-data in the first file and the second sub-data in the second file can also be established in other ways, for example, the first file and the second file Add the same mapping identifier to the data associated with the same user in the file, and then associate the data associated with the same user in the first file and the second file according to the mapping identifier, etc. This is not limited in this embodiment of the present disclosure.
  • the target file for storing the target data can be determined in the first file and the second file, so as to read the data in the target file Rows perform data operations to reduce unnecessary IO during data operations.
  • the application platform corresponding to the account may delete the relevant data of the user within a certain period of time. That is to say, it is possible to delete the relevant data of the user who initiated the account cancellation within the time period in the offline data warehouse at a certain time interval. Therefore, the data operation request in the embodiment of the present disclosure may be a data operation request for data in an offline data warehouse initiated at intervals. Wherein, the specific value of the interval time may be set according to the actual situation, which is not limited in the embodiments of the present disclosure.
  • the data operation request may be a request for performing data deletion or a request for performing data update, which is not limited in this embodiment of the present disclosure.
  • the identification information may be used to uniquely identify the target data, and may be a user ID corresponding to the target data, etc., which is not limited in this embodiment of the present disclosure.
  • the identification information of the target data to be operated can be carried in the data operation request, for example, the user ID of the target data is carried in the data operation request, so it can be subsequently retrieved and stored in the offline data warehouse according to the identification information.
  • Object file for object data for example, the user ID of the target data is carried in the data operation request, so it can be subsequently retrieved and stored in the offline data warehouse according to the identification information.
  • the file name of the first file in the offline data warehouse includes a hash value
  • the hash value is determined by performing hash calculation on identification information of a plurality of user data stored in the first file.
  • retrieving the target file storing the target data in the offline data warehouse may be: performing hash calculation according to the identification information of the target data carried in the data operation request to obtain the target The target hash value corresponding to the data. Then based on the target hash value, retrieve the file names of the first files in the offline data warehouse, and determine the first file whose hash value in the file name is the same as the target hash value as the target file storing the target data .
  • hash calculation can be performed according to the identification information of the data, and then multiple data with the same hash value are stored in the same first file, and the file name of the first file can include the corresponding hash value.
  • the first file corresponds to a bucket (Bucket).
  • bucket Buscket
  • the target file where the data to be operated is located can be precisely located, and then the data operation is performed.
  • index retrieval can be performed according to the hash value corresponding to the first file, so as to improve retrieval efficiency and further improve data operation efficiency.
  • the first files in the offline data warehouse are stored in groups according to user IDs.
  • the user ID of the first first file is 0 to 100
  • the user ID of the second first file is 101 to 200, and so on, and then determine the target file that stores the target data according to the user ID of the target data, and so on.
  • the format of the object file of the object data is not limited.
  • the data of the target file can be read for data operation.
  • the data in the target file can be queried based on the identification information. If the identification information of the queried data is the same as the identification information of the target data, the data row to be operated corresponding to the data in the target file is determined, and then the data row to be operated is determined. Execute the data operation corresponding to the data operation request.
  • the data operation request is a data deletion request
  • performing the data operation corresponding to the data operation request on the data in the data row to be operated may be: setting all the data in the data row to be operated to empty .
  • the target file and the second file corresponding to the target file are shown in Figure 3, and the data deletion request is used to delete the data whose user ID is 12 in the target file, then perform data deletion according to the data operation method provided by the embodiment of the present disclosure
  • the target file and the second file corresponding to the target file may be as shown in FIG. 4 . It should be understood that after emptying all the data in the corresponding data row in the target file, it cannot be proved that the data in the data row in the second file that has a mapping relationship with the data row is the data of a certain user, so the deletion can be satisfied. User data requirements.
  • performing the data operation corresponding to the data operation request on the data in the target data row may also be: performing a data write operation based on the target file, obtaining a file copy corresponding to the target file, and determining the data to be operated in the file copy row corresponding to the copy data row, and then perform the data operation corresponding to the data operation request on the data in the copy data row.
  • a new file may be written first, and then the data operation corresponding to the data operation request may be performed on the newly written file.
  • the correctness of the data read in the target file during the data operation can be guaranteed.
  • the corresponding data can be read from the target file in response to the data reading request for the target file, and after the data operation is performed, the data reading request for the target file can be responded to , to read the corresponding data from the file copy that has executed the data operation request.
  • the downstream task reads the historical version data, that is, reads the corresponding data from the original target file.
  • the downstream task reads the latest version of the data, that is, reads the corresponding data from the file copy that has executed the data operation request, so as to ensure the correctness of the data read in the target file during the data operation process .
  • the first file (PII Columns) and the corresponding second file (Non-PII Columns) correspond to the same bucket, and each bucket corresponds to a hash value (Bucket 1 to Bucket N, where N is a positive value greater than 2 integer).
  • a user submits a data deletion request, and the data deletion request may include a list of user IDs to be deleted.
  • the offline data warehouse can perform hash calculation according to each user ID in the user ID list to obtain a target hash value. Then, each bucket is retrieved according to the target hash value, and the bucket whose hash value is the same as the target hash value is determined, so that the first file included in the bucket is determined as the target file storing the data to be deleted.
  • FIG. 5 illustrates the retrieval of buckets Bucket 1 and Bucket i (i is a positive integer greater than 1 and less than N). Then, a write operation is performed based on the retrieved target file in the bucket to obtain a file copy, and then the data operation corresponding to the data operation request is performed on the file copy. Therefore, there will be two versions of the first file in the corresponding bucket, such as the old version of the first file V1 and the new version of the first file V2 shown in Figure 5, where the old version of the first file V1 is the initial target file, and the new version of the first file V1 Version 1 file V2 is a copy of the file for which corresponding data operations have been performed.
  • the downstream task when the downstream task reads data, it can read the corresponding data from the first file of the new version instead of reading the deleted user data from the first file of the old version, thus ensuring the correctness of the data read by the downstream task .
  • old versions of files can be physically deleted on a regular basis.
  • the data that can uniquely identify a user accounts for a very small proportion of the total amount of user data (including personal information data and page operation data), so the data operation method provided by the embodiment of the present disclosure reads the first
  • the data in the file is used for data operations, which can greatly reduce the IO cost of data operations.
  • user ID is a column in a Hive table, which accounts for 1% of the total data storage. Then, performing data operations on the user ID based on the data operation method provided by the embodiments of the present disclosure can reduce the overall IO to 1% of the full read solution in the related art.
  • the data operation performance of the data operation method provided by the embodiment of the present disclosure is nearly 10 times that of the full read solution.
  • the data operation method provided by this disclosure reads the data of the first file for data operations without affecting the data of the second file, such as index data such as clicks and browsing , which is better for the integrity and traceability protection of the overall index.
  • the present disclosure also provides a data operation device, which can become a part or all of the electronic equipment through software, hardware or a combination of the two.
  • the data manipulation device 600 includes:
  • the first retrieval module 601 is configured to, in response to a data operation request for target data in an offline data warehouse, retrieve the data stored in the offline data warehouse according to the identification information of the target data carried in the data operation request.
  • the target file of the target data wherein the first data associated with the user in the offline data warehouse is stored in the first file, the second data associated with the user is stored in the second file, and the first data can uniquely identify the user;
  • the second retrieval module 602 is configured to query the data in the target file based on the identification information, and if the identification information of the queried data is the same as the identification information of the target data, determine the data in the target file The row of data to be operated corresponding to the above data;
  • the data operation module 603 is configured to perform a data operation corresponding to the data operation request on the data in the data row to be operated.
  • the data in the offline data warehouse is stored in the offline data warehouse through the following modules:
  • a classification module configured to classify each sub-data included in the data to be stored in the offline data warehouse, and obtain the first sub-data that can uniquely identify the user and the second sub-data that cannot uniquely identify the user in the data. data;
  • a writing module configured to write the first sub-data into the first file of the offline data warehouse, and write the second sub-data into the second file of the offline data warehouse;
  • mapping module configured to establish a mapping relationship between the first sub-data in the first file and the second sub-data in the second file, and the mapping relationship is used to characterize the first The sub-data and the second sub-data originate from the same user data.
  • the writing module is used for:
  • the mapping module is used to:
  • the file name of the first file in the offline data warehouse includes a hash value
  • the hash value is calculated by performing hash calculation on identification information of a plurality of user data stored in the first file.
  • the first retrieval module 601 is used to:
  • the target hash value Based on the target hash value, retrieve the file name of each of the first files in the offline data warehouse, and store the hash value in the file name that is the same as the target hash value.
  • the first file is determined as a target file storing the target data.
  • the data operation module 603 is used for:
  • the device 600 also includes:
  • a first response module configured to read corresponding data from the target file in response to a data read request for the target file before performing the data operation
  • the second response module is configured to, after performing the data operation, respond to the data reading request for the target file, and read corresponding data from the copy of the file that has performed the data operation request.
  • the data operation request is a data deletion request
  • the data operation module 603 :
  • the present disclosure also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processing device, the steps of any one of the above-mentioned data manipulation methods are implemented.
  • an electronic device including:
  • a processing device configured to execute the computer program in the storage device, so as to realize the steps of any one of the above data manipulation methods.
  • FIG. 7 it shows a schematic structural diagram of an electronic device 700 suitable for implementing the embodiments of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 7 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 700 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) Various appropriate actions and processes are executed by programs in the memory (RAM) 703 . In the RAM 703, various programs and data necessary for the operation of the electronic device 700 are also stored.
  • the processing device 701, ROM 702, and RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704 .
  • the following devices can be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 707 such as a computer; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709.
  • the communication means 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 7 shows electronic device 700 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 709, or from storage means 708, or from ROM 702.
  • the processing device 701 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) can be used to communicate, and can communicate with digital data in any form or medium (for example, communication network) interconnection.
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to a data operation request for the target data in the offline data warehouse, according to the data Operating the identification information of the target data carried in the request, retrieving a target file storing the target data in the offline data warehouse, wherein the first data associated with the user in the offline data warehouse is stored in the first file, The second data associated with the user is stored in a second file, and the first data can uniquely identify the user; querying the data in the target file based on the identification information, if the identification information of the queried data is the same as If the identification information of the target data is the same, determine the data line to be operated corresponding to the data in the target file; perform the data operation corresponding to the data operation request on the data in the data line to be operated.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as "C" or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, using an Internet service provider to connected via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider for example, using an Internet service provider to connected via the Internet.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation on the module itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • Example 1 provides a data manipulation method, including:
  • the target file storing the target data is retrieved in the offline data warehouse, wherein the The first data associated with the user in the offline data warehouse is stored in a first file, the second data associated with the user is stored in a second file, and the first data can uniquely identify the user;
  • Example 2 provides the method of Example 1, and the data in the offline data warehouse is stored in the offline data warehouse in the following manner:
  • mapping relationship between the first sub-data in the first file and the second sub-data in the second file, the mapping relationship is used to characterize the first sub-data and the The second sub-data originates from the same user data.
  • Example 3 provides the method of Example 2, the writing the first sub-data into the first file of the offline data warehouse, and writing the second sub-data Writing data into the second file of the offline data warehouse includes:
  • the establishment of the mapping relationship between the first sub-data in the first file and the second sub-data in the second file includes:
  • Example 4 provides the method described in any one of Examples 1-3, wherein the file name of the first file in the offline data warehouse includes a hash value, and the hash value determined by performing hash calculation on identification information of multiple user data stored in the first file;
  • retrieving the target file storing the target data in the offline data warehouse includes:
  • the target hash value Based on the target hash value, retrieve the file name of each of the first files in the offline data warehouse, and store the hash value in the file name that is the same as the target hash value.
  • the first file is determined as a target file storing the target data.
  • Example 5 provides the method described in any one of Examples 1-3, and performing the data operation corresponding to the data operation request on the data in the target data row includes:
  • Example 6 provides the method described in Example 5, the method further comprising:
  • Example 7 provides the method described in any one of Examples 1-3, the data operation request is a data deletion request, and the data in the to-be-operated data row is executed.
  • the data operation corresponding to the above data operation request including:
  • Example 8 provides a data manipulation device, the device comprising:
  • the first retrieval module is configured to, in response to a data operation request for the target data in the offline data warehouse, retrieve and store the target in the offline data warehouse according to the identification information of the target data carried in the data operation request
  • the target file of the data wherein the first data associated with the user in the offline data warehouse is stored in the first file, the second data associated with the user is stored in the second file, and the first data can uniquely identify the user;
  • the second retrieval module is configured to query the data in the target file based on the identification information, and if the identification information of the queried data is the same as the identification information of the target data, then determine the Data row corresponding to the data to be operated;
  • a data operation module configured to perform a data operation corresponding to the data operation request on the data in the data row to be operated.
  • Example 9 provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processing device, any one of Examples 1-7 is implemented. steps of the method described above.
  • Example 10 provides an electronic device, comprising:
  • a processing device configured to execute the computer program in the storage device to implement the steps of any one of the methods in Examples 1-7.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种数据操作方法、装置、存储介质及电子设备,以减少离线数据仓库场景下数据操作过程中的资源消耗和时间消耗,提高数据操作效率。该方法包括:响应于针对离线数据仓库中目标数据的数据操作请求,根据目标数据的标识信息,在离线数据仓库中检索存储有目标数据的目标文件(201),其中离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;基于标识信息查询目标文件中的数据,若查询到的数据的标识信息与目标数据的所述标识信息相同,则确定目标文件中数据对应的待操作数据行(202);对待操作数据行中的数据执行数据操作请求对应的数据操作(203)。

Description

数据操作方法、装置、存储介质及电子设备
相关申请的交叉引用
本申请基于申请号为202111051561.0、申请日为2021年09月08日,名称为“数据操作方法、装置、存储介质及电子设备”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及数据技术领域,具体地,涉及一种数据操作方法、装置、存储介质及电子设备。
背景技术
数据仓库,是为企业级别的决策制定过程提供所有类型数据支持的战略集合,是决策支持***(DSS,Decision-making Support System)和联机分析处理(OLAP,Online Analytical Processing)数据源的结构化数据环境,主要用于数据挖掘和数据分析。
相关技术中,在离线数据仓库场景下,通常采用全量读取待删除用户信息,然后针对全量数据进行对应的数据操作。由于需要处理待删除用户的全量数据,资源消耗和时间消耗巨大。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
第一方面,本公开提供一种数据操作方法,所述方法包括:
响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中所述数据对应的待操作数据行;
对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
第二方面,本公开提供一种数据操作装置,所述装置包括:
第一检索模块,用于响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
第二检索模块,用于基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信 息与所述目标数据的所述标识信息相同,则确定所述目标文件中所述数据对应的待操作数据行;
数据操作模块,用于对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
第三方面,本公开提供一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理装置执行时实现第一方面中所述方法的步骤。
第四方面,本公开提供一种电子设备,包括:
存储装置,其上存储有计算机程序;
处理装置,用于执行所述存储装置中的所述计算机程序,以实现第一方面中所述方法的步骤
通过上述技术方案,在离线数据仓库中,能够唯一标识用户的第一数据存储在第一文件中,且该用户关联的第二数据存储在第二文件中,因此响应于针对离线数据仓库中目标数据的数据操作请求,可以先根据数据操作请求携带的目标数据的标识信息,在离线数据仓库中检索用于存储目标数据的目标文件,然后读取目标文件中的数据行进行数据操作。由此,可以读取用户关联的第一数据进行数据操作,避免读取该用户关联的第二数据进行数据操作,进而可以减少离线数据仓库场景下数据操作过程中不必要的IO,减少资源消耗和时间消耗,提高数据操作效率。
本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。在附图中:
图1是相关技术中用户数据的存储方式示意图;
图2是根据本公开一示例性实施例示出的一种数据操作方法的流程图;
图3是根据本公开一示例性实施例示出的一种数据操作方法中用户数据的存储方式示意图;
图4是根据本公开一示例性实施例示出的一种数据操作方法中执行数据操作后的存储内容示意图;
图5是根据本公开一示例性实施例示出的一种数据操作方法的过程示意图;
图6是根据本公开一示例性实施例示出的一种数据操作装置的框图;
图7是根据本公开一示例性实施例示出的一种电子设备的框图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。 此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。另外需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
正如背景技术所言,在离线数据仓库场景下,通常采用全量读取待删除用户信息,然后针对全量数据进行对应的数据操作。由于需要处理待删除用户的全量数据,造成了大量不必要的IO,资源消耗和时间消耗巨大。比如,参照图1,Hive表的一行数据存储在一个文件中的,包括以下字段:uid(用户ID)、device_id(用户设备ID)、idfa(广告客户标识符)、login_time(登录时间)、category(页面操作类别)和other_info(其他页面操作信息)。当用户需要更新或删除该Hive表中某一行数据的uid列时,需要先读取整行数据,然后针对该行数据中的uid列执行更新或删除操作,造成了大量不必要的IO,资源消耗和时间消耗巨大。
有鉴于此,本公开提供一种数据操作方法,以减少离线数据仓库场景下数据操作过程中不必要的IO,从而减少数据操作过程中的资源消耗和时间消耗,提高数据操作效率。
图2是根据本公开一示例性实施例示出的一种数据操作方法的流程图。参照图2,该数据操作方法包括:
步骤201,响应于针对离线数据仓库中目标数据的数据操作请求,根据数据操作请求携带的目标数据的标识信息,在离线数据仓库中检索用于存储目标数据的目标文件。其中离线数据仓库中用户关联的第一数据存储在第一文件中,该用户关联的第二数据存储在第二文件中,第一数据能够唯一标识用户。
步骤202,基于标识信息查询目标文件中的数据,若查询到的数据的标识信息与目标数据的所述标识信息相同,则确定目标文件中数据对应的待操作数据行。
步骤203,对待操作数据行中的数据执行数据操作请求对应的数据操作。
示例地,在获取用户授权应用平台对自身相关的数据进行数据操作的情况下,第一数据可以包括用户在账户注册时输入的用户ID、用户年龄、用户所在区域的信息等,第二数据可以包括用户的页面操作数据,比如用户发布的公开图片、公开视频等,本公开实施例对于第一数据和第二数据的具 体内容不作限定。
参照图3,在离线数据仓库中,能够唯一标识用户的第一数据(比如uid、device_id等)存储在第一文件中,无法唯一标识用户的第二数据(比如login_time)存储在第二文件中,因此响应于针对离线数据仓库中目标数据的数据操作请求,可以先根据数据操作请求携带的目标数据的标识信息,在离线数据仓库中检索用于存储目标数据的目标文件,然后读取目标文件中的数据行进行数据操作。由此,可以读取用户关联的第一数据进行数据操作,避免读取该用户关联的第二数据进行数据操作,进而可以减少离线数据仓库场景下数据操作过程中不必要的IO,减少资源消耗和时间消耗,提高数据操作效率。
为了使得本领域技术人员更加理解本公开提供的数据操作方法,下面对上述各步骤进行详细举例说明。
例如,在用户进行账户注销操作后需要删除用户相关的数据。按照相关技术中的方式,需要先读取离线数据仓库中对应Hive表中该用户对应的整行数据,该整行数据包括该用户在账户注册时输入的用户ID、用户年龄、用户所在区域的信息等个人注册数据,也包括与用户的浏览、点击等相关的用户操作数据。然后,对读取到的该行数据执行删除操作,从而删除用户相关的数据。
但是,相关技术中的此种方式,由于需要读取整行数据,会造成大量不必要的IO(Input/Output,输入/输出),比如在需要删除用户的个人注册数据的情况下,会同时读取对应的用户操作数据,资源消耗和时间消耗大。因此,本公开提出将能够唯一标识用户的第一数据(比如上文举例的个人注册数据)和该用户关联的第二数据(比如上文举例的用户操作数据)垂直切分存储在多个文件中,从而可以读取对应文件中的数据行进行数据操作,减少不必要的IO,进而减少资源消耗和时间消耗。
在可能的方式中,离线数据仓库中的数据是通过如下方式存储到离线数据仓库的:对待存储到离线数据仓库的数据所包括的每一子数据进行分类,得到该数据中能够唯一标识用户的第一子数据和无法唯一标识用户的第二子数据;将第一子数据写入所述离线数据仓库的第一文件,并将第二子数据写入离线数据仓库的第二文件,建立第一文件中的第一子数据与第二文件中的第二子数据之间的映射关系,映射关系用于表征第一子数据与所述第二子数据来源于同一用户数据。
示例地,在获取用户授权应用平台对自身相关的数据进行数据操作的情况下,第一数据可以包括用户在账户注册时输入的用户ID、用户年龄、用户所在区域的信息等,第二数据可以包括用户的页面操作数据,比如用户发布的公开图片、公开视频等。在具体应用时,可以根据实际情况划分第一子数据和第二子数据包括的具体数据内容,即可以根据实际情况设定第一文件和第二文件存储的数据内容,本公开实施例对此不作限定。
在预先设定第一文件和第二文件存储的数据内容后,针对待存储到离线数据仓库的数据,可以基于该预先设定的内容对该数据包括的每一子数据进行分类,得到该数据中能够唯一标识用户的第一子数据和无法唯一标识用户的第二子数据,然后将第一子数据写入离线数据仓库的第一文件,并将第二子数据写入离线数据仓库的第二文件,同时建立第一文件中的第一子数据与第二文件中的第二子数 据之间的映射关系。由此,第一文件和第二文件中同一用户关联的数据可以通过该映射关系进行对应,并且在数据操作过程中,可以仅读取第一文件中的数据进行数据操作,减少不必要的IO,提高数据操作效率。
在可能的方式中,可以将第一子数据写入第一文件的目标数据行,并将第二子数据写入第二文件中行号与目标数据行相同的数据行。相应地,建立第一文件中的第一子数据与第二文件中的第二子数据之间的映射关系可以是:通过第一子数据在第一文件中的数据行号和第二子数据在第二文件中的数据行号,将第一子数据与第二子数据进行映射。
也即是说,可以通过数据行号将第一文件和第二文件中同一用户关联的数据进行映射。由此,无需额外的设置即可实现第一文件和第二文件中同一用户关联的数据之间的映射,从而提高数据操作效率。
当然,在其他可能的方式中,还可以通过其他方式建立第一文件中的第一子数据与第二文件中的第二子数据之间的映射关系,比如先对第一文件和第二文件中同一用户关联的数据添加同一映射标识,然后根据该映射标识将第一文件和第二文件中同一用户关联的数据进行对应,等等,本公开实施例对此不作限定。
在本公开实施例中,由于离线数据仓库中能够唯一标识用户的第一数据存储在第一文件中,无法唯一标识用户的第二数据存储在第二文件中。因此,在接收到数据操作请求后,可以根据该数据操作请求携带的目标数据的标识信息,第一文件和第二文件中确定用于存储目标数据的目标文件,从而读取目标文件中的数据行进行数据操作,以减少数据操作过程中不必要的IO。
示例地,在实际应用中,在用户发起账户注销后,该账户对应的应用平台可以在一定时间内删除该用户的相关数据。也即是说,可以间隔一定时间删除离线数据仓库中该时间段内发起账户注销的用户的相关数据。因此,本公开实施例中的数据操作请求可以是间隔一定时间发起的针对离线数据仓库中数据的数据操作请求。其中,间隔时间的具体取值可以根据实际情况设定,本公开实施例对此不作限定。数据操作请求可以是用于执行数据删除的请求或者可以是用于执行数据更新的请求,本公开实施例对此也不作限定。
示例地,标识信息可以用于唯一标识目标数据,可以是目标数据对应的用户ID,等等,本公开实施例对此不作限定。在本公开实施例中,在数据操作请求中可以携带待操作的目标数据的标识信息,比如数据操作请求中携带目标数据的用户ID,因此后续可以根据该标识信息在离线数据仓库中检索存储有目标数据的目标文件。
在可能的方式中,离线数据仓库中第一文件的文件名包括哈希值,该哈希值是对第一文件中存储的多个用户数据的标识信息进行哈希计算确定的。相应地,根据数据操作请求携带的目标数据的标识信息,在离线数据仓库中检索存储有目标数据的目标文件,可以是:根据数据操作请求携带的目标数据的标识信息进行哈希计算,得到目标数据对应的目标哈希值。然后基于该目标哈希值,在离线数据仓库中检索各第一文件的文件名,并将文件名中的哈希值与目标哈希值相同的第一文件确定为存储 有目标数据的目标文件。
示例地,在实际应用中,可以根据数据的标识信息进行哈希计算,然后将具有相同哈希值的多个数据存在同一个第一文件中,并且该第一文件的文件名可以包括对应的哈希值。可以理解的是,该第一文件对应一个分桶(Bucket)。比如划分1000个分桶,Hive分区下会有1000个第一文件,且文件名中会记录对应文件中数据的哈希值。在此种情况下,根据待操作数据的哈希值和该1000个文件的文件名即可精确定位该待操作数据所在的目标文件,然后进行数据操作。
也即是说,本公开实施例中,可以根据第一文件对应的哈希值进行索引检索,提高检索效率,进而提高数据操作效率。
当然,在实际应用中,还可以通过其他方式检索存储有目标数据的目标文件,比如先将离线数据仓库中的第一文件按照用户ID进行分组存储,比如第一个第一文件的用户ID为0至100,第二个第一文件的用户ID为101至200,以此类推,然后根据目标数据的用户ID确定存储有该目标数据的目标文件,等等,本公开实施例对于检索存储有目标数据的目标文件的方式不作限定。
在确定存储有目标数据的目标文件后,可以读取该目标文件的数据进行数据操作。示例地,可以基于该标识信息查询目标文件中的数据,若查询到的数据的标识信息与目标数据的标识信息相同,则确定目标文件中数据对应的待操作数据行,然后对待操作数据行中的数据执行数据操作请求对应的数据操作。
在可能的方式中,数据操作请求为数据删除请求,则对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作可以是:将待操作数据行中的所有数据置为空。
例如,目标文件和该目标文件对应的第二文件如图3所示,数据删除请求用于删除目标文件中的用户ID为12的数据,则按照本公开实施例提供的数据操作方法执行数据删除操作后,目标文件和该目标文件对应的第二文件可以如图4所示。应当理解的是,在将目标文件中对应数据行的所有数据置为空后,无法证明第二文件中与该数据行具有映射关系的数据行的数据是某一用户的数据,因此可以满足删除用户数据的需求。
在可能的方式中,对目标数据行中的数据执行数据操作请求对应的数据操作还可以是:基于目标文件执行数据写操作,得到目标文件对应的文件副本,并在文件副本中确定待操作数据行对应的副本数据行,然后对副本数据行中的数据执行数据操作请求对应的数据操作。
也即是说,在数据操作过程中,可以先新写一个文件,然后对该新写的文件执行数据操作请求对应的数据操作。由此,可以保证数据操作过程中对目标文件中读取数据的正确性。
在此基础上,在执行数据操作之前,可以响应于对目标文件的数据读取请求,从目标文件中读取对应的数据,在执行数据操作之后,可以响应于对目标文件的数据读取请求,从已执行数据操作请求的文件副本中读取对应的数据。
也即是说,在离线数据仓库中,单分区目录下同时存在多版本数据。数据操作未提交前,下游任务读取的是历史版本数据,即从初始的目标文件中读取对应的数据。数据操作提交后,下游任务读 取的是最新版本的数据,即从已执行数据操作请求的文件副本中读取对应的数据,从而可以保证数据操作过程中对目标文件中读取数据的正确性。
下面以数据删除为例说明本公开提供的数据操作方法。
参照图5,第一文件(PII Columns)和对应的第二文件(Non-PII Columns)对应同一分桶,每一分桶对应有哈希值(Bucket 1至Bucket N,N为大于2的正整数)。用户提交数据删除请求,该数据删除请求可以包括待删除的用户ID列表。离线数据仓库可以根据该用户ID列表中各用户ID进行哈希计算,得到目标哈希值。然后,根据该目标哈希值检索每一分桶,并确定哈希值与目标哈希值相同的分桶,从而将该分桶所包括的第一文件确定为存储有待删除数据的目标文件。其中,图5以检索到分桶Bucket 1和Bucket i(i为大于1且小于N的正整数)进行示意。然后,基于检索到的分桶中的目标文件进行写操作,得到文件副本,再对该文件副本执行数据操作请求对应的数据操作。由此,对应分桶中会存在两个版本的第一文件,比如图5示意的老版本第一文件V1和新版本第一文件V2,其中老版本第一文件V1为初始的目标文件,新版本第一文件V2为已执行对应数据操作的文件副本。之后,下游任务读取数据时可以从新版本第一文件中读取对应的数据,而不会从旧版本第一文件中读取已删除的用户数据,从而可以保证下游任务读取数据的正确性。并且,可以定期对老版本文件进行物理删除。
应当理解的是,一般情况下,能够唯一标识用户的数据占用户总数据(包括个人信息数据和页面操作数据)总量的极小比例,因此本公开实施例提供的数据操作方法读取第一文件中的数据进行数据操作,可以极大程度上降低数据操作的IO成本。例如,用户ID是某Hive表中的某一列,占数据总存储的1%。那么基于本公开实施例提供的数据操作方法对该用户ID进行数据操作,可以降低总体IO至相关技术中全量读取方案的1%。
并且,根据实际测试,本公开实施例提供的数据操作方法的数据操作性能是全量读取方案的将近10倍。此外,相比于全量读取方案会删除用户的所有记录数据,本公开提供的数据操作方法读取第一文件的数据进行数据操作,不影响第二文件的数据,例如点击和浏览等指标数据,对于整体指标的完整性和可回溯性保护更佳。
基于同一构思,本公开还提供一种数据操作装置,可以通过软件、硬件或者两者结合的方式成为电子设备的部分或全部。参照图6,该数据操作装置600包括:
第一检索模块601,用于响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
第二检索模块602,用于基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中所述数据对应的待操作数据行;
数据操作模块603,用于对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
可选地,所述离线数据仓库中的数据是通过如下模块存储到所述离线数据仓库的:
分类模块,用于对待存储到所述离线数据仓库的数据所包括的每一子数据进行分类,得到所述数据中能够唯一标识用户的第一子数据和无法唯一标识所述用户的第二子数据;
写入模块,用于将所述第一子数据写入所述离线数据仓库的所述第一文件,并将所述第二子数据写入所述离线数据仓库的所述第二文件;
映射模块,用于建立所述第一文件中的所述第一子数据与所述第二文件中的所述第二子数据之间的映射关系,所述映射关系用于表征所述第一子数据与所述第二子数据来源于同一所述用户数据。
可选地,所述写入模块用于:
将所述第一子数据写入所述第一文件的目标数据行,并将所述第二子数据写入所述第二文件中行号与所述目标数据行相同的数据行;
所述映射模块用于:
通过所述第一子数据在所述第一文件中的数据行号和所述第二子数据在所述第二文件中的数据行号,将所述第一子数据与所述第二子数据进行映射。
可选地,所述离线数据仓库中所述第一文件的文件名包括哈希值,所述哈希值是对所述第一文件中存储的多个用户数据的标识信息进行哈希计算而确定的,所述第一检索模块601用于:
根据所述数据操作请求携带的所述目标数据的标识信息进行哈希计算,得到所述目标数据对应的目标哈希值;
基于所述目标哈希值,在所述离线数据仓库中检索各所述第一文件的文件名,并将所述文件名中的所述哈希值与所述目标哈希值相同的所述第一文件确定为存储有所述目标数据的目标文件。
可选地,所述数据操作模块603用于:
基于所述目标文件执行数据写操作,得到所述目标文件对应的文件副本,并在所述文件副本中确定所述待操作数据行对应的副本数据行;
对所述副本数据行中的数据执行所述数据操作请求对应的数据操作。
可选地,所述装置600还包括:
第一响应模块,用于在执行所述数据操作之前,响应于对所述目标文件的数据读取请求,从所述目标文件中读取对应的数据;
第二响应模块,用于在执行所述数据操作之后,响应于对所述目标文件的数据读取请求,从已执行所述数据操作请求的所述文件副本中读取对应的数据。
可选地,所述数据操作请求为数据删除请求,所述数据操作模块603:
将所述待操作数据行中的所有数据置为空。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
基于同一构思,本公开还提供一种非临时性计算机可读存储介质,其上存储有计算机程序,该 程序被处理装置执行时实现上述任一数据操作方法的步骤。
基于同一构思,本公开还提供一种电子设备,包括:
存储装置,其上存储有计算机程序;
处理装置,用于执行所述存储装置中的所述计算机程序,以实现上述任一数据操作方法的步骤。
下面参考图7,其示出了适于用来实现本公开实施例的电子设备700的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,电子设备700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有电子设备700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许电子设备700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一 部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中所述数据对应的待操作数据行;对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上***(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行***、装置或设备使用或与指令执行***、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体***、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例1提供了一种数据操作方法,包括:
响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中所述数据对应的待操作数据行;
对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
根据本公开的一个或多个实施例,示例2提供了示例1的方法,所述离线数据仓库中的数据是通过如下方式存储到所述离线数据仓库的:
对待存储到所述离线数据仓库的数据所包括的每一子数据进行分类,得到所述数据中能够唯一标识用户的第一子数据和无法唯一标识所述用户的第二子数据;
将所述第一子数据写入所述离线数据仓库的所述第一文件,并将所述第二子数据写入所述离线数据仓库的所述第二文件;
建立所述第一文件中的所述第一子数据与所述第二文件中的所述第二子数据之间的映射关系,所述映射关系用于表征所述第一子数据与所述第二子数据来源于同一所述用户数据。
根据本公开的一个或多个实施例,示例3提供了示例2的方法,所述将所述第一子数据写入所述离线数据仓库的所述第一文件,并将所述第二子数据写入所述离线数据仓库的所述第二文件,包括:
将所述第一子数据写入所述第一文件的目标数据行,并将所述第二子数据写入所述第二文件中行号与所述目标数据行相同的数据行;
所述建立所述第一文件中的所述第一子数据与所述第二文件中的所述第二子数据之间的映射关 系,包括:
通过所述第一子数据在所述第一文件中的数据行号和所述第二子数据在所述第二文件中的数据行号,将所述第一子数据与所述第二子数据进行映射。
根据本公开的一个或多个实施例,示例4提供了示例1-3任一所述的方法,所述离线数据仓库中所述第一文件的文件名包括哈希值,所述哈希值是对所述第一文件中存储的多个用户数据的标识信息进行哈希计算而确定的;
所述根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,包括:
根据所述数据操作请求携带的所述目标数据的标识信息进行哈希计算,得到所述目标数据对应的目标哈希值;
基于所述目标哈希值,在所述离线数据仓库中检索各所述第一文件的文件名,并将所述文件名中的所述哈希值与所述目标哈希值相同的所述第一文件确定为存储有所述目标数据的目标文件。
根据本公开的一个或多个实施例,示例5提供了示例1-3任一所述的方法,所述对所述目标数据行中的数据执行所述数据操作请求对应的数据操作,包括:
基于所述目标文件执行数据写操作,得到所述目标文件对应的文件副本,并在所述文件副本中确定所述待操作数据行对应的副本数据行;
对所述副本数据行中的数据执行所述数据操作请求对应的数据操作。
根据本公开的一个或多个实施例,示例6提供了示例5所述的方法,所述方法还包括:
在执行所述数据操作之前,响应于对所述目标文件的数据读取请求,从所述目标文件中读取对应的数据;
在执行所述数据操作之后,响应于对所述目标文件的数据读取请求,从已执行所述数据操作请求的所述文件副本中读取对应的数据。
根据本公开的一个或多个实施例,示例7提供了示例1-3任一所述的方法,所述数据操作请求为数据删除请求,所述对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作,包括:
将所述待操作数据行中的所有数据置为空。
根据本公开的一个或多个实施例,示例8提供了一种数据操作装置,所述装置包括:
第一检索模块,用于响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
第二检索模块,用于基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中所述数据对应的待操作数据行;
数据操作模块,用于对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
根据本公开的一个或多个实施例,示例9提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理装置执行时实现示例1-7中任一项所述方法的步骤。
根据本公开的一个或多个实施例,示例10提供了一种电子设备,包括:
存储装置,其上存储有计算机程序;
处理装置,用于执行所述存储装置中的所述计算机程序,以实现示例1-7中任一项所述方法的步骤。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。

Claims (10)

  1. 一种数据操作方法,其特征在于,所述方法包括:
    响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
    基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中该数据对应的待操作数据行;
    对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
  2. 根据权利要求1所述的方法,其特征在于,所述离线数据仓库中的数据是通过如下方式存储到所述离线数据仓库的:
    对待存储到所述离线数据仓库的数据所包括的每一子数据进行分类,得到所述数据中能够唯一标识用户的第一子数据和无法唯一标识所述用户的第二子数据;
    将所述第一子数据写入所述离线数据仓库的所述第一文件,并将所述第二子数据写入所述离线数据仓库的所述第二文件;
    建立所述第一文件中的所述第一子数据与所述第二文件中的所述第二子数据之间的映射关系,所述映射关系用于表征所述第一子数据与所述第二子数据关联同一用户。
  3. 根据权利要求2所述的方法,其特征在于,所述将所述第一子数据写入所述离线数据仓库的所述第一文件,并将所述第二子数据写入所述离线数据仓库的所述第二文件,包括:
    将所述第一子数据写入所述第一文件的目标数据行,并将所述第二子数据写入所述第二文件中行号与所述目标数据行相同的数据行;
    所述建立所述第一文件中的所述第一子数据与所述第二文件中的所述第二子数据之间的映射关系,包括:
    通过所述第一子数据在所述第一文件中的数据行号和所述第二子数据在所述第二文件中的数据行号,将所述第一子数据与所述第二子数据进行映射。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述离线数据仓库中所述第一文件的文件名包括哈希值,所述哈希值是对所述第一文件中存储的多个数据的标识信息进行哈希计算而确定的;
    所述根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,包括:
    根据所述数据操作请求携带的所述目标数据的标识信息进行哈希计算,得到所述目标数据对应的目标哈希值;
    基于所述目标哈希值,在所述离线数据仓库中检索各所述第一文件的文件名,并将所述文件名 中的所述哈希值与所述目标哈希值相同的所述第一文件确定为存储有所述目标数据的目标文件。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述对所述目标数据行中的数据执行所述数据操作请求对应的数据操作,包括:
    基于所述目标文件执行数据写操作,得到所述目标文件对应的文件副本,并在所述文件副本中确定所述待操作数据行对应的副本数据行;
    对所述副本数据行中的数据执行所述数据操作请求对应的数据操作。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    在执行所述数据操作之前,响应于对所述目标文件的数据读取请求,从所述目标文件中读取对应的数据;
    在执行所述数据操作之后,响应于对所述目标文件的数据读取请求,从已执行所述数据操作请求的所述文件副本中读取对应的数据。
  7. 根据权利要求1-3任一项所述的方法,其特征在于,所述数据操作请求为数据删除请求,所述对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作,包括:
    将所述待操作数据行中的所有数据置为空。
  8. 一种数据操作装置,其特征在于,所述装置包括:
    第一检索模块,用于响应于针对离线数据仓库中目标数据的数据操作请求,根据所述数据操作请求携带的所述目标数据的标识信息,在所述离线数据仓库中检索存储有所述目标数据的目标文件,其中所述离线数据仓库中用户关联的第一数据存储在第一文件中,所述用户关联的第二数据存储在第二文件中,所述第一数据能够唯一标识所述用户;
    第二检索模块,用于基于所述标识信息查询所述目标文件中的数据,若查询到的数据的标识信息与所述目标数据的所述标识信息相同,则确定所述目标文件中该数据对应的待操作数据行;
    数据操作模块,用于对所述待操作数据行中的数据执行所述数据操作请求对应的数据操作。
  9. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理装置执行时实现权利要求1-7中任一项所述方法的步骤。
  10. 一种电子设备,其特征在于,包括:
    存储装置,其上存储有计算机程序;
    处理装置,用于执行所述存储装置中的所述计算机程序,以实现权利要求1-7中任一项所述方法的步骤。
PCT/CN2022/114875 2021-09-08 2022-08-25 数据操作方法、装置、存储介质及电子设备 WO2023035964A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111051561.0 2021-09-08
CN202111051561.0A CN113918659A (zh) 2021-09-08 2021-09-08 数据操作方法、装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2023035964A1 true WO2023035964A1 (zh) 2023-03-16

Family

ID=79234374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114875 WO2023035964A1 (zh) 2021-09-08 2022-08-25 数据操作方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN113918659A (zh)
WO (1) WO2023035964A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918659A (zh) * 2021-09-08 2022-01-11 北京火山引擎科技有限公司 数据操作方法、装置、存储介质及电子设备
CN116821520A (zh) * 2023-06-19 2023-09-29 北京火山引擎科技有限公司 用于过滤内容的方法、装置、电子设备和介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783440A (zh) * 2018-12-19 2019-05-21 平安普惠企业管理有限公司 数据存储方法及数据检索方法、装置、介质、电子设备
US20190188409A1 (en) * 2017-12-15 2019-06-20 Blackberry Limited Securing data storage of personally identifiable information in a database
CN111090628A (zh) * 2019-12-20 2020-05-01 上海米哈游网络科技股份有限公司 一种数据处理方法、装置、存储介质及电子设备
CN111753019A (zh) * 2019-03-26 2020-10-09 北京沃东天骏信息技术有限公司 一种应用于数据仓库的数据分区方法和装置
CN113918659A (zh) * 2021-09-08 2022-01-11 北京火山引擎科技有限公司 数据操作方法、装置、存储介质及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2861968A1 (en) * 2012-03-29 2013-10-03 Hitachi, Ltd. Maintenance information coordination system
US20140244612A1 (en) * 2013-02-28 2014-08-28 Linkedln Corporation Techniques for quantifying the intent and interests of members of a social networking service
CN107784055A (zh) * 2017-02-17 2018-03-09 平安科技(深圳)有限公司 基于非关系型数据库的事务处理方法和装置
CN109634774B (zh) * 2017-10-09 2022-11-22 北京国双科技有限公司 数据备份、恢复方法及装置
CN109726048A (zh) * 2018-12-13 2019-05-07 ***股份有限公司 一种交易***中数据恢复方法及装置
CN113220657B (zh) * 2021-05-14 2022-12-06 上海哔哩哔哩科技有限公司 数据处理方法、装置及计算机设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190188409A1 (en) * 2017-12-15 2019-06-20 Blackberry Limited Securing data storage of personally identifiable information in a database
CN109783440A (zh) * 2018-12-19 2019-05-21 平安普惠企业管理有限公司 数据存储方法及数据检索方法、装置、介质、电子设备
CN111753019A (zh) * 2019-03-26 2020-10-09 北京沃东天骏信息技术有限公司 一种应用于数据仓库的数据分区方法和装置
CN111090628A (zh) * 2019-12-20 2020-05-01 上海米哈游网络科技股份有限公司 一种数据处理方法、装置、存储介质及电子设备
CN113918659A (zh) * 2021-09-08 2022-01-11 北京火山引擎科技有限公司 数据操作方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN113918659A (zh) 2022-01-11

Similar Documents

Publication Publication Date Title
WO2023035964A1 (zh) 数据操作方法、装置、存储介质及电子设备
US11314773B2 (en) Data permissioning through data replication
WO2023056934A1 (zh) 数据处理方法、装置和电子设备
WO2023273725A1 (zh) 文件下载方法、装置、存储介质及电子设备
WO2022127838A1 (zh) 文档处理方法、装置和电子设备
WO2021190129A1 (zh) 页面处理方法、装置、电子设备及计算机可读存储介质
WO2023066157A1 (zh) 表单生成方法、表单数据处理方法、装置和电子设备
US20240004917A1 (en) Data processing method and device, terminal, and storage medium
CN111857720B (zh) 用户界面状态信息的生成方法、装置、电子设备及介质
CN110704833A (zh) 数据权限配置方法、设备、电子设备及存储介质
WO2023124910A1 (zh) 数据处理方法、装置、电子设备和存储介质
CN111488386B (zh) 数据查询方法和装置
CN110674082B (zh) 移除在线文档的方法、装置、电子设备及计算机可读介质
CN115344688B (zh) 业务数据展示方法、装置、电子设备和计算机可读介质
WO2023131263A1 (zh) 一种群成员添加方法、装置、设备及介质
WO2021012554A1 (zh) 区块链中数据字段的更新方法、装置、介质、电子设备
US9449036B2 (en) Handling an increase in transactional data without requiring relocation of preexisting data between shards
CN111241137A (zh) 数据处理方法、装置、电子设备及存储介质
WO2022151835A1 (zh) 一种样例报文处理方法及装置
CN110113416B (zh) 用于展示信息的方法和装置
CN112100159A (zh) 数据处理方法、装置、电子设备和计算机可读介质
CN111787043A (zh) 数据请求方法和装置
CN115422131B (zh) 业务审核知识库检索方法、装置、设备和计算机可读介质
CN110598133A (zh) 确定搜索项目的顺序的方法、装置、电子设备和计算机可读存储介质
WO2023056900A1 (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: 22866432

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE