CN115168413A - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN115168413A CN115168413A CN202210535801.2A CN202210535801A CN115168413A CN 115168413 A CN115168413 A CN 115168413A CN 202210535801 A CN202210535801 A CN 202210535801A CN 115168413 A CN115168413 A CN 115168413A
- Authority
- CN
- China
- Prior art keywords
- data
- target
- target data
- processing
- user
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 314
- 238000003860 storage Methods 0.000 claims abstract description 95
- 238000000034 method Methods 0.000 claims abstract description 56
- 238000013500 data storage Methods 0.000 claims abstract description 55
- 230000008569 process Effects 0.000 claims abstract description 36
- 238000013144 data compression Methods 0.000 claims description 18
- 239000002699 waste material Substances 0.000 abstract description 10
- 238000012423 maintenance Methods 0.000 abstract description 3
- 238000007906 compression Methods 0.000 description 10
- 230000006835 compression Effects 0.000 description 10
- 238000004590 computer program Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24564—Applying rules; Deductive queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
- G06F16/24534—Query rewriting; Transformation
- G06F16/24549—Run-time optimisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本说明书实施例提供数据处理方法以及装置,其中所述数据处理方法应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区;所述方法包括:接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。
The embodiments of this specification provide a data processing method and device, wherein the data processing method is applied to a processing terminal in a data storage system, and the data storage system includes a processing terminal and a storage area; the method includes: receiving a target data access instruction sent by a user , wherein the target data access instruction carries the data identifier of the target data, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; based on the data identifier of the target data, it is judged whether the target data exists in the storage area; , using the data identification of the target data to determine the data processing rules corresponding to the target data and the corresponding original data; use the data processing rules to process the original data to generate the target data, and process the data based on the processing end in the data storage system without the need for An additional maintenance data processing service is built to reduce the waste of data processing resources and further improve the data processing efficiency.
Description
技术领域technical field
本说明书实施例涉及计算机技术领域,特别涉及一种数据处理方法。The embodiments of this specification relate to the field of computer technology, and in particular, to a data processing method.
背景技术Background technique
随着计算机技术的不断发展,越来越多的计算机技术应用在数据处理领域中。数据是对事实、概念或指令的一种表达形式,可由人工或自动化装置进行处理。数据的形式可以是数字、文字、图片或声音等。数据处理的基本目的是从大量的、可能是杂乱无章的、难以理解的数据中抽取并推导出对于某些特定的人们来说是有价值、有意义的数据,数据处理贯穿于整个社会生产和社会生活的各个领域,数据处理技术的发展以及应用的广度和深度,极大地影响着人类社会发展的进程。With the continuous development of computer technology, more and more computer technology is applied in the field of data processing. Data is an expression of facts, concepts or instructions that can be processed by human or automated means. The data can be in the form of numbers, words, pictures or sounds. The basic purpose of data processing is to extract and derive valuable and meaningful data for some specific people from a large amount of data that may be disorganized and difficult to understand. Data processing runs through the entire social production and society. All areas of life, the development of data processing technology, and the breadth and depth of applications have greatly affected the development of human society.
目前,通常将原始数据提前处理为结果数据,并保存获得的结果数据,但提前处理原始数据需要大量计算资源,影响了数据处理的效率。因此,亟需一种高效的数据处理方案。At present, the original data is usually processed into result data in advance, and the obtained result data is saved, but processing the original data in advance requires a lot of computing resources, which affects the efficiency of data processing. Therefore, an efficient data processing solution is urgently needed.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本说明书实施例提供了一种数据处理方法。本说明书一个或者多个实施例同时涉及一种数据处理装置,一种计算设备,一种计算机可读存储介质以及一种计算机程序,以解决现有技术中存在的技术缺陷。In view of this, the embodiments of this specification provide a data processing method. One or more embodiments of this specification simultaneously relate to a data processing apparatus, a computing device, a computer-readable storage medium, and a computer program, so as to solve the technical defects existing in the prior art.
根据本说明书实施例的第一方面,提供了一种数据处理方法,应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区;该方法包括:According to a first aspect of the embodiments of this specification, a data processing method is provided, which is applied to a processing terminal in a data storage system, where the data storage system includes a processing terminal and a storage area; the method includes:
接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;Receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
基于目标数据的数据标识,判断存储区中是否存在目标数据;Based on the data identifier of the target data, determine whether the target data exists in the storage area;
若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;If not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding original data;
利用数据处理规则对原始数据进行处理,生成目标数据。Use data processing rules to process raw data to generate target data.
可选地,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据的步骤,包括:Optionally, using the data identifier of the target data to determine the data processing rules corresponding to the target data and the steps of the corresponding original data, including:
获取用户针对目标数据的访问特征信息;Obtain user access feature information for target data;
根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据。According to the access feature information and the data identifier of the target data, the data processing rules corresponding to the target data and the corresponding original data are obtained.
可选地,根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据的步骤,包括:Optionally, according to the access feature information and the data identifier of the target data, the steps of acquiring the data processing rules corresponding to the target data and the corresponding original data include:
将访问特征信息和预先设置的处理等级进行匹配,获得访问特征信息对应的目标处理等级;Matching the access feature information with a preset processing level to obtain a target processing level corresponding to the access feature information;
根据目标处理等级以及目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据。According to the target processing level and the data identification of the target data, the data processing rule corresponding to the target data and the corresponding original data are determined.
可选地,目标数据包括目标视频数据,数据处理规则包括数据压缩规则;Optionally, the target data includes target video data, and the data processing rules include data compression rules;
根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据的步骤,包括:According to the access feature information and the data identifier of the target data, the steps of obtaining the data processing rules corresponding to the target data and the corresponding original data include:
根据访问特征信息以及目标视频数据的数据标识,获得目标视频数据对应的数据压缩规则以及对应的原始数据。According to the access feature information and the data identifier of the target video data, the data compression rule corresponding to the target video data and the corresponding original data are obtained.
可选地,该方法还包括:Optionally, the method further includes:
在不存在目标数据对应的数据处理规则的情况下,向用户发送目标数据对应的数据处理规则获取失败的消息;If there is no data processing rule corresponding to the target data, send a message to the user that the acquisition of the data processing rule corresponding to the target data fails;
接收用户发送的针对目标数据的数据处理规则。Receive data processing rules for target data sent by users.
可选地,该方法还包括:Optionally, the method further includes:
在不存在目标数据对应的原始数据的情况下,向用户发送目标数据对应的原始数据获取失败的消息;In the case that the original data corresponding to the target data does not exist, send a message to the user that the acquisition of the original data corresponding to the target data fails;
接收用户发送的针对目标数据的原始数据。Receive the raw data sent by the user for the target data.
可选地,在利用数据处理规则对原始数据进行处理,生成目标数据的步骤之后,还包括:Optionally, after using the data processing rules to process the original data to generate the target data, it also includes:
对比目标数据的访问特征信息和预设存储条件,在访问特征信息满足预设存储条件的情况下,将目标数据存储至存储区。Compare the access feature information of the target data with the preset storage conditions, and store the target data in the storage area if the access feature information satisfies the preset storage conditions.
根据本说明书实施例的第二方面,提供了一种数据处理装置,应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区;该装置包括:According to a second aspect of the embodiments of this specification, a data processing apparatus is provided, which is applied to a processing terminal in a data storage system, and the data storage system includes a processing terminal and a storage area; the apparatus includes:
接收模块,被配置为接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;The receiving module is configured to receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
判断模块,被配置为基于目标数据的数据标识,判断存储区中是否存在目标数据;The judgment module is configured to judge whether the target data exists in the storage area based on the data identification of the target data;
确定模块,被配置为若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;The determining module is configured to, if not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding raw data;
生成模块,被配置为利用数据处理规则对原始数据进行处理,生成目标数据。The generating module is configured to process the original data by using the data processing rules to generate target data.
可选地,确定模块,进一步被配置为获取用户针对目标数据的访问特征信息;根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据。Optionally, the determining module is further configured to obtain user access feature information for the target data; and obtain data processing rules corresponding to the target data and corresponding raw data according to the access feature information and the data identifier of the target data.
可选地,确定模块,进一步被配置为将访问特征信息和预先设置的处理等级进行匹配,获得访问特征信息对应的目标处理等级;根据目标处理等级以及目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据。Optionally, the determination module is further configured to match the access feature information with a preset processing level to obtain a target processing level corresponding to the access feature information; according to the target processing level and the data identifier of the target data, determine the corresponding target data. Data processing rules and corresponding raw data.
可选地,目标数据包括目标视频数据,数据处理规则包括数据压缩规则;确定模块,进一步被配置为根据访问特征信息以及目标视频数据的数据标识,获得目标视频数据对应的数据压缩规则以及对应的原始数据。Optionally, the target data includes target video data, and the data processing rules include data compression rules; the determination module is further configured to obtain data compression rules corresponding to the target video data and corresponding data according to the access feature information and the data identification of the target video data. Raw data.
可选地,该装置还包括:第一接收模块,被配置为在不存在目标数据对应的数据处理规则的情况下,向用户发送目标数据对应的数据处理规则获取失败的消息;接收用户发送的针对目标数据的数据处理规则。Optionally, the device further includes: a first receiving module configured to send a message to the user that the acquisition of the data processing rule corresponding to the target data fails to obtain the data processing rule corresponding to the target data in the absence of a data processing rule corresponding to the target data; receive the message sent by the user. Data processing rules for target data.
可选地,该装置还包括:第二接收模块,被配置为在不存在目标数据对应的原始数据的情况下,向用户发送目标数据对应的原始数据获取失败的消息;接收用户发送的针对目标数据的原始数据。Optionally, the device further includes: a second receiving module, configured to send a message to the user that the original data corresponding to the target data fails to obtain the original data when there is no original data corresponding to the target data; receive a message sent by the user for the target data The raw data of the data.
可选地,该装置还包括:存储模块,被配置为对比目标数据的访问特征信息和预设存储条件,在访问特征信息满足预设存储条件的情况下,将目标数据存储至存储区。Optionally, the device further includes: a storage module configured to compare the access feature information of the target data with a preset storage condition, and store the target data in the storage area when the access feature information satisfies the preset storage condition.
根据本说明书实施例的第三方面,提供了一种计算设备,包括:According to a third aspect of the embodiments of the present specification, a computing device is provided, including:
存储器和处理器;memory and processor;
所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令,该计算机可执行指令被处理器执行时实现以下步骤:The memory is used for storing computer-executable instructions, and the processor is used for executing the computer-executable instructions, and when the computer-executable instructions are executed by the processor, the following steps are implemented:
接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;Receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
基于目标数据的数据标识,判断存储区中是否存在目标数据;Based on the data identifier of the target data, determine whether the target data exists in the storage area;
若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;If not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding original data;
利用数据处理规则对原始数据进行处理,生成目标数据。Use data processing rules to process raw data to generate target data.
根据本说明书实施例的第四方面,提供了一种计算机可读存储介质,其存储有计算机可执行指令,该指令被处理器执行时实现上述数据处理方法的步骤。According to a fourth aspect of the embodiments of the present specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, implements the steps of the above data processing method.
根据本说明书实施例的第五方面,提供了一种计算机程序,其中,当所述计算机程序在计算机中执行时,令计算机执行上述数据处理方法的步骤。According to a fifth aspect of the embodiments of the present specification, a computer program is provided, wherein, when the computer program is executed in a computer, the computer is caused to execute the steps of the above data processing method.
本说明书一个实施例提供的数据处理方法,应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区;所述方法包括:接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。A data processing method provided by an embodiment of this specification is applied to a processing terminal in a data storage system, and the data storage system includes a processing terminal and a storage area; the method includes: receiving a target data access instruction sent by a user, wherein the target data access The data identifier of the target data is carried in the instruction, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; based on the data identifier of the target data, it is judged whether the target data exists in the storage area; if not, the data of the target data is used. Identify, determine the data processing rules corresponding to the target data and the corresponding raw data; use the data processing rules to process the raw data, generate target data, and perform data processing based on the processing end in the data storage system, without the need to build additional maintenance data processing services , reducing the waste of data processing resources and further improving the efficiency of data processing.
附图说明Description of drawings
图1是本说明书一个实施例提供的一种数据处理方法的流程图;1 is a flowchart of a data processing method provided by an embodiment of the present specification;
图2是本说明书一个实施例提供的一种数据处理方法的处理过程流程图;Fig. 2 is a processing process flow chart of a data processing method provided by an embodiment of this specification;
图3是本说明书一个实施例提供的一种数据处理装置的结构示意图;3 is a schematic structural diagram of a data processing apparatus provided by an embodiment of the present specification;
图4是本说明书一个实施例提供的一种计算设备的结构框图。FIG. 4 is a structural block diagram of a computing device provided by an embodiment of the present specification.
具体实施方式Detailed ways
在下面的描述中阐述了很多具体细节以便于充分理解本说明书。但是本说明书能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本说明书内涵的情况下做类似推广,因此本说明书不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of this specification. However, this specification can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotions without departing from the connotation of this specification. Therefore, this specification is not limited by the specific implementation disclosed below.
在本说明书一个或多个实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本说明书一个或多个实施例中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in one or more embodiments of this specification is for the purpose of describing a particular embodiment only and is not intended to limit the one or more embodiments of this specification. As used in the specification or embodiments and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used in this specification in one or more embodiments refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本说明书一个或多个实施例中可能采用术语第一、第二等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一也可以被称为第二,类似地,第二也可以被称为第一。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It will be understood that although the terms first, second, etc. may be used in one or more embodiments of this specification to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, a first could be termed a second, and similarly, a second could be termed a first, without departing from the scope of one or more embodiments of this specification. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
首先,对本说明书一个或多个实施例涉及的名词术语进行解释。First, the terminology involved in one or more embodiments of the present specification is explained.
存储系统:用来保存用户数据的系统或服务,用户可以通过存储系统保存、修改、读取自己存储的数据。Storage system: a system or service used to save user data, users can save, modify, and read their own stored data through the storage system.
原始数据:用户项目场景中获得的初始数据,通常会根据用户项目的需要进行某种处理来获得进一步的使用。Raw data: The initial data obtained in the user project scenario, which is usually processed according to the needs of the user project for further use.
目标数据:也可以理解为结果数据,目标数据是用户项目场景中需要的数据,通常由原始数据经过某种处理获得。Target data: It can also be understood as result data. Target data is the data required in the user's project scenario, which is usually obtained from the original data through some kind of processing.
处理过程:某些计算方法的集合,通过处理过程将用户的原始数据转换为目标数据Processing: A collection of certain calculation methods that convert the user's original data into target data through processing
处理规则:用来定义处理过程,描述针对特定的结果数据,需要将哪些原始数据通过何种处理过程,转换为这些需要的目标数据。Processing rules: It is used to define the processing process and describe which raw data needs to be converted into the required target data through which processing process for specific result data.
在本说明书中,提供了一种数据处理方法,本说明书同时涉及一种数据处理装置,一种计算设备,以及一种计算机可读存储介质,在下面的实施例中逐一进行详细说明。In this specification, a data processing method is provided, and this specification also relates to a data processing apparatus, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
随着计算机技术的不断发展,越来越多的计算机技术应用在数据处理领域中。数据是对事实、概念或指令的一种表达形式,可由人工或自动化装置进行处理。数据的形式可以是数字、文字、图片或声音等。数据处理的基本目的是从大量的、可能是杂乱无章的、难以理解的数据中抽取并推导出对于某些特定的人们来说是有价值、有意义的数据,数据处理贯穿于整个社会生产和社会生活的各个领域,数据处理技术的发展以及应用的广度和深度,极大地影响着人类社会发展的进程。With the continuous development of computer technology, more and more computer technology is applied in the field of data processing. Data is an expression of facts, concepts or instructions that can be processed by human or automated means. The data can be in the form of numbers, words, pictures or sounds. The basic purpose of data processing is to extract and derive valuable and meaningful data for some specific people from a large amount of data that may be disorganized and difficult to understand. Data processing runs through the entire social production and society. All areas of life, the development of data processing technology, and the breadth and depth of applications have greatly affected the development of human society.
实际应用中,对于用户来说,通常将原始数据保存在存储系统上,然后根据自己业务需要对这些原始数据进行处理,并将处理结果也保存在存储系统上。需要使用结果数据的时候再访问存储系统,读取使用处理结果。但是在很多行业,并不是所有的原始数据都是需要被使用的,传统的结构会导致大量不需要使用的原始数据提前被计算为目标数据,导致计算资源的浪费。因此,亟需一种高效的数据处理方案。In practical applications, for users, the original data is usually stored in the storage system, and then the original data is processed according to their own business needs, and the processing results are also stored in the storage system. When you need to use the result data, you need to access the storage system and read and use the processing result. However, in many industries, not all raw data needs to be used. The traditional structure will lead to a large amount of raw data that does not need to be calculated as target data in advance, resulting in a waste of computing resources. Therefore, an efficient data processing solution is urgently needed.
为了提高数据处理效率,本说明书提供了一种数据处理方法,应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区;通过接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据。不需要对用户使用习惯做出改变,用户无需提前对原始数据进行处理,直接按原来的方式去读取结果数据,当结果数据不存在时,数据存储系统自动按照预先存储的数据处理规则实时将原始数据处理成目标数据并返回给用户,简化用户使用数据的流程,同时按照用户使用的需要去处理数据,也可以降低用户处理数据的计算成本和结果数据的保存成本,并且,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。In order to improve data processing efficiency, this specification provides a data processing method, which is applied to a processing end in a data storage system. The data storage system includes a processing end and a storage area; by receiving a target data access instruction sent by a user, the target data The data identifier of the target data is carried in the access instruction; based on the data identifier of the target data, it is judged whether the target data exists in the storage area; if not, the data processing rule corresponding to the target data and the corresponding original data are determined by using the data identifier of the target data; Use data processing rules to process raw data to generate target data. There is no need to change the user's usage habits, the user does not need to process the original data in advance, and directly reads the result data in the original way. When the result data does not exist, the data storage system automatically stores the data in real time according to the pre-stored data processing rules. The original data is processed into target data and returned to the user, which simplifies the process of using the data for the user, and at the same time processes the data according to the needs of the user, which can also reduce the calculation cost of the user processing data and the storage cost of the result data. The processing end in the system performs data processing without the need to build and maintain data processing services, reducing the waste of data processing resources and further improving data processing efficiency.
参见图1,图1示出了本说明书一个实施例提供的一种数据处理方法的流程图,该数据处理方法应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区,具体包括以下步骤:Referring to FIG. 1, FIG. 1 shows a flowchart of a data processing method provided by an embodiment of this specification. The data processing method is applied to a processing terminal in a data storage system. The data storage system includes a processing terminal and a storage area. Specifically Include the following steps:
步骤102:接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识。Step 102: Receive a target data access instruction sent by the user, wherein the target data access instruction carries a data identifier of the target data.
本说明书实施例中,为了按照用户使用的需要去处理数据,降低用户处理数据的计算成本和结果数据的保存成本,数据存储系统中的处理端可以接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,处理端基于用户发送的目标数据访问指令,对用户实际需要的数据进行处理。In the embodiment of this specification, in order to process data according to the needs of users and reduce the calculation cost of user processing data and the storage cost of result data, the processing end in the data storage system can receive the target data access instruction sent by the user, wherein the target data access instruction The data access instruction carries the data identifier of the target data, and the processing end processes the data actually required by the user based on the target data access instruction sent by the user.
具体地,目标数据是指用户需要在工作场景中使用的数据,目标数据的访问指令是指访问目标数据的指令,可以是输入指令,也可以是点选指令,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。目标数据的数据标识是指数据的唯一标识,通过目标数据的数据标识可以定位到目标数据,其中,目标数据的数据标识包括但不限于目标数据的数据编号,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。Specifically, the target data refers to the data that the user needs to use in the work scene, and the access command of the target data refers to the command to access the target data, which can be an input command or a click command, which is selected according to the actual situation. The embodiments of the specification do not make any limitation on this. The data identifier of the target data refers to the unique identifier of the data, and the target data can be located by the data identifier of the target data, wherein the data identifier of the target data includes but is not limited to the data number of the target data, which is selected according to the actual situation. The embodiment does not make any limitation on this.
实际应用中,用户发送目标数据访问指令的方式有多种,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。In practical applications, there are many ways for the user to send the target data access instruction, which is specifically selected according to the actual situation, which is not limited in the embodiment of this specification.
一种可能的实现方式中,数据存储系统可以向用户提供目标数据输入界面,用户可以在目标数据输入界面输入目标数据的数据标识,以使数据存储系统中的处理端基于目标数据的数据标识获取目标数据。In a possible implementation, the data storage system can provide the user with a target data input interface, and the user can input the data identifier of the target data in the target data input interface, so that the processing end in the data storage system can obtain the target data based on the data identifier. target data.
另一种可能的实现方式中,数据存储系统可以向用户展示存储区存储的各数据的数据标识,用户可以在数据存储系统的展示界面中,选择目标数据的数据标识,以使数据存储系统中的处理端基于目标数据的数据标识获取目标数据。In another possible implementation manner, the data storage system can display the data identifier of each data stored in the storage area to the user, and the user can select the data identifier of the target data in the display interface of the data storage system, so that the data storage system can The processing end of the target data obtains the target data based on the data identifier of the target data.
步骤104:基于目标数据的数据标识,判断存储区中是否存在目标数据。Step 104: Based on the data identifier of the target data, determine whether the target data exists in the storage area.
本说明书实施例中,数据存储系统中的处理端接收到目标数据的数据标识后,可以基于目标数据的数据标识,判断存储区中是否存在目标数据,在存储区存在目标数据的情况下,处理端可以直接获取目标数据,将目标数据反馈给用户。In the embodiment of this specification, after receiving the data identifier of the target data, the processing end in the data storage system can determine whether the target data exists in the storage area based on the data identifier of the target data, and in the case that the target data exists in the storage area, the processing The terminal can directly obtain the target data and feed the target data back to the user.
实际应用中,可以直接根据目标数据的数据标识在存储区中查找目标数据,进一步判断存储区中是否存在目标数据。In practical applications, the target data can be directly searched in the storage area according to the data identifier of the target data, and it is further judged whether the target data exists in the storage area.
示例性地,如下表1所示,表1示出了存储区存储的数据与数据标识的对应关系。若数据存储系统中的处理端获得目标数据的数据标识为“003”,根据目标数据的数据标识,在存储区中查找目标数据的数据标识“003”,获得目标数据为“数据C”;若数据存储系统中的处理端获得目标数据的数据标识为“006”,根据目标数据的数据标识,在存储区中查找目标数据的数据标识“006”,在查询失败的情况下,确定存储区中并不存在数据标识为“006”的目标数据。Exemplarily, as shown in Table 1 below, Table 1 shows the correspondence between data stored in the storage area and data identifiers. If the data identification of the target data obtained by the processing end in the data storage system is "003", according to the data identification of the target data, the data identification "003" of the target data is searched in the storage area, and the obtained target data is "Data C"; The data identification of the target data obtained by the processing end in the data storage system is "006", and according to the data identification of the target data, the data identification "006" of the target data is searched in the storage area. The target data with the data ID "006" does not exist.
表1Table 1
步骤106:若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据。Step 106: If not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding raw data.
本说明书实施例中,数据存储系统中的处理端可以接收用户发送的携带目标数据的数据标识的目标数据访问指令,基于目标数据的数据标识,判断存储区中是否存在目标数据,若存储区中不存在目标数据时,可以基于目标数据的数据标识,获得目标数据对应的数据处理规则以及生成目标数据的原始数据,进一步生成目标数据。In the embodiment of this specification, the processing end in the data storage system may receive the target data access instruction that carries the data identifier of the target data sent by the user, and based on the data identifier of the target data, determine whether the target data exists in the storage area, and if the storage area contains the target data When the target data does not exist, the data processing rules corresponding to the target data and the original data for generating the target data can be obtained based on the data identifier of the target data, and the target data can be further generated.
实际应用中,数据存储系统中的处理端在判断存储区中不存在目标数据之后,可以基于目标数据的数据标识,判断数据存储系统中是否存在目标数据对应的数据处理规则,进一步进行数据处理。In practical applications, after judging that the target data does not exist in the storage area, the processing end in the data storage system can judge whether there is a data processing rule corresponding to the target data in the data storage system based on the data identifier of the target data, and further process the data.
本说明书一种实施例中,若数据存储系统中并不存在目标数据对应的数据处理规则,则向用户发送目标数据对应的数据处理规则获取失败的消息。In an embodiment of the present specification, if there is no data processing rule corresponding to the target data in the data storage system, a message that the acquisition of the data processing rule corresponding to the target data fails is sent to the user.
示例性地,如下表2所示,表2示出了数据处理规则与数据标识的对应关系。若数据存储系统中的处理端获得目标数据的数据标识为“006”,根据目标数据的数据标识“006”,在数据存储系统中查找数据标识“006”对应的数据处理规则,在查询失败的情况下,确定并不存在数据标识为“006”的数据处理规则,并向用户发送目标数据对应的数据处理规则获取失败的消息。Exemplarily, as shown in Table 2 below, Table 2 shows the correspondence between data processing rules and data identifiers. If the data identifier of the target data obtained by the processing end in the data storage system is "006", according to the data identifier "006" of the target data, the data processing rule corresponding to the data identifier "006" is searched in the data storage system. In this case, it is determined that there is no data processing rule with the data identifier "006", and a message that the acquisition of the data processing rule corresponding to the target data has failed is sent to the user.
表2Table 2
进一步地,在向用户发送目标数据对应的数据处理规则获取失败的情况下,还可以接收用户发送的针对目标数据的数据处理规则,以便处理端根据用户发送的数据处理规则,获得目标数据,也即,上述方法还可以包括以下步骤:Further, in the case of failure to obtain the data processing rules corresponding to the target data sent to the user, the data processing rules for the target data sent by the user can also be received, so that the processing end can obtain the target data according to the data processing rules sent by the user, and also That is, the above method may also include the following steps:
在不存在目标数据对应的数据处理规则的情况下,向用户发送目标数据对应的数据处理规则获取失败的消息;If there is no data processing rule corresponding to the target data, send a message to the user that the acquisition of the data processing rule corresponding to the target data fails;
接收用户发送的针对目标数据的数据处理规则。Receive data processing rules for target data sent by users.
本说明书实施例中,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,基于目标数据的数据标识,判断存储区中是否存在目标数据之后,在不存在目标数据对应的数据处理规则的情况下,向用户发送目标数据对应的数据处理规则获取失败的消息,接收用户发送的针对目标数据的数据处理规则。In the embodiment of this specification, the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data. Based on the data identifier of the target data, after determining whether the target data exists in the storage area, if the target In the case of the data processing rule corresponding to the data, a message of failure to obtain the data processing rule corresponding to the target data is sent to the user, and the data processing rule for the target data sent by the user is received.
需要说明的是,向用户发送目标数据对应的数据处理规则获取失败的消息的方式有多种,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。It should be noted that there are various ways to send the message that the data processing rule corresponding to the target data fails to be obtained to the user, which is selected according to the actual situation, which is not limited in the embodiment of this specification.
一种可能的实现方式中,可以在数据处理系统的展示界面上以弹窗的形式向用户发送目标数据对应的数据处理规则获取失败的消息。In a possible implementation manner, a message of failure to acquire the data processing rule corresponding to the target data may be sent to the user in the form of a pop-up window on the display interface of the data processing system.
示例性地,在不存在目标数据对应的数据处理规则的情况下,在数据处理系统的界面中心显示一个10厘米*15厘米的弹窗,在弹窗中显示“目标数据对应的数据处理规则不存在”。Exemplarily, when there is no data processing rule corresponding to the target data, a 10cm*15cm pop-up window is displayed in the center of the interface of the data processing system, and in the pop-up window, "The data processing rule corresponding to the target data is not exist".
另一种可能的实现方式中,可以语音提示用户目标数据对应的数据处理规则获取失败。In another possible implementation manner, a voice prompt may be used to prompt the user that the acquisition of the data processing rule corresponding to the target data fails.
实际应用中,在提示用户目标数据对应的数据处理规则获取失败之后,可以主动提示用户输入目标数据对应的数据处理规则。In practical applications, after the user is prompted that the acquisition of the data processing rule corresponding to the target data fails, the user may be actively prompted to input the data processing rule corresponding to the target data.
示例性地,在不存在目标数据对应的数据处理规则的情况下,在数据处理系统的界面中心显示一个10厘米*15厘米的弹窗,在弹窗中显示“目标数据对应的数据处理规则不存在,请输入目标数据对应的数据处理规则”。Exemplarily, when there is no data processing rule corresponding to the target data, a 10cm*15cm pop-up window is displayed in the center of the interface of the data processing system, and in the pop-up window, "The data processing rule corresponding to the target data is not exists, please enter the data processing rule corresponding to the target data".
应用本说明书实施例的方案,在不存在目标数据对应的数据处理规则的情况下,向用户发送目标数据对应的数据处理规则获取失败的消息,接收用户发送的针对目标数据的数据处理规则,使得可以基于用户发送的数据处理规则进行处理,获得目标数据,进一步提高用户体验度。Applying the scheme of the embodiment of this specification, in the absence of the data processing rule corresponding to the target data, sending a message to the user that the acquisition of the data processing rule corresponding to the target data failed, and receiving the data processing rule for the target data sent by the user, so that It can be processed based on the data processing rules sent by the user to obtain target data and further improve the user experience.
本说明书另一种实施例中,若数据存储系统中存在目标数据对应的数据处理规则,则判断数据存储系统中是否存在目标数据对应的原始数据,进一步进行数据处理。In another embodiment of this specification, if there is a data processing rule corresponding to the target data in the data storage system, it is judged whether there is original data corresponding to the target data in the data storage system, and further data processing is performed.
若数据存储系统中并不存在目标数据对应的原始数据,则向用户发送目标数据对应的原始数据获取失败的消息。If the original data corresponding to the target data does not exist in the data storage system, a message of failure to obtain the original data corresponding to the target data is sent to the user.
示例性地,如下表3所示,表3示出了原始数据与数据标识的对应关系。若数据存储系统中的处理端获得目标数据的数据标识为“006”,根据目标数据的数据标识“006”,在数据存储系统中查找数据标识“006”对应的原始数据,在查询失败的情况下,确定并不存在数据标识为“006”的原始数据,并向用户发送目标数据对应的原始数据获取失败的消息。Exemplarily, as shown in Table 3 below, Table 3 shows the corresponding relationship between the original data and the data identifier. If the data identifier of the target data obtained by the processing end in the data storage system is "006", according to the data identifier "006" of the target data, the original data corresponding to the data identifier "006" is searched in the data storage system. Next, it is determined that there is no original data with the data identifier "006", and a message that the original data corresponding to the target data has failed to be obtained is sent to the user.
表3table 3
进一步地,在向用户发送目标数据对应的原始数据获取失败的情况下,还可以接收用户发送的针对目标数据的原始数据,以便处理端根据用户发送的原始数据,获得目标数据,也即,上述方法还可以包括以下步骤:Further, in the case of failure to obtain the raw data corresponding to the target data sent to the user, the raw data for the target data sent by the user can also be received, so that the processing end can obtain the target data according to the raw data sent by the user, that is, the above The method may also include the following steps:
在不存在目标数据对应的原始数据的情况下,向用户发送目标数据对应的原始数据获取失败的消息;In the case that the original data corresponding to the target data does not exist, send a message to the user that the acquisition of the original data corresponding to the target data fails;
接收用户发送的针对目标数据的原始数据。Receive the raw data sent by the user for the target data.
本说明书实施例中,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,基于目标数据的数据标识,判断存储区中是否存在目标数据之后,在不存在目标数据对应的原始数据的情况下,向用户发送目标数据对应的原始数据获取失败的消息,接收用户发送的针对目标数据的原始数据。In the embodiment of this specification, the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data. Based on the data identifier of the target data, after determining whether the target data exists in the storage area, if the target In the case of the original data corresponding to the data, a message that the acquisition of the original data corresponding to the target data has failed is sent to the user, and the original data for the target data sent by the user is received.
需要说明的是,向用户发送目标数据对应的原始数据获取失败的消息的方式有多种,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。It should be noted that, there are many ways to send the message that the original data corresponding to the target data failed to obtain the original data to the user, which is specifically selected according to the actual situation, which is not limited in the embodiment of this specification.
一种可能的实现方式中,可以在数据处理系统的展示界面上以弹窗的形式向用户发送目标数据对应的原始数据获取失败的消息。In a possible implementation manner, a message of failure to obtain the original data corresponding to the target data may be sent to the user in the form of a pop-up window on the display interface of the data processing system.
示例性地,在不存在目标数据对应的原始数据的情况下,在数据处理系统的界面中心显示一个10厘米*15厘米的弹窗,在弹窗中显示“目标数据对应的原始数据不存在”。Exemplarily, in the case where there is no raw data corresponding to the target data, a 10cm*15cm pop-up window is displayed in the center of the interface of the data processing system, and "the raw data corresponding to the target data does not exist" is displayed in the pop-up window. .
另一种可能的实现方式中,可以语音提示用户目标数据对应的原始数据获取失败。In another possible implementation manner, a voice prompt may be used to prompt the user that the acquisition of the original data corresponding to the target data fails.
实际应用中,在提示用户目标数据对应的原始数据获取失败之后,可以主动提示用户输入目标数据对应的原始数据。In practical applications, after the user is prompted that the acquisition of the original data corresponding to the target data fails, the user may be actively prompted to input the original data corresponding to the target data.
示例性地,在不存在目标数据对应的原始数据的情况下,在数据处理系统的界面中心显示一个10厘米*15厘米的弹窗,在弹窗中显示“目标数据对应的原始数据不存在,请输入目标数据对应的原始数据”。Exemplarily, in the case where the original data corresponding to the target data does not exist, a 10 cm*15 cm pop-up window is displayed in the center of the interface of the data processing system, and the pop-up window displays "The original data corresponding to the target data does not exist, Please enter the original data corresponding to the target data".
值得说明的是,若数据存储系统中存在目标数据对应的数据处理规则和目标数据对应的原始数据,则直接提取目标数据对应的数据处理规则和目标数据对应的原始数据。It is worth noting that if there are data processing rules corresponding to the target data and raw data corresponding to the target data in the data storage system, the data processing rules corresponding to the target data and the raw data corresponding to the target data are directly extracted.
应用本说明书实施例的方案,在不存在目标数据对应的原始数据的情况下,向用户发送目标数据对应的原始数据获取失败的消息,接收用户发送的针对目标数据的原始数据,使得可以基于用户发送的原始数据进行处理,获得目标数据,进一步提高用户体验度。Applying the solutions of the embodiments of this specification, in the absence of the original data corresponding to the target data, a message that the acquisition of the original data corresponding to the target data failed to be sent to the user, and the original data for the target data sent by the user is received, so that it can be based on the user. The sent raw data is processed to obtain the target data, which further improves the user experience.
实际应用中,在利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据时,可以根据用户针对目标数据的访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据,也即,上述利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据的步骤,可以包括以下步骤:In practical applications, when using the data identifier of the target data to determine the data processing rules corresponding to the target data and the corresponding raw data, the data corresponding to the target data can be obtained according to the user's access feature information for the target data and the data identifier of the target data. The processing rules and the corresponding original data, that is, the above-mentioned steps of using the data identification of the target data to determine the data processing rules corresponding to the target data and the corresponding original data may include the following steps:
获取用户针对目标数据的访问特征信息;Obtain user access feature information for target data;
根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据。According to the access feature information and the data identifier of the target data, the data processing rules corresponding to the target data and the corresponding original data are obtained.
本说明书实施例中,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,基于目标数据的数据标识,判断存储区中是否存在目标数据,若否,获取用户针对目标数据的访问特征信息,根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据。In the embodiment of this specification, the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and based on the data identifier of the target data, it is judged whether the target data exists in the storage area, and if not, the user is obtained. For the access feature information of the target data, according to the access feature information and the data identifier of the target data, the data processing rules corresponding to the target data and the corresponding original data are obtained.
具体地,目标数据的访问特征信息是指目标数据在数据存储系统中被访问的相关信息,可以反映目标数据被访问的方式、状态等特征,目标数据的访问特征信息包括但不限于用户针对目标数据的访问次数、访问时间、访问方式、访问状态,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。Specifically, the access feature information of the target data refers to the relevant information of the target data being accessed in the data storage system, which can reflect the characteristics such as the way and status of the target data being accessed. The access times, access time, access method, and access status of the data are selected according to actual conditions, which are not limited in the embodiments of this specification.
示例性地,获取用户针对目标数据的访问次数,根据用户针对目标数据的访问次数以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据。Exemplarily, the number of user accesses to the target data is obtained, and data processing rules corresponding to the target data and corresponding raw data are obtained according to the user's access times to the target data and the data identifier of the target data.
应用本说明书实施例的方案,通过获取用户针对目标数据的访问特征信息,根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据,无需提前处理所有数据,降低了数据处理成本,进一步提高用户体验度。Applying the solution of the embodiment of this specification, by obtaining the user's access feature information for the target data, according to the access feature information and the data identifier of the target data, the data processing rules corresponding to the target data and the corresponding original data are obtained, without processing all the data in advance, The data processing cost is reduced, and the user experience is further improved.
需要说明的是,在获得目标数据的访问特征信息之后,可以将访问特征信息和预先设置的数据处理等级进行匹配,获得访问特征对应的目标处理等级,进一步确定目标数据对应的数据处理规则以及对应的原始数据,也即上述根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据的步骤,可以包括以下步骤:It should be noted that, after the access feature information of the target data is obtained, the access feature information can be matched with the preset data processing level, the target processing level corresponding to the access feature can be obtained, and the data processing rules corresponding to the target data and the corresponding data processing rules can be further determined. The original data, that is, the above-mentioned steps of obtaining the data processing rules corresponding to the target data and the corresponding original data according to the access feature information and the data identifier of the target data, may include the following steps:
将访问特征信息和预先设置的处理等级进行匹配,获得访问特征信息对应的目标处理等级;Matching the access feature information with a preset processing level to obtain a target processing level corresponding to the access feature information;
根据目标处理等级以及目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据。According to the target processing level and the data identification of the target data, the data processing rule corresponding to the target data and the corresponding original data are determined.
本说明书实施例中,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,基于目标数据的数据标识,判断存储区中是否存在目标数据,若否,获取用户针对目标数据的访问特征信息,将访问特征信息和预先设置的处理等级进行匹配,获得访问特征信息对应的目标处理等级,根据目标处理等级以及目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据。In the embodiment of this specification, the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and based on the data identifier of the target data, it is judged whether the target data exists in the storage area, and if not, the user is obtained. For the access feature information of the target data, match the access feature information with the preset processing level to obtain the target processing level corresponding to the access feature information, and determine the data processing rule corresponding to the target data according to the target processing level and the data identifier of the target data. and the corresponding raw data.
具体地,目标处理等级是指目标数据对应的处理等级,处理等级是指预先设置的,对数据处理规则进行划分获得的等级,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。Specifically, the target processing level refers to the processing level corresponding to the target data, and the processing level refers to a preset level obtained by dividing data processing rules, which is specifically selected according to the actual situation, which is not limited in the embodiments of this specification. .
示例性地,获取预先设置的处理等级表如下表4所示,表4示出了目标数据的访问次数和处理等级的对应关系,获取用户针对目标数据的访问次数为2次,在表2中查询访问次数2对应的处理等级为“初级压缩”,进一步地,获取“初级压缩”对应的数据处理规则为“数据处理规则A1”,根据目标数据的数据标识,获得目标数据对应的原始数据。Exemplarily, the pre-set processing level table is obtained as shown in Table 4 below. Table 4 shows the corresponding relationship between the number of visits of the target data and the processing level, and the number of visits of the user for the target data is 2 times, in Table 2. The processing level corresponding to the number of query visits 2 is "primary compression". Further, the data processing rule corresponding to "primary compression" is obtained as "data processing rule A1", and the original data corresponding to the target data is obtained according to the data identifier of the target data.
表4Table 4
应用本说明书实施例的方案,通过将访问特征信息和预先设置的处理等级进行匹配,获得访问特征信息对应的目标处理等级,根据目标处理等级以及目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据,提高了数据处理规则以及原始数据的准确性,并且降低数据处理成本,进一步提高用户体验度。Applying the solution of the embodiment of this specification, by matching the access feature information with the preset processing level, the target processing level corresponding to the access feature information is obtained, and the data processing corresponding to the target data is determined according to the target processing level and the data identifier of the target data. Rules and corresponding raw data improve the accuracy of data processing rules and raw data, reduce data processing costs, and further improve user experience.
实际应用中,目标数据可以是目标视频数据,数据处理规则可以是数据压缩规则,在获取用户针对目标视频数据的访问特征信息之后,可以根据目标视频数据的访问特征信息以及目标视频数据的数据标识,获得目标视频数据对应的数据压缩规则以及对应的原始数据,也即,上述根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据的步骤,可以包括以下步骤:In practical applications, the target data can be target video data, and the data processing rules can be data compression rules. After obtaining the user's access feature information for the target video data, it can be based on the access feature information of the target video data and the data identifier of the target video data. , obtain the data compression rules corresponding to the target video data and the corresponding raw data, that is, the above-mentioned steps of obtaining the data processing rules corresponding to the target data and the corresponding raw data according to the access feature information and the data identification of the target data, may include the following step:
根据访问特征信息以及目标视频数据的数据标识,获得目标视频数据对应的数据压缩规则以及对应的原始数据。According to the access feature information and the data identifier of the target video data, the data compression rule corresponding to the target video data and the corresponding original data are obtained.
具体地,目标视频数据是指用户想要查看的视频数据,数据压缩规则是指针对各视频数据的压缩规则,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。Specifically, the target video data refers to the video data that the user wants to view, and the data compression rule refers to the compression rule for each video data, which is selected according to the actual situation, which is not limited in the embodiments of this specification.
需要说明的是,对目标视频数据进行压缩处理,可以节约用户带宽。由于初级压缩消耗的计算资源较少,但是压缩结果较大,消耗的网络带宽也较多,高级压缩消耗的计算资源较多,但是压缩结果较小,消耗的网络带宽也较少,因此,可以根据目标视频数据的访问特征信息,对目标视频数据进行压缩处理。It should be noted that compressing the target video data can save user bandwidth. Since primary compression consumes less computing resources, but the compression result is larger, it consumes more network bandwidth. Advanced compression consumes more computing resources, but the compression result is smaller and consumes less network bandwidth. Therefore, it is possible to The target video data is compressed according to the access feature information of the target video data.
示例性地,获取用户针对目标视频数据1的访问次数为20,目标视频数据1的数据标识为003,基于上述表4,根据目标视频数据1的访问次数,获得目标视频数据1的处理等级为“初级压缩”,目标视频数据1的数据处理规则为“数据处理规则A1”;获取用户针对目标视频数据2的访问次数为200000,目标视频数据2的数据标识为005,基于上述表4,根据目标视频数据2的访问次数,获得目标视频数据2的处理等级为“高级压缩”,目标视频数据2的数据处理规则为“数据处理规则B1”。Exemplarily, the number of visits of the user to the target video data 1 is 20, and the data identifier of the target video data 1 is 003. Based on the above Table 4, according to the number of visits of the target video data 1, the processing level of obtaining the target video data 1 is: "Primary compression", the data processing rule of the target video data 1 is "data processing rule A1"; the number of visits to the target video data 2 by the user is 200,000, and the data identification of the target video data 2 is 005. Based on the above Table 4, according to The number of accesses of the target video data 2, the processing level of the obtained target video data 2 is "high-level compression", and the data processing rule of the target video data 2 is "data processing rule B1".
应用本说明书实施例的方案,通过根据访问特征信息以及目标视频数据的数据标识,获得目标视频数据对应的数据压缩规则以及对应的原始数据,降低了用户的成本,进一步提高用户体验度。By applying the solutions of the embodiments of this specification, the data compression rules corresponding to the target video data and the corresponding original data are obtained according to the access feature information and the data identifier of the target video data, which reduces the user's cost and further improves the user experience.
步骤108:利用数据处理规则对原始数据进行处理,生成目标数据。Step 108: Process the original data by using the data processing rules to generate target data.
本说明书实施例中,在接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,基于目标数据的数据标识,判断存储区中是否存在目标数据,若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据之后,可以利用数据处理规则对原始数据进行处理,生成目标数据,并将目标数据反馈给用户。In the embodiment of this specification, after receiving the target data access instruction sent by the user, the target data access instruction carries the data identifier of the target data, and based on the data identifier of the target data, it is judged whether the target data exists in the storage area, if not, use After determining the data identification of the target data, the data processing rules corresponding to the target data and the corresponding raw data, the data processing rules can be used to process the raw data, generate target data, and feed the target data back to the user.
应用本说明书实施例的方案,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率,并且,用户无需改变访问目标数据的行为,直接访问目标数据,无需额外修改逻辑去请求数据按需处理服务或批量处理服务,进一步提高用户体验度。The solution of the embodiment of this specification is applied, and the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; The data identifier of the data is used to determine whether the target data exists in the storage area; if not, use the data identifier of the target data to determine the data processing rules corresponding to the target data and the corresponding original data; use the data processing rules to process the original data to generate a target Data, through data processing based on the processing end in the data storage system, does not need to build and maintain data processing services, reduces the waste of data processing resources, and further improves data processing efficiency, and users do not need to change the behavior of accessing the target data, directly access For the target data, there is no need to modify the logic to request data on-demand processing services or batch processing services, which further improves the user experience.
实际应用中,在利用数据处理规则对原始数据进行处理,生成目标数据之后,可以根据目标数据的访问特征信息,确定目标数据的存储方式,基于目标数据的存储方式,对目标数据进行存储,也即,在上述利用数据处理规则对原始数据进行处理,生成目标数据的步骤之后,还可以包括以下步骤:In practical applications, after the original data is processed by the data processing rules and the target data is generated, the storage method of the target data can be determined according to the access feature information of the target data, and the target data can be stored based on the storage method of the target data. That is, after the above-mentioned steps of using data processing rules to process original data to generate target data, the following steps may also be included:
对比目标数据的访问特征信息和预设存储条件,在访问特征信息满足预设存储条件的情况下,将目标数据存储至存储区。Compare the access feature information of the target data with the preset storage conditions, and store the target data in the storage area if the access feature information satisfies the preset storage conditions.
具体地,预设存储条件是指预先设置的将数据存储至数据存储系统中的条件,具体根据实际情况进行选择,本说明书实施例对此不做任何限定。Specifically, the preset storage condition refers to a preset condition for storing data in the data storage system, which is specifically selected according to the actual situation, which is not limited in the embodiment of this specification.
示例性地,获取预设存储条件为访问次数大于5000。获取目标数据1的访问次数为2000,由于目标数据1的访问次数小于预设存储条件,因此,处理端并不会将目标数据1存储至数据存储系统中的存储区;获取目标数据2的访问次数为9000,由于目标数据2的访问次数大于预设存储条件,因此,处理端将目标数据2存储至数据存储系统中的存储区。Exemplarily, obtaining the preset storage condition is that the number of visits is greater than 5000. The number of visits to obtain the target data 1 is 2000. Since the number of visits of the target data 1 is less than the preset storage condition, the processing end does not store the target data 1 to the storage area in the data storage system; the access to obtain the target data 2 The number of times is 9000. Since the number of accesses of the target data 2 is greater than the preset storage condition, the processing end stores the target data 2 in the storage area in the data storage system.
应用本说明书实施例的方案,通过对比目标数据的访问特征信息和预设存储条件,在访问特征信息满足预设存储条件的情况下,将目标数据存储至存储区,减少了数据存储系统中存储区的存储数据量,进一步提高了数据处理效率。By applying the solutions of the embodiments of this specification, by comparing the access feature information of the target data with the preset storage conditions, when the access feature information satisfies the preset storage conditions, the target data is stored in the storage area, which reduces the amount of storage in the data storage system. The amount of data stored in the area further improves the efficiency of data processing.
需要说明的是,本说明书提供的数据处理方法,应用于多种场景下的数据处理过程,如通信场景、交易场景,当然还可以应用于其他场景下,本说明书中对数据处理方法的应用场景不进行限定。It should be noted that the data processing methods provided in this specification are applied to data processing processes in various scenarios, such as communication scenarios and transaction scenarios, and of course can also be applied to other scenarios. The application scenarios of the data processing methods in this specification Not limited.
下述结合附图2,以本说明书提供的数据处理方法在视频数据处理场景的应用为例,对所述数据处理方法进行进一步说明,所述数据处理方法应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区。其中,图2示出了本说明书一个实施例提供的一种数据处理方法的处理过程流程图,具体包括以下步骤:Below in conjunction with Figure 2, the data processing method is further described by taking the application of the data processing method provided in this specification in a video data processing scene as an example, and the data processing method is applied to the processing end in the data storage system, The data storage system includes a processing end and a storage area. 2 shows a processing flow chart of a data processing method provided by an embodiment of this specification, which specifically includes the following steps:
步骤202:接收用户发送的目标视频数据访问指令,其中,目标视频数据访问指令中携带目标视频数据的数据标识。Step 202: Receive a target video data access instruction sent by a user, wherein the target video data access instruction carries a data identifier of the target video data.
步骤204:基于目标视频数据的数据标识,判断存储区中是否存在目标视频数据。Step 204: Based on the data identifier of the target video data, determine whether the target video data exists in the storage area.
步骤206:若是,将目标视频数据反馈给用户。Step 206: If yes, feedback the target video data to the user.
步骤208:若否,利用目标视频数据的数据标识,判断存储区中是否存在目标视频数据对应的数据压缩规则。Step 208: If no, use the data identifier of the target video data to determine whether there is a data compression rule corresponding to the target video data in the storage area.
步骤210:若否,向用户反馈目标视频数据对应的数据压缩规则获取失败。Step 210: If not, feedback to the user that the acquisition of the data compression rule corresponding to the target video data fails.
步骤212:若是,利用目标视频数据的数据标识,判断存储区中是否存在目标视频数据对应的原始视频数据。Step 212: If yes, use the data identifier of the target video data to determine whether there is original video data corresponding to the target video data in the storage area.
步骤214:若否,向用户反馈目标视频数据对应的原始视频数据获取失败。Step 214: If no, feedback to the user that the acquisition of the original video data corresponding to the target video data fails.
步骤216:若是,利用数据压缩规则对原始视频数据进行处理,生成目标视频数据。Step 216: If yes, use the data compression rules to process the original video data to generate target video data.
步骤218:将目标视频数据反馈给用户。Step 218: Feed back the target video data to the user.
应用本说明书实施例的方案,接收用户发送的目标视频数据访问指令,其中,目标视频数据访问指令中携带目标视频数据的数据标识,基于目标视频数据的数据标识,判断存储区中是否存在目标视频数据,若是,将目标视频数据反馈给用户,若否,利用目标视频数据的数据标识,判断存储区中是否存在目标视频数据对应的数据压缩规则,若否,向用户反馈目标视频数据对应的数据压缩规则获取失败,若是,利用目标视频数据的数据标识,判断存储区中是否存在目标视频数据对应的原始视频数据,若否,向用户反馈目标视频数据对应的原始视频数据获取失败,若是,利用数据压缩规则对原始视频数据进行处理,生成目标视频数据,将目标视频数据反馈给用户,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。Applying the scheme of the embodiment of this specification, receiving the target video data access instruction sent by the user, wherein the target video data access instruction carries the data identifier of the target video data, and based on the data identifier of the target video data, it is judged whether there is a target video in the storage area. data, if yes, feed back the target video data to the user, if not, use the data identifier of the target video data to determine whether there is a data compression rule corresponding to the target video data in the storage area, if not, feed back the data corresponding to the target video data to the user If the acquisition of the compression rule fails, if so, use the data identifier of the target video data to determine whether the original video data corresponding to the target video data exists in the storage area; The data compression rules process the original video data, generate target video data, feed the target video data to the user, and process the data based on the processing end in the data storage system, without the need to build additional maintenance data processing services, reducing the waste of data processing resources , which further improves the data processing efficiency.
与上述方法实施例相对应,本说明书还提供了数据处理装置实施例,图3示出了本说明书一个实施例提供的一种数据处理装置的结构示意图,该数据处理装置应用于数据存储系统中的处理端,数据存储系统包括处理端和存储区。如图3所示,该装置包括:Corresponding to the above method embodiments, this specification also provides an embodiment of a data processing apparatus. FIG. 3 shows a schematic structural diagram of a data processing apparatus provided by an embodiment of this specification, and the data processing apparatus is applied in a data storage system. The processing end of the data storage system includes a processing end and a storage area. As shown in Figure 3, the device includes:
接收模块302,被配置为接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;The receiving module 302 is configured to receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
判断模块304,被配置为基于目标数据的数据标识,判断存储区中是否存在目标数据;The judgment module 304 is configured to judge whether the target data exists in the storage area based on the data identification of the target data;
确定模块306,被配置为若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;The determining module 306 is configured to, if not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding raw data;
生成模块308,被配置为利用数据处理规则对原始数据进行处理,生成目标数据。The generating module 308 is configured to process the original data by using the data processing rules to generate target data.
可选地,确定模块306,进一步被配置为获取用户针对目标数据的访问特征信息;根据访问特征信息以及目标数据的数据标识,获取目标数据对应的数据处理规则以及对应的原始数据。Optionally, the determining module 306 is further configured to obtain user access feature information for the target data; obtain data processing rules corresponding to the target data and corresponding raw data according to the access feature information and the data identifier of the target data.
可选地,确定模块306,进一步被配置为将访问特征信息和预先设置的处理等级进行匹配,获得访问特征信息对应的目标处理等级;根据目标处理等级以及目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据。Optionally, the determining module 306 is further configured to match the access feature information with a preset processing level to obtain a target processing level corresponding to the access feature information; according to the target processing level and the data identifier of the target data, determine that the target data corresponds to The data processing rules and the corresponding raw data.
可选地,目标数据包括目标视频数据,数据处理规则包括数据压缩规则;确定模块306,进一步被配置为根据访问特征信息以及目标视频数据的数据标识,获得目标视频数据对应的数据压缩规则以及对应的原始数据。Optionally, the target data includes target video data, and the data processing rules include data compression rules; the determination module 306 is further configured to obtain data compression rules corresponding to the target video data and corresponding data according to the access feature information and the data identifier of the target video data. the original data.
可选地,该装置还包括:第一接收模块,被配置为在不存在目标数据对应的数据处理规则的情况下,向用户发送目标数据对应的数据处理规则获取失败的消息;接收用户发送的针对目标数据的数据处理规则。Optionally, the device further includes: a first receiving module configured to send a message to the user that the acquisition of the data processing rule corresponding to the target data fails to obtain the data processing rule corresponding to the target data in the absence of a data processing rule corresponding to the target data; receive the message sent by the user. Data processing rules for target data.
可选地,该装置还包括:第二接收模块,被配置为在不存在目标数据对应的原始数据的情况下,向用户发送目标数据对应的原始数据获取失败的消息;接收用户发送的针对目标数据的原始数据。Optionally, the device further includes: a second receiving module, configured to send a message to the user that the original data corresponding to the target data fails to obtain the original data when there is no original data corresponding to the target data; receive a message sent by the user for the target data The raw data of the data.
可选地,该装置还包括:存储模块,被配置为对比目标数据的访问特征信息和预设存储条件,在访问特征信息满足预设存储条件的情况下,将目标数据存储至存储区。Optionally, the device further includes: a storage module configured to compare the access feature information of the target data with a preset storage condition, and store the target data in the storage area when the access feature information satisfies the preset storage condition.
应用本说明书实施例的方案,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。The solution of the embodiment of this specification is applied, and the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; The data identifier of the data is used to determine whether the target data exists in the storage area; if not, use the data identifier of the target data to determine the data processing rules corresponding to the target data and the corresponding original data; use the data processing rules to process the original data to generate a target Data, through data processing based on the processing end in the data storage system, does not need to build and maintain data processing services, reduces the waste of data processing resources, and further improves data processing efficiency.
上述为本实施例的一种数据处理装置的示意性方案。需要说明的是,该数据处理装置的技术方案与上述的数据处理方法的技术方案属于同一构思,数据处理装置的技术方案未详细描述的细节内容,均可以参见上述数据处理方法的技术方案的描述。The above is a schematic solution of a data processing apparatus according to this embodiment. It should be noted that the technical solution of the data processing device and the technical solution of the above-mentioned data processing method belong to the same concept, and the details that are not described in detail in the technical solution of the data processing device can be referred to the description of the technical solution of the above-mentioned data processing method. .
图4示出了根据本说明书一个实施例提供的一种计算设备400的结构框图。该计算设备400的部件包括但不限于存储器410和处理器420。处理器420与存储器410通过总线430相连接,数据库450用于保存数据。FIG. 4 shows a structural block diagram of a computing device 400 provided according to an embodiment of the present specification. Components of the computing device 400 include, but are not limited to, memory 410 and processor 420 . The processor 420 is connected with the memory 410 through the bus 430, and the database 450 is used for saving data.
计算设备400还包括接入设备440,接入设备440使得计算设备400能够经由一个或多个网络460通信。这些网络的示例包括公用交换电话网(PSTN,Public SwitchedTelephone Network)、局域网(LAN,Local Area Network)、广域网(WAN,Wide AreaNetwork)、个域网(PAN,Personal Area Network)或诸如因特网的通信网络的组合。接入设备440可以包括有线或无线的任何类型的网络接口(例如,网络接口卡(NIC,NetworkInterface Card))中的一个或多个,诸如IEEE802.11无线局域网(WLAN,Wireless LocalArea Networks)无线接口、全球微波互联接入(Wi-MAX,World Interoperability forMicrowave Access)接口、以太网接口、通用串行总线(USB,Universal Serial Bus)接口、蜂窝网络接口、蓝牙接口、近场通信(NFC,Near Field Communication)接口,等等。Computing device 400 also includes access device 440 that enables computing device 400 to communicate via one or more networks 460 . Examples of such networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN) or a communication network such as the Internet The combination. Access device 440 may include one or more of any type of network interface (eg, Network Interface Card (NIC)), wired or wireless, such as an IEEE 802.11 Wireless Local Area Networks (WLAN) wireless interface , World Interoperability for Microwave Access (Wi-MAX, World Interoperability for Microwave Access) interface, Ethernet interface, Universal Serial Bus (USB, Universal Serial Bus) interface, cellular network interface, Bluetooth interface, Near Field Communication (NFC, Near Field Communication) interface, and so on.
在本说明书的一个实施例中,计算设备400的上述部件以及图4中未示出的其他部件也可以彼此相连接,例如通过总线。应当理解,图4所示的计算设备结构框图仅仅是出于示例的目的,而不是对本说明书范围的限制。本领域技术人员可以根据需要,增添或替换其他部件。In one embodiment of the present specification, the above-described components of computing device 400 and other components not shown in FIG. 4 may also be connected to each other, such as through a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 4 is only for the purpose of example, rather than limiting the scope of this specification. Those skilled in the art can add or replace other components as required.
计算设备400可以是任何类型的静止或移动计算设备,包括移动计算机或移动计算设备(例如,平板计算机、个人数字助理、膝上型计算机、笔记本计算机、上网本等)、移动电话(例如,智能手机)、可佩戴的计算设备(例如,智能手表、智能眼镜等)或其他类型的移动设备,或者诸如台式计算机或PC的静止计算设备。计算设备400还可以是移动式或静止式的服务器。Computing device 400 may be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (eg, tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (eg, smart phones) ), wearable computing devices (eg, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. Computing device 400 may also be a mobile or stationary server.
其中,处理器420用于执行如下计算机可执行指令,所述处理器用于执行所述计算机可执行指令,该计算机可执行指令被处理器执行时实现以下步骤:The processor 420 is configured to execute the following computer-executable instructions, the processor is configured to execute the computer-executable instructions, and when the computer-executable instructions are executed by the processor, the following steps are implemented:
接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;Receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
基于目标数据的数据标识,判断存储区中是否存在目标数据;Based on the data identifier of the target data, determine whether the target data exists in the storage area;
若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;If not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding original data;
利用数据处理规则对原始数据进行处理,生成目标数据。Use data processing rules to process raw data to generate target data.
应用本说明书实施例的方案,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。The solution of the embodiment of this specification is applied, and the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; The data identifier of the data is used to determine whether the target data exists in the storage area; if not, use the data identifier of the target data to determine the data processing rules corresponding to the target data and the corresponding original data; use the data processing rules to process the original data to generate a target Data, through data processing based on the processing end in the data storage system, does not need to build and maintain data processing services, reduces the waste of data processing resources, and further improves data processing efficiency.
上述为本实施例的一种计算设备的示意性方案。需要说明的是,该计算设备的技术方案与上述的数据处理方法的技术方案属于同一构思,计算设备的技术方案未详细描述的细节内容,均可以参见上述数据处理方法的技术方案的描述。The above is a schematic solution of a computing device according to this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned data processing method belong to the same concept. For details not described in detail in the technical solution of the computing device, refer to the description of the technical solution of the above-mentioned data processing method.
本说明书一实施例还提供一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现以下步骤:An embodiment of the present specification further provides a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, implements the following steps:
接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;Receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
基于目标数据的数据标识,判断存储区中是否存在目标数据;Based on the data identifier of the target data, determine whether the target data exists in the storage area;
若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;If not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding original data;
利用数据处理规则对原始数据进行处理,生成目标数据。Use data processing rules to process raw data to generate target data.
应用本说明书实施例的方案,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。The solution of the embodiment of this specification is applied, and the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; The data identifier of the data is used to determine whether the target data exists in the storage area; if not, use the data identifier of the target data to determine the data processing rules corresponding to the target data and the corresponding original data; use the data processing rules to process the original data to generate a target Data, through data processing based on the processing end in the data storage system, does not need to build and maintain data processing services, reduces the waste of data processing resources, and further improves data processing efficiency.
上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的数据处理方法的技术方案属于同一构思,存储介质的技术方案未详细描述的细节内容,均可以参见上述数据处理方法的技术方案的描述。The above is a schematic solution of a computer-readable storage medium of this embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned data processing method belong to the same concept, and the details not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned data processing method.
本说明书一实施例还提供一种计算机程序,其中,当所述计算机程序在计算机中执行时,令计算机执行以下步骤:An embodiment of the present specification also provides a computer program, wherein, when the computer program is executed in a computer, the computer is caused to perform the following steps:
接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识;Receive the target data access instruction sent by the user, wherein the target data access instruction carries the data identifier of the target data;
基于目标数据的数据标识,判断存储区中是否存在目标数据;Based on the data identifier of the target data, determine whether the target data exists in the storage area;
若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;If not, use the data identifier of the target data to determine the data processing rule corresponding to the target data and the corresponding original data;
利用数据处理规则对原始数据进行处理,生成目标数据。Use data processing rules to process raw data to generate target data.
应用本说明书实施例的方案,接收用户发送的目标数据访问指令,其中,目标数据访问指令中携带目标数据的数据标识,通过按照用户实际数据访问情况执行数据处理,提高了数据处理效率;基于目标数据的数据标识,判断存储区中是否存在目标数据;若否,利用目标数据的数据标识,确定目标数据对应的数据处理规则以及对应的原始数据;利用数据处理规则对原始数据进行处理,生成目标数据,通过基于数据存储系统中的处理端进行数据处理,无需额外搭建维护数据处理服务,减少数据处理资源的浪费,进一步提高了数据处理效率。The solution of the embodiment of this specification is applied, and the target data access instruction sent by the user is received, wherein the target data access instruction carries the data identifier of the target data, and the data processing efficiency is improved by performing data processing according to the actual data access situation of the user; The data identifier of the data is used to determine whether the target data exists in the storage area; if not, use the data identifier of the target data to determine the data processing rules corresponding to the target data and the corresponding original data; use the data processing rules to process the original data to generate a target Data, through data processing based on the processing end in the data storage system, does not need to build and maintain data processing services, reduces the waste of data processing resources, and further improves data processing efficiency.
上述为本实施例的一种计算机程序的示意性方案。需要说明的是,该计算机程序的技术方案与上述的数据处理方法的技术方案属于同一构思,计算机程序的技术方案未详细描述的细节内容,均可以参见上述数据处理方法的技术方案的描述。The above is a schematic solution of a computer program of this embodiment. It should be noted that the technical solution of the computer program and the technical solution of the above-mentioned data processing method belong to the same concept, and the details that are not described in detail in the technical solution of the computer program can be referred to the description of the technical solution of the above-mentioned data processing method.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。The computer instructions include computer program code, which may be in source code form, object code form, an executable file, some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本说明书实施例并不受所描述的动作顺序的限制,因为依据本说明书实施例,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本说明书实施例所必须的。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of this specification are not limited by the described action sequences. Limitation, because certain steps may be performed in other orders or simultaneously according to embodiments of the present specification. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily all necessary for the embodiments of the specification.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
以上公开的本说明书优选实施例只是用于帮助阐述本说明书。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书实施例的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本说明书实施例的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本说明书。本说明书仅受权利要求书及其全部范围和等效物的限制。The preferred embodiments of the present specification disclosed above are provided only to aid in the elaboration of the present specification. Alternative embodiments are not intended to exhaust all details, nor do they limit the invention to only the described embodiments. Obviously, many modifications and changes can be made in accordance with the contents of the embodiments of the present specification. These embodiments are selected and described in this specification to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can well understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210535801.2A CN115168413A (en) | 2022-05-17 | 2022-05-17 | Data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210535801.2A CN115168413A (en) | 2022-05-17 | 2022-05-17 | Data processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115168413A true CN115168413A (en) | 2022-10-11 |
Family
ID=83483344
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210535801.2A Pending CN115168413A (en) | 2022-05-17 | 2022-05-17 | Data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115168413A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263016A (en) * | 2019-05-20 | 2019-09-20 | 平安普惠企业管理有限公司 | Data processing method, terminal device and computer storage medium |
CN114416852A (en) * | 2022-01-27 | 2022-04-29 | 中国建设银行股份有限公司 | Data processing method, device, equipment and medium |
-
2022
- 2022-05-17 CN CN202210535801.2A patent/CN115168413A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263016A (en) * | 2019-05-20 | 2019-09-20 | 平安普惠企业管理有限公司 | Data processing method, terminal device and computer storage medium |
CN114416852A (en) * | 2022-01-27 | 2022-04-29 | 中国建设银行股份有限公司 | Data processing method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111046237B (en) | User behavior data processing method and device, electronic equipment and readable medium | |
CN112115511A (en) | Authority verification method, device and system, and service authority configuration method and device | |
CN107436875A (en) | File classification method and device | |
CN111949324A (en) | Distributed serial number generation method and device | |
CN104283765A (en) | Information display method and device and terminal equipment | |
CN110233741B (en) | Service charging method, device, equipment and storage medium | |
CN104639426A (en) | Method and device for adding group members | |
US11244153B2 (en) | Method and apparatus for processing information | |
CN111475492B (en) | Data processing method and device | |
CN114579570A (en) | Data processing method and device | |
CN115168413A (en) | Data processing method and device | |
JP2024105206A (en) | Ethics-Based Multimodal User Submission Monitoring | |
CN114564637B (en) | Information processing method and device | |
CN117034959A (en) | Data processing method, device, electronic equipment and storage medium | |
CN114168589B (en) | Index construction method and device | |
CN114840341A (en) | Method and device for scheduling cloud server resources | |
CN111625341A (en) | Task scheduling management method and device | |
CN114222028A (en) | Speech recognition method, apparatus, computer equipment and storage medium | |
CN113297306A (en) | Data processing method and device | |
CN108287853B (en) | Data relation analysis method and system | |
CN107203578B (en) | Method and device for establishing association of user identifiers | |
CN114461645B (en) | Target object determination method and device | |
CN115759233B (en) | Model training method, graph data processing device and electronic equipment | |
CN113312521B (en) | Content retrieval method, device, electronic equipment and medium | |
CN113268279B (en) | Data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |