CN112367206A - Configuration data processing method, device and system - Google Patents

Configuration data processing method, device and system Download PDF

Info

Publication number
CN112367206A
CN112367206A CN202011260688.9A CN202011260688A CN112367206A CN 112367206 A CN112367206 A CN 112367206A CN 202011260688 A CN202011260688 A CN 202011260688A CN 112367206 A CN112367206 A CN 112367206A
Authority
CN
China
Prior art keywords
configuration data
internet
configuration
file
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.)
Granted
Application number
CN202011260688.9A
Other languages
Chinese (zh)
Other versions
CN112367206B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011260688.9A priority Critical patent/CN112367206B/en
Publication of CN112367206A publication Critical patent/CN112367206A/en
Application granted granted Critical
Publication of CN112367206B publication Critical patent/CN112367206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The disclosure provides a configuration data processing method, device and system. The configuration data processing method comprises the following steps: extracting all configuration data associated with the specified engineering project from the database; identifying a currently set configuration data processing mode; if the configuration data processing mode is the first processing mode, generating a cross-platform configuration file, wherein the configuration file comprises all configuration data; reading all configuration data from the configuration file through a preset application, and generating an operation instruction corresponding to each configuration data in all configuration data; and sending the generated operation instruction to the corresponding multiple pieces of Internet of things equipment so that each piece of Internet of things equipment can perform corresponding operation processing by using the received operation instruction. The method and the device for controlling the Internet of things equipment enable a user to control the Internet of things equipment through single operation.

Description

Configuration data processing method, device and system
Technical Field
The present disclosure relates to the field of control, and in particular, to a method, an apparatus, and a system for processing configuration data.
Background
With the rapid improvement of the industrial automation level and the wide application of computers in the industrial field, people have higher and higher requirements on industrial automation, a variety of control devices and process monitoring devices are widely applied in the industrial field, and HMI (Human Machine Interface) configuration software is important Human-computer interaction software, so that a user can configure pictures and functions according to own control requirements to achieve the effect of controlling and monitoring.
Disclosure of Invention
The inventor finds that, in a scene of controlling the internet of things device, in order to control a plurality of internet of things devices through one operation, multiple binding actions need to be executed on a binding interface, so that execution efficiency is reduced.
Accordingly, the present disclosure provides a configuration data processing scheme, which can realize control of a plurality of internet of things devices through one operation.
According to a first aspect of the embodiments of the present disclosure, there is provided a configuration data processing method, including: extracting all configuration data associated with the specified engineering project from the database; identifying a currently set configuration data processing mode; if the configuration data processing mode is a first processing mode, generating a cross-platform configuration file, wherein the configuration file comprises all the configuration data; reading all the configuration data from the configuration file through a preset application, and generating an operation instruction corresponding to each configuration data in all the configuration data; and sending the generated operation instruction to the corresponding multiple pieces of Internet of things equipment so that each piece of Internet of things equipment can perform corresponding operation processing by using the received operation instruction.
In some embodiments, reading the entire configuration data from the configuration file comprises: when the entire configuration data includes a plurality of configuration data, each of the plurality of configuration data is sequentially read out according to an execution order of each of the plurality of configuration data.
In some embodiments, if the configuration data processing mode is a second processing mode, querying a platform type of each piece of internet of things equipment; selecting a template file corresponding to the platform type of the ith Internet of things device, wherein i is more than or equal to 1 and less than or equal to N, and N is the total number of the Internet of things devices; converting each configuration data in all the configuration data into a corresponding code file according to the template file; compiling the code file into an executable code of the ith Internet of things device; and sending the generated executable code to the ith Internet of things device, so that the ith Internet of things device can perform corresponding operation processing by using the received executable code.
In some embodiments, converting each of the entire configuration data into a corresponding code file according to the template file comprises: when the total configuration data comprises a plurality of configuration data, sequentially reading each configuration data in the plurality of configuration data according to the execution sequence of each configuration data in the plurality of configuration data; and converting the read configuration data into a corresponding code file according to the template file.
In some embodiments, during the process of configuring the specified engineering project by the user, the configuration data associated with the specified engineering project is added or deleted according to the indication of the user.
In some embodiments, according to the instruction of the user, an operation mode is set for the configuration data, where the operation mode includes a single-thread operation mode or a multi-thread operation mode.
In some embodiments, the order of execution of the configuration data associated with the specified project is adjusted according to the user's instructions.
According to a second aspect of the embodiments of the present disclosure, there is provided a configuration data processing apparatus including: an extraction module configured to extract all configuration data associated with a specified engineering project from a database; the identification module is configured to identify the currently set configuration data processing mode; the first processing module is configured to generate a cross-platform configuration file if the configuration data processing mode is a first processing mode, wherein the configuration file includes all the configuration data, read out all the configuration data from the configuration file through a predetermined application, generate an operation instruction corresponding to each configuration data in all the configuration data, and send the generated operation instruction to the corresponding multiple pieces of internet of things equipment, so that each piece of internet of things equipment performs corresponding operation processing by using the received operation instruction.
In some embodiments, the first processing module is configured to, in a case where the entire configuration data includes a plurality of configuration data, sequentially read out each of the plurality of configuration data according to an execution order of each of the plurality of configuration data.
In some embodiments, the above apparatus further comprises: the second processing module is configured to query the platform type of each piece of internet of things equipment if the configuration data processing mode is the second processing mode, select a template file corresponding to the platform type of the ith piece of internet of things equipment, where i is greater than or equal to 1 and less than or equal to N, and N is the total number of the pieces of internet of things equipment, convert each piece of configuration data in all pieces of configuration data into a corresponding code file according to the template file, compile the code file into an executable code of the ith piece of internet of things equipment, and send the generated executable code to the ith piece of internet of things equipment, so that the ith piece of internet of things equipment performs corresponding operation processing by using the received executable code.
In some embodiments, the second processing module is configured to, in a case that all the configuration data includes a plurality of configuration data, sequentially read out each of the plurality of configuration data according to an execution order of each of the plurality of configuration data, and convert the read-out configuration data into a corresponding code file according to the template file.
In some embodiments, the above apparatus further comprises: and the configuration module is configured to add or delete configuration data associated with the specified engineering project according to the indication of the user in the process of configuring the specified engineering project by the user.
In some embodiments, the configuration module is further configured to set an operation mode for the configuration data according to an instruction of the user, where the operation mode includes a single-thread operation mode or a multi-thread operation mode.
In some embodiments, the configuration module is further configured to adjust an execution order of configuration data associated with the specified project according to the user's direction.
According to a third aspect of the embodiments of the present disclosure, there is provided a configuration data processing apparatus including: a memory configured to store instructions; a processor coupled to the memory, the processor configured to perform a method implementing any of the embodiments described above based on instructions stored by the memory.
According to a fourth aspect of embodiments of the present disclosure, there is provided a configuration data processing system comprising: configuring a data processing apparatus as in any of the embodiments above, and: and each Internet of things device is configured to perform corresponding operation processing according to the operation instruction under the condition that the operation instruction sent by the configuration data processing device is received.
In some embodiments, each internet of things device is further configured to, in the case of receiving the executable code sent by the configuration data processing apparatus, perform corresponding operation processing according to the executable code.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the instructions, when executed by a processor, implement the method according to any one of the embodiments.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure may be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
FIG. 1 is a schematic flow chart diagram illustrating a configuration data processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating a configuration data processing method according to another embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a configuration data processing apparatus according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a configuration data processing apparatus according to another embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a configuration data processing apparatus according to yet another embodiment of the present disclosure;
FIG. 6 is a block diagram of a configuration data processing system according to one embodiment of the present disclosure.
It should be understood that the dimensions of the various parts shown in the figures are not drawn to scale. Further, the same or similar reference numerals denote the same or similar components.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the disclosure, its application, or uses. The present disclosure may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials and values set forth in these embodiments are to be construed as illustrative only and not as limiting unless otherwise specifically stated.
The use of the word "comprising" or "comprises" and the like in this disclosure means that the elements listed before the word encompass the elements listed after the word and do not exclude the possibility that other elements may also be encompassed.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
Fig. 1 is a schematic flow chart of a configuration data processing method according to an embodiment of the present disclosure. In some embodiments, the following configuration data processing method steps are performed by a configuration data processing apparatus.
At step 101, all configuration data associated with a specified project is extracted from the database.
For example, when the user performs two operations of turning on the light and turning on the air conditioner for one button, the light-on configuration data and the air-conditioning configuration data associated with the button are extracted from the database.
In some embodiments, during the process of configuring the designated project by the user, the configuration data associated with the designated project is added or deleted according to the instruction of the user, and the corresponding configuration data is stored in the database. For example, according to the instruction of the user, when the user performs button configuration, an action of turning on the air conditioner is added, and an action of starting the washing machine is deleted.
In some embodiments, the operation mode is set for the configuration data according to the instruction of the user, and the operation mode includes a single-thread operation mode or a multi-thread operation mode. For example, if the lighting action occupies less resources, then single-threaded operation may be selected. If the air conditioner is started to occupy more resources, multi-thread operation can be selected.
In some embodiments, the order of execution of the plurality of configuration data associated with the specified project is adjusted according to the user's instructions.
For example, the user may wish to turn on the air conditioner first and then turn on the light after the trigger button is operated. In this case, the execution order of the configuration data corresponding to the lighting-on action and the configuration data corresponding to the air-conditioning-on action is set so as to realize the execution of the air-conditioning-first and the lighting-on.
In step 102, the currently set configuration data processing mode is identified.
In step 103, if the configuration data processing mode is the first processing mode, a cross-platform configuration file is generated, wherein the configuration file includes all configuration data.
For example, the configuration file is in json, txt, ini, etc. format.
At step 104, all configuration data is read out from the configuration file by a predetermined application, and an operation instruction corresponding to each configuration data in all configuration data is generated.
In step 105, the generated operation instruction is sent to a plurality of corresponding internet of things devices, so that each internet of things device performs corresponding operation processing by using the received operation instruction.
For example, after receiving an operation instruction for turning on the light, the light fixture performs a light-on operation according to the operation instruction. And after receiving the operation instruction for starting, the air conditioner carries out the starting operation of the air conditioner according to the operation instruction.
In some embodiments, in a case where all the configuration data includes a plurality of configuration data, each of the plurality of configuration data is read out in turn according to an execution order of each of the plurality of configuration data.
For example, the user sets the wind speed after the air conditioner is turned on first after the trigger button is operated. In this case, first configuration data associated with turning on the air conditioner is read out first according to a set sequence, and a first operation instruction generated according to the first configuration data is sent to the air conditioner so that the air conditioner is turned on. And reading out second configuration data associated with the set wind speed, and sending a second operation instruction generated according to the second configuration data to the air conditioner so that the air conditioner can perform the set wind speed operation.
In the configuration data processing method provided by the above embodiment of the present disclosure, a plurality of operation actions can be conveniently bound for a single operation of a user, thereby effectively improving the execution efficiency of configuration data.
Fig. 2 is a schematic flow chart of a configuration data processing method according to another embodiment of the present disclosure. In some embodiments, the following configuration data processing method steps are performed by a configuration data processing apparatus.
At step 201, all configuration data associated with a specified project is extracted from the database.
In step 202, the currently set configuration data processing mode is identified.
In step 203, if the configuration data processing mode is the second processing mode, the platform type of each piece of internet of things equipment is queried.
In step 204, a template file corresponding to the platform type of the ith Internet of things device is selected, i is more than or equal to 1 and less than or equal to N, and N is the total number of the Internet of things devices.
For example, if the Linux platform uses C + + language, a C + + code output template is selected for the Linux-based internet of things device. And the Windows platform uses C # language, and then a C # code output template is selected for the Windows-based Internet of things equipment.
In step 205, each configuration data in the entire configuration data is converted into a corresponding code file according to the template file.
At step 206, the code file is compiled into executable code of the ith internet of things device.
For example, after a C + + code output template is selected for the Linux-based internet of things device, the C + + code output template is used to convert corresponding configuration data into corresponding C + + code, and the C + + code is compiled to obtain a corresponding executable code.
In step 207, the generated executable code is sent to the ith internet of things device, so that the ith internet of things device performs corresponding operation processing by using the received executable code.
In some embodiments, in a case where all the configuration data includes a plurality of configuration data, each of the plurality of configuration data is read out in turn according to an execution order of each of the plurality of configuration data. And converting the read configuration data into a corresponding code file according to the template file.
For example, the user sets the wind speed after the air conditioner is turned on first after the trigger button is operated. In this case, according to a set sequence, first configuration data associated with turning on the air conditioner is read, the first configuration data is converted into corresponding first codes according to the template file, and the first codes are compiled to obtain first executable codes. And sending the first executable code to the air conditioner so that the air conditioner is started. And reading out second configuration data associated with the set wind speed, converting the second configuration data into corresponding second codes according to the template file, and compiling the second codes to obtain second executable codes. And sending the second executable code to the air conditioner so that the air conditioner performs the set wind speed operation.
Fig. 3 is a schematic structural diagram of a configuration data processing apparatus according to an embodiment of the present disclosure. As shown in fig. 3, the configuration data processing apparatus includes an extraction module 31, a recognition module 32, and a first processing module 33.
The extraction module 31 is configured to extract all configuration data associated with a specified engineering project from the database.
For example, when the user performs two operations of turning on the light and turning on the air conditioner for one button, the light-on configuration data and the air-conditioning configuration data associated with the button are extracted from the database.
The identification module 32 is configured to identify the currently set configuration data handling mode.
The first processing module 33 is configured to generate a cross-platform configuration file if the configuration data processing mode is the first processing mode, where the configuration file includes all configuration data, read all configuration data from the configuration file through a predetermined application, generate an operation instruction corresponding to each configuration data in all configuration data, and send the generated operation instruction to the corresponding multiple internet of things devices, so that each internet of things device performs corresponding operation processing by using the received operation instruction.
For example, after receiving an operation instruction for turning on the light, the light fixture performs a light-on operation according to the operation instruction. And after receiving the operation instruction for starting, the air conditioner carries out the starting operation of the air conditioner according to the operation instruction.
In some embodiments, the first processing module 33 is configured to read out each configuration data of the plurality of configuration data in turn according to an execution order of each configuration data of the plurality of configuration data in a case where all configuration data includes the plurality of configuration data.
For example, the user sets the wind speed after the air conditioner is turned on first after the trigger button is operated. In this case, first configuration data associated with turning on the air conditioner is read out first according to a set sequence, and a first operation instruction generated according to the first configuration data is sent to the air conditioner so that the air conditioner is turned on. And reading out second configuration data associated with the set wind speed, and sending a second operation instruction generated according to the second configuration data to the air conditioner so that the air conditioner can perform the set wind speed operation.
Fig. 4 is a schematic structural diagram of a configuration data processing apparatus according to another embodiment of the present disclosure. Fig. 4 differs from fig. 3 in that in the embodiment shown in fig. 4 the configuration data processing device further comprises a second processing module 34.
The second processing module 34 is configured to, if the configuration data processing manner is the second processing manner, query the platform type of each internet of things device, select a template file corresponding to the platform type of the ith internet of things device, where i is greater than or equal to 1 and is less than or equal to N, and N is the total number of the internet of things devices. The second processing module 34 converts each configuration data in all the configuration data into a corresponding code file according to the template file, compiles the code file into an executable code of the ith internet of things device, and sends the generated executable code to the ith internet of things device, so that the ith internet of things device performs corresponding operation processing by using the received executable code.
For example, if the Linux platform uses C + + language, a C + + code output template is selected for the Linux-based internet of things device. And the Windows platform uses C # language, and then a C # code output template is selected for the Windows-based Internet of things equipment. After a C + + code output template is selected for the Linux-based Internet of things equipment, corresponding configuration data are converted into corresponding C + + codes by using the C + + code output template, and then the C + + codes are compiled to obtain corresponding executable codes.
In some embodiments, the second processing module 34 is configured to, in a case where all the configuration data includes a plurality of configuration data, sequentially read out each of the plurality of configuration data according to an execution order of each of the plurality of configuration data, and convert the read-out configuration data into a corresponding code file according to the template file.
For example, the user sets the wind speed after the air conditioner is turned on first after the trigger button is operated. In this case, according to a set sequence, first configuration data associated with turning on the air conditioner is read, the first configuration data is converted into corresponding first codes according to the template file, and the first codes are compiled to obtain first executable codes. And sending the first executable code to the air conditioner so that the air conditioner is started. And reading out second configuration data associated with the set wind speed, converting the second configuration data into corresponding second codes according to the template file, and compiling the second codes to obtain second executable codes. And sending the second executable code to the air conditioner so that the air conditioner performs the set wind speed operation.
In some embodiments, as shown in FIG. 4, the configuration data processing apparatus further comprises a configuration module 35.
The configuration module 35 adds or deletes configuration data associated with a specified project according to an instruction of a user in a process of configuring the specified project by the user, and stores the corresponding configuration data in the database. For example, according to the instruction of the user, when the user performs button configuration, an action of turning on the air conditioner is added, and an action of starting the washing machine is deleted.
In some embodiments, the configuration module 35 sets an operation mode for the configuration data according to an instruction of a user, where the operation mode includes a single-thread operation mode or a multi-thread operation mode. For example, if the lighting action occupies less resources, then single-threaded operation may be selected. If the air conditioner is started to occupy more resources, multi-thread operation can be selected.
In some embodiments, configuration module 35 adjusts the execution order of the configuration data associated with a given project based on the user's instructions. For example, the user may wish to turn on the air conditioner first and then turn on the light after the trigger button is operated. In this case, the execution order of the configuration data corresponding to the lighting-on action and the configuration data corresponding to the air-conditioning-on action is set so as to realize the execution of the air-conditioning-first and the lighting-on.
Fig. 5 is a schematic structural diagram of a configuration data processing apparatus according to yet another embodiment of the present disclosure. As shown in fig. 5, the configuration data processing apparatus includes a memory 51 and a processor 52.
The memory 51 is used for storing instructions, the processor 52 is coupled to the memory 51, and the processor 52 is configured to execute the method according to any one of the embodiments in fig. 1 or fig. 2 based on the instructions stored in the memory.
As shown in fig. 5, the configuration data processing apparatus further includes a communication interface 53 for information interaction with other devices. Meanwhile, the configuration data processing device further comprises a bus 54, and the processor 52, the communication interface 53 and the memory 51 are communicated with each other through the bus 54.
The memory 51 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 51 may also be a memory array. The storage 51 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules.
Further, the processor 52 may be a central processing unit CPU, or may be an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement embodiments of the present disclosure.
The present disclosure also relates to a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the instructions, when executed by a processor, implement a method according to any one of the embodiments shown in fig. 1 or fig. 2.
FIG. 6 is a block diagram of a configuration data processing system according to one embodiment of the present disclosure. As shown in fig. 6, the configuration data processing system includes a configuration data processing device 61 and a plurality of internet of things devices 621-62 n. The configuration data processing device 61 is the configuration data processing device according to any one of the embodiments of fig. 3 to 5. Different internet of things devices may adopt different operating environments, such as Windows, Linux, Mac OS, Web, mini OS, and the like.
The internet of things devices 621 to 62n perform corresponding operation processing according to the corresponding operation instruction or executable code when receiving the operation instruction or executable code sent by the configuration data processing device 61.
In some embodiments, when performing the corresponding operation processing, the internet of things devices 621 to 62n select a corresponding single thread or multiple threads to perform the corresponding operation processing according to the setting.
In some embodiments, the functional unit modules described above can be implemented as a general purpose Processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable Logic device, discrete Gate or transistor Logic, discrete hardware components, or any suitable combination thereof for performing the functions described in this disclosure.
So far, embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (18)

1. A method of configuration data processing, comprising:
extracting all configuration data associated with the specified engineering project from the database;
identifying a currently set configuration data processing mode;
if the configuration data processing mode is a first processing mode, generating a cross-platform configuration file, wherein the configuration file comprises all the configuration data;
reading all the configuration data from the configuration file through a preset application, and generating an operation instruction corresponding to each configuration data in all the configuration data;
and sending the generated operation instruction to the corresponding multiple pieces of Internet of things equipment so that each piece of Internet of things equipment can perform corresponding operation processing by using the received operation instruction.
2. The method of claim 1, wherein reading the entire configuration data from the configuration file comprises:
when the entire configuration data includes a plurality of configuration data, each of the plurality of configuration data is sequentially read out according to an execution order of each of the plurality of configuration data.
3. The method of claim 1, further comprising:
if the configuration data processing mode is a second processing mode, inquiring the platform type of each piece of Internet of things equipment;
selecting a template file corresponding to the platform type of the ith Internet of things device, wherein i is more than or equal to 1 and less than or equal to N, and N is the total number of the Internet of things devices;
converting each configuration data in all the configuration data into a corresponding code file according to the template file;
compiling the code file into an executable code of the ith Internet of things device;
and sending the generated executable code to the ith Internet of things device, so that the ith Internet of things device can perform corresponding operation processing by using the received executable code.
4. The method of claim 3, wherein converting each of the entire configuration data into a corresponding code file according to the template file comprises:
when the total configuration data comprises a plurality of configuration data, sequentially reading each configuration data in the plurality of configuration data according to the execution sequence of each configuration data in the plurality of configuration data;
and converting the read configuration data into a corresponding code file according to the template file.
5. The method of any of claims 1 to 4, further comprising:
and adding or deleting configuration data associated with the specified engineering project according to the indication of the user in the process of configuring the specified engineering project by the user.
6. The method of claim 5, further comprising:
and setting an operation mode for the configuration data according to the instruction of the user, wherein the operation mode comprises a single-thread operation mode or a multi-thread operation mode.
7. The method of claim 5, further comprising:
and adjusting the execution sequence of the configuration data associated with the specified engineering project according to the instruction of the user.
8. A configuration data processing apparatus comprising:
an extraction module configured to extract all configuration data associated with a specified engineering project from a database;
the identification module is configured to identify the currently set configuration data processing mode;
the first processing module is configured to generate a cross-platform configuration file if the configuration data processing mode is a first processing mode, wherein the configuration file includes all the configuration data, read out all the configuration data from the configuration file through a predetermined application, generate an operation instruction corresponding to each configuration data in all the configuration data, and send the generated operation instruction to the corresponding multiple pieces of internet of things equipment, so that each piece of internet of things equipment performs corresponding operation processing by using the received operation instruction.
9. The apparatus of claim 8, wherein:
the first processing module is configured to, when the entire configuration data includes a plurality of configuration data, sequentially read out each of the plurality of configuration data according to an execution order of each of the plurality of configuration data.
10. The apparatus of claim 8, further comprising:
the second processing module is configured to query the platform type of each piece of internet of things equipment if the configuration data processing mode is the second processing mode, select a template file corresponding to the platform type of the ith piece of internet of things equipment, where i is greater than or equal to 1 and less than or equal to N, and N is the total number of the pieces of internet of things equipment, convert each piece of configuration data in all pieces of configuration data into a corresponding code file according to the template file, compile the code file into an executable code of the ith piece of internet of things equipment, and send the generated executable code to the ith piece of internet of things equipment, so that the ith piece of internet of things equipment performs corresponding operation processing by using the received executable code.
11. The apparatus of claim 10, wherein:
the second processing module is configured to, when all the configuration data includes a plurality of configuration data, sequentially read each of the plurality of configuration data according to an execution order of each of the plurality of configuration data, and convert the read configuration data into a corresponding code file according to the template file.
12. The apparatus of any of claims 8 to 11, further comprising:
and the configuration module is configured to add or delete configuration data associated with the specified engineering project according to the indication of the user in the process of configuring the specified engineering project by the user.
13. The apparatus of claim 12, wherein:
the configuration module is further configured to set an operation mode for the configuration data according to the instruction of the user, wherein the operation mode comprises a single-thread operation mode or a multi-thread operation mode.
14. The apparatus of claim 12, wherein:
the configuration module is further configured to adjust an execution order of configuration data associated with the specified engineering project according to the user's instructions.
15. A configuration data processing apparatus comprising:
a memory configured to store instructions;
a processor coupled to the memory, the processor configured to perform implementing the method of any of claims 1-7 based on instructions stored by the memory.
16. A configuration data processing system comprising: the configuration data processing device of any of claims 8-15, and
and each Internet of things device is configured to perform corresponding operation processing according to the operation instruction under the condition that the operation instruction sent by the configuration data processing device is received.
17. The system of claim 16, wherein:
and each Internet of things device is also configured to perform corresponding operation processing according to the executable code under the condition of receiving the executable code sent by the configuration data processing device.
18. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions which, when executed by a processor, implement the method of any one of claims 1-7.
CN202011260688.9A 2020-11-12 2020-11-12 Configuration data processing method, device and system Active CN112367206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011260688.9A CN112367206B (en) 2020-11-12 2020-11-12 Configuration data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011260688.9A CN112367206B (en) 2020-11-12 2020-11-12 Configuration data processing method, device and system

Publications (2)

Publication Number Publication Date
CN112367206A true CN112367206A (en) 2021-02-12
CN112367206B CN112367206B (en) 2021-10-22

Family

ID=74515370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011260688.9A Active CN112367206B (en) 2020-11-12 2020-11-12 Configuration data processing method, device and system

Country Status (1)

Country Link
CN (1) CN112367206B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629113B1 (en) * 1999-06-30 2003-09-30 International Business Machines Corporation Method and system for dynamically adjustable and configurable garbage collector
CN101165683A (en) * 2006-10-19 2008-04-23 维豪信息技术有限公司 Heterogeneous different source different platform data integration method and exchange method
CN102508706A (en) * 2011-11-18 2012-06-20 北京航空航天大学 Multi-source data integrating platform and establishing method thereof
CN102567422A (en) * 2010-12-27 2012-07-11 北大方正集团有限公司 Page display method and equipment
CN102830649A (en) * 2012-08-22 2012-12-19 国电联合动力技术有限公司 Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system
CN103135979A (en) * 2011-12-05 2013-06-05 中国移动通信集团广东有限公司 Method, device and system for generating terminal applications
CN105530309A (en) * 2015-12-22 2016-04-27 Tcl集团股份有限公司 IoT control platform and implementation method thereof
US20170104842A1 (en) * 2015-10-13 2017-04-13 Home Box Office, Inc. Templating data service responses
CN109255107A (en) * 2018-09-25 2019-01-22 珠海格力电器股份有限公司 Configuration software processing method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629113B1 (en) * 1999-06-30 2003-09-30 International Business Machines Corporation Method and system for dynamically adjustable and configurable garbage collector
CN101165683A (en) * 2006-10-19 2008-04-23 维豪信息技术有限公司 Heterogeneous different source different platform data integration method and exchange method
CN102567422A (en) * 2010-12-27 2012-07-11 北大方正集团有限公司 Page display method and equipment
CN102508706A (en) * 2011-11-18 2012-06-20 北京航空航天大学 Multi-source data integrating platform and establishing method thereof
CN103135979A (en) * 2011-12-05 2013-06-05 中国移动通信集团广东有限公司 Method, device and system for generating terminal applications
CN102830649A (en) * 2012-08-22 2012-12-19 国电联合动力技术有限公司 Method used for cross-platform transplantation of software of PLC (Programmable Logic Controller) of wind power control system
US20170104842A1 (en) * 2015-10-13 2017-04-13 Home Box Office, Inc. Templating data service responses
CN105530309A (en) * 2015-12-22 2016-04-27 Tcl集团股份有限公司 IoT control platform and implementation method thereof
CN109255107A (en) * 2018-09-25 2019-01-22 珠海格力电器股份有限公司 Configuration software processing method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YAHUI YANG;YOUBING ZHANG: "Mobile Terminal Development Plan of Cross-Platform Mobile Application Service Platform Based on lonic and Cordova", 《ICIICII》 *
刘玉: "基于跨平台的移动应用开发框架研究", 《中国优秀硕士学位论文数据库》 *

Also Published As

Publication number Publication date
CN112367206B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US9298437B2 (en) Unrolling quantifications to control in-degree and/or out-degree of automaton
KR101606622B1 (en) Utilizing special purpose elements to implement a fsm
KR101840905B1 (en) Counter operation in a state machine lattice
KR20140102274A (en) Boolean logic in a state machine lattice
WO2013090096A1 (en) Methods and systems for routing in a state machine
US10277246B2 (en) Program counter compression method and hardware circuit thereof
CN111008230A (en) Data storage method and device, computer equipment and storage medium
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN115269006A (en) Machine code instruction conversion method and device, electronic equipment and readable storage medium
CN107943727B (en) High-efficient DMA controller
CN112367206B (en) Configuration data processing method, device and system
CN108153528B (en) Flow model expansion processing method and device, storage medium and electronic equipment
US6871274B2 (en) Instruction code conversion apparatus creating an instruction code including a second code converted from a first code
KR101497346B1 (en) System and method to evaluate a data value as an instruction
TW202011411A (en) Flash memory controller and associated accessing method and electronic device
CN111163060B (en) Application group-based forwarding method, device and system
CN112347101A (en) Tag data storage method, computer device, and storage medium
CN112486492A (en) Page generation method and device, storage medium and electronic equipment
CN109324838B (en) Execution method and execution device of single chip microcomputer program and terminal
US7676651B2 (en) Micro controller for decompressing and compressing variable length codes via a compressed code dictionary
CN110222051B (en) Intelligent contract compression method for Ether house block chain
CN112395468A (en) Number management method and device, electronic equipment and storage medium
CN111506530A (en) Interrupt management system and management method thereof
CN213876697U (en) Operation accelerating circuit of SSD main control chip with high flexibility and low bandwidth
CN113268145B (en) Physical input device input method, system, electronic device and storage medium

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
GR01 Patent grant
GR01 Patent grant