CN113132158B - Point table configuration method, device, controller and storage medium - Google Patents

Point table configuration method, device, controller and storage medium Download PDF

Info

Publication number
CN113132158B
CN113132158B CN202110373070.1A CN202110373070A CN113132158B CN 113132158 B CN113132158 B CN 113132158B CN 202110373070 A CN202110373070 A CN 202110373070A CN 113132158 B CN113132158 B CN 113132158B
Authority
CN
China
Prior art keywords
point
point table
standard
parameter
information
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.)
Active
Application number
CN202110373070.1A
Other languages
Chinese (zh)
Other versions
CN113132158A (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 CN202110373070.1A priority Critical patent/CN113132158B/en
Publication of CN113132158A publication Critical patent/CN113132158A/en
Application granted granted Critical
Publication of CN113132158B publication Critical patent/CN113132158B/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
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • 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
    • 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
    • Y02P80/00Climate change mitigation technologies for sector-wide applications
    • Y02P80/10Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Programmable Controllers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a point table configuration method, a point table configuration device, a controller and a storage medium. The method comprises the following steps: acquiring a user-defined point table; analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table; establishing a mapping relation between a user-defined point table and a preset standard point table according to the identification information of each first point location; and adjusting the standard point table according to the mapping relation, the first parameter information and the first sequence number information of each first point location to obtain a target point table. The method can meet the requirements of rapid development, real-time communication and convenient maintenance.

Description

Point table configuration method, device, controller and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for configuring a peer table, a controller, and a storage medium.
Background
The heating, ventilating and air-conditioning system is used as a part of an intelligent building management system and occupies a large part of building energy consumption, and the intelligent and energy-saving management of the heating, ventilating and air-conditioning system is an important component of an intelligent building. At present, most heating, ventilation and air conditioning systems are accessed into an intelligent Building Management System (BMS) through a Modbus protocol to realize intelligent Management. Because different BMS integrators and different air conditioner manufacturers exist in the market, and the modbus protocol only specifies the frame format and the function code, the data point table is not defined, and meanwhile, due to the difference of the types, the quantities and the like of equipment in different projects, the protocol point tables between the integrators and the manufacturers are not communicated, so that the problems of long development period, time consumption, labor consumption and difficult maintenance are caused.
For an integrator, because a point table provided by a manufacturer is a standard point location, custom reading cannot be performed according to the requirements of the actual equipment type, the actual equipment quantity and the like of a project, so that the existing program cannot be used universally, the problems that the communication period is long, the state updating is not timely, the user experience is influenced and the like due to the fact that the number of roll call frames is increased due to the fact that redundant point locations are too many, point locations are discontinuous and the like may exist, targeted repeated development and change are required to be performed on each project, and later maintenance is not facilitated.
For air conditioner manufacturers, point location requirements of different integrators are different, the situation that a special point table needs to be changed to meet engineering requirements due to requirements of a first party often occurs, so that programs and the point table are not universal, each project needs to be developed specifically, periods and manpower are wasted, the requirements of the first party cannot be responded timely, and adverse effects are caused on later maintenance.
Disclosure of Invention
Based on this, it is necessary to provide a method, an apparatus, a controller and a storage medium for configuring a point table, which can meet the requirements of fast development, real-time communication and convenient maintenance, aiming at the technical problems of long development period, time and labor consumption and difficult maintenance caused by the non-intercommunication of protocol point tables.
A method of point table configuration, the method comprising:
acquiring a user-defined point table;
analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table;
establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location;
and adjusting the standard point table according to the mapping relation and the first parameter information and the first sequence number information of each first point location to obtain a target point table.
An apparatus for point table configuration, the apparatus comprising:
the acquisition module is used for acquiring a user-defined point table;
the analysis module is used for analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table;
the mapping module is used for establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location;
and the adjusting module is used for adjusting the standard point table according to the mapping relation, the first parameter information and the first sequence number information of each first point location to obtain a target point table.
A controller comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a user-defined point table;
analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table;
establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location;
and adjusting the standard point table according to the mapping relation and the first parameter information and the first sequence number information of each first point location to obtain a target point table.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a user-defined point table;
analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table;
establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location;
and adjusting the standard point table according to the mapping relation and the first parameter information and the first sequence number information of each first point location to obtain a target point table.
The point table configuration method, the point table configuration device, the controller and the storage medium acquire the user-defined point table; analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table; establishing a mapping relation between a user-defined point table and a preset standard point table according to the identification information of each first point location; and adjusting the standard point table according to the mapping relation, the first parameter information and the first sequence number information of each first point location to obtain a target point table. Therefore, the method can support an integrator to formulate a custom point table according to the actual requirements of the project, and an air conditioner manufacturer dynamically adjusts the preset standard point table according to the custom point table, thereby realizing the custom dynamic configuration of the protocol point table, improving the communication efficiency and the real-time performance, shortening the development period of the integrator and the air conditioner manufacturer, rapidly responding to the requirements and reducing the maintenance cost.
Drawings
FIG. 1 is a flow diagram illustrating a method for point table configuration in one embodiment;
FIG. 2 is a flowchart illustrating a point table configuration method according to an embodiment;
fig. 3 is a block diagram showing a configuration of a dot table configuring apparatus according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The point table configuration method provided by the application can be applied to lower computer equipment of a communication protocol (such as Modbus) of a supplier (air conditioner manufacturer), such as an air conditioner centralized controller, a BMS gateway and the like.
In one embodiment, as shown in fig. 1, a dot table configuration method is provided, which is described by taking the method as an example of being applied to an air conditioner centralized controller, and includes the following steps S102 to S108.
S102, obtaining a custom point table.
The custom point table is provided by an integrator needing air conditioning, and can be a point table which is set by the integrator according to the requirements (such as quantity, definition, position and the like) of specific engineering projects and is set according to a communication protocol format, generally in a csv or xml format.
S104, analyzing the user-defined point table to obtain the identification information, the first parameter information and the first sequence number information of each first point location in the user-defined point table.
The first point bit refers to a point bit included in the custom point table, and the point bit can be understood as a protocol bit and represents a minimum unit for program control, such as an internal switch, a temperature, a mode, and the like. The identification information is used to distinguish different point locations, and one point location corresponds to one unique identification information, and specifically, the identification information may be represented by a point location name or a point location id, such as the switch 1, the switch 2, and the like. The first parameter information refers to parameter information of the first point in the custom point table, and the parameter information includes a parameter name and a corresponding parameter value thereof, for example, for a switch, the parameter name includes on and off, and the corresponding parameter value may be 1 and 0, respectively. The first sequence number information is sequence number information of the first point location in the self-defined point table and is used for representing the self-defined sequence of the first point location response point name.
And analyzing the self-defined point table, specifically, analyzing the content of the self-defined point table by taking the point location name as an identifier to obtain the serial number, the point location name, each parameter name and the corresponding parameter value of each first point location.
And S106, establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location.
The standard point table is a point table preset by an air conditioner manufacturer and contains complete point location information supported by the air conditioner centralized controller. The program preset by the air conditioner centralized controller establishes a data structure and an operation rule according to the standard point table and establishes communication interaction with an actual air conditioning unit so as to realize a communication protocol and air conditioner control, thereby meeting the aims of quick program configuration and unit monitoring function data interaction when supporting a user-defined point table.
The first point location in the user-defined point table is in the standard point table, and the first point location in the user-defined point table and the first point location in the standard point table have the same identification information, so that the user-defined point table and the standard point table can be associated and mapped by using the identification information of the first point location as a key value, and a mapping relation is established. By establishing the mapping relation, on one hand, a new point table can be rapidly configured, on the other hand, related data can be obtained according to the content of the point table and the air conditioning unit can be controlled, and after the mapping relation is established, the program variable and the internal memory are associated, so that the final function of customizing the point table is realized.
And S108, adjusting the standard point table according to the mapping relation, the first parameter information and the first sequence number information of each first point location, and obtaining a target point table.
The target point table is a point table finally used for the communication protocol, after the target point table is obtained, the program of the air conditioner centralized controller is dynamically adjusted according to the target point table to adapt to the target point table, and the upper computer roll call response service and the communication protocol adaptive to the actual function are provided according to the target point table.
In the point table configuration method, a user-defined point table is obtained; analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table; establishing a mapping relation between a user-defined point table and a preset standard point table according to the identification information of each first point location; and adjusting the standard point table according to the mapping relation, the first parameter information and the first sequence number information of each first point location to obtain a target point table. Therefore, the method can support an integrator to formulate a custom point table according to the actual requirements of the project, and an air conditioner manufacturer dynamically adjusts the preset standard point table according to the custom point table, thereby realizing the custom dynamic configuration of the protocol point table, improving the communication efficiency and the real-time performance, shortening the development period of the integrator and the air conditioner manufacturer, rapidly responding to the requirements and reducing the maintenance cost.
In one embodiment, the standard point table includes identification information, standard parameter information, and standard sequence number information of each first point location; the mapping relation comprises a parameter mapping relation and a serial number mapping relation; the step of establishing a mapping relationship between the user-defined point table and the preset standard point table according to the identification information of each first point location may specifically include: mapping first parameter information of a first point location corresponding to the same identification information with standard parameter information to obtain a parameter mapping relation; and mapping the first sequence number information of the first point position corresponding to the same identification information with the standard sequence number information to obtain a sequence number mapping relation.
The standard parameter information refers to parameter information of the first point location in the standard point table, and the parameter information includes a parameter name and a parameter value corresponding to the parameter name. The standard sequence number information is sequence number information of the first point in the standard point table, and is used for indicating a standard sequence of the first point response point name.
The first point location corresponding to the same identification information, that is, the same point location, may be understood that the first parameter information of the same point location in the custom point table may be different from the standard parameter information in the standard point table. For example, for a switch, the parameter name thereof includes on and off, in the standard point table, the corresponding parameter values may be 1 and 0, respectively, and in the custom point table, the corresponding parameter values may be 0 and 1, respectively, so that the first parameter information and the standard parameter information are different for the same point. And mapping the first parameter information of the same point position with the standard parameter information to obtain a parameter mapping relation.
The first sequence number information of the same point in the self-defined point table and the standard sequence number information in the standard point table may be different. For example, for switch 1, in the standard point table, its serial number may be 1, and in the custom point table, its serial number may be 3, so that the first serial number information and the standard serial number information are different for the same point. And mapping the first sequence number information of the same point position with the standard sequence number information to obtain a sequence number mapping relation.
In an embodiment, the step of adjusting the standard point table according to the mapping relationship and the first parameter information and the first sequence number information of each first point location to obtain the target point table may specifically include: according to the parameter mapping relation, adjusting the standard parameter information of each first point location in the standard point table to be corresponding first parameter information; according to the serial number mapping relation, the standard serial number information of each first point location in the standard point table is adjusted to be corresponding first serial number information; and obtaining a target point table based on the adjusted standard point table.
For the same point location, if the first parameter information in the custom point table is different from the standard parameter information in the standard point table, the standard parameter information in the standard point table is adjusted to the first parameter information in the custom point table, that is, the first parameter information is used to replace the standard parameter information. If the first serial number information in the self-defined point table is different from the standard serial number information in the standard point table, the standard serial number information in the standard point table is adjusted to be the first serial number information in the self-defined point table, namely the first serial number information is used for replacing the standard serial number information.
It will be appreciated that the standard point table may contain points that are not present in the custom point table. In an embodiment, when the standard point table further includes data of the second point location, the step of obtaining the target point table based on the adjusted standard point table may specifically include: and deleting the data of the second point location in the adjusted standard point table to obtain a target point table.
Wherein the second point location represents a point location that is not present in the custom point table. The data of the second point location comprises the identification information, the standard parameter information and the standard sequence number information of the second point location, and the data of the second point location is deleted from the standard point table, so that the data redundancy problem of the standard point table can be solved, the time consumption of unneeded roll calling is avoided, the response time is shortened, and the communication efficiency is improved.
In an embodiment, after deleting the data of the second point location in the adjusted standard point table and obtaining the target point table, the method may further include: and sorting the data in the target point table according to the first sequence number information of each first point location.
According to the first sequence number information of each first point location, data in the target point table are sequenced, the point locations are sequenced according to the self-defined requirements, the problem of point location discontinuity can be solved, time consumed by unneeded roll calling is avoided, response time is shortened, and communication efficiency is improved.
In one embodiment, after the goal point table is obtained, the functions supported for the standard point table are turned off. It should be noted that, when there is no custom point table, the program defaults to parsing and processing the point location of the complete point table. When the target point table is generated, the program automatically marks the data in the memory, and the point positions existing in the target point table are analyzed and processed, so that the data redundancy and the response time are reduced.
In one embodiment, the meta-object in the standard point table is a standard data unit, and the data structure of the standard data unit includes: sequence number, name and parameter list, the parameter list includes: parameter names and parameter values.
The standard point table may be formulated using a predetermined data structure or format. The meta-object represents the smallest unit of program control, i.e., a point location. In one embodiment, the data structure definition of each meta-object is as shown in Table 1 below:
TABLE 1
Figure BDA0003010049130000071
In one embodiment, the standard point table uses a device object as a standard data unit, the device object includes a plurality of meta-objects, and a data structure of the standard data unit includes: sequence number, name and parameter list, the parameter list includes: parameter names and parameter values.
The device objects can be internal devices, external devices or complete machine systems, each device can contain different meta-objects and sorting information, and when all meta-objects of the previous device are sorted, the meta-objects of the next device are sorted. In one embodiment, the data structure definition for each device object is as shown in Table 2 below:
TABLE 2
Figure BDA0003010049130000072
Figure BDA0003010049130000081
By defining the data structure, the analysis speed and the reading speed of the point table are improved, so that the response time is further shortened, and the communication efficiency is improved.
In one embodiment, as shown in fig. 2, a dot table configuration method is provided, which includes the following steps S202 to S212.
S202, obtaining a custom point table.
S204, analyzing the user-defined point table to obtain the identification information, the first parameter information and the first sequence number information of each first point location in the user-defined point table.
S206, according to the identification information of each first point location, establishing a mapping relation between the user-defined point table and a preset standard point table, wherein the standard point table comprises the identification information, the standard parameter information and the standard serial number information of each first point location.
S208, according to the mapping relation, the standard parameter information of each first point location in the standard point table is adjusted to be corresponding first parameter information, and the standard sequence number information of each first point location in the standard point table is adjusted to be corresponding first sequence number information.
And S210, when the standard point table further comprises data of the second point location, deleting the adjusted data of the second point location in the standard point table to obtain a target point table.
S212, sorting the data in the target point table according to the first sequence number information of each first point location.
For the detailed description of step S202 to step S212, reference may be made to the foregoing embodiments, which are not repeated herein. In the embodiment, an integrator can be supported to formulate a custom point table according to the actual requirements of a project, an air conditioner manufacturer dynamically adjusts a preset standard point table according to the custom point table, custom dynamic configuration of a protocol point table is realized, communication efficiency and real-time performance are improved, the development period of the integrator and the air conditioner manufacturer is shortened, the requirements are quickly responded, maintenance cost is reduced, in addition, the problems of data redundancy and point discontinuity can be solved, response time is further reduced, and communication efficiency is improved.
It should be understood that, although the steps in the flowcharts related to the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in each flowchart related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 3, there is provided a dot table configuring apparatus 300, including: an obtaining module 310, a parsing module 320, a mapping module 330, and an adjusting module 340, wherein:
an obtaining module 310, configured to obtain the custom point table.
The parsing module 320 is configured to parse the custom point table to obtain identification information, first parameter information, and first sequence number information of each first point location in the custom point table.
The mapping module 330 is configured to establish a mapping relationship between the user-defined point table and the preset standard point table according to the identification information of each first point location.
The adjusting module 340 is configured to adjust the standard point table according to the mapping relationship, the first parameter information and the first sequence number information of each first point location, and obtain the target point table.
In one embodiment, the standard point table includes identification information, standard parameter information, and standard serial number information of each first point location; the mapping relation comprises a parameter mapping relation and a serial number mapping relation; when the mapping module 330 establishes a mapping relationship between the user-defined point table and the preset standard point table according to the identification information of each first point location, the mapping module is specifically configured to: mapping first parameter information of a first point location corresponding to the same identification information with standard parameter information to obtain a parameter mapping relation; and mapping the first sequence number information of the first point position corresponding to the same identification information with the standard sequence number information to obtain a sequence number mapping relation.
In an embodiment, the adjusting module 340 adjusts the standard point table according to the mapping relationship, and the first parameter information and the first sequence number information of each first point location, and when obtaining the target point table, is specifically configured to: according to the parameter mapping relation, adjusting the standard parameter information of each first point location in the standard point table to be corresponding first parameter information; according to the serial number mapping relation, the standard serial number information of each first point location in the standard point table is adjusted to be corresponding first serial number information; and obtaining a target point table based on the adjusted standard point table.
In an embodiment, when obtaining the target point table based on the adjusted standard point table, the adjusting module 340 is specifically configured to: and when the standard point table further comprises the data of the second point location, deleting the adjusted data of the second point location in the standard point table to obtain the target point table.
In one embodiment, the adjustment module 340 is further configured to: and after the data of the second point location in the adjusted standard point table is deleted and the target point table is obtained, sorting the data in the target point table according to the first sequence number information of each first point location.
In one embodiment, the meta-object in the standard point table is a standard data unit, and the data structure of the standard data unit includes: sequence number, name and parameter list, the parameter list includes: parameter names and parameter values.
In one embodiment, the standard point table uses a device object as a standard data unit, the device object includes a plurality of meta-objects, and a data structure of the standard data unit includes: a sequence number, a name and a parameter list, wherein the parameter list comprises: parameter names and parameter values.
For the specific definition of the dot table configuring device, reference may be made to the definition of the dot table configuring method above, and details are not described here. The respective modules in the dot table configuring apparatus described above may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of 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 controller is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It should be understood that the terms "first", "second", etc. in the above-described embodiments are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. For the description of numerical ranges, the term "plurality" is understood to be equal to or greater than two.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for point table configuration, the method comprising:
acquiring a user-defined point table;
analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table;
establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location; the mapping relation comprises a parameter mapping relation and a sequence number mapping relation;
adjusting the standard point table according to the mapping relation and the first parameter information and the first sequence number information of each first point location to obtain a target point table; the first sequence number information is sequence number information of the first point in the user-defined point table and is used for representing a user-defined sequence of the first point response point name;
the standard point table comprises identification information, standard parameter information and standard serial number information of each first point location; according to the identification information of each first point location, establishing a mapping relation between the user-defined point table and a preset standard point table, including:
mapping first parameter information of a first point location corresponding to the same identification information with standard parameter information to obtain a parameter mapping relation;
and mapping the first serial number information of the first point position corresponding to the same identification information with the standard serial number information to obtain a serial number mapping relation.
2. The method of claim 1,
the standard parameter information is the parameter information of the first point location in the standard point table, and the parameter information comprises a parameter name and a corresponding parameter value;
the standard sequence number information is the sequence number information of the first point location in the standard point table, and is used for representing the standard sequence of the first point location response point name.
3. The method according to claim 2, wherein adjusting the standard point table according to the mapping relationship and the first parameter information and the first sequence number information of each first point location to obtain a target point table comprises:
according to the parameter mapping relation, adjusting the standard parameter information of each first point location in the standard point table to be corresponding first parameter information;
according to the serial number mapping relation, adjusting the standard serial number information of each first point location in the standard point table into corresponding first serial number information;
and obtaining a target point table based on the adjusted standard point table.
4. The method of claim 3, wherein when the standard point table further includes data of the second point location, obtaining the target point table based on the adjusted standard point table includes:
and deleting the data of the second point location in the adjusted standard point table to obtain a target point table.
5. The method of claim 4, after deleting the data of the second point location in the adjusted standard point table and obtaining the target point table, further comprising:
and sorting the data in the target point table according to the first sequence number information of each first point location.
6. The method according to any one of claims 1 to 5, wherein the meta-object is a standard data unit in the standard point table, and a data structure of the standard data unit comprises: a sequence number, a name, and a parameter list, the parameter list comprising: parameter names and parameter values.
7. The method according to any one of claims 1 to 5, wherein the standard point table has a device object as a standard data unit, the device object comprises a plurality of meta-objects, and a data structure of the standard data unit comprises: a sequence number, a name, and a parameter list, the parameter list comprising: parameter names and parameter values.
8. An apparatus for point table configuration, the apparatus comprising:
the acquisition module is used for acquiring a user-defined point table;
the analysis module is used for analyzing the user-defined point table to obtain identification information, first parameter information and first sequence number information of each first point location in the user-defined point table;
the mapping module is used for establishing a mapping relation between the user-defined point table and a preset standard point table according to the identification information of each first point location; the mapping relation comprises a parameter mapping relation and a sequence number mapping relation;
the adjusting module is used for adjusting the standard point table according to the mapping relation, the first parameter information and the first sequence number information of each first point location to obtain a target point table; the first sequence number information is sequence number information of the first point in the user-defined point table and is used for representing a user-defined sequence of the first point response point name;
the standard point table comprises identification information, standard parameter information and standard serial number information of each first point location; the mapping module is used for mapping the first parameter information of the first point location corresponding to the same identification information with the standard parameter information to obtain a parameter mapping relation; and mapping the first sequence number information of the first point position corresponding to the same identification information with the standard sequence number information to obtain a sequence number mapping relation.
9. A controller comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110373070.1A 2021-04-07 2021-04-07 Point table configuration method, device, controller and storage medium Active CN113132158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110373070.1A CN113132158B (en) 2021-04-07 2021-04-07 Point table configuration method, device, controller and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110373070.1A CN113132158B (en) 2021-04-07 2021-04-07 Point table configuration method, device, controller and storage medium

Publications (2)

Publication Number Publication Date
CN113132158A CN113132158A (en) 2021-07-16
CN113132158B true CN113132158B (en) 2022-05-31

Family

ID=76775371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110373070.1A Active CN113132158B (en) 2021-04-07 2021-04-07 Point table configuration method, device, controller and storage medium

Country Status (1)

Country Link
CN (1) CN113132158B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070732B (en) * 2021-11-17 2024-01-05 远景智能国际私人投资有限公司 Data processing method, device, equipment and medium based on Internet of things
CN116566049A (en) * 2023-05-04 2023-08-08 东方电子股份有限公司 Plug-and-play method based on distributed station terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium
CN110502504A (en) * 2019-08-27 2019-11-26 云汉芯城(上海)互联网科技股份有限公司 Product unit library constructs system, method, apparatus and computer readable storage medium
CN112104664A (en) * 2020-11-02 2020-12-18 长沙树根互联技术有限公司 Protocol conversion method, device and equipment for data of Internet of things
WO2021003975A1 (en) * 2019-07-11 2021-01-14 深圳壹账通智能科技有限公司 Gateway interface test method, terminal device, storage medium and apparatus
CN112598023A (en) * 2020-12-02 2021-04-02 国网青海省电力公司海东供电公司 Intelligent identification and automatic mapping method and device for power grid monitoring alarm information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408188B (en) * 2014-12-15 2018-07-13 北京国双科技有限公司 Data processing method and device
CN105354220B (en) * 2015-09-29 2018-10-23 国网福建省电力有限公司 A kind of application process of intelligent substation IED equipment user's custom profiles

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium
WO2021003975A1 (en) * 2019-07-11 2021-01-14 深圳壹账通智能科技有限公司 Gateway interface test method, terminal device, storage medium and apparatus
CN110502504A (en) * 2019-08-27 2019-11-26 云汉芯城(上海)互联网科技股份有限公司 Product unit library constructs system, method, apparatus and computer readable storage medium
CN112104664A (en) * 2020-11-02 2020-12-18 长沙树根互联技术有限公司 Protocol conversion method, device and equipment for data of Internet of things
CN112598023A (en) * 2020-12-02 2021-04-02 国网青海省电力公司海东供电公司 Intelligent identification and automatic mapping method and device for power grid monitoring alarm information

Also Published As

Publication number Publication date
CN113132158A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113132158B (en) Point table configuration method, device, controller and storage medium
CN112577161B (en) Air conditioner energy consumption model training method and air conditioner system control method
US6141595A (en) Common object architecture supporting application-centric building automation systems
US8055743B2 (en) System and method for configuring a network after replacing a node
US20140284390A1 (en) Networked monitor for heating ventilation and air conditioning systems
CN111818132A (en) Control method and device of Internet of things equipment, computer equipment and storage medium
US11835249B2 (en) Indicator network for managing ventilation, heating and air conditioning components of buildings
CN109542031B (en) Equipment configuration method in remote operation and maintenance system
CN111880490A (en) Environment adjusting method and device, electronic equipment and storage medium
CN110515307B (en) Method for controlling intelligent household equipment and network equipment
CN112888268A (en) Energy-saving control method, device and equipment for data center machine room and storage medium
CA3104327A1 (en) Thermostat scheduling using user devices and machine learning
US9170579B1 (en) System, method and computer program product for monitoring and controlling industrial energy equipment
CN110867956A (en) Topology automatic identification system and method based on intelligent platform area
CA3104366A1 (en) Error correction for predictive schedules for a thermostat
CN110460473B (en) Communication configuration method and device of configuration software and computer readable storage medium
CN116839173A (en) Energy consumption optimization method and device, storage medium and electronic equipment
CN111478837A (en) Data communication method, air conditioner, air conditioning system and storage medium
CN103217956B (en) Industrial control system as well as control method and control device thereof
CN112764874B (en) Virtual machine server information acquisition method based on CMDB configuration management system
CN108366003B (en) Home service framework creating method, calling method, device, server and medium
CN115314518A (en) Internet of things management method and system and computer readable storage medium
CN101426220A (en) Method, apparatus and system for base station cutover
CN111741085B (en) Processing method and device of intelligent equipment, storage medium and electronic device
CN112747413B (en) Air conditioning system load prediction method and device

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