CN114095541A - Data processing system and method, edge device, protocol management device and server - Google Patents

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

Info

Publication number
CN114095541A
CN114095541A CN202010746936.4A CN202010746936A CN114095541A CN 114095541 A CN114095541 A CN 114095541A CN 202010746936 A CN202010746936 A CN 202010746936A CN 114095541 A CN114095541 A CN 114095541A
Authority
CN
China
Prior art keywords
data
protocol
server
analyzed
analysis file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010746936.4A
Other languages
Chinese (zh)
Inventor
彭垚森
熊益群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010746936.4A priority Critical patent/CN114095541A/en
Publication of CN114095541A publication Critical patent/CN114095541A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides a data processing system and method, an edge device, a protocol management device and a server, wherein the data processing system comprises: the system comprises an edge device and a server connected with the edge device; the edge device is to: detecting data to be analyzed of a first data protocol; acquiring a data analysis file from the server; analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file; the server is configured to: and providing the data analysis file to the edge device. The embodiment of the application improves the data analysis utilization rate and expands the data analysis range.

Description

Data processing system and method, edge device, protocol management device and server
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing system and method, an edge device, a protocol management device, and a server.
Background
The Internet of things platform is a high in the clouds server that carries out network management to Internet of things equipment, can provide safe and reliable's connection communication ability, and the Internet of things equipment of downward connection supports the transmission of thing networking equipment data acquisition to control server or controlgear, and the control command that upwards provides control server or controlgear transfers to equipment, realizes remote control. The internet of things platform defines a standard data protocol for uniformly managing data of the internet of things equipment. When the internet of things device, the control server or the control device transmits a piece of data to the internet of things platform, the internet of things platform needs to convert the data into a standard data protocol defined by the platform, so that the data transmitted by the device can execute corresponding data processing work on the internet of things platform.
In the prior art, the device accessing the platform of the internet of things, that is, the device registered on the platform of the internet of things, may submit data, and the platform of the internet of things may convert the data into a standard data protocol defined and supported by the platform. When the data protocol is converted, a data analysis file of a preset standard data protocol can be adopted to convert the data submitted by the equipment into the standard data protocol supported by the platform.
However, the internet of things platform can only perform data analysis of a standard data protocol on data submitted by equipment accessing the platform, so that an object for analyzing the data and a used conversion format are limited in a conversion rule provided by the platform, the processing range of the data analysis is small, and the interest rate and the efficiency are not high.
Disclosure of Invention
In view of this, embodiments of the present application provide a data processing system and method, an edge device, a protocol management device, and a server, so as to solve the technical problems in the prior art that a processing range of data analysis of an internet of things platform is small and an interest rate and efficiency are not high.
In a first aspect, an embodiment of the present application provides a data processing system, including: the system comprises an edge device and a server connected with the edge device;
the edge device is to: detecting data to be analyzed of a first data protocol; acquiring a data analysis file from the server; analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file;
the server is configured to: and providing the data analysis file to the edge device.
In a second aspect, an embodiment of the present application provides a data processing method, applied to an edge device, including:
detecting data to be analyzed of a first data protocol;
acquiring a data analysis file from a server;
and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
In a third aspect, an embodiment of the present application provides a data processing method, which is applied to a protocol management device, and includes:
acquiring a data analysis file edited by a protocol management user;
sending the data analysis file to a server, so that the server receives and stores the data analysis file provided by the protocol management equipment;
the data analysis file is used for being acquired by the edge device, and when data to be analyzed of a first data protocol is detected, the data to be analyzed is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
In a fourth aspect, an embodiment of the present application provides a data processing method, which is applied to a server, and includes:
receiving the data analysis file provided by the protocol management equipment; the data analysis file is obtained by editing a protocol management user on the protocol management equipment;
saving the data analysis file;
and sending the data analysis file to edge equipment, so that when the edge equipment detects to-be-analyzed data of a first data protocol, the to-be-analyzed data is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
In a fifth aspect, an embodiment of the present application provides an edge device, including: a storage component and a processing component; the storage component is used for storing one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;
the processing component is to:
detecting data to be analyzed of a first data protocol; acquiring a data analysis file from a server; and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
In a sixth aspect, an embodiment of the present application provides a protocol management device, including: a storage component and a processing component; the storage component is used for storing one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;
the processing component is to:
acquiring a data analysis file edited by a protocol management user; sending the data analysis file to a server, so that the server receives and stores the data analysis file provided by the protocol management equipment;
the data analysis file is used for being acquired by the edge device, and when data to be analyzed of a first data protocol is detected, the data to be analyzed is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
In a seventh aspect, an embodiment of the present application provides a server, including: a storage component and a processing component; the storage component is used for storing one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;
the processing component is to:
receiving the data analysis file provided by the protocol management equipment; the data analysis file is obtained by editing a protocol management user on the protocol management equipment; saving the data analysis file; and sending the data analysis file to edge equipment, so that when the edge equipment detects to-be-analyzed data of a first data protocol, the to-be-analyzed data is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
According to the embodiment of the application, the edge device can detect the data to be analyzed of the first data protocol. The server may provide a data parse file to the edge device. The edge device obtains a data analysis file provided by the server, and can analyze the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file. The data analysis process is completed by the edge device, so that the data analysis process is not limited to be completed by the server, the application range of the data analysis is expanded, the processing pressure of the server is reduced, scenes that some servers cannot solve the data analysis can be completed by the edge device, and the interest rate efficiency of the data analysis is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram illustrating an embodiment of a data processing system according to the present application;
FIG. 2 is a block diagram illustrating a data processing system according to another embodiment of the present application;
FIG. 3 is a diagram of an example of a data processing system according to an embodiment of the present application;
FIG. 4 is a block diagram illustrating a data processing system according to yet another embodiment of the present application;
FIG. 5 is a block diagram illustrating a data processing system according to yet another embodiment of the present application;
FIG. 6 is a block diagram illustrating a data processing system according to yet another embodiment of the present application;
FIG. 7 is a block diagram illustrating a data processing system according to yet another embodiment of the present application;
FIG. 8 is a diagram of yet another example of a data processing system according to an embodiment of the present application;
FIG. 9 is a flowchart of an embodiment of a data processing method according to an embodiment of the present application;
fig. 10 is a flowchart of another embodiment of a data processing method according to an embodiment of the present application;
fig. 11 is a flowchart of another embodiment of a data processing method according to an embodiment of the present application;
FIG. 12 is a schematic diagram of an embodiment of an edge device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an embodiment of a cooperative management device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an embodiment of a server according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a" and "an" typically include at least two, but do not exclude the presence of at least one.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The words "if," "if," as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a recognition," depending on the context. Similarly, the phrases "if determined" or "if identified (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when identified (a stated condition or event)" or "in response to an identification (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
The Internet of things cloud platform can manage or transmit data of the equipment accessed to the Internet of things. The equipment registered on the Internet of things cloud platform can upload data to the Internet of things cloud platform, and the management equipment for managing the access equipment can also send control data to the Internet of things cloud platform. Because the internet of things cloud platform only processes or identifies the data of the standard data protocol supported by the internet of things cloud platform, the internet of things cloud platform can convert the data which does not belong to the standard data protocol supported by the internet of things cloud platform into the data of the standard data protocol supported by the internet of things cloud platform. For example, the internet of things cloud platform a can support data in a JSON format, a device accessing the internet of things cloud platform a can directly send the data in the JSON format to the platform a, and can also send data in other formats to the internet of things cloud platform a, and the internet of things cloud platform a can convert received data in a non-JSON format into the JSON format, so that corresponding data processing can be performed on the internet of things cloud platform a. However, the manner that the internet of things cloud platform converts the received data into the standard data protocol defined by the internet of things cloud platform is adopted, so that the object and the conversion format of the analyzed data are both limited in the conversion rule provided by the platform, the processing range of data analysis is small, and the utilization rate of the internet of things cloud platform is not high.
In an embodiment of the present application, a data processing system is provided, where the data processing system may include an edge device and a server connected to the edge device, and in an actual application, the server may be, for example, an internet of things cloud platform. In this embodiment of the present application, the edge device may detect data to be parsed of the first data protocol. The server may provide a data parse file to the edge device. The edge device obtains a data analysis file provided by the server, and can analyze the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file. The data analysis process is completed by the edge device, so that the data analysis process is not limited to be completed by the server, the application range of the data analysis is expanded, the processing pressure of the server is reduced, scenes that some servers cannot solve the data analysis can be completed by the edge device, and the interest rate efficiency of the data analysis is improved.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, a schematic structural diagram of an embodiment of a data processing system provided in this application is a system, where the system may include: an edge device 101, and a server 102 connected to the edge device 101.
The edge device 101 may be used to: detecting data to be analyzed of a first data protocol; acquiring a data analysis file from a server; and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
The server 102 may be configured to: and providing the data analysis file to the edge device.
Wherein the first data protocol is different from the second data protocol.
Optionally, the server may comprise an internet of things cloud server.
The edge device can be a terminal device which plays a gateway role in the cloud server of the internet of things.
In actual practice, the instructions exist as data in some particular 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.
Optionally, the data parsing file may be a data parsing program or a data parsing script, the data parsing file may store the data parsing program or the data parsing script, and the data to be parsed may be parsed from the first data protocol to the target data of the second data protocol by the data parsing file. Through the data analysis file, the conversion of the data protocol of the data to be analyzed can be realized, so that the accurate analysis of the data to be analyzed is realized.
Optionally, the obtaining, by the edge device, the data analysis file from the server may specifically include: and determining a data analysis file which is acquired from the server in advance and stored in the edge device. The data analysis file may be stored in the edge device in advance after being acquired from the server. By storing the data analysis file acquired from the server to the local, the data to be analyzed can still be analyzed from the first data to the target data of the second data protocol based on the data analysis file when the edge device is disconnected from the server. Of course, the edge device may also obtain the data parsing file from the server in real time when detecting the data to be parsed of the first data protocol, so as to ensure timeliness of the data parsing file.
In order to ensure the real-time effectiveness of the data analysis file, the edge device may set an update time for the data analysis file, and when the update time is reached, the edge device may request the server to acquire the data analysis file again to update the original data analysis file. In addition, in practical application, the edge device may further set an effective time for the data analysis file, and start from downloading the data analysis file, when the effective time of the data analysis file is reached, the data analysis file may be deleted locally.
In this embodiment, the edge device may detect data to be analyzed of the first data protocol. The server may provide a data parse file to the edge device. The edge device obtains a data analysis file provided by the server, and can analyze the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file. The data analysis process is completed by the edge device, so that the data analysis process is not limited to be completed by the server, the application range of the data analysis is expanded, the processing pressure of the server is reduced, application scenes that some servers cannot solve the data analysis function can be completed by the edge device, and the interest rate efficiency of the data analysis is improved.
As shown in fig. 2, a schematic structural diagram of an embodiment of a data processing system provided in this application is shown, where 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.
The first electronic device 203 may be configured to: and sending the data to be analyzed of the first data protocol to the edge device 201.
The edge device 201 may be used to: receiving data to be analyzed of a first data protocol sent by the first electronic device 203; acquiring a data analysis file from the server 202; and converting the data to be analyzed from the first data protocol into target data of the second data protocol based on the data analysis file.
The server 202 may be configured to: the data parse file is provided to the edge device 201.
Optionally, the first electronic device may be an internet of things device, and may include: intelligent household devices such as intelligent audio amplifier, intelligent thermoscope, intelligent air conditioner, wearable devices such as bracelet, virtual reality or augmented reality, intelligent processing equipment such as cell-phone, panel computer, notebook computer. The specific type of the electronic device is not limited too much in the embodiments of the present application. The server may comprise an internet of things cloud server.
The user can establish a product model of a product to which the electronic device belongs at the server. Taking an electronic device as an example of a smart thermometer, a manufacturer producing a certain type of smart thermometer may create a product model of the type of thermometer in a server, for example, identify a product model using "sys 1", and the product model may include various product information of a product, such as a product model, a product identification, a producer, a product attribute, a data type, and a processing method. Each time a manufacturer produces an intelligent thermometer entity of this type, that is, an intelligent thermometer entity considered to belong to a physical electronic device, the server registers a virtual electronic device belonging to the product based on a product model, for example, the device may be represented as "sys 1/device 1", when the physical electronic device performs data interaction with the server, data transmission is actually performed on the behalf of the virtual electronic device "sys 1/device 1", and the server may 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 may be an entity device, but when the electronic device performs data interaction with a server or an edge device, the data interaction is actually performed through a virtual device. That is, when the electronic device actually sends the data to be analyzed, the data is sent by the virtual electronic device that can be recognized by the corresponding server or edge device.
In the data processing system of the embodiment of the application, the electronic device may send the data to be analyzed of the first data protocol to the edge device. The first data protocol is a data protocol that the server cannot support. When detecting the data to be analyzed of the first data protocol, the edge device may obtain a data analysis file from the server, so that the data to be analyzed may be converted from the first data protocol to target data of a second data protocol based on the data analysis file. The target data is provided to a server. The second data protocol is different from the first data protocol. The data protocol analysis is completed on the edge device, so that the data analysis process is not limited to be completed by the server, the application range of the data analysis is expanded, the processing pressure of the server is reduced, application scenes that some servers cannot solve the data analysis function can be completed on the edge device, and the interest rate efficiency of the data analysis is improved.
As an embodiment, the obtaining, by the edge device, the data parsing file from the server may specifically include:
determining device information of a first electronic device; determining product information of a product to which the first electronic equipment belongs according to the equipment information of the first electronic equipment; and acquiring a data analysis file associated with the product information of the product to which the first electronic equipment belongs from the server.
In some embodiments, the determining, by the edge device, the device information of the first electronic device may specifically include:
the method comprises the steps of detecting a device connection request initiated by first electronic equipment, and acquiring device information sent by the first electronic equipment.
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, the first electronic device may send a device connection request to the edge device, and at this time, when the edge device obtains the device connection request, the edge device may access the server. The first electronic device sends a device connection request to the edge device, and simultaneously sends the corresponding device information together, at this time, the edge device also determines the product information of the product corresponding to the edge device according to the corresponding device information, so as to obtain the data analysis file associated with the product to which the electronic device belongs.
By analyzing the file for the product associated data, the analysis target of the electronic equipment subordinate to the product can be determined, so that the accurate analysis of the data to be analyzed can be completed.
As another embodiment, the converting, by the edge device, 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 may specifically include:
and if the data to be analyzed meets the first analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
The edge device may also be used to: and sending the target data to the server.
The server may be further operable to: and receiving the target data sent by the edge device.
In some embodiments, the edge device may also be used to: and if the data to be analyzed meets the second analysis condition, sending the data to be analyzed to the server.
The server may be further operable to: and receiving data to be analyzed sent by the edge device.
And if the data to be analyzed meets the second analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
The first and second parsing conditions may be predefined by a manufacturer of the electronic device. That is, the producer of the electronic device may decide whether the parsing process of the data to be parsed is done by the edge device or by the server. By providing multi-terminal data analysis, the personalized setting of the corresponding analysis terminal can be carried out according to different data analysis requirements, the application range of the data analysis is expanded, and the analysis efficiency is improved.
In addition, in practical application, the first electronic device may include a plurality of products, the manufacturer-defined products may also include a plurality of products, corresponding analysis regulations may be performed on different products, and analysis regulations on electronic devices belonging to the same product may also be performed, which may greatly provide a more free analysis selection manner for a data analysis process, and data analysis may be performed on data of electronic devices belonging to the same product through a data analysis file, so that multiple uses of the data analysis file by one-time editing may be implemented, and an actual application range and efficiency of analysis may be improved.
Further, optionally, after the server acquires the target data, the server may perform data processing on the target data to obtain a corresponding data processing result.
When the target data is processed, the data processing may be determined according to an actual application scenario of the first electronic device. For example, the server may perform data analysis on the target data to confirm the use status of the electronic device. The data can be pushed in real time, for example, to a terminal such as a mobile phone of a device user. Big data analysis can also be carried out on the data, for example, the service parameters such as the service life of the first electronic equipment are analyzed.
For convenience in understanding, the technical scheme of the embodiment of the present application is described in detail by taking the first electronic device as an intelligent lamp, the edge device as a gateway device, and the server as an internet of things cloud server as examples.
As shown in fig. 3, the smart lamp M1 may initiate a device connection request to the gateway device M2, and at the same time, may send its corresponding device information to the gateway device M2. The gateway device M2 may send the device connection request and the device information to the internet of things cloud server M3, and request the internet of things cloud server M3 to obtain the data parsing file.
Specifically, a management user, for example, a manufacturer who generates the smart lamp M1, may register a product model belonging to the same type of lamp product in the internet of things cloud server M3, where the product model is an electronic device belonging to the same type of product. The smart light M1 may belong to a product model that manages some type of air conditioning product registered by the user. The internet of things cloud server M3 stores the product model of the intelligent lamp M1, that is, stores the product information of the product to which the intelligent air conditioner M1 belongs. When registering a product, the management user can send the protocol use condition of the electronic device corresponding to the product and the product information of the product to the internet of things cloud platform M3. Therefore, the internet of things cloud server M3 may send the data analysis file to the gateway device M2 when detecting the request for acquiring the data analysis file initiated by the gateway device M2. The gateway device M2 may obtain the data parse file.
The smart light M1 may send 301 the data to be parsed to the gateway device M2. The gateway device M2 may, when determining that the analysis data satisfies the first analysis condition, analyze 302 the data to be analyzed into target data based on the data analysis file, and then send the target data 303 to the internet of things cloud server M3, thereby completing data reporting. When the gateway device M2 determines that the analysis data meets the second analysis condition, the gateway device M2 directly forwards 304 the data to be analyzed to the internet of things cloud server M3. Then, the internet of things cloud server M3 may analyze 305 the data to be analyzed into target data by using the data analysis file.
As shown in fig. 4, a schematic structural diagram of another embodiment of a data processing system provided in the embodiment of the present application, the data processing system may include: an edge device 401, and a server 402 connected to the edge device 401, and a control device 403 connected to the edge device 401.
The control device 403 is configured to: sending data to be analyzed of a first data protocol to edge equipment;
the edge device 401 is used to: receiving the data to be parsed of the first data protocol sent by the control device 403. Obtain a data parse file from server 402; and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
The server 402 is configured to: the data parse file is provided to the edge device 401.
Parts of the contents in the embodiments of the present application are the same as those in the embodiments described above, and are not repeated herein for brevity of description.
Optionally, the data to be parsed may include control instructions, and the target data may include: and (4) target instructions.
In this embodiment of the application, after the control device sends the data to be analyzed to the edge device, the edge device may receive the data to be analyzed of the first data protocol sent by the control device, and then may analyze the data to be analyzed from the first data protocol to a target file of the second data protocol based on the data analysis file acquired from the server. The analysis process of the data to be analyzed sent by the control equipment is completed by the edge equipment, so that the data analysis range is expanded, the multi-position analysis of the data analysis can be met, the analysis processing range is improved, and the utilization efficiency of the data analysis is further expanded.
During the application process of data analysis, the analysis device of the data can be customized by a protocol manager. The protocol manager may be, for example, a device vendor. When the edge device obtains a piece of data to be analyzed, the edge device may confirm the analysis mode of the data to be analyzed to confirm whether the data to be analyzed is analyzed locally or in the server.
As an embodiment, the obtaining, by the edge device, the data parse file from the server may include:
and if the control equipment meets the first control condition, acquiring the data analysis file from the server.
In some embodiments, the parsing, by the edge device, 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 may specifically include:
and if the control equipment meets the first control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file. When the control device meets the first control condition, the edge device may 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.
After the edge device parses the data to be parsed into the target data, the target data may be directly sent to the second electronic device.
As shown in fig. 5, a schematic structural diagram of another embodiment of a data processing system provided in the embodiment of the present application, the system may include: an edge device 501, and a server 502 connected to the edge device 501, and a control device 503 connected to the edge device 501, and a second electronic device 504 connected to the edge device 501.
The control device 503 is configured to: the data to be parsed of the first data protocol is sent to the edge device 501.
The edge device 501 is used to: receiving 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, acquiring a data analysis file from the server; if the control device 503 meets the first control condition, analyzing the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file; and sending the target data obtained by analysis to the second electronic equipment 504.
The server 502 is configured to: the data parse file is provided to the edge device 501.
The second electronic device 504 is configured to: receiving target data sent by the edge device 501; and executing corresponding control operation based on the target data.
Optionally, the second electronic device may be the same as or different from the first electronic device.
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, which is a data protocol customized for a user.
In the embodiment of the application, after the control device sends the data to be analyzed to the edge device, the edge device may receive the data to be analyzed of the first data protocol sent by the control device, and then when it is confirmed that the control device meets the first control condition, the data to be analyzed is analyzed from the first data protocol to the target file of the second data protocol based on the data analysis file acquired from the server. The analysis process of the data to be analyzed sent by the control equipment is completed by the edge equipment, so that the data analysis range is expanded, the multi-position analysis of the data analysis can be met, the analysis processing range is improved, and the utilization efficiency of the data analysis is further expanded. The second electronic device can obtain the target data provided by the edge device, and the data analysis is completed by using the edge device, so that the data transmission steps can be reduced, and the data transmission efficiency can be improved.
It should be noted that, in the embodiments of the present application, descriptions of "first", "second", "third", "fourth", and the like are used for distinguishing different devices, modules, and the like, and the descriptions are not limited to that "first", "second", and the like are different types.
As yet another embodiment, the edge device is further to: and if the control equipment meets the second control condition, sending the data to be analyzed to the server.
The server is further configured to: receiving data to be analyzed sent by edge equipment; if the control equipment meets a second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file; and sending the target data to the edge device.
In some embodiments, the edge device may also be used to: and receiving the target data sent by the server.
The edge device may determine whether to acquire the data parsing file from the server to implement local data parsing based on whether the control device satisfies the first control condition.
When the control device meets the second control condition, the edge device may send the data to be analyzed to the server to complete data analysis at the server, and then the server may also feed back the target data obtained by analysis to the edge device.
As shown in fig. 6, a schematic structural diagram of another embodiment of a data processing system provided in the embodiment of the present application, the system may include:
an edge device 601, and a server 602 connected to the edge device 601, and a control device 603 connected to the edge device 601, and a third electronic device 604 connected to the edge device.
The control device 603 may be configured to: the data to be parsed of the first data protocol is sent to the edge device 601.
The edge device 601 may be used to: receiving the data to be parsed of the first data protocol sent by the control device 603. And if the control device 603 meets the second control condition, sending the data to be analyzed to the server 602. And receiving the target data sent by the server 602. The target data obtained by the reception is transmitted to the third electronic device 604.
The server 602 may be configured to: receiving data to be analyzed sent by the edge device 601; if the control device 603 meets the second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file; the target data is sent to the edge device 601.
The third electronic device 604 may be configured to: receiving target data sent by the edge device 601; and executing corresponding control operation based on the target data.
Alternatively, the third electronic device may perform a corresponding control operation based on the target data. The target data may specifically be a control instruction, an adjustment instruction, a system update instruction, or the like, and the third electronic device may execute a corresponding control operation based on the control instruction, may execute a corresponding adjustment operation based on the adjustment instruction, and may also download a software data packet from the server based on the system update instruction, and run the software data packet to complete the system update operation. The control operation is specifically matched with the target data. The data to be analyzed can be determined according to the actual control requirements to obtain corresponding target data, which is also determined based on the corresponding control requirements.
In this embodiment of the application, after the control device sends the data to be analyzed to the edge device, the edge device may receive the data to be analyzed of the first data protocol sent by the control device. And then, when the control equipment is confirmed to meet the second control condition, sending the data to be analyzed to a server, and completing the analysis of the data by the server. By providing the data analysis of the server, the multi-scene analysis of the data can be realized, the data analysis scene is expanded, the data analysis range is improved, the multi-end utilization of the same data analysis file is realized, and the file analysis efficiency is improved.
In addition, by carrying out double analysis of the edge device and the server, the data to be analyzed can be ensured to be matched with the actual analysis requirement of the user to determine a corresponding analysis scheme, so that the analysis effectiveness and accuracy are ensured, and the analysis range is expanded.
As shown in fig. 7, a schematic structural diagram of another embodiment of a data processing system provided in the 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.
The edge device 701 is used to: detecting data to be analyzed of a first data protocol; obtain data parsing files from server 702; and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
The server 702 is configured to: the data parse file is provided to the edge device 701. Receiving a data analysis file provided by the protocol management device 703; and saving the data analysis file.
The protocol management device 703 is configured to: acquiring a data analysis file edited by a protocol management user; the data parse file is sent to server 702.
In the embodiment of the application, the data analysis file can be completed by a protocol management user in the protocol management equipment. The protocol management device may send the data parse file edited by the protocol management user to the server. The server may store the data parse file. So that the edge device can acquire the data analysis file from the server and analyze the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file. The protocol management user can realize local conversion of the protocol management device by providing the protocol management device, and the management efficiency of the protocol management device is improved.
In practical application, in order to facilitate a protocol management user to manage or write a data analysis file, the protocol management device may be packaged with an SDK (Software Development Kit) of various data protocols, and the user may directly write the data analysis file using the data protocol provided by the SDK, thereby improving the editing efficiency of the data analysis file. The SDK encapsulated with various data protocols may be provided by a server.
Optionally, the acquiring, by the protocol management device, the data parse file edited by the protocol management user may include: and acquiring a data analysis file edited by the protocol management user on the basis of the SDK corresponding to the plurality of data protocols. Wherein, the SDK corresponding to a plurality of data protocols can be provided by the server.
The protocol management user can debug the data analysis file on line so as to ensure that the data analysis function of the data analysis file can be normally realized. As an embodiment, the protocol management device may be further configured to:
the detection protocol manages user-initiated debug requests. And sending a debugging request to the server. And obtaining the debugging result fed back by the server. And outputting the debugging result for the protocol management user.
The server may be further operable to: receiving a debugging request sent by protocol management equipment; responding to the debugging request, debugging the data analysis file to obtain a debugging result; and feeding back a debugging result to the protocol management equipment.
The step of storing the data analysis file by the server may specifically include:
and if the debugging result is that the debugging is successful, saving the data analysis file.
In some embodiments, the debugging result may be fed back to the protocol management device for the protocol management user to confirm the parsing result of the data parsing file. If the debugging result is successful, the data analysis file can be saved, and if the debugging result is failed, the protocol management user can be reminded to modify the original data analysis file or rewrite the data analysis file.
As another embodiment, the sending, by the protocol management device, the data parsing file to the server may specifically include: and sending the data analysis file and the product information of the product associated with the data analysis file to a server.
The receiving, by the server, the data parsing file provided by the protocol management device may specifically include:
and receiving the data analysis file sent by the protocol management equipment and the product information of the product associated with the data analysis file.
The step of storing the data analysis file by the server may specifically include:
and storing the data analysis file and the product information of the product associated with the data analysis file in an associated manner.
The data analysis file and the product information of the corresponding product are stored in a correlated mode, so that all equipment belonging to the product line can use the data analysis file to analyze data, the data analysis file can be edited for multiple times, and the utilization efficiency of the data analysis file is improved.
The protocol management user can define the data analysis mode and the data analysis position of the electronic device. The data parsing position comprises local parsing performed at an edge device or cloud parsing performed at a server. As another embodiment, the protocol management device may be further configured to:
and detecting a protocol using condition corresponding to the analysis of the data to be analyzed input by the electronic equipment and input by a protocol management user.
The protocol using condition may include: the data analysis method comprises a first analysis condition for analyzing data to be analyzed in a server and a second analysis condition for analyzing the data to be analyzed in the edge device.
And sending the protocol use condition to the server.
The server storing the data analysis file may specifically include:
and storing the data analysis file and the protocol use condition association of the data analysis file.
Alternatively, the protocol use condition may be determined by setting topic (topic) information associated with data transmitted by the electronic device. The data to be analyzed transmitted by the electronic equipment is associated with predefined topic information, and then it can be determined that the data to be analyzed meets a first analysis condition analyzed by the server. If the data to be analyzed of the electronic device is not related to the predefined topic information and the data to be analyzed has the script analysis identifier, it can be determined that the data to be analyzed meets a second analysis condition for analyzing at the edge device.
That is, the first parsing condition includes: the data to be analyzed is transparent transmission data and is associated with predefined topic information. The second resolving condition includes: the data to be analyzed is not transparent transmission data, is not associated with predefined topic information and has script analysis identification.
The protocol management user can define the data analysis mode and the data analysis position of the control equipment. The data parsing position comprises local parsing performed at an edge device or cloud parsing performed at a server. As another embodiment, the protocol management device is further configured to:
and detecting a control condition corresponding to the analysis of the data to be analyzed input by the protocol management user aiming at the control equipment.
Wherein the control conditions include: the server analyzes the data to be analyzed according to the first control condition and the second control condition.
And sending the control condition to the server.
The server stores the data analysis file and comprises the following steps:
and storing the data analysis file and the control condition of the data analysis file in a correlation manner.
Optionally, the protocol management user may set the control condition of the data to be analyzed of the control device in a manner of setting a device tag. The first control condition may set a local resolution tag for the control device. At this time, the second control condition may be that the control apparatus does not set the local resolution tag.
When the edge device detects the data to be analyzed sent by the control device, if the local analysis tag of the control device is acquired 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 resolution tag of the control device, the edge device may determine that the control device satisfies the second control condition.
Optionally, the protocol management user may also perform the device by controlling the control conditions of the device at the edge device. The first control condition may include setting a device identification of the control device at the edge device, and the second control condition may include not setting a device identification of the control device at the edge device.
At this time, if the edge device detects data to be analyzed sent by a certain control device, if the edge device stores the device identifier of the control device, it can be confirmed that the control device satisfies the first control condition; if the edge device does not store the control identity of the control device, it can be confirmed that the control device satisfies the second control condition.
As an embodiment, an edge device may include: gateway equipment or terminal equipment configured with gateway software.
When the edge device is a gateway device, the electronic device or the control device is connected to the gateway device, and the gateway device is connected to the server. The electronic equipment or the control equipment is accessed to the server through the gateway equipment.
When the edge device is a terminal device configured with gateway software, the electronic device or the control device accesses the server through the terminal device configured with the gateway software. In practical applications, when the electronic device or the control device is connected to the terminal device configured with the gateway software, the terminal device may be connected to the sub-gateway device between the electronic device or the control device and the terminal device. For example, when the electronic device is a smart band or a smart television, and the terminal device configured with the gateway software is a mobile phone, the smart band or the smart television needs to be connected to the mobile phone configured with the gateway software through a sub-gateway device, such as a bluetooth gateway module. The mobile phone can be connected with the server, so that the smart band or the smart television can be accessed to the server.
The data protocol is a data type or a data protocol defined according to a certain rule, and the transmission mode of data can be defined through the setting of the data protocol.
If protocol conversion is needed, the data processing scheme provided by the embodiment of the application can be adopted to convert the data protocol.
In one possible design, the first data protocol may be a preset existing data protocol; the second data protocol may be a standard data protocol supported by the server.
The existing data protocol may be, for example, a Modbus (serial communication) protocol, an OPC-UA (Object Linking and Embedding for Process Control-Unified Architecture) protocol, or the like. The standard data protocol supported by the server may be, for example, an Alink protocol or the like. The Alink protocol is a data exchange specification designed for the field of development of the internet of things, and the data format is JSON (JavaScript Object Notation) and is used for bidirectional communication between an equipment end and an internet of things platform, so that data interaction between the equipment end and the internet of things platform is realized and standardized more conveniently.
The data analysis file can be a conversion rule between predefined standard protocols or custom protocols written by a protocol management user, and the data to be analyzed can be converted from the current first data protocol to the second data protocol through the data analysis file.
Besides the predefined data protocol, the data conversion can be realized by adopting a self-defined data protocol. In yet another possible design, the first data protocol may be a first custom protocol that is custom-defined by a protocol management user; the second data protocol may be a second custom protocol that is custom-defined by the protocol management user.
In yet another possible design, the first data protocol may be a third custom protocol that is custom-defined by a protocol management user; the second data protocol may be a standard data protocol supported by the server.
The data protocol of the data to be analyzed can be obtained by the self-definition of a protocol management user.
The first data protocol customized by the protocol management user can be converted into a second data protocol customized by the protocol management user. The first data protocol customized by the protocol management user can be converted into a standard data protocol supported by the server.
The protocol management user can realize more flexible data analysis by self-defining the data protocol, but not limited to the data protocol analysis between the standard data protocol supported by the original server and the existing data protocol, thereby improving the flexibility of data conversion, further expanding different data conversion scenes and expanding the application range.
For convenience of understanding, the technical solution of the embodiment of the present application is described in detail by taking the control device as a mobile phone as an example, and taking the electronic device controlled by the control device as an example, the intelligent air conditioner shown in fig. 3.
The difference from the embodiment shown in fig. 3 is that a control device M4 and a protocol management device M5 are added, as shown in fig. 8, the protocol management device M5 may obtain a data parse file edited by a protocol management user U1, and send 501 the data parse file to a server.
The control device M4 may send data to be parsed, such as the light on command 502, to the gateway device M2. The gateway device M2 may parse 503 the lighting instruction from the first data protocol into a target lighting instruction of the second data protocol based on the data parsing file acquired from the server when determining that the control device M4 satisfies the first control condition. Thereafter, the control device M4 may directly send 504 the target light-on command to the second electronic device, and take the example that the second electronic device and the first electronic device are the smart lamp M1, the target light-on command may be sent to the smart lamp M1.
When judging that the control device M4 meets the second control condition, the gateway device M2 may send 505 the data to be analyzed, that is, the light-on instruction, to the internet of things cloud server M3, so that the internet of things cloud server M3 analyzes 506 the light-on instruction from the first data protocol to the target light-on instruction of the second data protocol based on the data analysis file. Afterwards, the internet of things cloud server M3 may send the target turn-on command to the gateway device M2, and the gateway device M2 may send the target turn-on command to a third electronic device, and taking the third electronic device and the first electronic device as the smart lamp M1 as an example, may send 507 the target turn-on command to the smart lamp M1.
As shown in fig. 9, a flowchart of an embodiment of a data processing method provided in this embodiment of the present application is a method, where the method may be applied to an edge device, the edge device may be located in a data processing system, the data processing system may further include a server connected to the edge device, and the method may include the following steps:
901: and detecting data to be analyzed of the first data protocol.
902: and acquiring the data analysis file from the server.
903: and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
Optionally, the obtaining the data parsing file from the server may include: and determining a data analysis file which is acquired from the server in advance and stored in the edge device. The data analysis file may be stored in the edge device in advance after being acquired from the server. By storing the data analysis file acquired from the server to the local, the data to be analyzed can still be analyzed from the first data to the target data of the second data protocol based on the data analysis file when the edge device is disconnected from the server. Of course, the edge device may also obtain the data parsing file from the server in real time when detecting the data to be parsed of the first data protocol, so as to ensure timeliness of the data parsing file.
In order to ensure the real-time effectiveness of the data analysis file, after the data analysis file is downloaded from the server at present, the edge device may set an update time for the data analysis file, and when the update time is reached, the edge device may request the server to acquire the data analysis file again to update the original data analysis file. In addition, in practical application, after the data analysis file is currently downloaded from the server, the edge device may set an effective time for the data analysis file, and after the data analysis file is downloaded, the data analysis file may be deleted locally when the effective time of the data analysis file is reached.
In this embodiment, the edge device may detect data to be analyzed of the first data protocol. The server may provide a data parse file to the edge device. The edge device obtains a data analysis file provided by the server, and can analyze the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file. The data analysis process is completed by the edge device, so that the data analysis process is not limited to be completed by the server, the application range of the data analysis is expanded, the processing pressure of the server is reduced, application scenes that some servers cannot solve the data analysis function can be completed by the edge device, and the interest rate efficiency of the data analysis is improved.
As an embodiment, detecting the data to be parsed of the first data protocol may include:
and receiving data to be analyzed of a first data protocol sent by the first electronic equipment.
In some embodiments, obtaining the data parse file from the server may include:
device information of a first electronic device is determined.
And determining the product information of the product to which the first electronic equipment belongs according to the equipment information of the first electronic equipment.
And acquiring a data analysis file associated with the product information of the product to which the first electronic equipment belongs from the server.
As a possible implementation manner, determining the device information of the first electronic device may include:
the method comprises the steps of detecting a device connection request initiated by first electronic equipment, and acquiring device information sent by the first electronic equipment.
In some embodiments, parsing the data to be parsed from the first data protocol to target data of the second data protocol based on the data parsing file may include:
and if the data to be analyzed meets the first analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
And sending the target data to the server.
As a possible implementation, the method further includes:
and if the data to be analyzed meets the second analysis condition, sending the data to be analyzed to the server so that the server can receive the data to be analyzed sent by the edge equipment, and analyzing the data to be analyzed from the first data protocol to target data of the second data protocol based on the data analysis file when the data to be analyzed meets the second analysis condition.
As yet another embodiment, detecting data to be parsed for the first data protocol may include:
and receiving data to be analyzed of a first data protocol sent by the control equipment.
In some embodiments, obtaining the data parse file from the server may include:
and if the control equipment meets the first control condition, acquiring the data analysis file from the server.
Parsing the data to be parsed from the first data protocol to target data of the second data protocol based on the data parsing file may include:
and if the control equipment meets the first control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
In one possible design, the method may further include:
and sending the target data obtained by analysis to the second electronic equipment so that the second electronic equipment can execute corresponding control operation based on the target data.
In yet another possible design, the method may further include:
and if the control equipment meets the second control condition, sending the data to be analyzed to the server so that the server can receive the data to be analyzed sent by the edge equipment, and when the control equipment meets the second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file so as to send the target data to the edge equipment.
And receiving the target data sent by the server.
Further, optionally, the method may further include:
and forwarding the received and obtained target data to the third electronic equipment so that the third electronic equipment can execute corresponding control operation based on the target data.
In some embodiments, the data to be parsed may include: a control instruction; the target data may include: and (4) target instructions.
In one possible design, the data parsing file is edited by the protocol management user in the protocol management device and sent to the server.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where the storage medium is used to store a computer program, and when the computer program is executed, the data processing method in the embodiment shown in fig. 9 may be performed.
The execution manner or the execution process of the specific steps related to fig. 9 and the technical effect have been described in detail in the processing manner of the edge device in the embodiments of fig. 1 to fig. 8, and are not described again for brevity of description.
As shown in fig. 10, which is a flowchart of another embodiment of a data processing method provided in this embodiment of the present application, the method may be applied to a protocol management device, where the protocol management device may be located in a data processing system, and the data processing system may further include: an edge device connected to the protocol management device, a server connected to the edge device, the method may include:
1001: acquiring a data analysis file edited by a protocol management user;
1002: sending the data analysis file to a server for the server to receive and store the data analysis file provided by the protocol management equipment;
the data analysis file is used for the edge device to obtain, and when the data to be analyzed of the first data protocol is detected, the data to be analyzed is analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file.
As an embodiment, the method further comprises:
the detection protocol manages user-initiated debug requests.
And sending a debugging request to the server so that the server can receive and respond to the debugging request, debugging the data analysis file to obtain a debugging result, feeding back the debugging result to the protocol management equipment, and storing the data analysis file when the debugging result is successful.
And obtaining the debugging result fed back by the server. And outputting the debugging result for the protocol management user.
As another embodiment, sending the data parse file to the server for the server to receive and store the data parse file provided by the protocol management device may include:
and sending the data analysis file and the product information of the product associated with the data analysis file to a server so that the server stores the data analysis file and the product information of the product associated with the data analysis file in an associated manner.
In some embodiments, the method may further comprise:
and detecting a protocol using condition corresponding to the analysis of the data to be analyzed input by the electronic equipment and input by a protocol management user.
Wherein, the protocol using conditions comprise: the data analysis method comprises a first analysis condition for analyzing data to be analyzed in a server and a second analysis condition for analyzing the data to be analyzed in the edge device.
And sending the protocol use condition to the server, so that the server stores the data analysis file and the protocol use condition of the data analysis file in an associated manner.
In some embodiments, the method may further comprise:
and detecting a control condition corresponding to the analysis of the data to be analyzed input by the protocol management user aiming at the control equipment.
Wherein the control conditions include: the server analyzes the data to be analyzed according to the first control condition and the second control condition.
And sending the control conditions to the server so that the server stores the data analysis file and the control conditions of the data analysis file in an associated manner.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where the storage medium is used to store a computer program, and when the computer program is executed, the data processing method in the embodiment shown in fig. 10 may be performed.
The execution manner or the execution process of the specific steps and the technical effect related to fig. 10 have been described in detail in the processing manner of the protocol management device in the embodiments of fig. 1 to fig. 8, and are not described again for brevity of description.
As shown in fig. 11, a flowchart of another embodiment of a data processing method provided in an embodiment of the present application, where the method may be applied to a server, and the method may include:
1101: and receiving a data analysis file provided by the protocol management equipment.
The data analysis file is obtained by editing the protocol management equipment by a protocol management user.
1102: and saving the data analysis file.
1103: and sending the data analysis file to the edge device, so that when the edge device detects the data to be analyzed of the first data protocol, the data to be analyzed is analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file.
As an embodiment, the method may further comprise:
and receiving a debugging request sent by the protocol management equipment. The debugging request is sent to the server after the protocol management device detects the protocol management user.
Responding to the debugging request, debugging the data analysis file to obtain a debugging result; and feeding back the debugging result to the protocol management equipment so that the protocol management equipment outputs the debugging result for the protocol management user.
Saving the data parse file may include: and if the debugging result is that the debugging is successful, saving the data analysis file.
As another embodiment, receiving the data parse file provided by the protocol management device may include:
and receiving the data analysis file sent by the protocol management equipment and the product information of the product associated with the data analysis file.
Saving the data parse file may include: and storing the data analysis file and the product information of the product associated with the data analysis file in an associated manner.
In some embodiments, the method may further comprise:
and receiving a protocol using condition corresponding to the analysis of the data to be analyzed input by the electronic equipment, which is input by a protocol management user and sent by the protocol management equipment. Wherein, the protocol using conditions comprise: the data analysis method comprises a first analysis condition for analyzing data to be analyzed in a server and a second analysis condition for analyzing the data to be analyzed in the edge device.
Storing the data parse file includes:
and storing the data analysis file and the protocol use condition association of the data analysis file.
In some embodiments, the method may further comprise:
and receiving a control condition corresponding to the analysis of the data to be analyzed input by the control equipment, which is input by the protocol management user and sent by the protocol management equipment.
Wherein the control conditions include: the method comprises the steps that a first control condition for analyzing data to be analyzed on edge equipment and a second control condition for analyzing the data to be analyzed on a server are obtained;
storing the data parse file includes:
and storing the data analysis file and the control condition of the data analysis file in a correlation manner.
In some embodiments, the method may further comprise:
and receiving the target data sent by the edge device. The target data is obtained by the edge device by determining that the data to be analyzed meets a first analysis condition and analyzing the data to be analyzed from a first data protocol to a second data protocol based on the data analysis file.
Further, optionally, the method may further include:
and receiving data to be analyzed sent by the edge device. And the data to be continued is sent when the edge device confirms that the data to be analyzed meets the second analysis condition.
And if the data to be analyzed meets the second analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
In some embodiments, sending the data parsing file to the edge device for the edge device to 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 edge device detects the data to be parsed of the first data protocol may include:
when the control equipment meets the first control condition, sending a data analysis file to the edge equipment so that the edge equipment can detect the data to be analyzed of the first data protocol, and when the control equipment meets the first control condition, analyzing the data to be analyzed from the first data protocol into target data of the second data protocol based on the data analysis file.
Further, optionally, the method may further include:
and receiving data to be analyzed sent by the edge device. And the data to be analyzed is forwarded by the edge device when the control device meets the second control condition.
If the control equipment meets a second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file; and sending the target data to the edge device so that the edge device can receive the target data.
As an embodiment, the first data protocol may be a preset existing data protocol; the second data protocol may be a standard data protocol supported by the server.
As yet another example, the first data protocol may be a first custom protocol that is custom defined by a protocol management user; the second data protocol may customize the second custom protocol for the protocol management user.
As yet another example, the first data protocol may be a third custom protocol that is custom defined by a protocol management user; the second data protocol may be a standard data protocol supported by the server.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where the storage medium is used to store a computer program, and when the computer program is executed, the data processing method in the embodiment shown in fig. 11 may be performed.
The execution manner or the execution process of the specific steps and the technical effect related to fig. 11 have been described in detail in the processing manner of the server in the embodiments of fig. 1 to fig. 8, and are not described again for brevity of description.
As shown in fig. 12, a schematic structural diagram of an embodiment of an edge device provided in this embodiment of the present application is shown, where the edge device may be located in a data processing system, the data processing system may further include a server connected to the edge device, and the edge device specifically may include: a storage component 1201 and a processing component 1202; storage component 1201 is used to store one or more computer instructions; one or more computer instructions are invoked for execution by the processing component 1202.
The processing component 1202 may be configured to:
and detecting data to be analyzed of the first data protocol. And acquiring the data analysis file from the server. And analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
Optionally, the obtaining, by the edge device, the data analysis file from the server may specifically include: and determining a data analysis file which is acquired from the server in advance and stored in the edge device. The data analysis file may be stored in the edge device in advance after being acquired from the server. By storing the data analysis file acquired from the server to the local, the data to be analyzed can still be analyzed from the first data to the target data of the second data protocol based on the data analysis file when the edge device is disconnected from the server. Of course, the edge device may also obtain the data parsing file from the server in real time when detecting the data to be parsed of the first data protocol, so as to ensure timeliness of the data parsing file.
In order to ensure the real-time effectiveness of the data analysis file, the edge device may set an update time for the data analysis file, and when the update time is reached, the edge device may request the server to acquire the data analysis file again to update the original data analysis file. In addition, in practical application, the edge device may further set an effective time for the data analysis file, and start from downloading the data analysis file, when the effective time of the data analysis file is reached, the data analysis file may be deleted locally.
In this embodiment, the edge device may detect data to be analyzed of the first data protocol. The server may provide a data parse file to the edge device. The edge device obtains a data analysis file provided by the server, and can analyze the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file. The data analysis process is completed by the edge device, so that the data analysis process is not limited to be completed by the server, the application range of the data analysis is expanded, the processing pressure of the server is reduced, application scenes that some servers cannot solve the data analysis function can be completed by the edge device, and the interest rate efficiency of the data analysis is improved.
As an embodiment, the detecting, by the processing component, the to-be-parsed data of the first data protocol may specifically include: and receiving data to be analyzed of a first data protocol sent by the first electronic equipment.
In some embodiments, the obtaining, by the processing component, the data parsing file from the server may specifically include:
device information of a first electronic device is determined. And determining the product information of the product to which the first electronic equipment belongs according to the equipment information of the first electronic equipment. And acquiring a data analysis file associated with the product information of the product to which the first electronic equipment belongs from the server.
As a possible implementation manner, the determining, by the processing component, the device information of the first electronic device specifically includes:
the method comprises the steps of detecting a device connection request initiated by first electronic equipment, and acquiring device information sent by the first electronic equipment.
In some embodiments, the parsing, by the processing component, 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 may specifically include:
and if the data to be analyzed meets the first analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
And sending the target data to the server.
As a possible implementation, the processing component may be further configured to:
and if the data to be analyzed meets the second analysis condition, sending the data to be analyzed to the server so that the server can receive the data to be analyzed sent by the edge equipment, and analyzing the data to be analyzed from the first data protocol to target data of the second data protocol based on the data analysis file when the data to be analyzed meets the second analysis condition.
As another embodiment, the detecting, by the processing component, the to-be-parsed data of the first data protocol may specifically include:
and receiving data to be analyzed of a first data protocol sent by the control equipment.
In some embodiments, the obtaining, by the processing component, the data parsing file from the server may specifically include:
and if the control equipment meets the first control condition, acquiring the data analysis file from the server.
The analyzing, by the processing component, the data to be analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file may specifically include:
and if the control equipment meets the first control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
In one possible design, the processing component may be further configured to:
and sending the target data obtained by analysis to the second electronic equipment so that the second electronic equipment can execute corresponding control operation based on the target data.
In yet another possible design, the processing component may be further to:
if the control equipment meets the second control condition, sending the data to be analyzed to the server so that the server can receive the data to be analyzed sent by the edge equipment, and when the control equipment meets the second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file so as to send the target data to the edge equipment; and receiving the target data sent by the server.
Further, optionally, the processing component may be further configured to:
and forwarding the received and obtained target data to the third electronic equipment so that the third electronic equipment can execute corresponding control operation based on the target data.
In some embodiments, the data to be parsed may include: a control instruction; the target data may include: and (4) target instructions.
In one possible design, the data parsing file is edited by the protocol management user in the protocol management device and sent to the server.
The edge device related to fig. 12 has already been described in detail in the embodiments of fig. 1 to fig. 8, and is not described again here for simplicity of description.
As shown in fig. 13, a schematic structural diagram of an embodiment of a protocol management device provided in the embodiment of the present application is shown, where the protocol management device may be located in a data processing system, and the data processing system may further 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; storage component 1301 stores one or more computer instructions; one or more computer instructions are for being invoked for execution by the processing component 1302,
the processing component 1302 may be configured to:
and acquiring a data analysis file edited by a protocol management user. And sending the data analysis file to a server so that the server can receive and store the data analysis file provided by the protocol management equipment.
The data analysis file is used for the edge device to obtain, and when the data to be analyzed of the first data protocol is detected, the data to be analyzed is analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file.
As an embodiment, the processing component may be further to:
the detection protocol manages user-initiated debug requests.
And sending a debugging request to the server so that the server can receive and respond to the debugging request, debugging the data analysis file to obtain a debugging result, feeding back the debugging result to the protocol management equipment, and storing the data analysis file when the debugging result is successful.
And obtaining the debugging result fed back by the server. And outputting the debugging result for the protocol management user.
As another embodiment, the sending, by the processing component, the data parsing file to the server, so that the server receives and stores the data parsing file provided by the protocol management device may specifically include:
and sending the data analysis file and the product information of the product associated with the data analysis file to a server so that the server stores the data analysis file and the product information of the product associated with the data analysis file in an associated manner.
In some embodiments, the processing component may be further operative to:
and detecting a protocol using condition corresponding to the analysis of the data to be analyzed input by the electronic equipment and input by a protocol management user.
Wherein, the protocol using conditions comprise: the data analysis method comprises a first analysis condition for analyzing data to be analyzed in a server and a second analysis condition for analyzing the data to be analyzed in the edge device.
And sending the protocol use condition to the server, so that the server stores the data analysis file and the protocol use condition of the data analysis file in an associated manner.
In some embodiments, the processing component may be further operative to:
and detecting a control condition corresponding to the analysis of the data to be analyzed input by the protocol management user aiming at the control equipment.
Wherein the control conditions include: the server analyzes the data to be analyzed according to the first control condition and the second control condition.
And sending the control conditions to the server so that the server stores the data analysis file and the control conditions of the data analysis file in an associated manner.
The protocol management device related to fig. 13 has been described in detail in the embodiments of fig. 1 to fig. 8, and is not described again from the viewpoint of simplicity of description.
As shown in fig. 14, a schematic structural diagram of an embodiment of a server provided in the present application is a server, where the server may be configured in a data processing system, the data processing system may further include a protocol management device connected to the server and an edge device connected to the server, and the server may include a processing component 1401 and a storage component 1402; storage component 1401 stores one or more computer instructions; one or more computer instructions are for execution by processing component 1402.
The processing component 1402 may be configured to:
and receiving a data analysis file provided by the protocol management equipment. The data analysis file is obtained by editing the protocol management equipment by a protocol management user. And saving the data analysis file. And sending the data analysis file to the edge device, so that when the edge device detects the data to be analyzed of the first data protocol, the data to be analyzed is analyzed from the first data protocol to the target data of the second data protocol based on the data analysis file.
As an embodiment, the processing component may be further to:
and receiving a debugging request sent by the protocol management equipment. The debugging request is sent to the server after the protocol management device detects the protocol management user. And responding to the debugging request, debugging the data analysis file, and obtaining a debugging result. And feeding back the debugging result to the protocol management equipment so that the protocol management equipment outputs the debugging result for the protocol management user.
The saving of the data analysis file by the processing component may specifically include:
and if the debugging result is that the debugging is successful, saving the data analysis file.
As another embodiment, the receiving, by the processing component, the data parsing file provided by the protocol management device may specifically include: and receiving the data analysis file sent by the protocol management equipment and the product information of the product associated with the data analysis file.
The saving of the data analysis file by the processing component may specifically include:
and storing the data analysis file and the product information of the product associated with the data analysis file in an associated manner.
In some embodiments, the processing component may be further operative to:
and receiving a protocol using condition corresponding to the analysis of the data to be analyzed input by the electronic equipment, which is input by a protocol management user and sent by the protocol management equipment.
Wherein, the protocol using conditions comprise: the data analysis method comprises a first analysis condition for analyzing data to be analyzed in a server and a second analysis condition for analyzing the data to be analyzed in the edge device.
The storing of the data analysis file by the processing component may specifically include:
and storing the data analysis file and the protocol use condition association of the data analysis file.
In some embodiments, the processing component may be further operative to:
and receiving a control condition corresponding to the analysis of the data to be analyzed input by the control equipment, which is input by the protocol management user and sent by the protocol management equipment.
Wherein the control conditions may include: the server analyzes the data to be analyzed according to the first control condition and the second control condition.
The storing of the data analysis file by the processing component may specifically include:
and storing the data analysis file and the control condition of the data analysis file in a correlation manner.
In some embodiments, the processing component may be further operative to:
receiving target data sent by edge equipment; the target data is obtained by the edge device by determining that the data to be analyzed meets a first analysis condition and analyzing the data to be analyzed from a first data protocol to a second data protocol based on the data analysis file.
Further, optionally, the processing component may be further configured to:
and receiving data to be analyzed sent by the edge device. And the data to be continued is sent when the edge device confirms that the data to be analyzed meets the second analysis condition.
And if the data to be analyzed meets the second analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
In some embodiments, the sending, by the processing component, the data parsing file to the edge device, so that when the edge device detects to-be-parsed data of the first data protocol, parsing the to-be-parsed data from the first data protocol to target data of the second data protocol based on the data parsing file may specifically include:
when the control equipment meets the first control condition, sending a data analysis file to the edge equipment so that the edge equipment can detect the data to be analyzed of the first data protocol, and when the control equipment meets the first control condition, analyzing the data to be analyzed from the first data protocol into target data of the second data protocol based on the data analysis file.
Further, optionally, the processing component may be further configured to:
receiving data to be analyzed sent by edge equipment; the data to be analyzed is forwarded by the edge device when the control device meets a second control condition;
if the control equipment meets a second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file; and sending the target data to the edge device so that the edge device can receive the target data.
As an embodiment, the first data protocol may be a preset existing data protocol; the second data protocol may be a standard data protocol supported by the server.
As yet another example, the first data protocol may be a first custom protocol that is custom defined by a protocol management user; the second data protocol may customize the second custom protocol for the protocol management user.
As yet another example, the first data protocol may be a third custom protocol that is custom defined by a protocol management user; the second data protocol may be a standard data protocol supported by the server.
The server related to fig. 14 has already been described in detail in the embodiments of fig. 1 to fig. 8, and is not described again here for simplicity of description.
The electronic device according to the embodiment of the present application may include, for example: the robot, the mobile device of autopilot car, wearable equipment, automatic positioning equipment, intelligent house equipment etc. this application embodiment does not do too much to the specific type of electronic equipment and restricts. The server may specifically include: the embodiment of the application does not limit the specific types of the servers too much.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described technical solutions and/or portions thereof that contribute to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein (including but not limited to disk storage, CD-ROM, optical storage, etc.).
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, the electronic device may also include input/output interfaces, network interfaces, and components such as memory, display, and the like.
Computer-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (28)

1. A data processing system, comprising: the system comprises an edge device and a server connected with the edge device;
the edge device is to: detecting data to be analyzed of a first data protocol; acquiring a data analysis file from the server; analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file;
the server is configured to: and providing the data analysis file to the edge device.
2. The system of claim 1, further comprising: a first electronic device connected to the edge device;
the first electronic device is to: sending the data to be analyzed of the first data protocol to the edge device;
the detecting, by the edge device, to-be-analyzed data of the first data protocol specifically includes:
and receiving the data to be analyzed of the first data protocol sent by the first electronic equipment.
3. The system of claim 2, wherein the obtaining, by the edge device, the data parse file from the server specifically comprises:
determining device information of the first electronic device; determining product information of a product to which the first electronic equipment belongs according to the equipment information of the first electronic equipment; and acquiring the data analysis file associated with the product information of the product to which the first electronic equipment belongs from the server.
4. The system of claim 3, wherein the determining, by the edge device, the device information of the first electronic device specifically comprises:
and detecting a device connection request initiated by the first electronic device, and acquiring device information sent by the first electronic device.
5. The system according to claim 2, wherein the edge device parsing the data to be parsed from the first data protocol to target data of a second data protocol based on the data parsing file specifically comprises:
if the data to be analyzed meets a first analysis condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file;
the edge device is further configured to: sending the target data to the server;
the server is further configured to: and receiving the target data sent by the edge device.
6. The system of claim 5, wherein the edge device is further configured to:
if the data to be analyzed meets a second analysis condition, sending the data to be analyzed to the server;
the server is further configured to: receiving the data to be analyzed sent by the edge device;
and if the data to be analyzed meets a second analysis condition, analyzing the data to be analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
7. The system of claim 2, wherein the first electronic device comprises an internet of things device and the server comprises an internet of things cloud server.
8. The system of claim 1, further comprising: a control device connected to the edge device;
the control device is configured to: sending the data to be analyzed of the first data protocol to the edge device;
the detecting, by the edge device, to-be-analyzed data of the first data protocol specifically includes:
and receiving the data to be analyzed of the first data protocol sent by the control equipment.
9. The system of claim 8, wherein the obtaining, by the edge device, the data parse file from the server specifically comprises:
if the control equipment meets a first control condition, acquiring the data analysis file from the server;
the analyzing, by the edge device, the data to be analyzed from the first data protocol to target data of a second data protocol based on the data analysis file specifically includes:
and if the control equipment meets a first control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
10. The system of claim 9, further comprising: a second electronic device connected to the edge device;
the edge device is further configured to: sending the target data obtained by analysis to the second electronic equipment;
the second electronic device is to: receiving the target data sent by the edge device; and executing corresponding control operation based on the target data.
11. The system of claim 9, wherein the edge device is further configured to:
if the control equipment meets a second control condition, sending the data to be analyzed to the server;
the server is further configured to: receiving the data to be analyzed sent by the edge device; if the control equipment meets a second control condition, analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file; sending the target data to the edge device;
the edge device is further configured to: and receiving the target data sent by the server.
12. The system of claim 11, further comprising: a third electronic device connected to the edge device;
the edge device is further configured to: forwarding the target data obtained by receiving to the third electronic device;
the third electronic device is to: receiving the target data sent by the edge device; and executing corresponding control operation based on the target data.
13. The system of claim 8, wherein the data to be parsed comprises: a control instruction; the target data includes: and (4) target instructions.
14. The system of claim 1, further comprising: a protocol management device connected to the server;
the protocol management device is configured to: acquiring a data analysis file edited by a protocol management user; sending the data analysis file to the server;
the server is configured to: receiving the data analysis file provided by the protocol management equipment; and saving the data analysis file.
15. The system of claim 14, wherein the protocol management device is further configured to:
detecting a debugging request initiated by a protocol management user; sending the debugging request to the server; obtaining the debugging result fed back by the server; outputting the debugging result for the protocol management user;
the server is further configured to: receiving the debugging request sent by the protocol management equipment; responding to the debugging request, debugging the data analysis file, and obtaining a debugging result; feeding back the debugging result to the protocol management equipment;
the step of storing the data analysis file by the server specifically includes:
and if the debugging result is that the debugging is successful, saving the data analysis file.
16. The system of claim 14, wherein the protocol management device sending the data parse file to the server specifically comprises:
sending the data analysis file and product information of a product associated with the data analysis file to the server;
the step of receiving, by the server, the data analysis file provided by the protocol management device specifically includes:
receiving the data analysis file sent by the protocol management equipment and product information of a product associated with the data analysis file;
the step of storing the data analysis file by the server specifically includes:
and storing the data analysis file and the product information of the product associated with the data analysis file in an associated manner.
17. The system of claim 14, wherein the protocol management device is further configured to:
detecting a protocol using condition corresponding to the analysis of the data to be analyzed input by the electronic equipment and input by the protocol management user;
wherein the protocol using condition comprises: the first analysis condition of the data to be analyzed in the server and the second analysis condition of the data to be analyzed in the edge device are analyzed;
sending the protocol use condition to the server;
the step of storing the data analysis file by the server specifically includes:
and storing the data analysis file and the protocol use condition association of the data analysis file.
18. The system of claim 14, wherein the protocol management device is further configured to:
detecting a corresponding control condition input by the protocol management user when analyzing the data to be analyzed input by the control equipment;
wherein the control conditions include: the first control condition of the data to be analyzed in the edge device and the second control condition of the data to be analyzed in the server;
sending the control condition to the server;
the step of storing the data analysis file by the server specifically includes:
and storing the data analysis file and the control condition of the data analysis file in a correlation manner.
19. The system of claim 1, wherein the edge device comprises: gateway equipment or terminal equipment configured with gateway software.
20. The system of claim 1, wherein the first data protocol is a preset existing data protocol; the second data protocol is a standard data protocol supported by the server.
21. The system of claim 1, wherein the first data protocol is a first custom protocol that is custom defined by a protocol management user; the second data protocol is a second self-defined protocol self-defined by the protocol management user.
22. The system of claim 1, wherein the first data protocol is a third customized protocol customized by a protocol management user; the second data protocol is a standard data protocol supported by the server.
23. A data processing method is applied to an edge device and comprises the following steps:
detecting data to be analyzed of a first data protocol;
acquiring a data analysis file from a server;
and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
24. A data processing method is applied to a protocol management device and comprises the following steps:
acquiring a data analysis file edited by a protocol management user;
sending the data analysis file to a server, so that the server receives and stores the data analysis file provided by the protocol management equipment;
the data analysis file is used for being acquired by the edge device, and when data to be analyzed of a first data protocol is detected, the data to be analyzed is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
25. A data processing method is applied to a server and comprises the following steps:
receiving the data analysis file provided by the protocol management equipment; the data analysis file is obtained by editing a protocol management user on the protocol management equipment;
saving the data analysis file;
and sending the data analysis file to edge equipment, so that when the edge equipment detects to-be-analyzed data of a first data protocol, the to-be-analyzed data is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
26. An edge device, comprising: a storage component and a processing component; the storage component is used for storing one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;
the processing component is to:
detecting data to be analyzed of a first data protocol; acquiring a data analysis file from a server; and analyzing the data to be analyzed from the first data protocol into target data of a second data protocol based on the data analysis file.
27. A protocol management device, comprising: a storage component and a processing component; the storage component is used for storing one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;
the processing component is to:
acquiring a data analysis file edited by a protocol management user; sending the data analysis file to a server, so that the server receives and stores the data analysis file provided by the protocol management equipment;
the data analysis file is used for being acquired by the edge device, and when data to be analyzed of a first data protocol is detected, the data to be analyzed is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
28. A server, comprising: a storage component and a processing component; the storage component is used for storing one or more computer instructions, and the one or more computer instructions are called and executed by the processing component;
the processing component is to:
receiving the data analysis file provided by the protocol management equipment; the data analysis file is obtained by editing a protocol management user on the protocol management equipment; saving the data analysis file; and sending the data analysis file to edge equipment, so that when the edge equipment detects to-be-analyzed data of a first data protocol, the to-be-analyzed data is analyzed from the first data protocol to target data of a second data protocol based on the data analysis file.
CN202010746936.4A 2020-07-29 2020-07-29 Data processing system and method, edge device, protocol management device and server Pending CN114095541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010746936.4A CN114095541A (en) 2020-07-29 2020-07-29 Data processing system and method, edge device, protocol management device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010746936.4A CN114095541A (en) 2020-07-29 2020-07-29 Data processing system and method, edge device, protocol management device and server

Publications (1)

Publication Number Publication Date
CN114095541A true CN114095541A (en) 2022-02-25

Family

ID=80294880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010746936.4A Pending CN114095541A (en) 2020-07-29 2020-07-29 Data processing system and method, edge device, protocol management device and server

Country Status (1)

Country Link
CN (1) CN114095541A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150703A (en) * 2018-08-23 2019-01-04 北方工业大学 Intelligent cloud gateway for industrial Internet of things and communication method thereof
CN109257425A (en) * 2018-09-25 2019-01-22 江苏斯菲尔电气股份有限公司 Novel things-internet gateway and things-internet gateway working method
CN109714327A (en) * 2018-12-21 2019-05-03 深圳市元征科技股份有限公司 Data processing method, device, terminal, system and server
CN110413591A (en) * 2019-07-10 2019-11-05 广州博依特智能信息科技有限公司 A kind of industrial data acquisition method and edge calculations gateway
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111225016A (en) * 2018-11-23 2020-06-02 财团法人工业技术研究院 Network service system and network service method
CN111427664A (en) * 2020-03-25 2020-07-17 杭州电子科技大学 Container-based protocol analysis method, device, system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150703A (en) * 2018-08-23 2019-01-04 北方工业大学 Intelligent cloud gateway for industrial Internet of things and communication method thereof
CN109257425A (en) * 2018-09-25 2019-01-22 江苏斯菲尔电气股份有限公司 Novel things-internet gateway and things-internet gateway working method
CN111225016A (en) * 2018-11-23 2020-06-02 财团法人工业技术研究院 Network service system and network service method
CN109714327A (en) * 2018-12-21 2019-05-03 深圳市元征科技股份有限公司 Data processing method, device, terminal, system and server
CN110413591A (en) * 2019-07-10 2019-11-05 广州博依特智能信息科技有限公司 A kind of industrial data acquisition method and edge calculations gateway
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111427664A (en) * 2020-03-25 2020-07-17 杭州电子科技大学 Container-based protocol analysis method, device, system and storage medium

Similar Documents

Publication Publication Date Title
US11221822B2 (en) Method and apparatus for controlling page
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
US20200267221A1 (en) Method, system, and device for controlling an internet of things device
US20200357007A1 (en) Page data acquisition method, apparatus, server, electronic device and computer readable medium
CN110457256A (en) Date storage method, device, computer equipment and storage medium
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
CN105335132B (en) Method, device and system for customizing application program function
US20190130647A1 (en) Display control method and system, and virtual reality device
CN103685580A (en) Software-defined-network-based northbound interface access system and method
US20230289198A1 (en) Configuring application scene
US20070106770A1 (en) Managing a remote device by a communication element that does not specify an identifier for the management object
CN104281106A (en) Remote control method and system for air conditioner
US11740997B2 (en) Method and apparatus for debugging a device
CN112910744A (en) Intelligent device control method and device, storage medium and electronic device
CN110798462B (en) Smart home system and equipment access method
CN111107064A (en) Terminal equipment identification method, device, equipment and readable storage medium
CN111552606B (en) Data processing method and device and electronic equipment
CN114095541A (en) Data processing system and method, edge device, protocol management device and server
CN111141015A (en) Remote air conditioner control method
CN109032582A (en) A kind of method and device generating server O&M script
CN114385128A (en) Data processing method, device, apparatus, storage medium and program product
CN114546359A (en) DSL description file generation method, device, equipment and storage medium
CN114172978A (en) Multi-protocol equipment access method and related device
CN110839053B (en) Device communication method, device and storage medium
JP6944920B2 (en) Smart interactive processing methods, equipment, equipment and computer storage media

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination