CN117518927A - Method and device for accessing equipment to automatic control system, storage medium and electronic equipment - Google Patents

Method and device for accessing equipment to automatic control system, storage medium and electronic equipment Download PDF

Info

Publication number
CN117518927A
CN117518927A CN202311570811.0A CN202311570811A CN117518927A CN 117518927 A CN117518927 A CN 117518927A CN 202311570811 A CN202311570811 A CN 202311570811A CN 117518927 A CN117518927 A CN 117518927A
Authority
CN
China
Prior art keywords
hardware
hardware interface
protocol
equipment
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311570811.0A
Other languages
Chinese (zh)
Inventor
牟桂贤
李宏波
申伟刚
康宇涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202311570811.0A priority Critical patent/CN117518927A/en
Publication of CN117518927A publication Critical patent/CN117518927A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a method and a device for accessing equipment to an automatic control system, a storage medium and electronic equipment. The method comprises the following steps: generating a hardware simulation model according to the first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, wherein the first hardware interface resource is a hardware interface resource of a controller chip of the building automatic control system; under the condition that no conflict exists between each hardware interface in the second hardware interface resources, generating a peripheral circuit schematic diagram according to the second hardware interface resources, so that a user builds a hardware base platform according to the peripheral circuit schematic diagram; generating an image file according to the second hardware interface resource; and burning the image file to the controller chip so that the controller chip is matched with the hardware base platform. The method and the device solve the technical problems that the hardware interface form and the interface quantity of the controller of the automatic control system are fixed, and complex and changeable equipment cannot be adapted.

Description

Method and device for accessing equipment to automatic control system, storage medium and electronic equipment
Technical Field
The present disclosure relates to building control technology, and in particular, to a method and apparatus for accessing a device to an automatic control system, a storage medium, and an electronic device.
Background
Building autonomous system is the building operation management core of the infrastructure of the smart city, and the subsystem such as heating ventilation, illumination, elevator etc. is managed in a centralized way in the building, along with the improvement of intelligent demand, the energy saving and emission reduction of building are imperative, and building autonomous system is the key means for realizing carbon neutralization in the building operation stage. At present, the building automatic control industry still uses a three-layer centralized architecture of an equipment layer, an integrated layer and a management layer transplanted from industrial control, and the three-layer centralized architecture can not perfectly adapt to the newly-increased demand in the digital age, and mainly has the following problems:
1. more and more terminal devices need to be connected into a building automatic control system for monitoring, a building automatic control system controller needs to be provided with a plurality of communication media to meet the connection of the devices, for example, an RS485 bus is commonly used for heating and ventilation system devices, and one RS485 bus can be connected into 255 devices at most, and the controller needs a plurality of RS485 interfaces to support the connection of the heating and ventilation devices;
2. the parameter measurement and control points of the terminal equipment need to carry out global communication naming and define physical properties and connection relations, when the number of the parameter measurement and control points is too large, the workload of on-site configuration point allocation is large, the matching relation of the parameter measurement and control points needs to be checked one by one after the electromechanical equipment of the building is in place, the construction period available for engineering is short, the working difficulty is high, and when the later stage of the building needs to be updated and maintained, equipment is increased or decreased and logic functions are adjusted, the building control system is difficult to change flexibly;
3. The automatic control platform is closed and has poor universality, the control software is designed for individual buildings, and in the process of upgrading, modifying and expanding the system, new equipment and a new strategy are difficult to realize simply and flexibly on the existing automatic control platform;
4. the requirements on the cross-professional cross-domain capability are high, the universality of the existing automatic control system and platform is poor, a developer is required to have higher IT professional knowledge, however, various control strategies and logics operated in the building automatic control system, such as a control strategy of a heating ventilation system, a control strategy of a lighting system and a control strategy of an elevator system are formulated by engineers in various fields, so that the system engineers are required to provide control logic, the IT engineers are required to realize control software development, and the site cannot be updated rapidly according to actual working conditions to realize optimal control logic.
Disclosure of Invention
The application provides a method, a device, a storage medium and electronic equipment for accessing equipment into an automatic control system, and aims to solve the technical problem that the hardware interface form and the interface quantity of a controller of the automatic control system are fixed and cannot be adapted to complex and changeable equipment.
In a first aspect, the present application provides a method for accessing an autonomous system by a device, including: generating a hardware simulation model according to a first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, wherein the first hardware interface resource is a hardware interface resource of a controller chip of a building automatic control system, and the second hardware interface resource is a hardware interface resource of a terminal device to be accessed into the building automatic control system; generating a peripheral circuit schematic diagram according to the second hardware interface resources under the condition that no conflict exists between each hardware interface in the second hardware interface resources, so that the user builds a hardware base platform according to the peripheral circuit schematic diagram; generating an image file according to the second hardware interface resource; and burning the image file to the controller chip so that the controller chip is matched with the hardware base platform.
In a second aspect, the present application provides an apparatus for accessing an autonomous system by a device, including: the system comprises a first generation module, a second generation module and a control module, wherein the first generation module is used for generating a hardware simulation model according to first hardware interface resources so that a user can select second hardware interface resources according to the hardware simulation model, the first hardware interface resources are hardware interface resources of a controller chip of a building automatic control system, and the second hardware interface resources are hardware interface resources of terminal equipment to be connected into the building automatic control system; the second generating module is used for generating a peripheral circuit schematic diagram according to the second hardware interface resources under the condition that no conflict exists between each hardware interface in the second hardware interface resources, so that the user builds a hardware base platform according to the peripheral circuit schematic diagram; the third generation module is used for generating an image file according to the second hardware interface resource; and the burning module is used for burning the image file to the controller chip so as to enable the controller chip to be suitable for the hardware base platform.
As an alternative example, the above apparatus further includes: and the output module is used for generating a hardware simulation model according to the first hardware interface resources so that a user can select a second hardware interface resource according to the hardware simulation model and then outputting an error reporting prompt under the condition that the conflict exists between the first hardware interface and the second hardware interface in the second hardware interface resource.
As an optional example, the third generating module includes: the first generating unit is used for generating a device tree configuration file according to the second hardware interface resource; the determining unit is used for determining a hardware driving code according to the equipment tree configuration file; and the first compiling unit is used for compiling the hardware driving code to obtain the image file.
As an alternative example, the above apparatus further includes: the first obtaining module is configured to obtain a target protocol component after the image file is burned into the controller chip so that the controller chip is adapted to the hardware base platform, where the target protocol component is a protocol component corresponding to a target interface of the second hardware interface resource, where the target protocol component is selected by a user from a plurality of preset protocol components; the binding module is used for binding the target protocol component with the target interface; the configuration module is used for configuring protocol contents corresponding to the target protocol for the terminal equipment; the second acquisition module is used for acquiring a configuration logic plug-in, wherein the configuration logic plug-in is written by a user according to the protocol content; and the monitoring module is used for carrying out real-time monitoring on the data of the terminal equipment through the configuration logic plug-in.
As an alternative example, the configuration module includes: a first obtaining unit, configured to obtain protocol specification content of the terminal device; the configuration unit is used for configuring the protocol content for the terminal equipment according to the protocol specification content; and the storage unit is used for storing the protocol specification content and the equipment parameters of the terminal equipment into an equipment template.
As an alternative example, the configuration module includes: a second obtaining unit, configured to obtain an equipment template, where the equipment template includes protocol content of each piece of equipment and equipment parameters thereof; and the second generation unit is used for generating a point location unique identifier according to the equipment template and the data type of the equipment parameters of the terminal equipment.
As an alternative example, the monitoring module includes: the disassembling unit is used for disassembling the configuration logic plug-in into a plurality of graphic block logics; the binding unit is used for logically binding the corresponding point location unique identifier for each graphic block; the second compiling unit is used for loading all the graphic block logics into the configuration logic template through compiling; and the monitoring unit is used for carrying out real-time monitoring on the data of the terminal equipment according to the configuration logic template.
In a third aspect, the present application provides a storage medium having a computer program stored therein, wherein the computer program when executed by a processor performs a method of accessing an autonomous system by the above-described device.
In a fourth aspect, the present application also provides an electronic device comprising a memory, in which a computer program is stored, and a processor arranged to execute the method of accessing an autonomous system by the device described above via the computer program.
In the embodiment of the application, a hardware simulation model is generated according to a first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, wherein the first hardware interface resource is a hardware interface resource of a controller chip of a building automatic control system, and the second hardware interface resource is a hardware interface resource of a terminal device to be accessed into the building automatic control system; generating a peripheral circuit schematic diagram according to the second hardware interface resources under the condition that no conflict exists between each hardware interface in the second hardware interface resources, so that the user builds a hardware base platform according to the peripheral circuit schematic diagram; generating an image file according to the second hardware interface resource; the method for burning the image file to the controller chip so as to enable the controller chip to adapt to the hardware base platform is characterized in that in the method, a hardware simulation model is created according to hardware interface resources of the controller chip of the building automatic control system, a user can select required hardware interface resources according to the hardware simulation model, a peripheral circuit schematic diagram and an image file of a corresponding operating system are generated according to the required hardware interface resources, the user can quickly build the hardware base platform according to the peripheral circuit schematic diagram, finally the image file is burned to the controller chip so as to adapt to the hardware base platform, and therefore the purpose that the user can quickly build a hardware base carrying an operating system of the building automatic control system and meet the physical access of field terminal equipment is achieved, and the technical problems that the controller hardware interface form and the interface quantity of the automatic control system are fixed and cannot adapt to complex and variable equipment are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a flow chart of a method of an alternative device accessing an autonomous system according to an embodiment of the present application;
FIG. 2 is a generic system architecture diagram of an alternative method of device access to an autonomous system according to embodiments of the present application;
fig. 3 is a controller access terminal device topology diagram of an alternative method of device access to an autonomous system according to an embodiment of the present application;
FIG. 4 is a diagram of an example controller chip pin definition for an alternative method of device access to an autonomous system according to an embodiment of the present application;
FIG. 5 is a flowchart of generating an operating system image file from configuration software configuration of an alternative method of accessing an autonomous system by a device according to an embodiment of the present application;
fig. 6 is a protocol architecture diagram of an alternative method of device access to an autonomous system according to an embodiment of the present application;
FIG. 7 is a protocol component configuration flow diagram of an alternative method of device access to an autonomous system according to an embodiment of the present application;
FIG. 8 is a graphical programming component connection schematic diagram of an alternative method of device access to an autonomous system according to an embodiment of the present application;
FIG. 9 is a system architecture diagram of an alternative method of device access to an autonomous system according to embodiments of the present application;
fig. 10 is a schematic structural view of an apparatus for an optional device to access an autonomous system according to an embodiment of the present application;
fig. 11 is a schematic diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
The following disclosure provides many different embodiments, or examples, for implementing different structures of the application. In order to simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
According to a first aspect of an embodiment of the present application, there is provided a method for accessing an autonomous system by a device, optionally, as shown in fig. 1, the method includes:
s102, generating a hardware simulation model according to the first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, wherein the first hardware interface resource is a hardware interface resource of a controller chip of the building automatic control system, and the second hardware interface resource is a hardware interface resource of terminal equipment to be accessed into the building automatic control system;
s104, under the condition that no conflict exists between each hardware interface in the second hardware interface resources, generating a peripheral circuit schematic diagram according to the second hardware interface resources, so that a user builds a hardware base platform according to the peripheral circuit schematic diagram;
S106, generating an image file according to the second hardware interface resource;
s108, burning the image file to the controller chip so that the controller chip is matched with the hardware base platform.
Optionally, the building automatic control industry still uses a three-layer centralized architecture of an equipment layer-an integrated layer-a management layer transplanted from industrial control at present, the form and the number of interfaces of hardware interfaces of a controller on the market are fixed, the complex and changeable requirements of the scene cannot be adapted, parameter measurement and control points are required to be configured for each terminal equipment in the engineering, and the parameter measurement and control points cannot be used through simple configuration, so in the embodiment, a distributed operating system is provided, the operating system can be applied to the building automatic control field, an open and easily-programmed control platform from the hardware interfaces to software applications is provided, a hardware base can be quickly built according to the field requirements, and the requirements of equipment hardware medium access in the engineering are met. The operating system meets the requirement adjustment and adaptation of the hardware interface, a user rapidly adjusts the hardware interface according to the field requirement, and the operating system is provided with a configuration software to bear the configuration and compiling functions of the operating system image. Specifically, the operating system is realized by software running on a hardware carrier, the resources of the hardware interfaces are limited by the controller chip, the configuration software generates a hardware virtual model according to the first hardware resources of the controller chip of the operating system, a user selects the hardware interfaces for configuring the required second hardware resources according to the hardware virtual model, after the configuration software judges that the second hardware resources are not abnormal, the configuration software generates a related peripheral circuit schematic diagram according to the selected hardware interfaces of the second hardware resources, the user directly and quickly builds a required hardware base platform according to the peripheral circuit schematic diagram, and meanwhile, the configuration software compiles and generates an operating system mirror image according to the selected hardware interfaces, and the mirror image file is directly burnt to the controller chip to be suitable for a new hardware base platform. According to the method, according to the actual application requirements of the field, a user can quickly customize a hardware base platform carrying the operating system to meet the physical access of field terminal equipment, rather than reading a chip manual first as in the traditional method, selecting peripheral hardware and then performing hardware drive development. The operating system can meet the resource customization of the hardware interface, so that different hardware base platforms and mirror image files can be quickly generated, and the actual use requirements of different hardware are met.
Optionally, in this embodiment, a hardware simulation model is created according to the hardware interface resources of the controller chip of the building automatic control system, so that a user can select required hardware interface resources according to the hardware simulation model, and generate a peripheral circuit schematic diagram and an image file of a corresponding operating system according to the required hardware interface resources, so that the user can quickly build a hardware base platform according to the peripheral circuit schematic diagram, finally burn the image file to the controller chip to adapt to the hardware base platform, thereby realizing that the user can quickly build a hardware base carrying an operating system of the building automatic control system, meeting the purpose of physical access of field terminal equipment, and further solving the technical problem that the controller hardware interface form and the interface quantity of the automatic control system are fixed, and cannot adapt to complex and changeable equipment.
As an alternative example, after generating the hardware simulation model according to the first hardware interface resource, so that the user selects the second hardware interface resource according to the hardware simulation model, the method further includes:
and outputting an error reporting prompt under the condition that the conflict exists between the first hardware interface and the second hardware interface in the second hardware interface resource.
Optionally, in this embodiment, after the user selects the hardware interface of the second hardware resource required for configuration according to the hardware virtual model, the configuration software detects whether there is a conflict according to the selected hardware interface of the second hardware resource, if the user needs to select 3 groups of RS485 ports and 1 group of CAN ports, but one group of RS485 ports in the controller chip conflicts with the CAN port resource, the configuration software performs error reporting prompt, and the user CAN only select to delete one group of RS485 ports or delete the CAN port.
As an alternative example, generating the image file from the second hardware interface resource includes:
generating a device tree configuration file according to the second hardware interface resource;
determining a hardware driving code according to the equipment tree configuration file;
compiling the hardware driving code to obtain an image file.
Optionally, in this embodiment, the configuration software generates a device tree configuration file according to the selected second hardware resource, where the device tree is an existing description of hardware on the operating system, describing the attribute/configuration of the hardware itself, such as the pin number used, whether to enable, etc., and in addition, the device tree specifies a compatibility string for the hardware, specifies that the hardware is compatible with a specific peripheral hardware driver, where the purpose is to select the code of the specific hardware driver that needs to be compiled during kernel compilation. After configuration is completed, the configuration software compiles the hardware driving code to generate an image file.
As an alternative example, after the image file is burned into the controller chip to make the controller chip adapt to the hardware base platform, the method further includes:
acquiring a target protocol assembly, wherein the target protocol assembly is a protocol assembly which is selected by a user from a plurality of preset protocol assemblies and corresponds to a target interface of a second hardware interface resource;
binding a target protocol component with a target interface;
configuring protocol content corresponding to a target protocol for terminal equipment;
acquiring a configuration logic plug-in, wherein the configuration logic plug-in is written by a user according to protocol content;
and carrying out real-time data monitoring on the terminal equipment through the configuration logic plug-in.
Optionally, after the hardware base platform is generated, the access of the hardware interface medium can be satisfied, but communication is performed with the terminal equipment, and transmission and analysis are still required for the format and the protocol content of the protocol. The hardware base platform is built only to complete data transmission of a physical layer and a data link layer, actual communication of terminal equipment still needs to meet communication formats and communication contents, various standard protocols are usually used for communication in the market, such as Modbus protocol, BACnet protocol and the like, modbus RTU equipment can only use Modbus RTU protocol for communication, but application layer contents used by terminal equipment of each manufacturer are inconsistent, and configuration software is needed to perform configuration point positions for specific equipment one by one in conventional engineering. Therefore, in this embodiment, the operating system presets the commonly used protocol components, such as the protocol Modbus, BACnet, OPC, so that the user can configure the application of the protocol components through the configuration software according to the actual application requirements, and the configuration software establishes a relationship with the interfaces according to the applied protocol components on a specific hardware interface, and locks the interfaces. The configuration software also needs to be configured with protocol content based on the protocol, then a user writes configuration logic plug-ins on the configuration software according to the protocol content, and finally the real-time monitoring of the data of the bound points is carried out according to the written configuration logic plug-ins.
Optionally, in this embodiment, the generated hardware base platform is matched with the loading protocol component, so that the corresponding protocol component service is driven and enabled as required, the communication access of the multi-terminal device is satisfied, and the device direct identification access and the data configuration-free transmission to the management platform are realized.
As an optional example, configuring the terminal device with the protocol content corresponding to the target protocol includes:
acquiring protocol specification content of terminal equipment;
configuring protocol contents for the terminal equipment according to the protocol specification contents;
and saving the protocol specification content and the equipment parameters of the terminal equipment to an equipment template.
Optionally, in this embodiment, when the configuration software configures the protocol content corresponding to the target protocol for the terminal device, a conventional configuration point location manner may be used to configure the configuration software according to the protocol specification content of the terminal device, where the configuration software configures the protocol content for the terminal device according to the protocol specification content, and then stores the protocol specification content and the device parameters of the terminal device in the device template.
As an optional example, configuring the terminal device with the protocol content corresponding to the target protocol includes:
acquiring an equipment template, wherein the equipment template comprises protocol content of each piece of equipment and equipment parameters thereof;
And generating a point location unique identifier according to the data types of the equipment template and the equipment parameters of the terminal equipment.
Optionally, in this embodiment, when the configuration software configures the protocol content corresponding to the target protocol for the terminal device, a device template may also be used, where the device template refers to the protocol content of a single terminal device and each terminal device parameter tag (for example, a protocol template name xxx of a certain terminal device, a device parameter: a switch-on identifier is 1), the content configured by a regular configuration point location mode is stored as a device template or preset in advance by the configuration software, the device template is directly used on site, and an operating system point location unique identifier is dynamically generated in batches according to the number of field devices and the data types of the device parameters, and when the operating system and the management platform perform data communication, the operating system reports the device template to the management platform first, and then can retrieve specific device parameters through the point location unique identifier, so that the management platform and the device of the operating system realize configuration-free access device.
As an optional example, the real-time monitoring of data of the terminal device by the configuration logic plug-in includes:
disassembling the configuration logic plug-in into a plurality of graphic block logics;
Logically binding corresponding point location unique identifiers for each graphic block;
all graphic block logics are loaded into a configuration logic template through compiling;
and carrying out real-time monitoring on the data of the terminal equipment according to the configuration logic template.
Optionally, in this embodiment, a user may write a configuration logic plug-in on configuration software according to the point location unique identifier, the configuration logic may be disassembled into a piece of graphics block logic according to actual requirements, bind the required point location unique identifier, and load the configuration logic plug-in into a configuration logic template through compiling after the configuration logic plug-in is written, and perform real-time monitoring on data of the bound point location according to the written configuration logic plug-in.
To overcome the defects of the prior art, the application provides a distributed operating system which can be applied to the building automatic control field, provides an open and easy-to-program control platform from a hardware interface to a software application, can quickly build a hardware base according to field requirements, and meets the requirements of equipment hardware medium access in engineering. And a loading protocol component is added on the configured hardware interface, so that the terminal equipment is free from configuration communication access, engineering upgrading and transformation are realized, and the problem that equipment of an integration layer and management layer needs to be reconfigured due to the change of the equipment layer is solved. The system can automatically convert and execute program codes through graphic configuration programming logic, the whole system software development can be realized through the logic programming process, and the application is ready to use. The operating system can be directly used on equipment layer terminal equipment, and integrated layer controller equipment can be omitted, so that the operating system has the advantage of rapid deployment, and can save a large amount of labor due to massive wiring, adaptation, debugging and the like caused by system layers of an original control system.
The building automatic control system is generally provided with a monitoring subsystem, such as a heating ventilation subsystem and a lighting subsystem, and the like, and is accessed to field devices through corresponding hardware interfaces by using controllers, on-site operators configure configuration points and graphic configuration writing strategies and logic means to access heterogeneous system devices to a management platform for management control and data display, a general system architecture is shown in fig. 2, the general controllers can be divided into three layers and are generally used as standard substances, the original hardware interfaces are designed and fixed, the controllers are accessed to a terminal device topological schematic diagram shown in fig. 3, but as the number of the terminal devices increases, the controllers fixed by the interfaces cannot completely adapt to engineering requirements due to the physical attribute limitation of the hardware interfaces of the terminal devices, so that the operating system needs to meet the hardware interface requirements, and users can quickly adjust the hardware interfaces according to the field requirements. The operating system is provided with a configuration software and bears the configuration and compiling functions of the operating system image, specifically, the operating system is a software implementation running on a hardware carrier, the resources of a hardware interface are limited by a controller chip, as shown in a pin definition example of the controller chip in fig. 4 only for illustration, different chips have different hardware interface resources, the example supports 3 groups of RS485 interfaces for practical use, multiple function definitions can exist on the same pin of the chip, in the example, an RS485-1 pin b1 can be used as an I/O function functionally, but the two functions have mutually exclusive conditions, if the pin is defined as an RS485-1 in the software, the I/O function cannot be configured, and other interfaces are the same. As shown in the flowchart of fig. 5, the configuration software configures and generates an operating system image file, the configuration software generates a hardware virtual model according to the hardware resources of the controller chip, the user selects a hardware interface required by configuration according to the model, and the configuration software selects 3 groups of RS485 ports and 1 group of CAN ports according to whether the selected hardware interfaces have conflict, if the user needs to select 3 groups of RS485 ports and 1 group of CAN ports, but one group of RS485 ports of the chip conflicts with the resources of the CAN ports, the configuration software carries out error reporting prompt, and the user CAN only select to delete one group of RS485 ports or delete the CAN ports. After the configuration software judges that no abnormality exists, the configuration software generates a device tree configuration file according to the selected hardware interface, wherein the device tree describes the attribute/configuration of the hardware on the operating system, such as the used pin number, whether to enable and the like, and specifies a compatibility character string for the hardware, and specifies that the hardware is compatible with a specific peripheral hardware driver, so that codes of the specific hardware driver are required to be compiled during kernel compiling. After configuration is completed, the configuration software generates a related peripheral circuit schematic diagram according to the selected hardware interface, a user directly and quickly builds a required hardware base platform according to the schematic diagram, and meanwhile, the configuration software compiles and generates an operating system image according to the selected hardware interface, and the image file is directly burnt to a controller chip to be suitable for a new hardware base platform.
According to the method, according to the actual application requirements of the field, a user can quickly customize a hardware base platform carrying the operating system to meet the physical access of field terminal equipment, rather than reading a chip manual first as in the traditional method, selecting peripheral hardware and then performing hardware drive development. However, the actual terminal equipment only satisfies the physical access that point location data cannot be acquired, as shown in a protocol structure diagram shown in fig. 6, the hardware interface only satisfies the medium access of the physical layer, and the equipment data can be actually acquired only by matching with protocol communication analysis.
The hardware base platform is built only to complete data transmission of a physical layer and a data link layer, communication of field terminal equipment still needs to meet communication formats and communication contents, communication is usually performed by using various standard protocols, such as Modbus protocol, BACnet protocol and the like in fig. 6, modbus RTU equipment can only use Modbus RTU protocol to perform communication, but application layer contents used by equipment of various factories are inconsistent, and configuration software is needed to perform configuration point positions for specific equipment one by one in conventional engineering. The system encapsulates protocol components according to different protocols, encapsulates protocol contents of specific equipment into protocol templates, dynamically enables related protocol components to be driven to construct corresponding field devices in a configuration loading mode, establishes a set of data sharing mechanism among the protocols, and meets the requirements of a modular expansion adaptation protocol and a real-time synchronous processing method of system data.
As shown in the protocol component configuration flowchart in fig. 7, the operating system presets the commonly used protocol components, such as Modbus, BACnet, OPC, in advance, so that the user can configure the protocol components to apply the enabling on the specific hardware interface through the configuration software according to the actual application requirements. The configuration software establishes a relation with the port according to the applied protocol component, and locks the port, such as: when the Modbus RTU protocol component is bound on the hardware interface of the RS485-1, the RS485-1 interface is locked on programming software due to the characteristic of hardware, and another protocol component cannot be configured. The configuration software needs to be communicated with the field terminal equipment, and also needs to be configured with protocol content based on the protocol, wherein two configuration means are provided, one configuration means is a conventional configuration point position mode, and the configuration means are configured into the software in an associated mode according to the protocol specification book content of the equipment; the other is to use a device template, wherein the device template refers to the protocol content of a single device and each device parameter label (such as the protocol template name xxx of a certain device, the device parameter: the on-off identifier is 1), the content configured in the previous mode is stored as the device template or preset in advance by configuration software, the unique identifier of the point location of the operating system is dynamically generated in batches according to the number of field devices by directly using the template on site according to the data types of the device parameters, and when the operating system and the management platform perform data communication, the operating system reports the device template to the management platform firstly, and then specific device parameters can be retrieved through the unique identifier of the point location, so that the device configuration-free access of the management platform and the operating system is realized. The user can write the configuration logic plug-ins on the configuration software according to the unique point position identifiers, as shown in the graphical programming assembly connection diagram shown in fig. 8, the configuration logic is disassembled into one graphic block logic according to the actual service requirements, the unique point position identifiers are bound, the configuration logic plug-ins are compiled and loaded into the configuration logic template after being written, and the real-time monitoring of the data of the bound point positions is carried out according to the written configuration logic plug-ins.
The operating system provided by the application can be directly applied to the terminal equipment, the terminal equipment is internally provided with all functions of the operating system, the terminal equipment has the functions of integrating other equipment, transmitting data to a management platform, running an application and the like, integrating layering equipment is omitted, a system architecture diagram shown in fig. 9 is omitted, the left side diagram is the use of a system architecture commonly used in the market, and the system is carried by a host equipment, so that a building control architecture commonly used in the market can be realized; the right side is a scene that the operating system is used in the equipment terminal, the equipment terminal can realize management integration of equipment around the terminal, integrated layer equipment can be omitted, data are directly transmitted to the management platform, the system level and the engineering wiring quantity are reduced, and engineering development and debugging cost is reduced.
The operating system can meet the resource customization of the hardware interface, rapidly generate mirror images aiming at different hardware bases, and meet the actual use requirements of different hardware. The protocol assembly template scheme is provided, the access terminal equipment can be free from being configured through the template, and the management platform directly free from configuring the display terminal equipment data, so that the operation step flow of the traditional integrated layer controller and the management platform needing to be configured is reduced. The operating system supports plug and play of the application, and through preset application adaptation, on-site engineering personnel can finish physical wiring of the equipment after downloading the application on site, so that logic can be automatically operated, and configuration and debugging operations are omitted.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
According to another aspect of the embodiments of the present application, there is further provided an apparatus for accessing an autonomous system by a device, as shown in fig. 10, including:
a first generating module 1002, configured to generate a hardware simulation model according to a first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, where the first hardware interface resource is a hardware interface resource of a controller chip of the building automatic control system, and the second hardware interface resource is a hardware interface resource of a terminal device to be connected to the building automatic control system;
the second generating module 1004 is configured to generate a peripheral circuit schematic according to the second hardware interface resources, so that a user builds a hardware base platform according to the peripheral circuit schematic, when it is detected that there is no conflict between each of the second hardware interfaces;
A third generating module 1006, configured to generate an image file according to the second hardware interface resource;
the burning module 1008 is configured to burn the image file to the controller chip, so that the controller chip is adapted to the hardware base platform.
Optionally, the building automatic control industry still uses a three-layer centralized architecture of an equipment layer-an integrated layer-a management layer transplanted from industrial control at present, the form and the number of interfaces of hardware interfaces of a controller on the market are fixed, the complex and changeable requirements of the scene cannot be adapted, parameter measurement and control points are required to be configured for each terminal equipment in the engineering, and the parameter measurement and control points cannot be used through simple configuration, so in the embodiment, a distributed operating system is provided, the operating system can be applied to the building automatic control field, an open and easily-programmed control platform from the hardware interfaces to software applications is provided, a hardware base can be quickly built according to the field requirements, and the requirements of equipment hardware medium access in the engineering are met. The operating system meets the requirement adjustment and adaptation of the hardware interface, a user rapidly adjusts the hardware interface according to the field requirement, and the operating system is provided with a configuration software to bear the configuration and compiling functions of the operating system image. Specifically, the operating system is realized by software running on a hardware carrier, the resources of the hardware interfaces are limited by the controller chip, the configuration software generates a hardware virtual model according to the first hardware resources of the controller chip of the operating system, a user selects the hardware interfaces for configuring the required second hardware resources according to the hardware virtual model, after the configuration software judges that the second hardware resources are not abnormal, the configuration software generates a related peripheral circuit schematic diagram according to the selected hardware interfaces of the second hardware resources, the user directly and quickly builds a required hardware base platform according to the peripheral circuit schematic diagram, and meanwhile, the configuration software compiles and generates an operating system mirror image according to the selected hardware interfaces, and the mirror image file is directly burnt to the controller chip to be suitable for a new hardware base platform. According to the method, according to the actual application requirements of the field, a user can quickly customize a hardware base platform carrying the operating system to meet the physical access of field terminal equipment, rather than reading a chip manual first as in the traditional method, selecting peripheral hardware and then performing hardware drive development. The operating system can meet the resource customization of the hardware interface, so that different hardware base platforms and mirror image files can be quickly generated, and the actual use requirements of different hardware are met.
Optionally, in this embodiment, a hardware simulation model is created according to the hardware interface resources of the controller chip of the building automatic control system, so that a user can select required hardware interface resources according to the hardware simulation model, and generate a peripheral circuit schematic diagram and an image file of a corresponding operating system according to the required hardware interface resources, so that the user can quickly build a hardware base platform according to the peripheral circuit schematic diagram, finally burn the image file to the controller chip to adapt to the hardware base platform, thereby realizing that the user can quickly build a hardware base carrying an operating system of the building automatic control system, meeting the purpose of physical access of field terminal equipment, and further solving the technical problem that the controller hardware interface form and the interface quantity of the automatic control system are fixed, and cannot adapt to complex and changeable equipment.
As an alternative example, the above apparatus further includes:
and the output module is used for generating a hardware simulation model according to the first hardware interface resources so that a user can select the second hardware interface resources according to the hardware simulation model and then outputting an error reporting prompt under the condition that the conflict exists between the first hardware interface and the second hardware interface in the second hardware interface resources.
Optionally, in this embodiment, after the user selects the hardware interface of the second hardware resource required for configuration according to the hardware virtual model, the configuration software detects whether there is a conflict according to the selected hardware interface of the second hardware resource, if the user needs to select 3 groups of RS485 ports and 1 group of CAN ports, but one group of RS485 ports in the controller chip conflicts with the CAN port resource, the configuration software performs error reporting prompt, and the user CAN only select to delete one group of RS485 ports or delete the CAN port.
As an alternative example, the third generating module includes:
the first generating unit is used for generating a device tree configuration file according to the second hardware interface resource;
the determining unit is used for determining a hardware driving code according to the equipment tree configuration file;
and the first compiling unit is used for compiling the hardware driving code to obtain an image file.
Optionally, in this embodiment, the configuration software generates a device tree configuration file according to the selected second hardware resource, where the device tree is an existing description of hardware on the operating system, describing the attribute/configuration of the hardware itself, such as the pin number used, whether to enable, etc., and in addition, the device tree specifies a compatibility string for the hardware, specifies that the hardware is compatible with a specific peripheral hardware driver, where the purpose is to select the code of the specific hardware driver that needs to be compiled during kernel compilation. After configuration is completed, the configuration software compiles the hardware driving code to generate an image file.
As an alternative example, the above apparatus further includes:
the first acquisition module is used for acquiring a target protocol assembly after the image file is burnt to the controller chip so as to enable the controller chip to be matched with the hardware base platform, wherein the target protocol assembly is a protocol assembly which is selected by a user from a plurality of preset protocol assemblies and corresponds to a target interface of the second hardware interface resource;
the binding module is used for binding the target protocol component with the target interface; the configuration module is used for configuring protocol contents corresponding to the target protocol for the terminal equipment;
the second acquisition module is used for acquiring a configuration logic plug-in, wherein the configuration logic plug-in is written by a user according to protocol content;
and the monitoring module is used for carrying out real-time monitoring on the data of the terminal equipment through the configuration logic plug-in.
Optionally, after the hardware base platform is generated, the access of the hardware interface medium can be satisfied, but communication is performed with the terminal equipment, and transmission and analysis are still required for the format and the protocol content of the protocol. The hardware base platform is built only to complete data transmission of a physical layer and a data link layer, actual communication of terminal equipment still needs to meet communication formats and communication contents, various standard protocols are usually used for communication in the market, such as Modbus protocol, BACnet protocol and the like, modbus RTU equipment can only use Modbus RTU protocol for communication, but application layer contents used by terminal equipment of each manufacturer are inconsistent, and configuration software is needed to perform configuration point positions for specific equipment one by one in conventional engineering. Therefore, in this embodiment, the operating system presets the commonly used protocol components, such as the protocol Modbus, BACnet, OPC, so that the user can configure the application of the protocol components through the configuration software according to the actual application requirements, and the configuration software establishes a relationship with the interfaces according to the applied protocol components on a specific hardware interface, and locks the interfaces. The configuration software also needs to be configured with protocol content based on the protocol, then a user writes configuration logic plug-ins on the configuration software according to the protocol content, and finally the real-time monitoring of the data of the bound points is carried out according to the written configuration logic plug-ins.
Optionally, in this embodiment, the generated hardware base platform is matched with the loading protocol component, so that the corresponding protocol component service is driven and enabled as required, the communication access of the multi-terminal device is satisfied, and the device direct identification access and the data configuration-free transmission to the management platform are realized.
As an alternative example, the configuration module includes:
the first acquisition unit is used for acquiring the protocol specification content of the terminal equipment;
the configuration unit is used for configuring protocol contents for the terminal equipment according to the protocol specification contents;
and the storage unit is used for storing the protocol specification content and the equipment parameters of the terminal equipment to the equipment template.
Optionally, in this embodiment, when the configuration software configures the protocol content corresponding to the target protocol for the terminal device, a conventional configuration point location manner may be used to configure the configuration software according to the protocol specification content of the terminal device, where the configuration software configures the protocol content for the terminal device according to the protocol specification content, and then stores the protocol specification content and the device parameters of the terminal device in the device template.
As an alternative example, the configuration module includes:
the second acquisition unit is used for acquiring equipment templates, wherein the equipment templates comprise protocol content of each piece of equipment and equipment parameters thereof;
And the second generation unit is used for generating the point location unique identifier according to the equipment template and the data type of the equipment parameters of the terminal equipment.
Optionally, in this embodiment, when the configuration software configures the protocol content corresponding to the target protocol for the terminal device, a device template may also be used, where the device template refers to the protocol content of a single terminal device and each terminal device parameter tag (for example, a protocol template name xxx of a certain terminal device, a device parameter: a switch-on identifier is 1), the content configured by a regular configuration point location mode is stored as a device template or preset in advance by the configuration software, the device template is directly used on site, and an operating system point location unique identifier is dynamically generated in batches according to the number of field devices and the data types of the device parameters, and when the operating system and the management platform perform data communication, the operating system reports the device template to the management platform first, and then can retrieve specific device parameters through the point location unique identifier, so that the management platform and the device of the operating system realize configuration-free access device.
As an alternative example, the monitoring module includes:
the disassembling unit is used for disassembling the configuration logic plug-in into a plurality of graphic block logics;
The binding unit is used for logically binding the corresponding point location unique identifier for each graphic block;
the second compiling unit is used for loading all graphic block logics into the configuration logic template through compiling;
and the monitoring unit is used for carrying out real-time monitoring on the data of the terminal equipment according to the configuration logic template.
Optionally, in this embodiment, a user may write a configuration logic plug-in on configuration software according to the point location unique identifier, the configuration logic may be disassembled into a piece of graphics block logic according to actual requirements, bind the required point location unique identifier, and load the configuration logic plug-in into a configuration logic template through compiling after the configuration logic plug-in is written, and perform real-time monitoring on data of the bound point location according to the written configuration logic plug-in.
For other examples of this embodiment, please refer to the above examples, and are not described herein.
Fig. 11 is a schematic diagram of an alternative electronic device, as shown in fig. 11, including a processor 1102, a communication interface 1104, a memory 1106, and a communication bus 1108, wherein the processor 1102, the communication interface 1104, and the memory 1106 communicate with each other via the communication bus 1108, in accordance with an embodiment of the present application,
A memory 1106 for storing a computer program;
the processor 1102 is configured to execute the computer program stored in the memory 1106, and implement the following steps:
generating a hardware simulation model according to the first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, wherein the first hardware interface resource is a hardware interface resource of a controller chip of the building automatic control system, and the second hardware interface resource is a hardware interface resource of terminal equipment to be accessed into the building automatic control system;
under the condition that no conflict exists between each hardware interface in the second hardware interface resources, generating a peripheral circuit schematic diagram according to the second hardware interface resources, so that a user builds a hardware base platform according to the peripheral circuit schematic diagram;
generating an image file according to the second hardware interface resource;
and burning the image file to the controller chip so that the controller chip is matched with the hardware base platform.
Alternatively, in the present embodiment, the above-described communication bus may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one thick line is shown in FIG. 11, but not only one bus or one type of bus. The communication interface is used for communication between the electronic device and other devices.
The memory may include RAM or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
As an example, the memory 1106 may include, but is not limited to, a first generation module 1002, a second generation module 1004, a third generation module 1006, and a burning module 1008 in an apparatus for accessing an autonomous system by the device. In addition, other module units in the device for accessing the equipment into the automatic control system may be further included, but are not limited to, and are not described in detail in this example.
The processor may be a general purpose processor and may include, but is not limited to: CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but also DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be understood by those skilled in the art that the structure shown in fig. 11 is only illustrative, and the device implementing the method for accessing the automatic control system by using the device may be a terminal device, and the terminal device may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 11 does not limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, etc.
According to yet another aspect of embodiments of the present application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program when executed by a processor performs steps in a method of accessing an autonomous system by a device as described above.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for a device to access an autonomous system, comprising:
generating a hardware simulation model according to a first hardware interface resource, so that a user selects a second hardware interface resource according to the hardware simulation model, wherein the first hardware interface resource is a hardware interface resource of a controller chip of a building automatic control system, and the second hardware interface resource is a hardware interface resource of terminal equipment to be accessed into the building automatic control system;
generating a peripheral circuit schematic diagram according to the second hardware interface resources under the condition that no conflict exists between each hardware interface in the second hardware interface resources, so that the user builds a hardware base platform according to the peripheral circuit schematic diagram;
Generating an image file according to the second hardware interface resource;
and burning the image file to the controller chip so that the controller chip is matched with the hardware base platform.
2. The method of claim 1, wherein after generating a hardware simulation model from the first hardware interface resource to enable a user to select a second hardware interface resource from the hardware simulation model, the method further comprises:
and outputting an error reporting prompt under the condition that the conflict exists between the first hardware interface and the second hardware interface in the second hardware interface resource.
3. The method of claim 1, wherein the generating an image file from the second hardware interface resource comprises:
generating a device tree configuration file according to the second hardware interface resource;
determining a hardware driving code according to the equipment tree configuration file;
and compiling the hardware driving code to obtain the image file.
4. The method of claim 1, wherein after burning the image file to the controller chip to adapt the controller chip to the hardware mount platform, the method further comprises:
Acquiring a target protocol assembly, wherein the target protocol assembly is a protocol assembly which is selected by a user from a plurality of preset protocol assemblies and corresponds to a target interface of the second hardware interface resource;
binding the target protocol component with the target interface;
configuring protocol content corresponding to the target protocol for the terminal equipment;
acquiring a configuration logic plug-in, wherein the configuration logic plug-in is written by a user according to the protocol content;
and carrying out real-time data monitoring on the terminal equipment through the configuration logic plug-in.
5. The method of claim 4, wherein configuring the terminal device with protocol content corresponding to the target protocol comprises:
acquiring protocol specification content of the terminal equipment;
configuring the protocol content for the terminal equipment according to the protocol specification content;
and saving the protocol specification content and the equipment parameters of the terminal equipment to an equipment template.
6. The method of claim 4, wherein configuring the terminal device with protocol content corresponding to the target protocol comprises:
acquiring an equipment template, wherein the equipment template comprises protocol content of each piece of equipment and equipment parameters thereof;
And generating a point location unique identifier according to the data types of the equipment template and the equipment parameters of the terminal equipment.
7. The method of claim 4, wherein the real-time monitoring of the data of the terminal device by the configuration logic plug-in comprises:
disassembling the configuration logic plug-in into a plurality of graphic block logics;
logically binding corresponding point location unique identifiers for each graphic block;
loading all the graphic block logics into a configuration logic template through compiling;
and carrying out real-time data monitoring on the terminal equipment according to the configuration logic template.
8. An apparatus for accessing an autonomous system by a device, comprising:
the system comprises a first generation module, a second generation module and a control module, wherein the first generation module is used for generating a hardware simulation model according to first hardware interface resources so that a user can select second hardware interface resources according to the hardware simulation model, the first hardware interface resources are hardware interface resources of a controller chip of a building automatic control system, and the second hardware interface resources are hardware interface resources of terminal equipment to be accessed into the building automatic control system;
the second generation module is used for generating a peripheral circuit schematic diagram according to the second hardware interface resources under the condition that no conflict exists between each hardware interface in the second hardware interface resources, so that the user builds a hardware base platform according to the peripheral circuit schematic diagram;
The third generation module is used for generating an image file according to the second hardware interface resource;
and the burning module is used for burning the image file to the controller chip so as to enable the controller chip to be matched with the hardware base platform.
9. A computer-readable storage medium, having stored thereon a computer program, characterized in that the computer program, when executed by a processor, performs the method of any of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 7 by means of the computer program.
CN202311570811.0A 2023-11-22 2023-11-22 Method and device for accessing equipment to automatic control system, storage medium and electronic equipment Pending CN117518927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311570811.0A CN117518927A (en) 2023-11-22 2023-11-22 Method and device for accessing equipment to automatic control system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311570811.0A CN117518927A (en) 2023-11-22 2023-11-22 Method and device for accessing equipment to automatic control system, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117518927A true CN117518927A (en) 2024-02-06

Family

ID=89760481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311570811.0A Pending CN117518927A (en) 2023-11-22 2023-11-22 Method and device for accessing equipment to automatic control system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117518927A (en)

Similar Documents

Publication Publication Date Title
JP6421220B2 (en) Field device control management method and apparatus based on Industrial Internet Operating System
CN105704234A (en) Control method and apparatus for intelligent device
US20230236809A1 (en) Ios application program construction method and apparatus, electronic device, and storage medium
CN101763043B (en) For the method and system of automation collaborative framework
EP3394743B1 (en) Method and apparatus for creating and managing controller based remote solutions
JP2018534683A (en) Process plant configuration using I / O abstraction field device configuration
CN101938164B (en) Power equipment control method, device and related system thereof
CN104932480A (en) Automobile diagnostic system design method and apparatus
US20110160879A1 (en) Approach to automatically encode application enumeration values to enable reuse of applications across various controllers
CN114237676B (en) FPGA logic updating method, device, equipment and readable storage medium
CN114024948B (en) Intelligent Building Integrated Management System
CN106325233A (en) Visual programming logic distribution control system and implementation method
CN113285841B (en) Configuration method of industrial gateway data transmission protocol
US9391797B2 (en) Dynamic host profiles for option modules
CN117518927A (en) Method and device for accessing equipment to automatic control system, storage medium and electronic equipment
CN102387137B (en) Implementation method and system of intelligent operation logic of a plurality of network devices
CN100573376C (en) The factory information system and the method for new data more thereof
CN115037587A (en) Method, device, equipment and storage medium for automatically issuing network equipment configuration
TWI803829B (en) Integrated intelligent building management system
CN109739106B (en) Intelligent manufacturing platform and method for adaptively accessing intelligent manufacturing platform
CN109688000B (en) Method for simultaneously accessing multiple IPTV network management server platforms
CN112769689B (en) Reconfigurable intelligent integrated gateway system and reconfiguration method
CN111367840A (en) Method and device for realizing plug and play
US20210018888A1 (en) Automated programming of a programmable-logic controller (plc) of a microcontroller using an expert system
CN117254987B (en) Communication method, communication 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