CN114167742A - Edge data processing method and device, computer equipment and storage medium - Google Patents

Edge data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114167742A
CN114167742A CN202111456232.4A CN202111456232A CN114167742A CN 114167742 A CN114167742 A CN 114167742A CN 202111456232 A CN202111456232 A CN 202111456232A CN 114167742 A CN114167742 A CN 114167742A
Authority
CN
China
Prior art keywords
equipment
data
instruction
sub
data processing
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
CN202111456232.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.)
China Merchants Finance Technology Co Ltd
Original Assignee
China Merchants Finance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Merchants Finance Technology Co Ltd filed Critical China Merchants Finance Technology Co Ltd
Priority to CN202111456232.4A priority Critical patent/CN114167742A/en
Publication of CN114167742A publication Critical patent/CN114167742A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the field of Internet of things, and discloses an edge data processing method, an edge data processing device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring reported data of first equipment; processing the reported data according to a preset equipment data processing rule to generate equipment response data; acquiring current environment information, and processing equipment response data and the environment information through a preset scene analysis model to generate a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device; and issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result. The invention solidifies the edge calculation into four standardized processing steps, each processing step can be independently set, and an asynchronous response mechanism is adopted, so that the waiting time of a single step can be reduced, and the message processing efficiency of the edge service terminal is improved.

Description

Edge data processing method and device, computer equipment and storage medium
Technical Field
The invention relates to the field of Internet of things, in particular to an edge data processing method and device, computer equipment and a storage medium.
Background
Edge computing, which refers to computing services provided by an edge service terminal near one side of the device. As the service terminal is closer to the equipment, a faster service response can be generated, and the basic requirements of the equipment in the aspects of real-time business, application intelligence, safety, privacy protection and the like are met.
However, the existing edge service terminal has weak computing performance, and the application service loaded on the edge service terminal generally adopts a one-to-one serial mode. For the processing flow of the service message, generally, the message B can be executed after the message a is executed, and the message C can be executed after the message B is executed, which is relatively fixed, long in intermediate processing latency, relatively complex in processing mechanism, low in message processing efficiency, poor in flexibility, and difficult to adapt to different application scenarios.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an edge data processing method, an edge data processing apparatus, a computer device, and a storage medium to improve message processing efficiency of an edge service terminal.
An edge data processing method, comprising:
acquiring reported data of first equipment;
processing the reported data according to a preset equipment data processing rule to generate equipment response data;
acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result.
An edge data processing apparatus comprising:
the acquisition module is used for acquiring the reported data of the first equipment;
a response data generating module, configured to process the reported data according to a preset device data processing rule, and generate device response data;
the generation combination instruction module is used for acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model and generating a combination operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and the execution module is used for issuing each sub-instruction to the corresponding second equipment so as to enable the second equipment to execute the sub-instruction and generate an execution result.
A computer device comprising a memory, a processor and computer readable instructions stored in the memory and executable on the processor, the processor implementing the above edge data processing method when executing the computer readable instructions.
One or more readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the edge data processing method as described above.
According to the edge data processing method, the edge data processing device, the computer equipment and the storage medium, the data acquired by the first equipment is acquired by acquiring the reported data of the first equipment. And processing the reported data according to a preset equipment data processing rule to generate equipment response data so as to normalize and screen the reported data and eliminate data which does not need to be processed. Acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, one sub-instruction corresponds to one second device, and the judgment is made by combining the whole environment of the first device, so that the execution result of the combined operation instruction can be optimized by not only depending on a single device. And issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result, thereby completing the autonomous regulation and control process of the equipment and improving the intelligent degree of the equipment. The invention solidifies the edge calculation into four standardized processing steps, each processing step can be independently set, and an asynchronous response mechanism is adopted, so that the waiting time of a single step can be reduced, and the message processing efficiency of the edge service terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating an edge data processing method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an edge data processing apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
In one embodiment, as shown in FIG. 1, a method for processing edge data is provided, which includes the following steps S10-S40.
And S10, acquiring the reported data of the first equipment.
Understandably, the edge data processing method provided by this embodiment may be operated in an edge service terminal providing an edge computing service, such as a message router. The first device may be a terminal device connected to the edge service terminal, such as a smart door lock, a smart window, a smart light, smart furniture (seating, bedding, cooking utensils, etc.). The first device is provided with an intelligent chip, and can acquire corresponding device data and report the device data to a message queue in the edge service terminal to form reported data.
And S20, processing the reported data according to a preset device data processing rule to generate device response data.
Understandably, the preset device data processing rule may be a logic judgment rule stored in the edge service terminal and configured in advance. The rules can be used to normalize and screen the reported data to generate device response data. For example, the device response data may be expressed as:
the device attribute is as follows: air-conditioning 003;
device events: turning on a refrigeration function;
equipment service: the temperature was set at 26 ℃.
In an example, a dedicated analysis processing chip may be provided, and configured to store the preset device data processing rule and generate the device response data.
S30, acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device.
Understandably, the current environmental information may be information of the environment in which the first device is currently located, including but not limited to temperature, humidity, door open/closed state, and window open/closed state. The preset scene analysis model is a pre-constructed intelligent analysis model and can generate a corresponding combined operation instruction by combining the environmental information and the equipment response data. For example, after analyzing the environmental information and the equipment response data, it is found that ventilation and exhaust are currently required, and thus, the generated combined operating instructions include: 1. opening a door or window; 2. the exhaust fan is turned on. For another example, after analyzing the environmental information and the equipment response data, finding that the air conditioner needs to be started for refrigeration at present; thus, the generated combined operation instruction includes: 1. closing the door and window; 2. the air conditioner is turned on. Here, the second device refers to a controlled device corresponding to the sub instruction. For example, a door closing command, the corresponding second device is a door; and closing the window instruction, wherein the corresponding second equipment is a window.
In an example, a dedicated scene analysis chip may be provided, and configured to store the preset scene analysis model and generate the combined operation instruction.
And S40, issuing each sub-instruction to the corresponding second equipment, so that the second equipment executes the sub-instruction to generate an execution result.
Understandably, after generating the combined operation instruction, each sub-instruction in the combined operation instruction may be sent to the corresponding second device. The second device is different according to different actual scenes, such as an air conditioner, a humidifier, a door control switch, a window control switch and the like.
After the second device executes the corresponding sub-instruction in the combined operation instruction, a corresponding execution result can be generated. The execution result may be a door closing success; door closing failure (presence of obstruction), etc.
It should be noted that the first device and the second device may be the same or different. For example, the first device is an intelligent door lock, and when it is detected that the door is not closed, a corresponding combined operation instruction for closing the door may be generated, and at this time, the second device includes an intelligent door lock, and a corresponding closing mechanism may be driven by the intelligent door lock to close the door. For another example, the second device is a temperature sensor, and when the temperature sensor detects that the room temperature is too high, a corresponding combined operation instruction for turning on the air conditioner may be generated.
In steps S10-S40, the reported data of the first device is obtained to obtain the data collected by the first device. And processing the reported data according to a preset equipment data processing rule to generate equipment response data so as to normalize and screen the reported data and eliminate data which does not need to be processed. Acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, one sub-instruction corresponds to one second device, and the judgment is made by combining the whole environment of the first device, so that the execution result of the combined operation instruction can be optimized by not only depending on a single device. And issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result, thereby completing the autonomous regulation and control process of the equipment and improving the intelligent degree of the equipment. The embodiment solidifies edge calculation into four standardized processing steps, each processing step can be independently set, and an asynchronous response mechanism is adopted, so that the waiting time of a single step can be reduced, and the message processing efficiency of the edge service terminal is improved.
Optionally, in step S10, that is, the acquiring the reported data of the first device includes:
s101, receiving device data sent by the first device through a preset application interface; the device data is acquired by the first device according to a preset acquisition protocol, and the device data comprises attribute data of the first device and sensing data acquired by a sensing component mounted on the first device;
and S102, adding the equipment data into a message queue to form the reported data.
Understandably, the preset application interface and the preset acquisition protocol can be set according to actual needs. For example, the predetermined application interface may employ a data transfer interface adapted to the first device. The preset collection protocol may use a general-purpose communication protocol, such as Modbus protocol (a serial communication protocol). The device data includes attribute data of the first device itself, such as model, parameters, and the like, and also includes sensing data acquired by a sensing component on the first device. Here, the sensing means includes, but is not limited to, a temperature sensor, a humidity sensor, a light sensor, a current sensor, a smoke sensor. The device data can be added into the message queue to form the reported data. In the method, the reported data in the message queue can be directly called and used by different application processes, so that the data calling efficiency of the application is improved.
Optionally, in step S20, processing the reported data according to a preset device data processing rule to generate device response data includes:
s201, acquiring a style conversion rule and an event screening rule corresponding to the first equipment;
s202, converting the reported data into stylized data according to the style conversion rule, wherein the stylized data comprises equipment attributes, equipment events and equipment services;
s203, screening the patterned data according to the event screening rule, and adding the screened patterned data into a message queue to form the equipment response data.
Understandably, a dedicated analysis processing chip may be provided for storing the preset device data processing rule and generating the device response data. The preset device data processing rules comprise style conversion rules and event screening rules of various devices and can be set according to actual needs.
The style conversion rule and the event screening rule corresponding to the current first device can be searched first, and then the reported data is converted into the stylized data according to the style conversion rule. The styled data includes device attributes, device events, and device services. In one example, the stylized data may be represented as:
the device attribute is as follows: air-conditioning 003;
device events: turning on a refrigeration function;
equipment service: the temperature was set at 26 ℃.
The stylized data may be filtered using event filtering rules. The event screening rules can be set according to actual needs. For example, the event filtering rules may screen out stylized data that does not require operations to be performed. Through the event screening rule, the data processing amount of the preset scene analysis model can be reduced, unnecessary data calculation is reduced, and calculation resources are saved.
Optionally, in step S30, the current environmental information is obtained, and the device response data and the environmental information are processed through a preset scene analysis model to generate a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, one sub-instruction corresponds to one second device, and the combined operation instruction comprises the following steps:
s301, inputting the equipment response data and the environment information into the preset scene analysis model;
s302, acquiring a plurality of pieces of equipment operation information output by the preset scene analysis model, wherein the equipment operation information comprises operation actions for changing the equipment state of one piece of second equipment;
s303, obtaining command information corresponding to the equipment operation information, and adding the command information into a message queue to form the sub-instruction.
Understandably, the preset scene analysis model can be a pre-constructed rule engine, and can intelligently identify the current scene and trigger corresponding equipment operation information. One scene may correspond to one or more pieces of device operation information. Each device operation information includes an operation action (which may be one or more operation actions) for changing the device state of one second device.
After determining the device operation information, the corresponding command information may be matched. For example, a plurality of command lines of the second device may be stored in advance, each command line corresponding to an operation action. Command information corresponding to the device operation information is acquired, and the command information comprises one or more command lines. And adding the command information into a message queue to form a sub-instruction. The second device is then prompted by a message to receive the sub-instruction.
The combined operation instruction includes at least one sub-instruction. Each sub-instruction may change a device state of the corresponding second device.
Optionally, the preset scene analysis model includes a plurality of scene trigger rules;
step S302, namely, the obtaining of the plurality of pieces of device operation information output by the preset scene analysis model, where the device operation information includes an operation action for changing a device state of one of the second devices, further includes:
s3021, judging whether the equipment response data and the environment information meet the scene trigger rule;
and S3022, if the device response data and the environment information conform to the scene trigger rule, acquiring the device operation information matched with the scene trigger rule.
Understandably, a dedicated scene analysis chip may be provided for storing the preset scene analysis model and generating the combined operation instruction. The preset scene analysis model is provided with a plurality of scene trigger rules. If the equipment response data and the environmental information accord with a certain scene trigger rule, triggering corresponding equipment operation information; and if the equipment response data and the environment information do not accord with a certain scene triggering rule, not triggering the corresponding equipment operation information.
In one example, the scenario trigger rule includes a plurality of trigger conditions, and if the device response data and the environment information both conform to all the trigger conditions, corresponding device operation information is triggered; and if the trigger condition which is not met exists, not triggering the corresponding equipment operation information.
Optionally, in step S40, that is, the step of issuing each sub-instruction to the corresponding second device, so that the second device executes the sub-instruction to generate an execution result, includes:
s401, obtaining the sub-instruction from a message queue through the second device;
s402, executing the sub-instruction through the second equipment, and generating an execution result;
s403, receiving the execution result and adding the execution result into the message queue.
Understandably, the sub-instructions may be loaded in a message queue, enabling asynchronous processing. After the second device retrieves the sub-instruction from the message queue, the sub-instruction may be executed and an execution result may be generated. For example, the sub-instruction may be a door open instruction and the result of the execution may be the status of the door. And after the second equipment obtains the execution result, uploading the execution result to the message queue.
Optionally, after step S40, that is, after issuing each sub-instruction to the corresponding second device, so that the second device executes the sub-instruction, and generates an execution result, the method further includes:
and S50, uploading the equipment response data and/or the execution result to a cloud server.
Understandably, the edge service terminal is connected with the cloud server, and can upload the received device response data and/or the execution result to the cloud server.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, an edge data processing apparatus is provided, where the edge data processing apparatus corresponds to the edge data processing method in the foregoing embodiment one to one. As shown in fig. 2, the edge data processing apparatus includes an acquisition module 10, a response data generation module 20, a combination instruction generation module 30, and an execution module 40. The functional modules are explained in detail as follows:
an obtaining module 10, configured to obtain reported data of a first device;
a response data generating module 20, configured to process the reported data according to a preset device data processing rule, and generate device response data;
a combined instruction generating module 30, configured to acquire current environment information, process the device response data and the environment information through a preset scene analysis model, and generate a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and the execution module 40 is configured to issue each sub-instruction to the corresponding second device, so that the second device executes the sub-instruction to generate an execution result.
Optionally, the obtaining module 10 includes:
the receiving unit is used for receiving the device data sent by the first device through a preset application interface; the device data is acquired by the first device according to a preset acquisition protocol, and the device data comprises attribute data of the first device and sensing data acquired by a sensing component mounted on the first device;
and the queue adding unit is used for adding the equipment data into a message queue to form the reported data.
Optionally, the response data generating module 20 includes:
an obtaining rule unit, configured to obtain a style conversion rule and an event screening rule corresponding to the first device;
the stylization unit is used for converting the reported data into stylized data according to the stylized conversion rule, wherein the stylized data comprises equipment attributes, equipment events and equipment services;
and the screening unit is used for screening the patterned data according to the event screening rule and adding the screened patterned data into a message queue to form the equipment response data.
Optionally, the generating a combination instruction module 30 includes:
the input module unit is used for inputting the equipment response data and the environment information into the preset scene analysis model;
an operation information generating unit, configured to obtain a plurality of pieces of device operation information output by the preset scene analysis model, where the device operation information includes an operation action for changing a device state of one of the second devices;
and the sub-instruction generating unit is used for acquiring command information corresponding to the equipment operation information and adding the command information into a message queue to form the sub-instruction.
Optionally, the preset scene analysis model includes a plurality of scene trigger rules;
the generating operation information unit further includes:
a trigger judging unit, configured to judge whether the device response data and the environment information conform to the scene trigger rule;
and the matching operation information unit is used for acquiring the equipment operation information matched with the scene trigger rule if the equipment response data and the environment information accord with the scene trigger rule.
Optionally, the executing module 40 includes:
an obtaining sub-instruction unit, configured to obtain, by the second device, the sub-instruction from a message queue;
an execution result generation unit configured to execute the sub instruction by the second device and generate an execution result;
and the uploading execution result unit is used for receiving the execution result and adding the execution result into the message queue.
Optionally, the edge data processing apparatus further includes:
and the uploading module is used for uploading the equipment response data and/or the execution result to a cloud server.
For the specific definition of the edge data processing apparatus, reference may be made to the above definition of the edge data processing method, which is not described herein again. The respective modules in the edge data processing apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a service terminal providing an edge computing service, and its internal structure diagram may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a readable storage medium and an internal memory. The readable storage medium stores an operating system, computer readable instructions, and a database. The internal memory provides an environment for the operating system and execution of computer-readable instructions in the readable storage medium. The database of the computer device is used for storing data related to the edge data processing method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer readable instructions, when executed by a processor, implement an edge data processing method. The readable storage media provided by the present embodiment include nonvolatile readable storage media and volatile readable storage media.
In one embodiment, a computer device is provided, comprising a memory, a processor, and computer readable instructions stored on the memory and executable on the processor, the processor when executing the computer readable instructions implementing the steps of:
acquiring reported data of first equipment;
processing the reported data according to a preset equipment data processing rule to generate equipment response data;
acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result.
In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided, the readable storage media provided by the embodiments including non-volatile readable storage media and volatile readable storage media. The readable storage medium has stored thereon computer readable instructions which, when executed by one or more processors, perform the steps of:
acquiring reported data of first equipment;
processing the reported data according to a preset equipment data processing rule to generate equipment response data;
acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result.
It will be understood by those of ordinary skill in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to computer readable instructions, which may be stored in a non-volatile readable storage medium or a volatile readable storage medium, and when executed, the computer readable instructions may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An edge data processing method, comprising:
acquiring reported data of first equipment;
processing the reported data according to a preset equipment data processing rule to generate equipment response data;
acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and issuing each sub-instruction to the corresponding second equipment so that the second equipment executes the sub-instruction to generate an execution result.
2. The edge data processing method of claim 1, wherein the obtaining the reported data of the first device comprises:
receiving device data sent by the first device through a preset application interface; the device data is acquired by the first device according to a preset acquisition protocol, and the device data comprises attribute data of the first device and sensing data acquired by a sensing component mounted on the first device;
and adding the equipment data into a message queue to form the reported data.
3. The edge data processing method of claim 1, wherein the processing the report data according to a preset device data processing rule to generate device response data comprises:
acquiring a style conversion rule and an event screening rule corresponding to the first equipment;
converting the reported data into stylized data according to the stylized conversion rule, wherein the stylized data comprises equipment attributes, equipment events and equipment services;
and screening the patterned data according to the event screening rule, and adding the screened patterned data into a message queue to form the equipment response data.
4. The edge data processing method of claim 1, wherein the acquiring of the current environmental information, processing the device response data and the environmental information through a preset scene analysis model, and generating a combined operation instruction; the combined operation instruction comprises a plurality of sub-instructions, one sub-instruction corresponds to one second device, and the combined operation instruction comprises the following steps:
inputting the equipment response data and the environment information into the preset scene analysis model;
acquiring a plurality of pieces of equipment operation information output by the preset scene analysis model, wherein the equipment operation information comprises operation actions for changing the equipment state of one piece of second equipment;
and acquiring command information corresponding to the equipment operation information, and adding the command information into a message queue to form the sub-instruction.
5. The edge data processing method of claim 4, wherein the preset scene analysis model includes a number of scene trigger rules;
the obtaining of the plurality of pieces of device operation information output by the preset scene analysis model, where the device operation information includes an operation action for changing a device state of one of the second devices, further includes:
judging whether the equipment response data and the environment information accord with the scene triggering rule or not;
and if the equipment response data and the environment information accord with the scene trigger rule, acquiring the equipment operation information matched with the scene trigger rule.
6. The edge data processing method of claim 1, wherein the issuing each sub-instruction to a corresponding second device to enable the second device to execute the sub-instruction and generate an execution result includes:
obtaining, by the second device, the sub-instruction from a message queue;
executing the sub-instruction by the second device and generating an execution result;
and receiving the execution result and adding the execution result into the message queue.
7. The edge data processing method of claim 1, wherein the issuing each sub-instruction to the corresponding second device to enable the second device to execute the sub-instruction and generate the execution result further comprises:
and uploading the equipment response data and/or the execution result to a cloud server.
8. An edge data processing apparatus, comprising:
the acquisition module is used for acquiring the reported data of the first equipment;
a response data generating module, configured to process the reported data according to a preset device data processing rule, and generate device response data;
the generation combination instruction module is used for acquiring current environment information, processing the equipment response data and the environment information through a preset scene analysis model and generating a combination operation instruction; the combined operation instruction comprises a plurality of sub-instructions, and one sub-instruction corresponds to one second device;
and the execution module is used for issuing each sub-instruction to the corresponding second equipment so as to enable the second equipment to execute the sub-instruction and generate an execution result.
9. A computer device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor when executing the computer readable instructions implements the edge data processing method of any one of claims 1 to 7.
10. One or more readable storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the edge data processing method of any of claims 1-7.
CN202111456232.4A 2021-12-01 2021-12-01 Edge data processing method and device, computer equipment and storage medium Pending CN114167742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111456232.4A CN114167742A (en) 2021-12-01 2021-12-01 Edge data processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111456232.4A CN114167742A (en) 2021-12-01 2021-12-01 Edge data processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114167742A true CN114167742A (en) 2022-03-11

Family

ID=80482540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111456232.4A Pending CN114167742A (en) 2021-12-01 2021-12-01 Edge data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114167742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103033A (en) * 2022-06-21 2022-09-23 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017004574A1 (en) * 2015-07-02 2017-01-05 Bhadra Prasenjit A cognitive intelligence platform for distributed m2m/iot systems
US20170343980A1 (en) * 2016-05-25 2017-11-30 Alper Uzmezler Edge Analytics Control Devices and Methods
CN109634251A (en) * 2019-01-31 2019-04-16 广东美的制冷设备有限公司 Smart home device inter-linked controlling method, device and smart home device
CN110519299A (en) * 2019-09-20 2019-11-29 惠州市新一代工业互联网创新研究院 A kind of internet intelligent terminal system and its application method for supporting multi-protocols adaptation
CN112228951A (en) * 2020-10-15 2021-01-15 博彦多彩数据科技有限公司 Edge analysis control method and regional cooling and heating control system
CN113055201A (en) * 2019-12-26 2021-06-29 深圳奇迹智慧网络有限公司 Electronic equipment control method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017004574A1 (en) * 2015-07-02 2017-01-05 Bhadra Prasenjit A cognitive intelligence platform for distributed m2m/iot systems
US20170343980A1 (en) * 2016-05-25 2017-11-30 Alper Uzmezler Edge Analytics Control Devices and Methods
CN109634251A (en) * 2019-01-31 2019-04-16 广东美的制冷设备有限公司 Smart home device inter-linked controlling method, device and smart home device
CN110519299A (en) * 2019-09-20 2019-11-29 惠州市新一代工业互联网创新研究院 A kind of internet intelligent terminal system and its application method for supporting multi-protocols adaptation
CN113055201A (en) * 2019-12-26 2021-06-29 深圳奇迹智慧网络有限公司 Electronic equipment control method and device, computer equipment and storage medium
CN112228951A (en) * 2020-10-15 2021-01-15 博彦多彩数据科技有限公司 Edge analysis control method and regional cooling and heating control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103033A (en) * 2022-06-21 2022-09-23 青岛海尔科技有限公司 Device control method, device, storage medium, and electronic apparatus

Similar Documents

Publication Publication Date Title
EP3557339A1 (en) Linked control method for internet-of-things gateway and internet-of-things gateway
CN111818132B (en) Control method and device of Internet of things equipment, computer equipment and storage medium
CN111208748B (en) Linkage control method and system based on Internet of things and computer equipment
JP2019513246A (en) Training method of random forest model, electronic device and storage medium
CN111541579B (en) Industrial gateway control method and device, computer equipment and storage medium
CN110351259A (en) A kind of method and device obtaining APP authentication information based on network packet capturing
CN114167742A (en) Edge data processing method and device, computer equipment and storage medium
CN109726073A (en) Database monitoring method, device, equipment and readable storage medium storing program for executing
CN115793481A (en) Device control method, device, electronic device and storage medium
CN107547820A (en) Building talkback entrance guard controlling method and system based on Quick Response Code
CN114584429A (en) Industrial intelligent internet of things gateway
CN111897843A (en) Configuration method and device of data transfer strategy of Internet of things and computer equipment
WO2023216995A1 (en) Device control method and apparatus, electronic device, and storage medium
US20170149917A1 (en) Information communication methods, apparatuses and systems
CN113900383A (en) Intelligent household equipment control method, router, intelligent household system and medium
CN117075508A (en) Linkage control method and device of equipment and computer equipment
CN110365551A (en) Network information gathering method, apparatus, equipment and medium
CN114928538A (en) Equipment configuration processing method and device, computer equipment and storage medium
CN112564980B (en) Service monitoring method and system based on micro-service architecture
CN107577546B (en) Information processing method and device and electronic equipment
CN112767937A (en) Multi-device voice control method, system, device and readable storage medium
CN111552612A (en) MSSQL monitoring management method, management device, system and computer equipment
WO2017003478A1 (en) Traffic prediction for enterprise wifi
CN112311581B (en) Conference terminal batch management system, method, device, equipment and storage medium
Liang et al. TAPU: A Transmission-Analytics Processing Unit for Accelerating Multi-functions in IoT Gateways

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