Data processing system and method, edge device, protocol management device and server

By distributing data parsing files between the edge devices and servers of the IoT platform, the edge devices are allowed to parse the data protocols, thus solving the problems of small data parsing range and low efficiency of the IoT platform, enabling wider data parsing applications and more Efficient processing.

CN114095541BActive Publication Date: 2024-09-13ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010746936.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-29
Publication Date
2024-09-13
Estimated Expiration
2040-07-29

AI Technical Summary

Technical Problem

The IoT platform has a small scope and low efficiency in data parsing and processing, and cannot effectively parse data submitted by devices with non-standard data protocols.

Method used

By distributing the data parsing file between the edge device and the server, the edge device is able to parse the target data converted from the first data protocol into the second data protocol, which expands the application scope of data parsing and reduces the processing pressure of the server.

Benefits of technology

It realizes that the process of data parsing is no longer limited to the server, expands the application scope of data parsing, improves the efficiency and flexibility of data parsing, and can complete some data parsing scenarios that cannot be processed by the server on edge devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114095541B
    Figure CN114095541B
Patent Text Reader

Abstract

The embodiment of the present application provides a data processing system and method, an edge device, a protocol management device and a server, wherein the data processing system comprises: an edge device, and a server connected to the edge device; the edge device is used to: detect data to be parsed of a first data protocol; obtain a data parsing file from the server; based on the data parsing file, parse the data to be parsed from the first data protocol into target data of a second data protocol; the server is used to: provide the data parsing file to the edge device. The embodiment of the present application improves the utilization rate of data parsing and expands the scope of data parsing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing system and method, an edge device, a protocol management device and a server. Background Art

[0002] The IoT platform is a cloud server that manages the network of IoT devices. It can provide secure and reliable connection and communication capabilities, connect to IoT devices downward, support IoT device data collection and transmission to the control server or control device, and provide control instructions from the control server or control device upward to the device to achieve remote control. In order to uniformly manage the data of IoT devices, the IoT platform defines a standard data protocol. When an IoT device, control server or control device transmits data to the IoT platform, the IoT platform needs to convert the data into a standard data protocol defined by the platform so that the data transmitted by the device can perform corresponding data processing on the IoT platform.

[0003] In the prior art, devices connected to the IoT platform, that is, devices registered on the IoT platform, can submit data, and the IoT platform can convert the data into a standard data protocol defined and supported by the platform. When converting the data protocol, a data parsing file of a preset standard data protocol can be used to convert the data submitted by the device into a standard data protocol supported by the platform.

[0004] However, the IoT platform can only perform data analysis using standard data protocols on data submitted by devices connected to the platform. This limits the objects of data analysis and the conversion formats used to the conversion rules provided by the platform. The processing scope of data analysis is small and the efficiency is low. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a data processing system and method, an edge device, a protocol management device and a server to solve the technical problems in the prior art that the processing scope of data analysis of the Internet of Things platform is small and the interest efficiency is low.

[0006] In a first aspect, an embodiment of the present application provides a data processing system, including: an edge device, and a server connected to the edge device;

[0007] The edge device is used to: detect the data to be parsed of the first data protocol; obtain a data parsing file from the server; and parse the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file;

[0008] The server is used to provide the data parsing file to the edge device.

[0009] In a second aspect, an embodiment of the present application provides a data processing method, which is applied to an edge device, including:

[0010] Detecting data to be parsed of a first data protocol;

[0011] Get data parsing file from server;

[0012] Based on the data parsing file, the data to be parsed is parsed from the first data protocol into target data of the second data protocol.

[0013] In a third aspect, an embodiment of the present application provides a data processing method, which is applied to a protocol management device, including:

[0014] Get the data parsing file edited by the protocol management user;

[0015] Sending the data parsing file to a server, so that the server receives and saves the data parsing file provided by the protocol management device;

[0016] The data parsing file is used for edge devices to obtain, and when the data to be parsed of the first data protocol is detected, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0017] In a fourth aspect, an embodiment of the present application provides a data processing method, which is applied in a server, comprising:

[0018] Receiving the data parsing file provided by the protocol management device; wherein the data parsing file is edited and obtained by the protocol management user in the protocol management device;

[0019] Saving the data analysis file;

[0020] The data parsing file is sent to the edge device, so that when the edge device detects the data to be parsed of the first data protocol, the edge device parses the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

[0021] In a fifth aspect, an embodiment of the present application provides an edge device, comprising: a storage component and a processing component; the storage component is used to store one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;

[0022] The processing component is used to:

[0023] Detecting data to be parsed of a first data protocol; acquiring a data parsing file from a server; and parsing the data to be parsed from the first data protocol into target data of a second data protocol based on the data parsing file.

[0024] In a sixth aspect, an embodiment of the present application provides a protocol management device, comprising: a storage component and a processing component; the storage component is used to store one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;

[0025] The processing component is used to:

[0026] Acquire a data parsing file edited by a protocol management user; send the data parsing file to a server, so that the server receives and saves the data parsing file provided by the protocol management device;

[0027] The data parsing file is used for edge devices to obtain, and when the data to be parsed of the first data protocol is detected, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0028] In a seventh aspect, an embodiment of the present application provides a server, comprising: a storage component and a processing component; the storage component is used to store one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;

[0029] The processing component is used to:

[0030] Receive the data parsing file provided by the protocol management device; wherein the data parsing file is edited and obtained by the protocol management user in the protocol management device; save the data parsing file; send the data parsing file to the edge device, so that when the edge device detects the data to be parsed of the first data protocol, based on the data parsing file, the edge device parses the data to be parsed from the first data protocol into the target data of the second data protocol.

[0031] In an embodiment of the present application, an edge device can detect data to be parsed of a first data protocol. A server can provide a data parsing file to the edge device. The edge device obtains the data parsing file provided by the server, and can parse the data to be parsed from the first data protocol to target data of the second data protocol based on the data parsing file. The data parsing process is completed by the edge device, so that the data parsing process is not limited to the server, which expands the application scope of data parsing, reduces the processing pressure of the server, and enables some scenarios where the server cannot solve data parsing to be completed on the edge device, thereby improving the interest rate efficiency of data parsing. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0033] Figure 1 A schematic diagram of the structure of an embodiment of a data processing system provided in an embodiment of the present application;

[0034] Figure 2 A structural diagram of another embodiment of a data processing system provided in an embodiment of the present application;

[0035] Figure 3 An example diagram of a data processing system provided in an embodiment of the present application;

[0036] Figure 4 A structural diagram of another embodiment of a data processing system provided in an embodiment of the present application;

[0037] Figure 5 A structural diagram of another embodiment of a data processing system provided in an embodiment of the present application;

[0038] Figure 6 A structural diagram of another embodiment of a data processing system provided in an embodiment of the present application;

[0039] Figure 7 A structural diagram of another embodiment of a data processing system provided in an embodiment of the present application;

[0040] Figure 8 Another example diagram of a data processing system provided in an embodiment of the present application;

[0041] Fig. 9 A flowchart of an embodiment of a data processing method provided in an embodiment of the present application;

[0042] Fig.10 A flowchart of another embodiment of a data processing method provided in an embodiment of the present application;

[0043] Fig.11 A flowchart of another embodiment of a data processing method provided in an embodiment of the present application;

[0044] Fig.12 A schematic diagram of the structure of an embodiment of an edge device provided in an embodiment of the present application;

[0045] Fig.13A schematic diagram of the structure of an embodiment of a collaborative management device provided in an embodiment of the present application;

[0046] Fig.14 A schematic diagram of the structure of an embodiment of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two, but does not exclude the inclusion of at least one.

[0049] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0050] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to identifying", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is identified" may be interpreted as "when determining" or "in response to determining" or "when identifying (stated condition or event)" or "in response to identifying (stated condition or event)", depending on the context.

[0051] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.

[0052] The IoT cloud platform can manage or transmit data to devices connected to the IoT. Devices registered on the IoT cloud platform can upload data to the IoT cloud platform, and management devices that manage access devices can also send control data to the IoT cloud platform. Since the IoT cloud platform only processes or identifies data of the standard data protocols it supports, the IoT cloud platform can convert data that does not belong to the standard data protocols it supports into data of the standard data protocols it supports. For example, the A IoT cloud platform can support data in JSON format, and devices connected to the A IoT cloud platform can directly send data in JSON format to the platform, or send data in other formats to the A IoT cloud platform. The A IoT cloud platform can convert the received non-JSON format data into JSON format to facilitate corresponding data processing on the A IoT cloud platform. However, the way in which the IoT cloud platform converts the received data into the standard data protocol defined by it limits the objects of data parsing and the conversion format to the conversion rules provided by the platform, so that the processing scope of data parsing is small and the utilization rate of the IoT cloud platform is not high.

[0053] In an embodiment of the present application, a data processing system is provided, which may include an edge device and a server connected to the edge device. In practical applications, the server may be, for example, an Internet of Things cloud platform. In an embodiment of the present application, the edge device may detect data to be parsed of a first data protocol. The server may provide a data parsing file to the edge device. The edge device obtains the data parsing file provided by the server, and may parse the data to be parsed from the first data protocol to target data of the second data protocol based on the data parsing file. The data parsing process is completed by the edge device, so that the data parsing process is not limited to being completed by the server, which expands the application scope of data parsing, reduces the processing pressure of the server, and enables some scenarios where the server cannot solve data parsing to be completed on the edge device, thereby improving the interest rate efficiency of data parsing.

[0054] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0055] like Figure 1 As shown, it is a structural diagram of an embodiment of a data processing system provided in an embodiment of the present application. The system may include: an edge device 101, and a server 102 connected to the edge device 101.

[0056] The edge device 101 can be used to: detect the data to be parsed of the first data protocol; obtain a data parsing file from a server; and parse the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

[0057] The server 102 can be used to provide data parsing files to edge devices.

[0058] The first data protocol is different from the second data protocol.

[0059] Optionally, the server may include an IoT cloud server.

[0060] Edge devices can be terminal devices that act as gateways in IoT cloud servers.

[0061] In practical applications, the instructions exist in the form of data in a special format. The data to be parsed may include: data that the electronic device needs to parse or instructions that the control device needs to parse.

[0062] Optionally, the data parsing file may be a data parsing program or a data parsing script, and the data parsing program or the data parsing script may be stored in the data parsing file, and the data to be parsed may be parsed from a first data protocol to target data of a second data protocol through the data parsing file. Through the data parsing file, the data protocol of the data to be parsed may be converted to achieve accurate parsing of the data to be parsed.

[0063] Optionally, the edge device obtaining the data parsing file from the server may specifically include: determining a data parsing file that is pre-acquired from the server and stored in the edge device. Among them, after the data parsing file is obtained from the server, it can be pre-stored in the edge device. By storing the data parsing file obtained from the server locally, it can be ensured that when the edge device is disconnected from the server, it can still parse the data to be parsed from the first data to the target data of the second data protocol based on the data parsing file. Of course, the edge device can also obtain the data parsing file from the server in real time when detecting the data to be parsed of the first data protocol to ensure the timeliness of the data parsing file.

[0064] In order to ensure the real-time validity of the data parsing file, the edge device can set an update time for the data parsing file. When the update time is reached, it can request the server to obtain the data parsing file again to update the original data parsing file. In addition, in actual applications, the edge device can also set an effective time for the data parsing file, starting from downloading the data parsing file. When the effective time of the data parsing file is reached, the data parsing file can be deleted from the local.

[0065] In an embodiment of the present application, the edge device can detect the data to be parsed of the first data protocol. The server can provide a data parsing file to the edge device. The edge device obtains the data parsing file provided by the server, and can parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file. The data parsing process is completed by the edge device, so that the data parsing process is not limited to the server, which expands the application scope of data parsing, reduces the processing pressure of the server, and enables some application scenarios where the server cannot solve the data parsing function to be completed on the edge device, thereby improving the interest rate efficiency of data parsing.

[0066] like Figure 2 As shown, it is a structural diagram of an embodiment of a data processing system provided in an embodiment of the present application. The system may include: an edge device 201, a server 202 connected to the edge device 201, and a first electronic device 203 connected to the edge device 201.

[0067] The first electronic device 203 can be used to send the to-be-parsed data of the first data protocol to the edge device 201 .

[0068] The edge device 201 can be used to: receive the data to be parsed of the first data protocol sent by the first electronic device 203; obtain the data parsing file from the server 202; and convert the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file.

[0069] The server 202 may be used to provide a data parsing file to the edge device 201 .

[0070] Optionally, the first electronic device may be an IoT device, for example, may include: smart home devices such as smart speakers, smart thermometers, smart air conditioners, wearable devices such as wristbands, virtual reality or augmented reality, smart processing devices such as mobile phones, tablet computers, notebook computers, etc. The specific types of electronic devices are not limited in the embodiments of the present application. The server may include an IoT cloud server.

[0071] The user can establish a product model of the product to which the electronic device belongs on the server. Taking the electronic device as an intelligent thermometer as an example, a manufacturer that produces a certain type of intelligent thermometer can establish a product model of the type of thermometer on the server. For example, use "sys1" to identify a product model. The product model can include various product information of the product, such as product model, product identification, producer, product attributes, data type, and processing method. Every time a manufacturer produces a smart thermometer entity of this type, it is considered to belong to a physical electronic device, that is, based on the product model, a virtual electronic device belonging to the product can be registered on the server. For example, the device can be represented as "sys1 / device1". When the physical electronic device interacts with the server, the data is actually transmitted in the name of the virtual electronic device "sys1 / device1". The server can distinguish different physical electronic devices based on the virtual electronic device. For the server, the virtual electronic device is the physical electronic device. The electronic device in the embodiment of the present application can be a physical device, but when it interacts with the server or edge device, it actually interacts with the data through a virtual device. That is, when the electronic device actually sends the data to be parsed, it is sent by the virtual electronic device that can be recognized by its corresponding server or edge device.

[0072] In the data processing system of the embodiment of the present application, the electronic device can send the data to be parsed of the first data protocol to the edge device. The first data protocol is a data protocol that the server cannot support. When the edge device detects the data to be parsed of the first data protocol, it can obtain the data parsing file from the server, so that based on the data parsing file, the data to be parsed can be converted from the first data protocol to the target data of the second data protocol. Provide the target data to the server. The second data protocol is different from the first data protocol. The data protocol parsing is completed on the edge device, so that the data parsing process is not limited to the server, which expands the application scope of data parsing, reduces the processing pressure of the server, and enables some application scenarios where the server cannot solve the data parsing function to be completed on the edge device, thereby improving the interest rate efficiency of data parsing.

[0073] As an embodiment, the edge device obtaining the data parsing file from the server may specifically include:

[0074] Determine the device information of the first electronic device; determine the product information of the product to which the first electronic device belongs according to the device information of the first electronic device; obtain a data parsing file associated with the product information of the product to which the first electronic device belongs from a server.

[0075] In some embodiments, the edge device determining the device information of the first electronic device may specifically include:

[0076] A device connection request initiated by the first electronic device is detected, and device information sent by the first electronic device is acquired.

[0077] The first electronic device needs to access the server through the edge device to send data to the server or receive corresponding control instructions from the server. When the first electronic device requests to access the server, it can send a device connection request to the edge device. At this time, when the edge device obtains the device connection request, it can connect it to the server. When the first electronic device sends a device connection request to the edge device, it can also send its corresponding device information. At this time, the edge device also determines the product information of its corresponding product through its corresponding device information to obtain the data parsing file associated with the product to which the electronic device belongs.

[0078] By associating data analysis files with products, the analysis targets of the electronic devices under the products can be clearly defined to complete the accurate analysis of the data to be analyzed.

[0079] As another embodiment, the edge device converts the target data of the second data protocol from the first data protocol to the data to be parsed based on the data parsing file, which may specifically include:

[0080] If the data to be parsed meets the first parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0081] Edge devices can also be used to: Send targeted data to a server.

[0082] The server can also be used to: receive target data sent by the edge device.

[0083] In some embodiments, the edge device may also be configured to: send the data to be parsed to the server if the data to be parsed meets a second parsing condition.

[0084] The server can also be used to: receive data to be parsed sent by edge devices.

[0085] If the data to be parsed meets the second parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0086] The first parsing condition and the second parsing condition can be predefined by the manufacturer of the electronic device. That is, the manufacturer of the electronic device can decide whether the parsing process of the data to be parsed is completed by the edge device or the server. By providing multi-terminal data parsing, the corresponding parsing terminal can be personalized according to different data parsing needs, which expands the application scope of data parsing and improves parsing efficiency.

[0087] In addition, in actual applications, the first electronic device may include multiple devices, and the manufacturer-defined products may also include multiple devices. Corresponding analysis regulations may be made for different products, and analysis regulations may also be made for electronic devices belonging to the same product. This can greatly provide a freer analysis selection method for the data analysis process. Through the data analysis file, data analysis can be performed on the data of electronic devices belonging to the same product, and the data analysis file can be edited once and used multiple times, thereby improving the actual application scope and efficiency of the analysis.

[0088] Further, optionally, after acquiring the target data, the server may perform data processing on the target data to obtain corresponding data processing results.

[0089] When processing the target data, it can be determined according to the actual application scenario of the first electronic device. For example, the server can perform data analysis on the target data to confirm the usage status of the electronic device. The data can be pushed in real time, such as to a terminal such as a mobile phone of the device user. The data can also be analyzed by big data, such as analyzing the usage parameters such as the service life of the first electronic device.

[0090] For ease of understanding, taking the first electronic device as a smart lamp, the edge device as a gateway device, and the server as an IoT cloud server as an example, the technical solution of the embodiment of the present application is described in detail.

[0091] like Figure 3 As shown, the smart lamp M1 can initiate a device connection request to the gateway device M2, and at the same time, can send its corresponding device information to the gateway device M2. The gateway device M2 can send the device connection request and device information to the IoT cloud server M3, and at the same time request the IoT cloud server M3 to obtain the data analysis file.

[0092] Specifically, a management user, for example, a manufacturer that generates a smart lamp M1, can register a product model belonging to the same category of lamp products in the IoT cloud server M3. The product model is an electronic device belonging to the same category of products. The smart lamp M1 may be a product model of an air-conditioning product registered by a certain management user. The IoT cloud server M3 stores the product model of the smart lamp M1, that is, stores the product information of the product to which the smart air-conditioning M1 belongs. When registering the product, the management user can send the protocol usage conditions of the electronic device corresponding to the product and the product information of the product to the IoT cloud platform M3. Therefore, the IoT cloud server M3 can send the data parsing file to the gateway device M2 when detecting a request to obtain the data parsing file initiated by the gateway device M2. The gateway device M2 can then obtain the data parsing file.

[0093] The smart lamp M1 can send 301 the data to be parsed to the gateway device M2. When the gateway device M2 determines that the parsed data meets the first parsing condition, it can parse 302 the data to be parsed into target data based on the data parsing file, and then send the target data 303 to the IoT cloud server M3 to complete the data reporting. When the gateway device M2 determines that the parsed data meets the second parsing condition, it directly forwards 304 the data to be parsed to the IoT cloud server M3. Afterwards, the IoT cloud server M3 can parse 305 the data to be parsed into target data using the data parsing file.

[0094] like Figure 4 As shown, it is a structural diagram of another embodiment of a data processing system provided in an embodiment of the present application. The data processing system may include: an edge device 401, a server 402 connected to the edge device 401, and a control device 403 connected to the edge device 401.

[0095] The control device 403 is used to: send the data to be parsed in the first data protocol to the edge device;

[0096] The edge device 401 is used to: receive the data to be parsed of the first data protocol sent by the control device 403; obtain a data parsing file from the server 402; and parse the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

[0097] The server 402 is used to provide data parsing files to the edge device 401 .

[0098] Some contents in the embodiments of the present application are the same as some contents in the aforementioned embodiments, and will not be repeated here for the sake of brevity.

[0099] Optionally, the data to be parsed may include control instructions, and the target data may include: target instructions.

[0100] In the embodiment of the present application, after the control device sends the data to be parsed to the edge device, the edge device can receive the data to be parsed of the first data protocol sent by the control device, and then, based on the data parsing file obtained from the server, the data to be parsed can be parsed from the first data protocol to a target file of the second data protocol. The parsing process of the data to be parsed sent by the control device is completed by the edge device, which can expand the scope of data parsing, meet the multi-location parsing of data parsing, improve the processing scope of parsing, and further expand the utilization efficiency of data parsing.

[0101] In the application process of data analysis, the data analysis device can be customized by the protocol manager. The protocol manager can be, for example, the device manufacturer. When the edge device obtains a piece of data to be analyzed, it can confirm the analysis method of the data to be analyzed to confirm whether it is analyzed locally or on the server.

[0102] As an embodiment, the edge device obtaining the data parsing file from the server may include:

[0103] If the control device meets the first control condition, a data parsing file is obtained from the server.

[0104] In some embodiments, the edge device may parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file, which may specifically include:

[0105] If the control device meets the first control condition, the edge device can parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file. When the control device meets the first control condition, the edge device can parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file.

[0106] After the edge device parses the data to be parsed into target data, the target data can be directly sent to the second electronic device.

[0107] like Figure 5 As shown, it is a structural diagram of another embodiment of a data processing system provided in an embodiment of the present application, and the system may include: an edge device 501, a server 502 connected to the edge device 501, a control device 503 connected to the edge device 501, and a second electronic device 504 connected to the edge device 501.

[0108] The control device 503 is used to send the data to be parsed of the first data protocol to the edge device 501 .

[0109] The edge device 501 is used to: receive the data to be parsed of the first data protocol sent by the control device 503. If the control device 503 meets the first control condition, obtain the data parsing file from the server; if the control device 503 meets the first control condition, parse the data to be parsed from the first data protocol into the target data of the second data protocol based on the data parsing file; and send the target data obtained by parsing to the second electronic device 504.

[0110] The server 502 is used to provide data parsing files to the edge device 501 .

[0111] The second electronic device 504 is used to: receive target data sent by the edge device 501; and perform corresponding control operations based on the target data.

[0112] Optionally, the second electronic device may be the same as or different from the first electronic device.

[0113] When the edge device sends the target data to the second electronic device, the second data protocol may be a data protocol that the second electronic device can support, and the data protocol may be a predetermined data protocol to obtain a user-defined data protocol.

[0114] In an embodiment of the present application, after the control device sends the data to be parsed to the edge device, the edge device can receive the data to be parsed of the first data protocol sent by the control device. Afterwards, when it can be confirmed that the control device meets the first control condition, the data to be parsed is parsed from the first data protocol to a target file of the second data protocol based on the data parsing file obtained from the server. The parsing process of the data to be parsed sent by the control device is completed by the edge device, which can expand the scope of data parsing, meet the multi-location parsing of data parsing, improve the processing scope of parsing, and further expand the utilization efficiency of data parsing. The second electronic device can obtain the target data provided by the edge device. By using the edge device to complete the data parsing, the data transmission steps can be reduced and the data transmission efficiency can be improved.

[0115] It should be noted that the descriptions of "first", "second", "third", "fourth", etc. involved in the embodiments of the present application are used to distinguish different devices, modules, etc., and represent the order of precedence, and do not limit the "first" and "second" to different types.

[0116] As yet another embodiment, the edge device is further configured to: if the control device satisfies a second control condition, send the data to be parsed to the server.

[0117] The server is also used to: receive the data to be parsed sent by the edge device; if the control device meets the second control condition, parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file; and send the target data to the edge device.

[0118] In some embodiments, the edge device may also be used to: receive target data sent by the server.

[0119] The edge device can determine whether to obtain the data parsing file from the server to implement local data parsing based on whether the control device meets the first control condition.

[0120] When the control device meets the second control condition, the edge device can send the data to be parsed to the server to complete the data parsing on the server. After that, the server can also feed back the target data obtained by the parsing to the edge device.

[0121] like Figure 6FIG. 1 is a schematic diagram of a structure of another embodiment of a data processing system provided in an embodiment of the present application. The system may include:

[0122] An edge device 601, a server 602 connected to the edge device 601, a control device 603 connected to the edge device 601, and a third electronic device 604 connected to the edge device.

[0123] The control device 603 may be configured to send the data to be parsed of the first data protocol to the edge device 601 .

[0124] The edge device 601 may be used to: receive the data to be parsed of the first data protocol sent by the control device 603. If the control device 603 meets the second control condition, send the data to be parsed to the server 602. Receive the target data sent by the server 602. Send the received target data to the third electronic device 604.

[0125] The server 602 can be used to: receive the data to be parsed sent by the edge device 601; if the control device 603 meets the second control condition, based on the data parsing file, parse the data to be parsed from the first data protocol to the target data of the second data protocol; and send the target data to the edge device 601.

[0126] The third electronic device 604 can be used to: receive target data sent by the edge device 601; and perform corresponding control operations based on the target data.

[0127] Optionally, the third electronic device can perform a corresponding control operation based on the target data. The target data can specifically be a control instruction, an adjustment instruction, or a system update instruction, etc. The third electronic device can perform a corresponding control operation based on the control instruction, can perform a corresponding adjustment operation based on the adjustment instruction, and can also download a software data package from a server based on a system update instruction, and run the software data package to complete the system update operation. The control operation specifically matches the target data. The data to be parsed can be determined according to the actual control requirements to obtain the corresponding target data, which is also determined based on the corresponding control requirements.

[0128] In an embodiment of the present application, after the control device sends the data to be parsed to the edge device, the edge device can receive the data to be parsed of the first data protocol sent by the control device. Afterwards, when it can be confirmed that the control device meets the second control condition, the data to be parsed is sent to the server, and the server completes the data parsing. By providing data parsing on the server, multi-scenario parsing of data can be achieved, which expands the data parsing scenarios, while increasing the scope of data parsing, realizing multi-terminal utilization of the same data parsing file, and improving file parsing efficiency.

[0129] In addition, by implementing dual analysis of edge devices and servers, it can be ensured that the data to be analyzed can determine the corresponding analysis solution in accordance with the user's actual analysis needs, thereby ensuring the effectiveness and accuracy of the analysis and expanding the scope of analysis.

[0130] like Figure 7 As shown, it is a structural diagram of another embodiment of a data processing system provided in an embodiment of the present application. The system may include: an edge device 701, a server 702 connected to the edge device 701, and a protocol management device 703 connected to the server 702.

[0131] The edge device 701 is used to: detect the data to be parsed of the first data protocol; obtain the data parsing file from the server 702; and parse the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

[0132] The server 702 is used to: provide a data parsing file to the edge device 701; receive a data parsing file provided by the protocol management device 703; and save the data parsing file.

[0133] The protocol management device 703 is used to: obtain the data parsing file edited by the protocol management user; and send the data parsing file to the server 702.

[0134] In an embodiment of the present application, the data parsing file can be completed by the protocol management user in the protocol management device. The protocol management device can send the data parsing file edited by the protocol management user to the server. The server can store the data parsing file. So that the edge device can obtain the data parsing file from the server, and based on the data parsing file, parse the data to be parsed from the first data protocol to the target data of the second data protocol. By providing a protocol management device, the protocol management user can realize local conversion of the protocol management device and improve the management efficiency of the protocol management device.

[0135] In actual applications, in order to facilitate the protocol management user to manage or write data parsing files, the protocol management device can encapsulate SDKs (Software Development Kits) of various data protocols, and users can directly use the data protocols provided by the SDK to write data parsing files, thereby improving the editing efficiency of data parsing files. The SDK encapsulating various data protocols can be provided by the server.

[0136] Optionally, the protocol management device obtaining the data parsing file edited by the protocol management user may include: obtaining the data parsing file edited by the protocol management user based on multiple data protocol corresponding SDKs, wherein the multiple data protocol corresponding SDKs may be provided by a server.

[0137] The protocol management user can also debug the data parsing file online to ensure that the data parsing function of the data parsing file can be implemented normally. As an embodiment, the protocol management device can also be used to:

[0138] Detect debugging requests initiated by protocol management users. Send debugging requests to the server. Obtain debugging results fed back by the server. Output debugging results to protocol management users.

[0139] The server can also be used to: receive a debugging request sent by the protocol management device; respond to the debugging request, debug the data parsing file, and obtain the debugging result; and feed back the debugging result to the protocol management device.

[0140] The server saves the data analysis files, which can specifically include:

[0141] If the debugging result is successful, save the data analysis file.

[0142] In some embodiments, the debugging result can be fed back to the protocol management device so that the protocol management user can confirm the parsing result of the data parsing file. If the debugging result is successful, the data parsing file can be saved. If the debugging result fails, the protocol management user can be reminded to modify the original data parsing file or rewrite the data parsing file.

[0143] As another embodiment, the protocol management device sending the data parsing file to the server may specifically include: sending the data parsing file and product information of the product associated with the data parsing file to the server.

[0144] The data parsing file provided by the protocol management device received by the server may specifically include:

[0145] The data parsing file and product information of the product associated with the data parsing file sent by the protocol management device are received.

[0146] The server saves the data analysis files, which can specifically include:

[0147] The data analysis file and the product information of the product associated with the data analysis file are associated and saved.

[0148] By associating the data analysis file with the product information of its corresponding product and saving it, all devices belonging to the product line can use the data analysis file for data analysis, so that the data analysis file can be edited once and used multiple times, thereby improving the utilization efficiency of the data analysis file.

[0149] The protocol management user can define the electronic data parsing method and data parsing location. The data parsing location includes local parsing on the edge device or cloud parsing on the server. As another embodiment, the protocol management device can also be used to:

[0150] The detection protocol manages the protocol usage conditions corresponding to the protocol input by the user when parsing the data to be parsed input by the electronic device.

[0151] The protocol usage conditions may include: a first parsing condition that the data to be parsed is parsed on a server and a second parsing condition that the data to be parsed is parsed on an edge device.

[0152] Send the protocol usage conditions to the server.

[0153] The server storage data analysis files may include:

[0154] The data parsing file and the protocol usage condition of the data parsing file are associated and stored.

[0155] Optionally, the protocol usage conditions can be determined by setting the topic information associated with the data transmitted by the electronic device. If the data to be parsed transmitted by the electronic device is associated with predefined topic information, it can be determined that the data to be parsed meets the first parsing condition for parsing on the server. If the data to be parsed of the electronic device is not associated with predefined topic information, and the data to be parsed has a script parsing identifier, it can be determined that the data to be parsed meets the second parsing condition for parsing on the edge device.

[0156] That is, the first parsing condition includes: the data to be parsed is transparent data and is associated with predefined topic information. The second parsing condition includes: the data to be parsed is not transparent data, is not associated with predefined topic information, and has a script parsing identifier.

[0157] The protocol management user can define the data parsing method and data parsing location of the control device. The data parsing location includes local parsing performed on the edge device or cloud parsing performed on the server. As another embodiment, the protocol management device is also used to:

[0158] The detection protocol manages the control conditions corresponding to the parsing of the to-be-parsed data input by the control device input by the user.

[0159] The control conditions include: a first control condition that the data to be parsed is parsed on an edge device, and a second control condition that the data to be parsed is parsed on a server.

[0160] Send control conditions to the server.

[0161] The server stores data parsing files including:

[0162] The data analysis file and the control conditions of the data analysis file are associated and stored.

[0163] Optionally, the protocol management user can set the control conditions of the data to be parsed of the control device by setting the device tag. The first control condition can be to set a local parsing tag for the control device. At this time, the second control condition can be that the local parsing tag is not set for the control device.

[0164] When the edge device detects the data to be parsed sent by the control device, if the local parsing tag of the control device is obtained at the same time, the edge device can confirm that the control device meets the first control condition. When the edge detection device does not detect the local parsing tag of the control device, the edge device can confirm that the control device meets the second control condition.

[0165] Optionally, the protocol management user may also configure the control conditions of the control device on the edge device. The first control condition may include setting the device identifier of the control device on the edge device, and the second control condition may include not setting the device identifier of the control device on the edge device.

[0166] At this time, if the edge device detects data to be parsed sent by a control device, if the edge device stores the device identification of the control device, it can be confirmed that the control device meets the first control condition; if the edge device does not store the control identification of the control device, it can be confirmed that the control device meets the second control condition.

[0167] As an embodiment, the edge device may include: a gateway device or a terminal device configured with gateway software.

[0168] When the edge device is a gateway device, the electronic device or control device is connected to the gateway device, and the gateway device is connected to the server. The electronic device or control device accesses the server through the gateway device.

[0169] When the edge device is a terminal device configured with gateway software, the electronic device or control also accesses the server through the terminal device configured with gateway software. In actual applications, when the electronic device or control device is connected to the terminal device configured with gateway software, the terminal device can be connected through a sub-gateway device between the electronic device or control device and the terminal device. For example, when the electronic device is a smart bracelet or a smart TV, and the terminal device configured with gateway software is a mobile phone, the smart bracelet or smart TV needs to be connected to the mobile phone configured with gateway software through a sub-gateway device, such as a Bluetooth gateway module. The mobile phone can connect to the server so that the smart bracelet or smart TV can access the server.

[0170] A data protocol is a data type or data protocol defined according to certain rules. The data transmission method can be defined by setting the data protocol.

[0171] When an electronic device needs to report data to a server, or a control device needs to transmit data to a server, if protocol conversion is required, the data processing solution provided in the embodiment of the present application can be used to convert the data protocol.

[0172] In a possible design, the first data protocol may be a pre-set existing data protocol; and the second data protocol may be a standard data protocol supported by the server.

[0173] Existing data protocols may be, for example, Modbus (serial communication) protocol, OPC-UA (Object Linking and Embedding for Process Control-Unified Architecture) protocol, etc. Standard data protocols supported by the server may be, for example, Alink protocol, etc. Alink protocol is a data exchange specification designed for the field of IoT development. The data format is JSON (JavaScript Object Notation), which is used for two-way communication between the device side and the IoT platform, and more conveniently implements and standardizes data interaction between the device side and the IoT platform.

[0174] The data parsing file may be a conversion rule between predefined standard protocols or custom protocols written by a protocol management user. Through the data parsing file, the data to be parsed may be converted from the current first data protocol to the second data protocol.

[0175] In addition to using predefined data protocols, data conversion can also be achieved by using custom data protocols. In another possible design, the first data protocol can be a first custom protocol defined by a protocol management user; and the second data protocol can be a second custom protocol defined by a protocol management user.

[0176] In another possible design, the first data protocol may be a third custom protocol customized by a protocol management user; and the second data protocol may be a standard data protocol supported by the server.

[0177] The data protocol of the data to be parsed can be obtained by user-defined protocol management.

[0178] The first data protocol defined by the protocol management user can be converted into a second data protocol defined by the protocol management user. The first data protocol defined by the protocol management user can also be converted into a standard data protocol supported by the server.

[0179] Protocol management users can achieve more flexible data parsing by customizing data protocols, rather than being limited to data protocol parsing between standard data protocols supported by the original server and existing data protocols. This improves the flexibility of data conversion and can be further expanded for different data conversion scenarios to expand the scope of application.

[0180] For ease of understanding, take the control device as a mobile phone as an example, and the electronic device controlled by the control device as Figure 3 Taking the smart air conditioner shown as an example, the technical solution of the embodiment of the present application is introduced in detail.

[0181] and Figure 3 The difference of the embodiment shown is that a control device M4 and a protocol management device M5 are added. Figure 8 As shown, the protocol management device M5 can obtain the data parsing file edited by the protocol management user U1 and send 501 the data parsing file to the server.

[0182] The control device M4 may send data to be parsed, such as a light-on instruction 502, to the gateway device M2. When the gateway device M2 determines that the control device M4 meets the first control condition, the light-on instruction may be parsed 503 from the first data protocol into a target light-on instruction of the second data protocol based on the data parsing file obtained from the server. Afterwards, the control device M4 may directly send 504 the target light-on instruction to the second electronic device. For example, if the second electronic device and the first electronic device are both smart lamps M1, the target light-on instruction may be sent to the smart lamp M1.

[0183] When the gateway device M2 determines that the control device M4 satisfies the second control condition, the data to be parsed, i.e., the light-on instruction, may be sent 505 to the IoT cloud server M3, so that the IoT cloud server M3 can parse 506 the light-on instruction from the first data protocol into a target light-on instruction of the second data protocol based on the data parsing file. Afterwards, the IoT cloud server M3 may send the target light-on instruction to the gateway device M2, and the gateway device M2 may send the target light-on instruction to the third electronic device. For example, if the third electronic device and the first electronic device are both smart lamps M1, the target light-on instruction may be sent 507 to the smart lamp M1.

[0184] like Fig. 9 As shown, it is a flowchart of an embodiment of a data processing method provided by an embodiment of the present application. The method can be applied to an edge device. The edge device can be located in a data processing system. The data processing system can also include a server connected to the edge device. The method can include the following steps:

[0185] 901: Detect data to be parsed of a first data protocol.

[0186] 902: Get the data parsing file from the server.

[0187] 903: Based on the data parsing file, parse the data to be parsed from the first data protocol into target data of the second data protocol.

[0188] Optionally, obtaining a data parsing file from a server may include: determining a data parsing file that is pre-acquired from a server and stored in the edge device. After the data parsing file is obtained from the server, it may be pre-stored in the edge device. By storing the data parsing file obtained from the server locally, it can be ensured that when the edge device is disconnected from the server, it can still parse the data to be parsed from the first data to the target data of the second data protocol based on the data parsing file. Of course, the edge device can also obtain the data parsing file from the server in real time when detecting the data to be parsed of the first data protocol to ensure the timeliness of the data parsing file.

[0189] In order to ensure the real-time validity of the data parsing file, the edge device can set an update time for the data parsing file after downloading the data parsing file from the server. When the update time is reached, the edge device can request the server to obtain the data parsing file again to update the original data parsing file. In addition, in actual applications, the edge device can also set an effective time for the data parsing file after downloading the data parsing file from the server. Starting from downloading the data parsing file, when the effective time of the data parsing file is reached, the data parsing file can be deleted from the local.

[0190] In an embodiment of the present application, the edge device can detect the data to be parsed of the first data protocol. The server can provide a data parsing file to the edge device. The edge device obtains the data parsing file provided by the server, and can parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file. The data parsing process is completed by the edge device, so that the data parsing process is not limited to the server, which expands the application scope of data parsing, reduces the processing pressure of the server, and enables some application scenarios where the server cannot solve the data parsing function to be completed on the edge device, thereby improving the interest rate efficiency of data parsing.

[0191] As an embodiment, detecting the data to be parsed of the first data protocol may include:

[0192] Receive data to be parsed in a first data protocol sent by a first electronic device.

[0193] In some embodiments, obtaining the data parsing file from the server may include:

[0194] Device information of the first electronic device is determined.

[0195] The product information of the product to which the first electronic device belongs is determined according to the device information of the first electronic device.

[0196] A data parsing file associated with product information of a product to which the first electronic device belongs is obtained from a server.

[0197] As a possible implementation manner, determining the device information of the first electronic device may include:

[0198] A device connection request initiated by the first electronic device is detected, and device information sent by the first electronic device is acquired.

[0199] In some embodiments, based on the data parsing file, parsing the data to be parsed from the first data protocol to target data of the second data protocol may include:

[0200] If the data to be parsed meets the first parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0201] Send target data to the server.

[0202] As a possible implementation method, the method further includes:

[0203] If the data to be parsed meets the second parsing condition, the data to be parsed is sent to the server so that the server can receive the data to be parsed sent by the edge device, and when the data to be parsed meets the second parsing condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol.

[0204] As yet another embodiment, detecting the data to be parsed of the first data protocol may include:

[0205] Receive data to be parsed in a first data protocol sent by a control device.

[0206] In some embodiments, obtaining the data parsing file from the server may include:

[0207] If the control device meets the first control condition, a data parsing file is obtained from the server.

[0208] Based on the data parsing file, parsing the data to be parsed from the first data protocol to the target data of the second data protocol may include:

[0209] If the control device meets the first control condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0210] In one possible design, the method may further include:

[0211] The target data obtained by parsing is sent to the second electronic device, so that the second electronic device performs a corresponding control operation based on the target data.

[0212] In yet another possible design, the method may further include:

[0213] If the control device meets the second control condition, the data to be parsed is sent to the server so that the server can receive the data to be parsed sent by the edge device, and when the control device meets the second control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol to send the target data to the edge device.

[0214] Receive target data sent by the server.

[0215] Further, optionally, the method may also include:

[0216] The received target data is forwarded to the third electronic device, so that the third electronic device performs a corresponding control operation based on the target data.

[0217] In some embodiments, the data to be parsed may include: control instructions; the target data may include: target instructions.

[0218] In a possible design, the data parsing file is edited by the protocol management user on the protocol management device and sent to the server.

[0219] In addition, the embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program, and when the computer program is executed, it can perform the following steps: Fig. 9 The data processing method in the illustrated embodiment.

[0220] Fig. 9 The execution method or execution process of the specific steps involved and the technical effects have been Figures 1 to 8 The processing method of the edge device in the embodiments is described in detail. For the sake of brevity, it will not be repeated here.

[0221] like Fig.10 As shown, it is a flowchart of another embodiment of a data processing method provided by an embodiment of the present application. The method can be applied to a protocol management device. The protocol management device can be located in a data processing system. The data processing system can also include: an edge device connected to the protocol management device, and a server connected to the edge device. The method can include:

[0222] 1001: Get the data parsing file edited by the protocol management user;

[0223] 1002: Sending the data parsing file to the server, so that the server receives and saves the data parsing file provided by the protocol management device;

[0224] The data parsing file is used for the edge device to obtain, and when the data to be parsed of the first data protocol is detected, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol based on the data parsing file.

[0225] As an embodiment, the method further includes:

[0226] The detection protocol manages debugging requests initiated by users.

[0227] Send a debugging request to the server so that the server receives and responds to the debugging request, debugs the data parsing file, obtains the debugging result, feeds back the debugging result to the protocol management device, and saves the data parsing file when the debugging result is successful.

[0228] Get the debugging results fed back by the server. Output the debugging results to the protocol management user.

[0229] As another embodiment, sending the data parsing file to the server so that the server receives and saves the data parsing file provided by the protocol management device may include:

[0230] The data parsing file and the product information of the product associated with the data parsing file are sent to the server, so that the server can associate and store the data parsing file and the product information of the product associated with the data parsing file.

[0231] In some embodiments, the method may further include:

[0232] The detection protocol manages the protocol usage conditions corresponding to the protocol input by the user when parsing the data to be parsed input by the electronic device.

[0233] The protocol usage conditions include: a first parsing condition that the data to be parsed is parsed on the server and a second parsing condition that the data to be parsed is parsed on the edge device.

[0234] The protocol usage conditions are sent to the server so that the server can associate and store the data parsing file with the protocol usage conditions of the data parsing file.

[0235] In some embodiments, the method may further include:

[0236] The detection protocol manages the control conditions corresponding to the parsing of the to-be-parsed data input by the control device input by the user.

[0237] The control conditions include: a first control condition that the data to be parsed is parsed on an edge device, and a second control condition that the data to be parsed is parsed on a server.

[0238] The control condition is sent to the server so that the server can associate and store the data parsing file with the control condition of the data parsing file.

[0239] In addition, the embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program, and when the computer program is executed, it can perform the following steps: Fig.10 The data processing method in the illustrated embodiment.

[0240] Fig.10 The execution method or execution process of the specific steps involved and the technical effects have been Figures 1 to 8 The processing method of the protocol management device in the embodiments is described in detail. For the sake of brevity, it will not be repeated here.

[0241] like Fig.11 FIG. 1 is a flowchart of another embodiment of a data processing method provided in an embodiment of the present application. The method can be applied in a server. The method may include:

[0242] 1101: receiving a data parsing file provided by a protocol management device.

[0243] The data parsing file is edited and obtained by the protocol management user on the protocol management device.

[0244] 1102: Save the data parsing file.

[0245] 1103: Send a data parsing file to the edge device, so that when the edge device detects the data to be parsed of the first data protocol, the edge device parses the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

[0246] As an embodiment, the method may further include:

[0247] Receive a debugging request sent by a protocol management device, wherein the debugging request is sent to the server after the protocol management device detects that the protocol management user has initiated the debugging request.

[0248] In response to the debugging request, the data parsing file is debugged to obtain the debugging result; the debugging result is fed back to the protocol management device so that the protocol management device can output the debugging result to the protocol management user.

[0249] Saving the data parsing file may include: if the debugging result is successful, saving the data parsing file.

[0250] As yet another embodiment, receiving the data parsing file provided by the protocol management device may include:

[0251] The data parsing file and product information of the product associated with the data parsing file sent by the protocol management device are received.

[0252] Saving the data analysis file may include: saving the data analysis file and product information of a product associated with the data analysis file in association with each other.

[0253] In some embodiments, the method may further include:

[0254] The protocol usage conditions corresponding to the protocol management user input for parsing the data to be parsed input by the electronic device sent by the protocol management device are received, wherein the protocol usage conditions include: a first parsing condition for the data to be parsed in the server and a second parsing condition for the data to be parsed in the edge device.

[0255] The storage data analysis files include:

[0256] The data parsing file and the protocol usage condition of the data parsing file are associated and stored.

[0257] In some embodiments, the method may further include:

[0258] The control condition corresponding to the parsing of the to-be-parsed data input by the control device input by the protocol management user and received from the protocol management device.

[0259] The control conditions include: a first control condition that the data to be parsed is parsed at the edge device, and a second control condition that the data to be parsed is parsed at the server;

[0260] The storage data analysis files include:

[0261] The data analysis file and the control conditions of the data analysis file are associated and stored.

[0262] In some embodiments, the method may further include:

[0263] Receive target data sent by the edge device, wherein the target data is obtained by the edge device confirming that the data to be parsed meets the first parsing condition and parsing the data to be parsed from the first data protocol to the second data protocol based on the data parsing file.

[0264] Further, optionally, the method may also include:

[0265] Receive the data to be parsed sent by the edge device, wherein the data to be continued is sent when the edge device confirms that the data to be parsed meets the second parsing condition.

[0266] If the data to be parsed meets the second parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0267] In some embodiments, sending a data parsing file to an edge device so that the edge device, when detecting data to be parsed of a first data protocol, parses the data to be parsed from the first data protocol to target data of a second data protocol based on the data parsing file may include:

[0268] When the control device meets the first control condition, a data parsing file is sent to the edge device so that the edge device can detect the data to be parsed of the first data protocol, and when the control device meets the first control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol.

[0269] Further, optionally, the method may also include:

[0270] Receive the data to be parsed sent by the edge device, wherein the data to be parsed is forwarded by the edge device when the control device meets the second control condition.

[0271] If the control device meets the second control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol; and the target data is sent to the edge device so that the edge device receives the target data.

[0272] As an embodiment, the first data protocol may be a pre-set existing data protocol; and the second data protocol may be a standard data protocol supported by the server.

[0273] As another embodiment, the first data protocol may be a first custom protocol customized by a protocol management user; and the second data protocol may be a second custom protocol customized by a protocol management user.

[0274] As yet another embodiment, the first data protocol may be a third user-defined protocol defined by a protocol management user; and the second data protocol may be a standard data protocol supported by the server.

[0275] In addition, the embodiment of the present application also provides a computer-readable storage medium, which is used to store a computer program, and when the computer program is executed, it can perform the following steps: Fig.11 The data processing method in the illustrated embodiment.

[0276] Fig.11 The execution method or execution process of the specific steps involved and the technical effects have been Figures 1 to 8 The processing method of the server in the above embodiments is described in detail. For the sake of brevity, it will not be repeated here.

[0277] like Fig.12As shown, it is a structural diagram of an embodiment of an edge device provided in an embodiment of the present application. The edge device can be located in a data processing system. The data processing system can also include a server connected to the edge device. The edge device can specifically include: a storage component 1201 and a processing component 1202; the storage component 1201 is used to store one or more computer instructions; and the one or more computer instructions are called and executed by the processing component 1202.

[0278] The processing component 1202 can be used to:

[0279] Detect the data to be parsed of the first data protocol. Obtain a data parsing file from a server. Parse the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

[0280] Optionally, the edge device obtaining the data parsing file from the server may specifically include: determining a data parsing file that is pre-acquired from the server and stored in the edge device. Among them, after the data parsing file is obtained from the server, it can be pre-stored in the edge device. By storing the data parsing file obtained from the server locally, it can be ensured that when the edge device is disconnected from the server, it can still parse the data to be parsed from the first data to the target data of the second data protocol based on the data parsing file. Of course, the edge device can also obtain the data parsing file from the server in real time when detecting the data to be parsed of the first data protocol to ensure the timeliness of the data parsing file.

[0281] In order to ensure the real-time validity of the data parsing file, the edge device can set an update time for the data parsing file. When the update time is reached, it can request the server to obtain the data parsing file again to update the original data parsing file. In addition, in actual applications, the edge device can also set an effective time for the data parsing file, starting from downloading the data parsing file. When the effective time of the data parsing file is reached, the data parsing file can be deleted from the local.

[0282] In an embodiment of the present application, the edge device can detect the data to be parsed of the first data protocol. The server can provide a data parsing file to the edge device. The edge device obtains the data parsing file provided by the server, and can parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file. The data parsing process is completed by the edge device, so that the data parsing process is not limited to the server, which expands the application scope of data parsing, reduces the processing pressure of the server, and enables some application scenarios where the server cannot solve the data parsing function to be completed on the edge device, thereby improving the interest rate efficiency of data parsing.

[0283] As an embodiment, the processing component detecting the data to be parsed of the first data protocol may specifically include: receiving the data to be parsed of the first data protocol sent by the first electronic device.

[0284] In some embodiments, the processing component obtaining the data parsing file from the server may specifically include:

[0285] Determine the device information of the first electronic device. Determine the product information of the product to which the first electronic device belongs according to the device information of the first electronic device. Obtain a data parsing file associated with the product information of the product to which the first electronic device belongs from a server.

[0286] As a possible implementation manner, the processing component determining the device information of the first electronic device may specifically include:

[0287] A device connection request initiated by the first electronic device is detected, and device information sent by the first electronic device is acquired.

[0288] In some embodiments, the processing component may parse the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file, specifically including:

[0289] If the data to be parsed meets the first parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0290] Send target data to the server.

[0291] As a possible implementation, the processing component can also be used to:

[0292] If the data to be parsed meets the second parsing condition, the data to be parsed is sent to the server so that the server can receive the data to be parsed sent by the edge device, and when the data to be parsed meets the second parsing condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol.

[0293] As yet another embodiment, the processing component detecting the data to be parsed of the first data protocol may specifically include:

[0294] Receive data to be parsed in a first data protocol sent by a control device.

[0295] In some embodiments, the processing component obtaining the data parsing file from the server may specifically include:

[0296] If the control device meets the first control condition, a data parsing file is obtained from the server.

[0297] The processing component parses the data to be parsed from the first data protocol to the target data of the second data protocol based on the data parsing file, and specifically may include:

[0298] If the control device meets the first control condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0299] In one possible design, the processing component may also be used to:

[0300] The target data obtained by parsing is sent to the second electronic device, so that the second electronic device performs a corresponding control operation based on the target data.

[0301] In yet another possible design, the processing component may also be used to:

[0302] If the control device meets the second control condition, the data to be parsed is sent to the server so that the server can receive the data to be parsed sent by the edge device, and when the control device meets the second control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol to send the target data to the edge device; receive the target data sent by the server.

[0303] Further, optionally, the processing component may also be used for:

[0304] The received target data is forwarded to the third electronic device, so that the third electronic device performs a corresponding control operation based on the target data.

[0305] In some embodiments, the data to be parsed may include: control instructions; the target data may include: target instructions.

[0306] In a possible design, the data parsing file is edited by the protocol management user on the protocol management device and sent to the server.

[0307] Fig.12 The edge devices involved are already Figures 1 to 8 The above embodiments are described in detail, and will not be repeated here for the sake of brevity.

[0308] like Fig.13 As shown, it is a structural schematic diagram of an embodiment of a protocol management device provided by an embodiment of the present application. The protocol management device may be located in a data processing system. The data processing system may also include: an edge device connected to the protocol management device, and a server connected to the edge device. The protocol management device may include: a processing component 1301 and a storage component 1302; the storage component 1301 stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 1302,

[0309] The processing component 1302 can be used to:

[0310] Obtain the data parsing file edited by the protocol management user. Send the data parsing file to the server so that the server receives and saves the data parsing file provided by the protocol management device.

[0311] The data parsing file is used for the edge device to obtain, and when the data to be parsed of the first data protocol is detected, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol based on the data parsing file.

[0312] As an embodiment, the processing component may also be used for:

[0313] The detection protocol manages debugging requests initiated by users.

[0314] Send a debugging request to the server so that the server receives and responds to the debugging request, debugs the data parsing file, obtains the debugging result, feeds back the debugging result to the protocol management device, and saves the data parsing file when the debugging result is successful.

[0315] Get the debugging results fed back by the server. Output the debugging results to the protocol management user.

[0316] As another embodiment, the processing component sends the data parsing file to the server, so that the server receives and saves the data parsing file provided by the protocol management device, which may specifically include:

[0317] The data parsing file and the product information of the product associated with the data parsing file are sent to the server, so that the server can associate and store the data parsing file and the product information of the product associated with the data parsing file.

[0318] In some embodiments, the processing component may also be used to:

[0319] The detection protocol manages the protocol usage conditions corresponding to the protocol input by the user when parsing the data to be parsed input by the electronic device.

[0320] The protocol usage conditions include: a first parsing condition that the data to be parsed is parsed on the server and a second parsing condition that the data to be parsed is parsed on the edge device.

[0321] The protocol usage conditions are sent to the server so that the server can associate and store the data parsing file with the protocol usage conditions of the data parsing file.

[0322] In some embodiments, the processing component may also be used to:

[0323] The detection protocol manages the control conditions corresponding to the parsing of the to-be-parsed data input by the control device input by the user.

[0324] The control conditions include: a first control condition that the data to be parsed is parsed on an edge device, and a second control condition that the data to be parsed is parsed on a server.

[0325] The control condition is sent to the server so that the server can associate and store the data parsing file with the control condition of the data parsing file.

[0326] Fig.13 The protocol management equipment involved is already in Figures 1 to 8 The above embodiments are described in detail, and will not be repeated here for the sake of brevity.

[0327] like Fig.14 As shown, it is a structural diagram of an embodiment of a server provided in an embodiment of the present application. The server can be configured in a data processing system. The data processing system can also include a protocol management device connected to the server and an edge device connected to the server. The server can include a processing component 1401 and a storage component 1402; the storage component 1401 stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 1402.

[0328] The processing component 1402 can be used to:

[0329] Receive a data parsing file provided by a protocol management device. The data parsing file is edited and obtained by a protocol management user in the protocol management device. Save the data parsing file. Send the data parsing file to an edge device, so that when the edge device detects data to be parsed of a first data protocol, the edge device parses the data to be parsed from the first data protocol into target data of a second data protocol based on the data parsing file.

[0330] As an embodiment, the processing component may also be used for:

[0331] Receive the debugging request sent by the protocol management device. The debugging request is sent to the server after the protocol management device detects the protocol management user. Respond to the debugging request, debug the data parsing file, and obtain the debugging result. Feedback the debugging result to the protocol management device so that the protocol management device can output the debugging result to the protocol management user.

[0332] The processing component saves the data parsing file and specifically includes:

[0333] If the debugging result is successful, save the data analysis file.

[0334] As another embodiment, the processing component receiving the data parsing file provided by the protocol management device may specifically include: receiving the data parsing file sent by the protocol management device and product information of a product associated with the data parsing file.

[0335] The processing component saves the data parsing file and specifically includes:

[0336] The data analysis file and the product information of the product associated with the data analysis file are associated and saved.

[0337] In some embodiments, the processing component may also be used to:

[0338] The protocol management device receives the protocol usage conditions corresponding to the protocol management user input when parsing the data to be parsed input by the electronic device.

[0339] The protocol usage conditions include: a first parsing condition that the data to be parsed is parsed on the server and a second parsing condition that the data to be parsed is parsed on the edge device.

[0340] The processing component storage data parsing file may specifically include:

[0341] The data parsing file and the protocol usage condition of the data parsing file are associated and stored.

[0342] In some embodiments, the processing component may also be used to:

[0343] The control condition corresponding to the parsing of the to-be-parsed data input by the control device input by the protocol management user and received from the protocol management device.

[0344] The control conditions may include: a first control condition that the data to be parsed is parsed at the edge device, and a second control condition that the data to be parsed is parsed at the server.

[0345] The processing component storage data parsing file may specifically include:

[0346] The data analysis file and the control conditions of the data analysis file are associated and stored.

[0347] In some embodiments, the processing component may also be used to:

[0348] Receive target data sent by the edge device; wherein the target data is obtained by the edge device confirming that the data to be parsed meets the first parsing condition, and parsing the data to be parsed from the first data protocol to the second data protocol based on the data parsing file.

[0349] Further, optionally, the processing component may also be used for:

[0350] Receive the data to be parsed sent by the edge device, wherein the data to be continued is sent when the edge device confirms that the data to be parsed meets the second parsing condition.

[0351] If the data to be parsed meets the second parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

[0352] In some embodiments, the processing component sends a data parsing file to the edge device, so that when the edge device detects the data to be parsed of the first data protocol, based on the data parsing file, the target data of the second data protocol parsed from the first data protocol may specifically include:

[0353] When the control device meets the first control condition, a data parsing file is sent to the edge device so that the edge device can detect the data to be parsed of the first data protocol, and when the control device meets the first control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol.

[0354] Further, optionally, the processing component may also be used for:

[0355] Receiving data to be parsed sent by an edge device; wherein the data to be parsed is forwarded by the edge device when the control device satisfies a second control condition;

[0356] If the control device meets the second control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to the target data of the second data protocol; and the target data is sent to the edge device so that the edge device receives the target data.

[0357] As an embodiment, the first data protocol may be a pre-set existing data protocol; and the second data protocol may be a standard data protocol supported by the server.

[0358] As another embodiment, the first data protocol may be a first custom protocol customized by a protocol management user; and the second data protocol may be a second custom protocol customized by a protocol management user.

[0359] As yet another embodiment, the first data protocol may be a third user-defined protocol defined by a protocol management user; and the second data protocol may be a standard data protocol supported by the server.

[0360] Fig.14 The server in question is already in Figures 1 to 8 The above embodiments are described in detail, and will not be repeated here for the sake of brevity.

[0361] It should be noted that the electronic devices involved in the embodiments of the present application may include, for example, robots, onboard devices of self-driving cars, wearable devices, automatic positioning devices, smart home devices, etc. The embodiments of the present application do not place too many restrictions on the specific types of electronic devices. The server may specifically include ordinary servers such as computers and super notebooks or cloud servers. The embodiments of the present application do not place too many restrictions on the specific types of servers.

[0362] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0363] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0364] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0365] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0366] In a typical configuration, the electronic device may also include components such as an input / output interface, a network interface, a memory, and a display.

[0367] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0368] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data processing system, characterized in that: include: An edge device, an IoT cloud server and an IoT device connected to the edge device, and a protocol management device connected to the IoT cloud server; The IoT device is used to: send the data to be parsed in the first data protocol to the edge device; The edge device is used to: receive the data to be parsed of the first data protocol sent by the Internet of Things device; Obtaining a data parsing file from the IoT cloud server; Based on the data parsing file, the data to be parsed is parsed from the first data protocol into target data of the second data protocol; The IoT cloud server is used to: provide the data parsing file to the edge device; The protocol management device is used to: obtain a data parsing file edited by a user of the Internet of Things cloud platform; Sending the data parsing file to the IoT cloud server; The Internet of Things cloud server is used to: receive the data parsing file provided by the protocol management device; and save the data parsing file.

2. The system according to claim 1, characterized in that The edge device obtains the data parsing file from the IoT cloud server specifically including: Determine the device information of the IoT device; determine the product information of the product to which the IoT device belongs based on the device information of the IoT device; and obtain the data parsing file associated with the product information of the product to which the IoT device belongs from the IoT cloud server.

3. The system according to claim 2, characterized in that The edge device determines the device information of the IoT device specifically including: Detect a device connection request initiated by the IoT device and obtain device information sent by the IoT device.

4. The system according to claim 1, characterized in that The edge device, based on the data parsing file, parses the data to be parsed from the first data protocol into target data of the second data protocol, specifically including: If the data to be parsed meets the first parsing condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to target data of the second data protocol; The edge device is also used to: send the target data to the IoT cloud server; The IoT cloud server is also used to: receive the target data sent by the edge device.

5. The system according to claim 4, characterized in that The edge device is also used to: If the data to be parsed meets the second parsing condition, sending the data to be parsed to the IoT cloud server; The IoT cloud server is also used to: receive the data to be parsed sent by the edge device; If the data to be parsed meets the second parsing condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

6. The system according to claim 1, characterized in that Also includes: a control device connected to the edge device; The control device is used to: send the data to be parsed of the first data protocol to the edge device; The edge device detects the data to be parsed of the first data protocol specifically including: Receive the data to be parsed of the first data protocol sent by the control device.

7. The system according to claim 6, characterized in that The edge device obtains the data parsing file from the server specifically including: If the control device satisfies the first control condition, obtaining the data parsing file from the IoT cloud server; The edge device, based on the data parsing file, parses the data to be parsed from the first data protocol into target data of the second data protocol, specifically including: If the control device meets the first control condition, the data to be parsed is parsed from the first data protocol to target data of the second data protocol based on the data parsing file.

8. The system according to claim 7, characterized in that Also includes: a second electronic device connected to the edge device; The edge device is further used to: send the target data obtained by parsing to the second electronic device; The second electronic device is used to: receive the target data sent by the edge device; A corresponding control operation is performed based on the target data.

9. The system according to claim 7, characterized in that The edge device is also used to: If the control device meets the second control condition, sending the data to be parsed to the IoT cloud server; The IoT cloud server is also used to: receive the data to be parsed sent by the edge device; If the control device satisfies a second control condition, based on the data parsing file, the data to be parsed is parsed from the first data protocol to target data of a second data protocol; Sending the target data to the edge device; The edge device is also used to: receive the target data sent by the Internet of Things cloud server.

10. The system according to claim 9, characterized in that Also includes: a third electronic device connected to the edge device; The edge device is further used to: forward the received target data to the third electronic device; The third electronic device is used to: receive the target data sent by the edge device; A corresponding control operation is performed based on the target data.

11. The system according to claim 6, characterized in that The data to be parsed includes: control instructions; the target data includes: target instructions.

12. The system according to claim 1, characterized in that The protocol management device is also used for: Detection protocol management user initiated debugging request; send the debugging request to the IoT cloud server; obtain the debugging result fed back by the IoT cloud server; Outputting the debugging result to the protocol management user; The IoT cloud server is also used to: receive the debugging request sent by the protocol management device; In response to the debugging request, debugging the data parsing file is performed to obtain a debugging result; Feedback the debugging result to the protocol management device; The IoT cloud server storing the data parsing file specifically includes: If the debugging result is successful, the data parsing file is saved.

13. The system according to claim 1, characterized in that The protocol management device sending the data parsing file to the IoT cloud server specifically includes: Sending the data parsing file and product information of the product associated with the data parsing file to the IoT cloud server; The IoT cloud server receiving the data parsing file provided by the protocol management device specifically includes: receiving the data parsing file and product information of a product associated with the data parsing file sent by the protocol management device; The IoT cloud server storing the data parsing file specifically includes: The data analysis file and product information of the product associated with the data analysis file are associated and saved.

14. The system according to claim 1, characterized in that The protocol management device is also used for: The detection protocol management user inputs the corresponding protocol usage conditions when parsing the data to be parsed input by the electronic device; The protocol usage conditions include: a first parsing condition for the data to be parsed to be parsed on the IoT cloud server and a second parsing condition for the data to be parsed to be parsed on the edge device; Sending the protocol usage conditions to the IoT cloud server; The IoT cloud server storing the data parsing file specifically includes: The data parsing file and the protocol usage condition of the data parsing file are stored in association with each other.

15. The system according to claim 1, characterized in that The protocol management device is also used for: Detecting the control conditions corresponding to the parsing of the to-be-parsed data input by the control device input by the protocol management user; Wherein, the control conditions include: a first control condition that the data to be parsed is parsed at the edge device, and a second control condition that the data to be parsed is parsed at the IoT cloud server; Sending the control condition to the IoT cloud server; The IoT cloud server storing the data parsing file specifically includes: The data analysis file and the control conditions of the data analysis file are stored in association with each other.

16. The system according to claim 1, characterized in that The edge device includes: a gateway device or a terminal device configured with gateway software.

17. The system according to claim 1, characterized in that The first data protocol is a first user-defined protocol defined by the user; and the second data protocol is a second user-defined protocol defined by the user.

18. The system according to claim 1, characterized in that The first data protocol is a third custom protocol defined by the user; the second data protocol is a standard data protocol supported by the IoT cloud server.

19. A data processing method, characterized in that: Applied to edge devices, including: Receiving data to be parsed in a first data protocol sent by an IoT device; Obtaining a data parsing file from the IoT cloud server, wherein the data parsing file is edited and obtained by a user of the IoT cloud platform on a protocol management device and is sent by the protocol management device to the IoT cloud server; Based on the data parsing file, the data to be parsed is parsed from the first data protocol into target data of the second data protocol.

20. A data processing method, characterized in that: Applied in protocol management equipment, including: Get the data parsing file edited by the user of the IoT cloud platform; Sending the data parsing file to the IoT cloud server, so that the IoT cloud server receives and saves the data parsing file provided by the protocol management device; Among them, the data parsing file is used for edge devices to obtain, and when the edge device receives the data to be parsed of the first data protocol sent by the Internet of Things device, the edge device parses the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

21. A data processing method, characterized in that: Applied in IoT cloud servers, including: Receive a data parsing file provided by a protocol management device; wherein the data parsing file is edited and obtained by a user of the Internet of Things cloud platform in the protocol management device; Saving the data analysis file; The data parsing file is sent to the edge device so that when the edge device receives the data to be parsed of the first data protocol sent by the Internet of Things device, the edge device parses the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

22. An edge device, characterized in that: It includes: a storage component and a processing component; the storage component is used to store one or more computer instructions, and the one or more computer instructions are called and executed by the processing component; The processing component is used to: Receiving data to be parsed in a first data protocol sent by an IoT device; Obtain a data parsing file from the IoT cloud server, wherein the data parsing file is edited by a user of the IoT cloud platform on a protocol management device and sent to the IoT cloud server by the protocol management device; based on the data parsing file, parse the data to be parsed from the first data protocol into target data of the second data protocol.

23. A protocol management device, characterized in that: It includes: a storage component and a processing component; the storage component is used to store one or more computer instructions, and the one or more computer instructions are called and executed by the processing component; The processing component is used to: Obtaining a data parsing file edited by a user of the Internet of Things cloud platform; sending the data parsing file to the Internet of Things cloud server, so that the Internet of Things cloud server receives and saves the data parsing file provided by the protocol management device; Among them, the data parsing file is used for edge devices to obtain, and when the edge device receives the data to be parsed of the first data protocol sent by the Internet of Things device, the edge device parses the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.

24. An Internet of Things cloud server, characterized in that: It includes: a storage component and a processing component; the storage component is used to store one or more computer instructions, and the one or more computer instructions are called and executed by the processing component; The processing component is used to: Receive a data parsing file provided by a protocol management device; wherein the data parsing file is edited and obtained by a user of the Internet of Things cloud platform on the protocol management device; save the data parsing file; send the data parsing file to an edge device, so that when the edge device receives the data to be parsed of the first data protocol sent by the Internet of Things device, the edge device parses the data to be parsed from the first data protocol into target data of the second data protocol based on the data parsing file.