Movatterモバイル変換


[0]ホーム

URL:


CN115016929A - A data processing method, apparatus, device and storage medium - Google Patents

A data processing method, apparatus, device and storage medium
Download PDF

Info

Publication number
CN115016929A
CN115016929ACN202210469436.XACN202210469436ACN115016929ACN 115016929 ACN115016929 ACN 115016929ACN 202210469436 ACN202210469436 ACN 202210469436ACN 115016929 ACN115016929 ACN 115016929A
Authority
CN
China
Prior art keywords
data
target data
accuracy
target
client
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
Application number
CN202210469436.XA
Other languages
Chinese (zh)
Inventor
李子龙
陈广清
蔡上
陈智明
王远雄
胡红
王永强
王杜鑫
谢敏敏
林婷
傅格话
张培钧
杨灵峰
赖怡雯
张麒亨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
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 Guangdong Power Grid Co Ltd, Meizhou Power Supply Bureau of Guangdong Power Grid Co LtdfiledCriticalGuangdong Power Grid Co Ltd
Priority to CN202210469436.XApriorityCriticalpatent/CN115016929A/en
Publication of CN115016929ApublicationCriticalpatent/CN115016929A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种数据处理方法、装置、设备以及存储介质。该方法包括:响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据;对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果;根据所述目标数据和准确性校验结果,确定反馈数据,并将所述反馈数据发送至客户端。本发明提供的方案,通过利用边缘网关获取目标数据并进行准确性校验,从而对客户端发送的数据获取请求进行反馈,可以在提升数据传输效率的同时,保证数据的准确性。

Figure 202210469436

The invention discloses a data processing method, device, equipment and storage medium. The method includes: in response to a data acquisition request sent by a client, acquiring target data collected by at least one edge computing node through an edge gateway; performing accuracy verification on the target data to obtain an accuracy verification result of the target data ; According to the target data and the accuracy verification result, determine the feedback data, and send the feedback data to the client. In the solution provided by the present invention, by using the edge gateway to obtain target data and perform accuracy verification, the data obtaining request sent by the client is fed back, which can improve the data transmission efficiency while ensuring the accuracy of the data.

Figure 202210469436

Description

Translated fromChinese
一种数据处理方法、装置、设备以及存储介质A data processing method, apparatus, device and storage medium

技术领域technical field

本发明实施例涉及计算机技术,尤其涉及一种数据处理方法、装置、设备以及存储介质。Embodiments of the present invention relate to computer technologies, and in particular, to a data processing method, apparatus, device, and storage medium.

背景技术Background technique

边缘计算是一种使计算机数据存储更接近需要的位置的分布式计算模式。在5G和工业互联网中,边缘计算系统由许多边缘节点来获取设备的数据,实现前端的运算,但边缘节点的数据传输较为分散,容易导致数据丢失。Edge computing is a distributed computing model that brings computer data storage closer to where it is needed. In 5G and the Industrial Internet, the edge computing system uses many edge nodes to obtain device data and implement front-end operations. However, the data transmission of edge nodes is relatively scattered, which may easily lead to data loss.

因此,如何提升边缘计算系统数据传输效率并保证数据的准确性,是目前亟待解决的问题。Therefore, how to improve the data transmission efficiency of the edge computing system and ensure the accuracy of the data is an urgent problem to be solved at present.

发明内容SUMMARY OF THE INVENTION

本发明提供一种数据处理方法、装置、设备以及存储介质,通过利用边缘网关获取目标数据并进行准确性校验,从而对客户端发送的数据获取请求进行反馈,可以在提升数据传输效率的同时,保证数据的准确性。The present invention provides a data processing method, device, equipment and storage medium. By using an edge gateway to obtain target data and perform accuracy verification, the data obtaining request sent by the client can be fed back, which can improve data transmission efficiency at the same time. , to ensure the accuracy of the data.

第一方面,本发明实施例提供了一种数据处理方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a data processing method, the method comprising:

响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据;In response to the data acquisition request sent by the client, acquire the target data collected by at least one edge computing node through the edge gateway;

对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果;Carrying out an accuracy check on the target data to obtain an accuracy check result of the target data;

根据所述目标数据和准确性校验结果,确定反馈数据,并将所述反馈数据发送至客户端。According to the target data and the accuracy verification result, feedback data is determined, and the feedback data is sent to the client.

第二方面,本发明实施例还提供了一种数据处理装置,包括:In a second aspect, an embodiment of the present invention further provides a data processing device, including:

获取模块,用于响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据;an acquisition module, configured to acquire target data collected by at least one edge computing node through the edge gateway in response to a data acquisition request sent by the client;

得到模块,用于对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果;obtaining module, for performing accuracy verification on the target data to obtain the accuracy verification result of the target data;

发送模块,用于根据所述目标数据和准确性校验结果,确定反馈数据,并将所述反馈数据发送至客户端。A sending module, configured to determine feedback data according to the target data and the accuracy verification result, and send the feedback data to the client.

第三方面,本发明实施例还提供了一种电子设备,该电子设备包括:In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个程序;memory for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明任意实施例所提供的数据处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method provided by any embodiment of the present invention.

第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序。其中,该程序被处理器执行时实现如本发明任意实施例所提供的数据处理方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. Wherein, when the program is executed by the processor, the data processing method provided by any embodiment of the present invention is implemented.

本发明实施例响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据之后,对目标数据进行准确性校验,得到目标数据的准确性校验结果,最后根据目标数据和准确性校验结果,确定反馈数据,并将反馈数据发送至客户端。通过利用边缘网关获取目标数据,可以提升数据的传输效率,通过对目标数据进行准确性校验,从而对客户端发送的数据获取请求进行反馈,可以保证数据的准确性。In the embodiment of the present invention, in response to the data acquisition request sent by the client, after acquiring the target data collected by at least one edge computing node through the edge gateway, the accuracy of the target data is verified to obtain the accuracy verification result of the target data, and finally according to Target data and accuracy verification results, determine feedback data, and send the feedback data to the client. By using the edge gateway to obtain the target data, the data transmission efficiency can be improved. By verifying the accuracy of the target data, the data acquisition request sent by the client can be fed back to ensure the accuracy of the data.

附图说明Description of drawings

图1为本发明实施例一提供的一种数据处理方法的流程图;1 is a flowchart of a data processing method according to Embodiment 1 of the present invention;

图2为本发明实施例二提供的一种数据处理方法的流程图;2 is a flowchart of a data processing method according to Embodiment 2 of the present invention;

图3为本发明实施例三提供的一种数据处理系统的示意图;3 is a schematic diagram of a data processing system according to Embodiment 3 of the present invention;

图4为本发明实施例四提供的一种数据处理装置的结构框图;4 is a structural block diagram of a data processing apparatus according to Embodiment 4 of the present invention;

图5为本发明实施例五提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

实施例一Example 1

图1为本发明实施例一提供的一种数据处理方法的流程图,本实施例适用于边缘服务平台响应于数据获取请求,向客户端反馈数据的情况,该方法可以由数据处理装置来执行,该装置可以采用软件和/或硬件的方式实现,并可集成于具有数据处理功能的电子设备中,可选的,该电子设备可以是边缘服务平台,如图1所示,本实施例提供的数据处理方法具体包括:FIG. 1 is a flowchart of a data processing method according to Embodiment 1 of the present invention. This embodiment is applicable to the situation where an edge service platform feeds back data to a client in response to a data acquisition request, and the method can be executed by a data processing apparatus. , the device can be implemented in software and/or hardware, and can be integrated into an electronic device with a data processing function. Optionally, the electronic device can be an edge service platform. As shown in FIG. 1 , this embodiment provides The data processing methods specifically include:

S101、响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据。S101. In response to a data acquisition request sent by a client, acquire target data collected by at least one edge computing node through an edge gateway.

其中,数据获取请求是指客户端请求获取数据的请求。数据获取请求可以包括客户端目标获取的数据。边缘网关是指可以控制至少一个边缘计算节点进行数据采集的网关。边缘网关可以控制至少一个边缘计算节点。每个边缘计算节点都可以进行数据采集。目标数据是指边缘网关向边缘服务器发送的客户端目标获取的数据。Wherein, the data acquisition request refers to a request by the client to acquire data. The data fetch request may include data fetched by the client target. An edge gateway refers to a gateway that can control at least one edge computing node for data collection. The edge gateway can control at least one edge computing node. Each edge computing node can perform data collection. Target data refers to the data obtained by the client target sent by the edge gateway to the edge server.

可选的,边缘服务平台可以在接收到,客户端基于客户在客户端发出相关的数据获取指令,向边缘服务平台发出的数据获取请求,即认为检测到客户端发送的数据获取请求。Optionally, the edge service platform may receive a data acquisition request sent by the client to the edge service platform based on the relevant data acquisition instruction sent by the client at the client, that is, it is deemed that the data acquisition request sent by the client is detected.

可选的,边缘服务平台检测到客户端发送的数据获取请求之后,可以对数据获取请求进行分析,根据分析结果,控制边缘网关的数据采集端进行数据采集,具体的,边缘服务平台可以获取,边缘网关的数据采集端控制至少一个边缘计算节点进行目标数据的采集后确定的目标数据,即通过边缘网关获取至少一个边缘计算节点采集的目标数据。Optionally, after detecting the data acquisition request sent by the client, the edge service platform can analyze the data acquisition request, and control the data acquisition terminal of the edge gateway to perform data acquisition according to the analysis result. Specifically, the edge service platform can acquire, The data collection end of the edge gateway controls at least one edge computing node to collect the target data determined by the target data, that is, obtains the target data collected by the at least one edge computing node through the edge gateway.

S102、对目标数据进行准确性校验,得到目标数据的准确性校验结果。S102. Perform accuracy verification on the target data to obtain an accuracy verification result of the target data.

其中,准确性校验是指确定目标数据是否准确的校验。准确性校验结果可以包括每个目标数据的准确性校验的结果信息。The accuracy check refers to a check to determine whether the target data is accurate. The accuracy check result may include result information of the accuracy check of each target data.

可选的,确定目标数据之后,可以根据预设的规则,对目标数据进行分析,确定目标数据是否准确,如,针对每个目标数据,将目标数据与预设的参考数据进行比较,根据比较结果,对目标数据进行准确性校验,得到目标数据的准确性校验结果;还可以将确定的目标数据直接输入预先训练好的模型中,输出目标数据的准确性校验结果,即对目标数据进行准确性校验,得到目标数据的准确性校验结果。Optionally, after the target data is determined, the target data can be analyzed according to preset rules to determine whether the target data is accurate. For example, for each target data, the target data is compared with the preset reference data, and according to the comparison As a result, the accuracy of the target data is verified to obtain the accuracy verification result of the target data; the determined target data can also be directly input into the pre-trained model, and the accuracy verification result of the target data can be output, that is, the target data can be accurately verified. The accuracy of the data is verified to obtain the accuracy verification result of the target data.

S103、根据目标数据和准确性校验结果,确定反馈数据,并将反馈数据发送至客户端。S103. Determine feedback data according to the target data and the accuracy verification result, and send the feedback data to the client.

其中,反馈数据是指边缘服务平台响应于数据获取请求服客户端进行反馈的数据。客户端用于响应于用户的操作,向边缘服务平台发送数据获取请求。The feedback data refers to the data that the edge service platform sends back to the client in response to the data acquisition request. The client is used to send a data acquisition request to the edge service platform in response to the user's operation.

可选的,根据目标数据和准确性校验结果,确定反馈数据的方式可以有很多,具体的,一种可实施方式为:确定目标数据之后,可以根据准确性校验结果,对目标数据进行误差标记,然后将标记后的目标数据作为反馈数据,即确定反馈数据,另一种可实施方式为:直接将准确性校验结果和目标数据一起作为反馈数据,即确定反馈数据;另一种可实施方式为:根据准确性校验结果,仅将目标数据中校验通过的目标数据作为反馈数据,或仅将目标数据中校验未通过的目标数据作为反馈数据,即确定反馈数据。Optionally, according to the target data and the accuracy verification result, there may be many ways to determine the feedback data. Specifically, an implementation method is: after determining the target data, the target data can be checked according to the accuracy verification result. Mark the error, and then use the marked target data as the feedback data, that is, determine the feedback data. Another implementation is: directly use the accuracy verification result and the target data together as the feedback data, that is, determine the feedback data; another It can be implemented as follows: according to the accuracy verification result, only the target data that passes the verification in the target data is used as the feedback data, or only the target data that fails the verification in the target data is used as the feedback data, that is, the feedback data is determined.

可选的,确定反馈数据之后,可以直接将反馈数据发送至客户端,也可以在反馈数据满足预设的条件时,如反馈数据的数量与数据获取请求中请求获取的数量相同时,将反馈数据发送至客户端。Optionally, after the feedback data is determined, the feedback data can be directly sent to the client, or when the feedback data meets a preset condition, for example, when the quantity of the feedback data is the same as the quantity requested in the data acquisition request, the feedback data can be sent to the client. data is sent to the client.

可选的,边缘服务平台将反馈数据发送至客户端之后,客户端可以根据反馈数据,向客户进行展示,或对反馈数据进行分析和/或存储处理。Optionally, after the edge service platform sends the feedback data to the client, the client can display to the client according to the feedback data, or analyze and/or store and process the feedback data.

需要说明的是,现有技术中边缘服务平台直接与边缘节点交互获取数据,但边缘节点分布较为分散,这样的数据传输方式容易导致数据的丢失,同时降低了数据传输效率,本实施例中边缘服务平台利用边缘网关,直接获取边缘网关处理之后的数据,进一步对采集到数据的准确性进行核验,可以在提高数据传输效率的同时,保证数据的准确性。It should be noted that in the prior art, the edge service platform directly interacts with edge nodes to obtain data, but the distribution of edge nodes is relatively scattered. Such a data transmission method may easily lead to data loss and reduce data transmission efficiency. The service platform uses the edge gateway to directly obtain the data processed by the edge gateway, and further verifies the accuracy of the collected data, which can ensure the accuracy of the data while improving the efficiency of data transmission.

本发明实施例响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据之后,对目标数据进行准确性校验,得到目标数据的准确性校验结果,最后根据目标数据和准确性校验结果,确定反馈数据,并将反馈数据发送至客户端。通过利用边缘网关获取目标数据,可以提升数据的传输效率,通过对目标数据进行准确性校验,从而对客户端发送的数据获取请求进行反馈,可以保证数据的准确性。In the embodiment of the present invention, in response to the data acquisition request sent by the client, after acquiring the target data collected by at least one edge computing node through the edge gateway, the accuracy of the target data is verified to obtain the accuracy verification result of the target data, and finally according to Target data and accuracy verification results, determine feedback data, and send the feedback data to the client. By using the edge gateway to obtain the target data, the data transmission efficiency can be improved. By verifying the accuracy of the target data, the data acquisition request sent by the client can be fed back to ensure the accuracy of the data.

可选的,响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据,包括:响应于客户端发送的数据获取请求,生成第一数据采集指令;将第一数据采集指令发送至边缘网关,以使边缘网关根据第一数据采集指令,反馈采集数据;根据采集数据,确定目标数据。Optionally, in response to the data acquisition request sent by the client, acquiring the target data collected by at least one edge computing node through the edge gateway includes: in response to the data acquisition request sent by the client, generating a first data acquisition instruction; The data collection instruction is sent to the edge gateway, so that the edge gateway feeds back the collection data according to the first data collection instruction; and determines the target data according to the collection data.

其中,第一数据采集指令是指数据获取请求对应的需要获取的数据的采集指令。采集数据是边缘网关对至少一个边缘计算节点采集的原始数据处理生成。处理至少包括:分类、归整和打包中的至少一种。The first data collection instruction refers to a collection instruction of the data to be acquired corresponding to the data acquisition request. The collected data is generated by processing the raw data collected by the edge gateway on at least one edge computing node. Processing includes at least one of: sorting, sorting, and packing.

可选的,边缘服务平台可以根据数据获取请求,基于预设的规则,生成相应的第一数据采集指令,具体的,边缘服务平台可以在接收到客户端通过无线模块发送的数据获取请求时,可以对接收到数据获取请求中的数据请求信号进行识别,根据识别结果,将识别结果转换为数据采集指令,即生成数据采集指令。进一步向边缘网关发送该第一数据采集指令,获取边缘网关根据第一数据采集指令反馈的采集数据。Optionally, the edge service platform may generate a corresponding first data collection instruction based on a preset rule according to the data acquisition request. Specifically, the edge service platform may, when receiving the data acquisition request sent by the client through the wireless module, The data request signal in the received data acquisition request can be identified, and according to the identification result, the identification result is converted into a data acquisition instruction, that is, a data acquisition instruction is generated. The first data collection instruction is further sent to the edge gateway to obtain collection data fed back by the edge gateway according to the first data collection instruction.

具体的,边缘网关可以根据第一数据采集指令,确定相关的至少一个边缘计算节点并控制对应的边缘计算节点采集原始数据,进一步对至少一个边缘计算节点采集的原始数据进行处理(分类、归整和打包中的至少一种),将处理后的数据作为采集数据反馈至边缘服务平台。Specifically, the edge gateway may, according to the first data collection instruction, determine at least one relevant edge computing node and control the corresponding edge computing node to collect raw data, and further process (classify, normalize, and sort) the raw data collected by the at least one edge computing node. and at least one of packaging), the processed data is fed back to the edge service platform as collected data.

可选的,根据采集数据,确定目标数据的可实施方式为:若采集数据是边缘网关进行打包之后的确定的数据,则边缘服务平台可以根据采集数据,基于对应的解压方法,对打包之后的采集数据进行解压,确定目标数据。若采集数据是边缘网关进行分类和/或归整之后的数据,则边缘服务平台可以直接将采集数据作为目标数据,即确定目标数据。Optionally, determining the target data according to the collected data can be implemented as follows: if the collected data is the determined data after being packaged by the edge gateway, the edge service platform can, according to the collected data, based on the corresponding decompression method, The collected data is decompressed and the target data is determined. If the collected data is classified and/or sorted by the edge gateway, the edge service platform may directly use the collected data as target data, that is, determine target data.

实施例二Embodiment 2

图2为本发明实施例二提供的一种数据处理方法的流程图,本实施在上述实施例的基础上,进一步对“对目标数据进行准确性校验”的过程进行详细的解释说明,如图2所示,本实施例提供的数据处理方法具体包括:FIG. 2 is a flowchart of a data processing method provided in Embodiment 2 of the present invention. Based on the above embodiment, the present implementation further explains the process of “accuracy verification of target data” in detail, such as As shown in FIG. 2, the data processing method provided by this embodiment specifically includes:

S201、响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据。S201. In response to a data acquisition request sent by a client, acquire target data collected by at least one edge computing node through an edge gateway.

S202、获取目标数据对应的第一参考数据。S202. Acquire first reference data corresponding to the target data.

其中,第一参考数据是指用于评定目标数据是否精准的数据。具体的,第一参考数据可以是云端通过其他方式获取到的标准数据。第一参考数据与目标数据的数据类型相同。The first reference data refers to data used to assess whether the target data is accurate. Specifically, the first reference data may be standard data obtained by the cloud in other ways. The first reference data is of the same data type as the target data.

可选的,边缘服务平台可以直接根据数据获取请求,利用预设的查询模型,从云端查询对应的数据并下载,即获取目标数据对应的第一参考数据。Optionally, the edge service platform can directly query the corresponding data from the cloud according to the data acquisition request and use a preset query model and download it, that is, acquire the first reference data corresponding to the target data.

需要说明的是,云端标准数据即第一参考数据的获取方式往往比较复杂,或获取数据的成本较高,因此验证边缘网关采集数据的有效性之后,边缘服务平台后续可以直接利用边缘网关获取数据,避免每次都从云端获取数据,以提升数据的获取的效率或降低成本。It should be noted that the acquisition method of cloud standard data, that is, the first reference data, is often complicated, or the cost of acquiring data is high. Therefore, after verifying the validity of the data collected by the edge gateway, the edge service platform can directly use the edge gateway to obtain data in the future. , to avoid obtaining data from the cloud every time, in order to improve the efficiency of data acquisition or reduce costs.

S203、根据第一参考数据和目标数据,对目标数据进行准确性校验,得到目标数据的准确性校验结果。S203. Perform accuracy verification on the target data according to the first reference data and the target data, to obtain an accuracy verification result of the target data.

可选的,边缘服务平台可以根据第一参考数据和目标数据,基于预设的规则,进行相似度分析,确定目标数据与第一参考数据之间的相似度,若相似度高,则认为目标数据准确,目标数据的准确性校验结果通过,若相似度低,则认为目标数据不准确,目标数据的准确性校验结果未通过;还可以基于预设的规则,进行误差分析,来对目标数据进行准确性校验并得到校验结果,具体的,根据第一参考数据和目标数据,对目标数据进行准确性校验,包括:确定第一参考数据和目标数据之间的误差值;根据误差值与误差阈值之间的关系,对目标数据进行准确性校验。Optionally, the edge service platform may perform similarity analysis based on the first reference data and the target data and based on preset rules to determine the similarity between the target data and the first reference data. If the similarity is high, the target is considered to be The data is accurate, and the accuracy verification result of the target data passes. If the similarity is low, the target data is considered to be inaccurate and the accuracy verification result of the target data fails. Error analysis can also be performed based on preset rules to determine the accuracy of the target data. The target data is checked for accuracy and a check result is obtained. Specifically, according to the first reference data and the target data, the target data is checked for accuracy, including: determining an error value between the first reference data and the target data; According to the relationship between the error value and the error threshold, the accuracy of the target data is checked.

其中,误差值是指第一参考数据和目标数据之间的偏差值。误差阈值是指预设的用于表征目标数据与参考数据之间偏差情况的阈值。The error value refers to a deviation value between the first reference data and the target data. The error threshold refers to a preset threshold used to characterize the deviation between the target data and the reference data.

示例性的,若第一参考数据和目标数据均为数值,则可以对第一参考数据和目标数据进行求差,确定第一参考数据和目标数据之间的误差值,若第一参考数据和目标数据均为坐标值,则可以计算第一参考数据和目标数据的欧式距离,作为二者的误差,即确定第一参考数据和目标数据之间的误差值。Exemplarily, if the first reference data and the target data are both numerical values, the difference between the first reference data and the target data can be calculated to determine the error value between the first reference data and the target data. If the target data are all coordinate values, the Euclidean distance between the first reference data and the target data can be calculated as the error between the two, that is, the error value between the first reference data and the target data can be determined.

可选的,确定第一参考数据和目标数据之间的误差值之后,可以针对每一个目标数据,比较误差值与误差阈值的大小关系,即对目标数据进行准确性校验。进一步的,若误差值大于误差阈值,则认为该目标数据的准确性校验结果为校验未通过,若误差值小于误差阈值,则认为该目标数据的准确性校验结果为校验通过。Optionally, after determining the error value between the first reference data and the target data, for each target data, the magnitude relationship between the error value and the error threshold may be compared, that is, the accuracy of the target data may be checked. Further, if the error value is greater than the error threshold, it is considered that the accuracy verification result of the target data is that the verification fails, and if the error value is less than the error threshold, the accuracy verification result of the target data is considered to pass the verification.

S204、根据目标数据和准确性校验结果,确定反馈数据,并将反馈数据发送至客户端。S204. Determine feedback data according to the target data and the accuracy verification result, and send the feedback data to the client.

可选的,根据目标数据,以及目标数据的准确性校验结果,确定反馈数据,包括:根据准确性校验结果,对目标数据进行标记处理,并将标记后的目标数据作为反馈数据。Optionally, determining the feedback data according to the target data and the accuracy verification result of the target data includes: marking the target data according to the accuracy verification result, and using the marked target data as the feedback data.

具体的,对于每个目标数据,可以根据其准确性校验结果,为该目标数据增加校验结果标签,例如,可以将准确性校验通过的目标数据的标签记为准确数据,将准确性校验未通过的目标数据的标签记为怀疑数据,即对目标数据进行标记处理,并将标记后的目标数据(包含记为准确数据和怀疑数据的所有目标数据)作为反馈数据。Specifically, for each target data, a verification result label can be added to the target data according to its accuracy verification result. For example, the label of the target data that has passed the accuracy verification can be recorded as accurate data, and the accuracy The tag of the target data that fails to pass the verification is marked as suspect data, that is, the target data is marked and processed, and the marked target data (including all target data marked as accurate data and suspect data) is used as feedback data.

本发明实施例获取至少一个边缘计算节点采集的目标数据之后,进一步获取对应的第一参考数据,根据第一参考数据和目标数据,对目标数据进行准确性校验,得到目标数据的准确性校验结果,最后根据目标数据和准确性校验结果,确定反馈数据并发送至客户端,给出了一种对目标数据进行准确性校验的可实施方式,可以保证数据的准确性。After acquiring the target data collected by at least one edge computing node, the embodiment of the present invention further acquires corresponding first reference data, and performs accuracy verification on the target data according to the first reference data and the target data, and obtains the accuracy verification of the target data. Finally, according to the target data and the accuracy verification result, the feedback data is determined and sent to the client, and an implementable method for accuracy verification of the target data is provided, which can ensure the accuracy of the data.

可选的,对目标数据进行一次准确性校验之后,为了保证数据的准确性,还可以对目标数据进行更新,具体的,对目标数据进行准确性校验,得到目标数据的准确性校验结果之后,还包括:根据准确性校验结果,确定目标数据中的误差数据;控制误差数据对应的边缘计算节点重新执行数据采集操作,得到更新数据。Optionally, after performing an accuracy check on the target data, in order to ensure the accuracy of the data, the target data may also be updated. Specifically, the accuracy check is performed on the target data to obtain the accuracy check of the target data. After the result, the method further includes: determining the error data in the target data according to the accuracy verification result; and controlling the edge computing node corresponding to the error data to perform the data collection operation again to obtain the updated data.

其中,误差数据是指目标数据中校验未通过的数据。更新数据是指边缘计算节点重新采集到的数据。Wherein, the error data refers to the data in the target data that fails to pass the verification. Update data refers to the data recollected by edge computing nodes.

可选的,边缘服务平台可以根据准确性校验结果,将未通过准确性校验的目标数据作为误差数据,即确定目标数据中的误差数据,进一步对误差数据进行分析,确定出误差数据对应的边缘计算节点,分别对对应的边缘计算节点发送数据采集指令,并获取各边缘计算节点基于数据采集指令重新执行数据采集操作获取的数据,即得到更新数据。Optionally, the edge service platform can use the target data that fails the accuracy check as error data according to the accuracy check result, that is, determine the error data in the target data, further analyze the error data, and determine the corresponding error data. The edge computing nodes send data collection instructions to the corresponding edge computing nodes respectively, and obtain the data obtained by each edge computing node re-executing the data collection operation based on the data collection instructions, that is, to obtain updated data.

相应的,根据目标数据和准确性校验结果,确定反馈数据,包括:根据更新数据、目标数据和目标数据的准确性校验结果,确定反馈数据。Correspondingly, determining the feedback data according to the target data and the accuracy verification result includes: determining the feedback data according to the update data, the target data and the accuracy verification result of the target data.

具体的,确定更新数据之后,可以直接将更新数据、目标数据和目标数据的准确性校验结果作为反馈数据,即确定反馈数据,也可以根据目标数据的准确性校验结果,将目标数据中的误差数据替换为更新数据,完成目标数据的更新,进一步可以将更新后的目标数据作为反馈数据,即确定反馈数据。Specifically, after the update data is determined, the update data, the target data, and the accuracy verification result of the target data can be directly used as the feedback data, that is, the feedback data can be determined, or the target data can be stored in the target data according to the accuracy verification result of the target data. The error data is replaced with the update data, and the update of the target data is completed, and the updated target data can be further used as the feedback data, that is, the feedback data is determined.

可选的,也可以对更新数据进行二次的准确性检验,相应的,根据更新数据、目标数据和目标数据的准确性校验结果,确定反馈数据,包括:对更新数据进行准确性校验,得到更新数据的准确性校验结果;根据更新数据、更新数据的准确性校验结果、目标数据和目标数据的准确性校验结果,确定反馈数据。Optionally, a secondary accuracy check may also be performed on the updated data. Correspondingly, the feedback data is determined according to the accuracy check results of the updated data, the target data, and the target data, including: performing an accuracy check on the updated data. , to obtain the accuracy verification result of the updated data; according to the updated data, the accuracy verification result of the updated data, the target data and the accuracy verification result of the target data, determine the feedback data.

具体的,对更新数据进行准确性校验,得到更新数据的准确性校验结果的过程与本实施例S102的过程类似,在此不进行赘述。Specifically, the process of performing the accuracy check on the update data to obtain the accuracy check result of the update data is similar to the process of S102 in this embodiment, and will not be repeated here.

可选的,确定更新数据的准确性校验结果之后,根据更新数据、更新数据的准确性校验结果、目标数据和目标数据的准确性校验结果,确定反馈数据的一种实施方式为:将目标数据和更新数据,以及对应的两次校验结果都作为反馈数据,即确定反馈数据;确定反馈数据的另一种实施方式为:对目标数据和更新数据的两次校验结果进行分析,将分析后的目标数据以及对应的准确性校验结果作为反馈数据,即确定反馈数据。示例性的,可以根据目标数据(如包括数据1、数据2和数据3)的准确性校验结果,先确定未通过准确性校验的准确性较低的目标数据(如数据3)与云端标准数据的偏差(记为第一偏差值),进一步根据更新数据(如新采集的数据3)的准确性校验结果,确定对应更新数据(如新采集的数据3)与云端标准数据的偏差(记为第二偏差值),将偏差值较小的数据作为最终数据,并利用最终数据替换目标数据中未通过准确性校验的数据(如原数据3),得到分析后的目标数据,进一步将分析后的目标数据以及对应的准确性校验结果作为反馈数据,即确定反馈数据。Optionally, after determining the accuracy verification result of the updated data, according to the updated data, the accuracy verification result of the updated data, the target data and the accuracy verification result of the target data, an embodiment of determining the feedback data is: Taking the target data and the update data, and the corresponding two verification results as the feedback data, that is, determining the feedback data; another embodiment of determining the feedback data is: analyzing the two verification results of the target data and the updated data , the analyzed target data and the corresponding accuracy verification result are used as feedback data, that is, the feedback data is determined. Exemplarily, according to the accuracy verification results of the target data (eg, including data 1, data 2, and data 3), first determine the target data with lower accuracy (eg, data 3) that fails the accuracy verification and the cloud The deviation of the standard data (denoted as the first deviation value), and further according to the accuracy verification result of the updated data (such as the newly collected data 3), determine the deviation of the corresponding updated data (such as the newly collected data 3) and the cloud standard data (denoted as the second deviation value), take the data with a smaller deviation value as the final data, and use the final data to replace the data that has not passed the accuracy check in the target data (such as the original data 3) to obtain the analyzed target data, The analyzed target data and the corresponding accuracy verification result are further used as feedback data, that is, the feedback data is determined.

实施例三Embodiment 3

图3为本发明实施例三提供的一种数据处理系统的示意图,本实施在上述实施例的基础上,给出了边缘服务平台与边缘网关的数据采集端以及客户端交互,对客户端的数据获取请求进行反馈的优选实例。FIG. 3 is a schematic diagram of a data processing system according to Embodiment 3 of the present invention. On the basis of the above-mentioned embodiment, this implementation provides the interaction between the edge service platform and the data collection terminal and the client of the edge gateway, and the data on the client A preferred instance of a get request for feedback.

如图3所示,本实施例提供的数据处理系统具体包括:边缘网关的数据采集端、边缘服务平台以及客户端。As shown in FIG. 3 , the data processing system provided in this embodiment specifically includes: a data collection end of an edge gateway, an edge service platform, and a client.

边缘网关的数据采集端可以控制至少一个边缘计算节点进行数据采集。The data collection end of the edge gateway can control at least one edge computing node to collect data.

边缘服务平台可以包括查询模块、对比模块和处理模块。具体的,查询模块用于对云端的标准数据进行查询下载;对比模块用于对云端查询下载的标准数据和目标数据进行对比,保留误差小的目标数据,对于误差较大的目标数据进行标记处理,标记为怀疑数据,并将对比后的标记数据与未标记数据一同发送至处理模块;处理模块用于将整理后的标记数据和未标记数据,通过无线发送至客户端,客户端接收数据后可以实现供用户查阅。The edge service platform can include a query module, a comparison module and a processing module. Specifically, the query module is used to query and download the standard data in the cloud; the comparison module is used to compare the standard data queried and downloaded from the cloud with the target data, retain the target data with a small error, and mark the target data with a large error. , mark it as suspicious data, and send the compared marked data and unmarked data to the processing module; the processing module is used to send the sorted marked data and unmarked data to the client through wireless, and after the client receives the data It can be realized for users to consult.

客户端用于响应于用户的操作,向边缘服务平台发送数据获取请求。具体的,客户端可以包括有数据存储、请求记录以及标记数据提醒模块,所述数据存储模块用于对边缘服务平台所发送的反馈数据进行存储,所述请求记录模块用于记录客户端所发出的数据获取请求记录以及客户端所接收的边缘服务平台反馈记录,所述标记数据提醒模块用于根据所接收的标记数据,对客户进行提醒,保证查阅的客户均能够注意到标记数据的数值与类别。The client is used to send a data acquisition request to the edge service platform in response to the user's operation. Specifically, the client may include a data storage, request recording and marking data reminder module, the data storage module is used to store the feedback data sent by the edge service platform, and the request recording module is used to record the data sent by the client The data acquisition request record and the feedback record of the edge service platform received by the client, the marked data reminder module is used to remind the customer according to the received marked data, so as to ensure that the customer who consults can notice the value of the marked data and the value of the marked data. category.

优选的,边缘服务平台与边缘网关的数据采集端,以及客户端交互,对客户端的数据获取请求进行反馈的过程可以是:Preferably, the edge service platform interacts with the data collection terminal of the edge gateway and the client, and the process of feeding back the data acquisition request of the client may be as follows:

1)边缘服务平台若检测到客户端发送的数据获取请求指令,则根据数据请求指令所请求的数据,生成相应的数据采集指令。1) If the edge service platform detects the data acquisition request instruction sent by the client, it will generate the corresponding data acquisition instruction according to the data requested by the data request instruction.

2)边缘服务平台向边缘网关发送数据采集指令,使得边缘网关根据数据采集指令,控制至少一个边缘计算节点进行数据采集,并获取至少一个边缘计算节点采集的数据,然后进行压缩、分类和归整,生成至少一个数据采集包反馈至边缘服务平台。2) The edge service platform sends a data collection instruction to the edge gateway, so that the edge gateway controls at least one edge computing node to collect data according to the data collection instruction, and obtains the data collected by at least one edge computing node, and then compresses, sorts, and sorts. , and generate at least one data collection package to feed back to the edge service platform.

3)边缘服务平台可以从边缘网关获取压缩包,也可以从边缘计算节点获取压缩包,获取压缩包后,可以对数据压缩包进行解压提取,确定解压后的数据(即目标数据)。3) The edge service platform can obtain the compressed package from the edge gateway, or obtain the compressed package from the edge computing node. After obtaining the compressed package, it can decompress and extract the data compressed package to determine the decompressed data (ie, target data).

4)边缘服务平台根据预设的规则,对解压提取后的数据的真实性进行检测(即准确性校验),将未通过真实性检测的数据进行标记。4) The edge service platform detects the authenticity of the decompressed and extracted data according to preset rules (ie, accuracy verification), and marks the data that fails the authenticity detection.

5)向客户端发送标记为怀疑数据的标记数据和其他未标记数据,使得客户端向客户展示,供客户查阅。5) Send the marked data and other unmarked data marked as suspicious data to the client, so that the client can show it to the client for the client to consult.

6)根据怀疑数据,生成新的数据采集指令,并向对应的边缘计算节点发送新的数据采集指令,获取边缘计算节点利用数据采集端再次采集的数据(更新数据)。6) According to the suspected data, a new data collection instruction is generated, and a new data collection instruction is sent to the corresponding edge computing node to obtain the data (updated data) collected again by the edge computing node using the data collection terminal.

本发明实施例通过利用边缘服务平台,与边缘网关的数据采集端以及客户端交互,实现对客户端的数据获取请求的反馈,提升了数据的传输效率,同时保证了数据的准确性。The embodiment of the present invention uses the edge service platform to interact with the data collection terminal and the client of the edge gateway, so as to realize the feedback to the data acquisition request of the client, improve the data transmission efficiency, and at the same time ensure the accuracy of the data.

实施例四Embodiment 4

图4为本发明实施例四提供的一种数据处理装置的结构框图,本发明实施例所提供的一种数据处理装置可执行本发明任一实施例所提供的数据处理方法,具备执行方法相应的功能模块和有益效果。FIG. 4 is a structural block diagram of a data processing apparatus provided by Embodiment 4 of the present invention. A data processing apparatus provided by an embodiment of the present invention can execute the data processing method provided by any embodiment of the present invention, and has corresponding execution methods. functional modules and beneficial effects.

该数据处理装置可以包括:获取模块401、得到模块402和发送模块403。The data processing apparatus may include: an obtainingmodule 401 , a obtainingmodule 402 and a sendingmodule 403 .

其中,获取模块401,用于响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据;Wherein, the obtainingmodule 401 is configured to obtain the target data collected by at least one edge computing node through the edge gateway in response to the data obtaining request sent by the client;

得到模块402,用于对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果;Obtainingmodule 402, for performing accuracy verification on the target data to obtain an accuracy verification result of the target data;

发送模块403,用于根据所述目标数据和准确性校验结果,确定反馈数据,并将所述反馈数据发送至客户端。The sendingmodule 403 is configured to determine feedback data according to the target data and the accuracy verification result, and send the feedback data to the client.

本发明实施例响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据之后,对目标数据进行准确性校验,得到目标数据的准确性校验结果,最后根据目标数据和准确性校验结果,确定反馈数据,并将反馈数据发送至客户端。通过利用边缘网关获取目标数据,可以提升数据的传输效率,通过对目标数据进行准确性校验,从而对客户端发送的数据获取请求进行反馈,可以保证数据的准确性。In the embodiment of the present invention, in response to the data acquisition request sent by the client, after acquiring the target data collected by at least one edge computing node through the edge gateway, the accuracy of the target data is verified to obtain the accuracy verification result of the target data, and finally according to Target data and accuracy verification results, determine feedback data, and send the feedback data to the client. By using the edge gateway to obtain the target data, the data transmission efficiency can be improved. By verifying the accuracy of the target data, the data acquisition request sent by the client can be fed back to ensure the accuracy of the data.

进一步的,获取模块401具体用于:Further, theacquisition module 401 is specifically used for:

响应于客户端发送的数据获取请求,生成第一数据采集指令;In response to the data acquisition request sent by the client, generating a first data acquisition instruction;

将所述第一数据采集指令发送至边缘网关,以使所述边缘网关根据所述第一数据采集指令,反馈采集数据;其中,所述采集数据是所述边缘网关对至少一个边缘计算节点采集的原始数据处理生成;所述处理至少包括:分类、归整和打包中的至少一种;Sending the first data collection instruction to the edge gateway, so that the edge gateway feeds back collection data according to the first data collection instruction; wherein the collection data is collected by the edge gateway on at least one edge computing node The raw data is generated by processing; the processing at least includes: at least one of classification, sorting and packaging;

根据所述采集数据,确定目标数据。According to the collected data, target data is determined.

进一步的,得到模块402可以包括:Further, the obtainingmodule 402 may include:

获取单元,用于获取所述目标数据对应的第一参考数据;an acquisition unit, configured to acquire the first reference data corresponding to the target data;

校验单元,用于根据所述第一参考数据和所述目标数据,对所述目标数据进行准确性校验。A verification unit, configured to perform accuracy verification on the target data according to the first reference data and the target data.

进一步的,校验单元具体用于:Further, the verification unit is specifically used for:

确定所述第一参考数据和所述目标数据之间的误差值;determining an error value between the first reference data and the target data;

根据所述误差值与误差阈值之间的关系,对所述目标数据进行准确性校验。According to the relationship between the error value and the error threshold, the accuracy check is performed on the target data.

进一步的,发送模块403可以包括:Further, the sendingmodule 403 may include:

第一数据确定单元,用于根据准确性校验结果,对所述目标数据进行标记处理,并将标记后的目标数据作为反馈数据。The first data determination unit is configured to perform marking processing on the target data according to the accuracy verification result, and use the marked target data as feedback data.

进一步的,上述装置还包括:Further, the above-mentioned device also includes:

确定模块,用于对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果之后,根据准确性校验结果,确定目标数据中的误差数据;a determination module, configured to perform accuracy verification on the target data, and after obtaining the accuracy verification result of the target data, determine error data in the target data according to the accuracy verification result;

数据得到模块,用于对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果之后,控制所述误差数据对应的边缘计算节点重新执行数据采集操作,得到更新数据;a data obtaining module, configured to perform an accuracy check on the target data, and after obtaining the accuracy check result of the target data, control the edge computing node corresponding to the error data to perform a data collection operation again to obtain updated data;

相应的,发送模块403还包括:Correspondingly, the sendingmodule 403 further includes:

第二数据确定单元,用于根据所述更新数据、所述目标数据和所述目标数据的准确性校验结果,确定反馈数据。The second data determination unit is configured to determine feedback data according to the update data, the target data and the accuracy verification result of the target data.

进一步的,第二数据确定单元具体用于:Further, the second data determination unit is specifically used for:

对所述更新数据进行准确性校验,得到所述更新数据的准确性校验结果;Accuracy verification is performed on the updated data to obtain an accuracy verification result of the updated data;

根据所述更新数据、所述更新数据的准确性校验结果、所述目标数据和所述目标数据的准确性校验结果,确定反馈数据。Feedback data is determined according to the update data, the accuracy check result of the update data, the target data and the accuracy check result of the target data.

实施例五Embodiment 5

图5为本发明实施例五提供的一种电子设备的结构示意图,图5示出了适于用来实现本发明实施例实施方式的示例性设备的框图。图5显示的设备仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 5 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present invention, and FIG. 5 shows a block diagram of an exemplary device suitable for implementing the embodiments of the present invention. The device shown in FIG. 5 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention.

如图5所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 5, the electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include, but are not limited to, one or more processors orprocessing units 16 ,system memory 28 , and abus 18 connecting various system components includingsystem memory 28 andprocessing unit 16 .

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

电子设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12, including both volatile and non-volatile media, removable and non-removable media.

系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器(高速缓存32)。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。系统存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明实施例各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory (cache 32). Electronic device 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only,storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in Figure 5, a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives. In these cases, each drive may be connected tobus 18 through one or more data media interfaces.System memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如系统存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明实施例所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) ofprogram modules 42, which may be stored, for example, insystem memory 28,such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and programs Data, each or some combination of these examples may include an implementation of a network environment. Theprogram modules 42 generally perform the functions and/or methods in the embodiments described in the embodiments of the present invention.

电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图5中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 12 may also communicate with one or more external devices 14 (eg, a keyboard, pointing device,display 24, etc.), with one or more devices that enable a user to interact with the electronic device 12, and/or with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O)interface 22 . Also, the electronic device 12 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through anetwork adapter 20 . As shown,network adapter 20 communicates with other modules of electronic device 12 viabus 18 . It should be understood that, although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tapes drives and data backup storage systems, etc.

处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的数据处理方法。Theprocessing unit 16 executes various functional applications and data processing by running the programs stored in thesystem memory 28, for example, implements the data processing method provided by the embodiments of the present invention.

实施例六Embodiment 6

本发明实施例六还提供一种计算机可读存储介质,其上存储有计算机程序(或称为计算机可执行指令),该程序被处理器执行时用于执行本发明实施例所提供的数据处理方法。Embodiment 6 of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as a computer-executable instruction) is stored, and when the program is executed by a processor, is used to perform the data processing provided by the embodiment of the present invention method.

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The 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 a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, 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 devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can 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 propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明实施例操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of embodiments of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, and Conventional procedural programming languages such as the "C" language 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. Where a remote computer is involved, the remote computer may be connected to the user's computer through any kind of network including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to connect over the Internet) .

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明实施例进行了较为详细的说明,但是本发明实施例不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the embodiments of the present invention have been described in detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention , and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

Translated fromChinese
1.一种数据处理方法,其特征在于,所述方法包括:1. a data processing method, is characterized in that, described method comprises:响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据;In response to the data acquisition request sent by the client, acquire the target data collected by at least one edge computing node through the edge gateway;对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果;Carrying out an accuracy check on the target data to obtain an accuracy check result of the target data;根据所述目标数据和准确性校验结果,确定反馈数据,并将所述反馈数据发送至客户端。According to the target data and the accuracy verification result, feedback data is determined, and the feedback data is sent to the client.2.根据权利要求1所述的方法,其特征在于,响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据,包括:2. The method according to claim 1, wherein, in response to a data acquisition request sent by a client, acquiring target data collected by at least one edge computing node through an edge gateway, comprising:响应于客户端发送的数据获取请求,生成第一数据采集指令;In response to the data acquisition request sent by the client, generating a first data acquisition instruction;将所述第一数据采集指令发送至边缘网关,以使所述边缘网关根据所述第一数据采集指令,反馈采集数据;其中,所述采集数据是所述边缘网关对至少一个边缘计算节点采集的原始数据处理生成;所述处理至少包括:分类、归整和打包中的至少一种;Sending the first data collection instruction to the edge gateway, so that the edge gateway feeds back collection data according to the first data collection instruction; wherein the collection data is collected by the edge gateway on at least one edge computing node The raw data is generated by processing; the processing at least includes: at least one of classification, sorting and packaging;根据所述采集数据,确定目标数据。According to the collected data, target data is determined.3.根据权利要求1所述的方法,其特征在于,对所述目标数据进行准确性校验,包括:3. The method according to claim 1, characterized in that, performing an accuracy check on the target data, comprising:获取所述目标数据对应的第一参考数据;obtaining first reference data corresponding to the target data;根据所述第一参考数据和所述目标数据,对所述目标数据进行准确性校验。According to the first reference data and the target data, an accuracy check is performed on the target data.4.根据权利要求3所述的方法,其特征在于,根据所述第一参考数据和所述目标数据,对所述目标数据进行准确性校验,包括:4. The method according to claim 3, wherein, according to the first reference data and the target data, performing an accuracy check on the target data, comprising:确定所述第一参考数据和所述目标数据之间的误差值;determining an error value between the first reference data and the target data;根据所述误差值与误差阈值之间的关系,对所述目标数据进行准确性校验。According to the relationship between the error value and the error threshold, the accuracy check is performed on the target data.5.根据权利要求1所述的方法,其特征在于,根据所述目标数据,以及所述目标数据的准确性校验结果,确定反馈数据,包括:5. The method according to claim 1, wherein determining the feedback data according to the target data and the accuracy verification result of the target data, comprising:根据准确性校验结果,对所述目标数据进行标记处理,并将标记后的目标数据作为反馈数据。According to the accuracy verification result, marking processing is performed on the target data, and the marked target data is used as feedback data.6.根据权利要求1所述的方法,其特征在于,所述对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果之后,还包括:6. The method according to claim 1, characterized in that, after the accuracy verification is performed on the target data, after obtaining the accuracy verification result of the target data, the method further comprises:根据准确性校验结果,确定目标数据中的误差数据;According to the accuracy verification result, determine the error data in the target data;控制所述误差数据对应的边缘计算节点重新执行数据采集操作,得到更新数据;Controlling the edge computing node corresponding to the error data to re-execute the data collection operation to obtain updated data;相应的,根据所述目标数据和准确性校验结果,确定反馈数据,包括:Correspondingly, according to the target data and the accuracy verification result, determine the feedback data, including:根据所述更新数据、所述目标数据和所述目标数据的准确性校验结果,确定反馈数据。Feedback data is determined according to the update data, the target data and the accuracy check result of the target data.7.根据权利要求6所述的方法,其特征在于,根据所述更新数据、所述目标数据和所述目标数据的准确性校验结果,确定反馈数据,包括:7. The method according to claim 6, wherein determining the feedback data according to the update data, the target data and the accuracy verification result of the target data, comprising:对所述更新数据进行准确性校验,得到所述更新数据的准确性校验结果;Accuracy verification is performed on the updated data to obtain an accuracy verification result of the updated data;根据所述更新数据、所述更新数据的准确性校验结果、所述目标数据和所述目标数据的准确性校验结果,确定反馈数据。Feedback data is determined according to the update data, the accuracy check result of the update data, the target data and the accuracy check result of the target data.8.一种数据处理装置,其特征在于,包括:8. A data processing device, comprising:获取模块,用于响应于客户端发送的数据获取请求,通过边缘网关获取至少一个边缘计算节点采集的目标数据;an acquisition module, configured to acquire target data collected by at least one edge computing node through the edge gateway in response to a data acquisition request sent by the client;得到模块,用于对所述目标数据进行准确性校验,得到所述目标数据的准确性校验结果;obtaining module, for performing accuracy verification on the target data to obtain the accuracy verification result of the target data;发送模块,用于根据所述目标数据和准确性校验结果,确定反馈数据,并将所述反馈数据发送至客户端。A sending module, configured to determine feedback data according to the target data and the accuracy verification result, and send the feedback data to the client.9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising:一个或多个处理器;one or more processors;存储器,用于存储一个或多个程序;memory for storing one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一项所述的数据处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method according to any one of claims 1-7.10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任一项所述的数据处理方法。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the data processing method according to any one of claims 1-7 is implemented.
CN202210469436.XA2022-04-282022-04-28 A data processing method, apparatus, device and storage mediumPendingCN115016929A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210469436.XACN115016929A (en)2022-04-282022-04-28 A data processing method, apparatus, device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210469436.XACN115016929A (en)2022-04-282022-04-28 A data processing method, apparatus, device and storage medium

Publications (1)

Publication NumberPublication Date
CN115016929Atrue CN115016929A (en)2022-09-06

Family

ID=83067432

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210469436.XAPendingCN115016929A (en)2022-04-282022-04-28 A data processing method, apparatus, device and storage medium

Country Status (1)

CountryLink
CN (1)CN115016929A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116110607A (en)*2023-04-132023-05-12暨南大学 Method and system for proofreading detection data of traditional Chinese medicine components

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107092700A (en)*2017-05-022017-08-25山东浪潮通软信息科技有限公司It is a kind of based on the method and device for importing data under big data quantity in batches
US20190324441A1 (en)*2017-08-022019-10-24Strong Force Iot Portfolio 2016, LlcData collection systems with pattern analysis for an industrial environment
CN110400085A (en)*2019-07-292019-11-01联想(北京)有限公司Information processing method, information processing unit and information processing system
CN111970286A (en)*2020-08-212020-11-20北京恒华伟业科技股份有限公司User login method and device and web server
CN114116210A (en)*2021-11-182022-03-01深圳大学Agricultural Internet of things message processing system based on edge calculation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107092700A (en)*2017-05-022017-08-25山东浪潮通软信息科技有限公司It is a kind of based on the method and device for importing data under big data quantity in batches
US20190324441A1 (en)*2017-08-022019-10-24Strong Force Iot Portfolio 2016, LlcData collection systems with pattern analysis for an industrial environment
CN110400085A (en)*2019-07-292019-11-01联想(北京)有限公司Information processing method, information processing unit and information processing system
CN111970286A (en)*2020-08-212020-11-20北京恒华伟业科技股份有限公司User login method and device and web server
CN114116210A (en)*2021-11-182022-03-01深圳大学Agricultural Internet of things message processing system based on edge calculation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MONBURINON, N; ZABIR, SMS; (...); SHIRATORI, N: ""A Novel Hierarchical Edge Computing Solution Based on Deep Learning for Distributed Image Recognition in IoT Systems"", 《4TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY (INCIT) 2019》, 31 December 2019 (2019-12-31), pages 294 - 299*
张洲: ""基于物联网的智慧农业系统设计及实现"", 《中国博士学位论文全文数据库 (农业科技辑)》, 15 December 2019 (2019-12-15), pages 043 - 12*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116110607A (en)*2023-04-132023-05-12暨南大学 Method and system for proofreading detection data of traditional Chinese medicine components
CN116110607B (en)*2023-04-132023-06-09暨南大学Method and system for checking detection data of traditional Chinese medicine components

Similar Documents

PublicationPublication DateTitle
CN109165209B (en)Data verification method, device, equipment and medium for object types in database
CN110191021B (en)Protocol testing method and device, electronic equipment and storage medium
CN114817968B (en)Method, device and equipment for tracing path of featureless data and storage medium
WO2020164272A1 (en)Network access device identifying method and apparatus, storage medium and computer device
CN109582906B (en) Data reliability determination method, device, device and storage medium
WO2021196935A1 (en)Data checking method and apparatus, electronic device, and storage medium
CN110837641A (en) Malware detection method and detection system based on memory analysis
CN111124863B (en)Intelligent device performance testing method and device and intelligent device
CN114218110A (en) Reconciliation test method, device, computer equipment and storage medium for financial data
CN112181835A (en)Automatic testing method and device, computer equipment and storage medium
CN110647523A (en)Data quality analysis method and device, storage medium and electronic equipment
CN115033688A (en)Method, device, equipment and storage medium for identifying alarm event type
CN114691161A (en)Key-Value-based software system configuration method and device and electronic equipment
CN112131296B (en)Data exploration method and device, electronic equipment and storage medium
CN115640578A (en) Vulnerability reachability analysis method, device, equipment and medium of application program
CN114205156A (en) Aspect technology-oriented packet detection method, device, electronic device and medium
CN111738290B (en)Image detection method, model construction and training method, device, equipment and medium
CN110020665A (en)A kind of microbial biomass modal data analysis method being compatible with different flight mass spectrometers
CN115016929A (en) A data processing method, apparatus, device and storage medium
CN112748930B (en)Compilation detection method, device, equipment and storage medium
CN116015842A (en) A network attack detection method based on user access behavior
CN111414519A (en)Information processing method, device, computer system and readable storage medium
CN110704432A (en)Data index establishing method and device, readable storage medium and electronic equipment
CN114842261A (en) Image processing method, device, electronic device and storage medium
CN108399128A (en)A kind of generation method of user data, device, server and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp