Visual configuration method for front communication device and data acquisition system

Through the visual configuration method of the pre-communication device, the problems of low efficiency and lack of flexibility in traditional data acquisition modules are solved, and the protocol interactive interface and device driver links are quickly built, which improves the efficiency of data acquisition and function expansion.

CN119814909APending Publication Date: 2025-04-11HANGZHOU HUACHEN POWER CONTROL ENG CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411949280.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

Traditional data acquisition modules are inefficient and lack of flexibility when designing device communication protocols, resulting in increased system complexity and maintenance costs, and are unable to effectively process the data provided by device protocols, affecting real-time monitoring and decision-making capabilities.

Method used

The visual configuration method of the pre-communication device is adopted to interact with users through the protocol layout interface and the toolbar, drag control identifiers to the interface, configure control parameters, generate configuration files and device driver protocol components, and use visual configuration tools to quickly build protocol interaction interface and device driver links.

Benefits of technology

It significantly improves the construction speed of protocol interaction interface, quickly builds device driver links and data models, improves the encoding efficiency of driver functions, realizes flexible configuration of dynamic driver components, simplifies data acquisition and function expansion, and improves the efficiency of device function expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814909A_ABST
    Figure CN119814909A_ABST
Patent Text Reader

Abstract

The invention relates to a front communication device visual configuration method and a data acquisition system. The method is suitable for information technology and industrial automation fields. The technical scheme adopted by the invention comprises the following steps: displaying a protocol layout interface and a toolbar to a user, wherein the toolbar is provided with a control identifier corresponding to at least one basic control; adding the corresponding control identifier to a protocol layout interface, and displaying a parameter configuration interface corresponding to the control identifier to a user; through a parameter configuration interface of the control identifier, acquiring a control parameter of the basic control corresponding to the control identifier, which is input by a user; in response to a configuration file generation request of a user, a configuration file is generated based on a basic control in the protocol layout interface and control parameters of the basic control, and the configuration file integrates interactive interface setting of protocol parameters and analysis configuration of an equipment driving protocol; and extracting a public module from the drive protocol component development kit, generating an equipment drive protocol component framework, and generating an equipment drive protocol component in combination with the configuration file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a visual configuration method of a front-end communication device and a data acquisition system, which are applicable to the fields of information technology and industrial automation. Background Art

[0002] With the rapid development of Industry 4.0 technology and the Internet of Things (IoT), data acquisition of equipment is now regarded as a core part of various industrial and network monitoring systems. At the same time, the types of various equipment and the complexity of access protocols are steadily increasing.

[0003] Traditional data acquisition modules often rely on developers to write a lot of code when designing specific device communication protocols. This practice not only reduces the efficiency of the development process, but also lacks sufficient flexibility, further increasing the complexity and maintenance costs of the overall system. In addition, traditional systems also have certain limitations in their ability to process data, which makes it impossible for them to use a unified method to locate, separate, classify and model the data provided by the device protocol in detail. Taking into account various factors, they affect the ability to monitor in real time and make timely decisions.

[0004] In the data collection of specific devices, additional protocol conversion modules need to be added; when the types of connected devices become numerous, this will mean that more protocol conversion units must be added. This practice not only leads to an increase in development and maintenance workload, but also increases the vulnerability and usability of the system and increases the risk of failure.

[0005] In the application field of industrial automation, there is a need to collect data from various devices at the work site in order to meet the reliance of future business applications on information data. However, the functions of common data acquisition gateways on the market are relatively monotonous, mainly supporting several specific device driver protocols, and the data forwarding capabilities are relatively limited. If you want to further support other device driver protocols, you need to create new driver code, build an interactive interface for the new protocol, and then you may need to update the firmware or other programs deployed in the system.

[0006] In the general use of data acquisition equipment, whenever a new type of device is added, it is necessary to first follow the predetermined process to establish an interface for user operation and configure the device protocol parameters. After the subsequent processing program receives the protocol parameters of the device, the developer needs to rely on the specific connection methods of these devices to perform corresponding encoding to ensure that the device can be successfully connected using these parameters. In view of the differences in data parsing methods for various device protocols, it is necessary to once again invest in in-depth data parsing work, and then convert the obtained data into data in a modeling format according to specific rules based on the specific needs of the user configuration. Finally, based on the needs of the business system, the collected data is converted and output in a certain data form or protocol form. The update of these steps is too complicated and lengthy, resulting in a lot of development time wasted. Summary of the invention

[0007] The technical problem to be solved by the present invention is: in view of the above-mentioned problems, a visual configuration method of a front-end communication device and a data acquisition system are provided.

[0008] The technical solution adopted by the present invention is: a method for visual configuration of a front-end communication device, characterized in that it includes:

[0009] Displaying a protocol layout interface and a toolbar to the user, wherein the toolbar has a control identifier corresponding to at least one basic control;

[0010] When the user drags the control logo on the toolbar to the protocol layout interface, the corresponding control logo is added to the protocol layout interface, and the parameter configuration interface corresponding to the control logo is displayed to the user;

[0011] Obtain the control parameters of the basic control corresponding to the control identifier entered by the user through the parameter configuration interface of the control identifier;

[0012] In response to a user's request for generating a configuration file, a configuration file is generated based on basic controls and their control parameters in the protocol layout interface, wherein the configuration file integrates interactive interface settings of protocol parameters and parsing configuration of the device driver protocol;

[0013] Extract common modules from the driver protocol component development kit, generate a device driver protocol component framework, and combine the configuration files to generate the device driver protocol component.

[0014] A visual configuration device for a front-end communication device, characterized by comprising:

[0015] An interface display module, used to display the protocol layout interface and toolbar to the user, wherein the toolbar has a control identifier corresponding to at least one basic control;

[0016] A control adding module is used to add the corresponding control identifier to the protocol layout interface when the user drags the control identifier on the toolbar to the protocol layout interface, and display the parameter configuration interface corresponding to the control identifier to the user;

[0017] The parameter setting module is used to obtain the control parameters of the basic control corresponding to the control identifier entered by the user through the parameter configuration interface of the control identifier;

[0018] A configuration generation module is used to respond to a user's configuration file generation request and generate a configuration file based on the basic controls and control parameters in the protocol layout interface. The configuration file integrates the interactive interface settings of the protocol parameters and the parsing configuration of the device driver protocol.

[0019] The component generation module is used to extract common modules from the driver protocol component development package, generate a device driver protocol component framework, and generate a device driver protocol component in combination with a configuration file.

[0020] A storage medium stores a computer program executable by a processor, wherein the computer program implements the steps of the method for visually configuring a front-end communication device when executed.

[0021] A collection and configuration host can be connected to a front-end communication device for communication, and has a memory and a processor. The memory stores a computer program that can be executed by the processor. The invention is characterized in that when the computer program is executed, the steps of the visual configuration method of the front-end communication device are implemented.

[0022] A data acquisition system, characterized in that it comprises:

[0023] at least one data collection device;

[0024] A front communication device, which is in communication connection with the data acquisition device and has data acquisition and data distribution functions;

[0025] A server, connected to the front-end communication device for receiving and storing data sent by the front-end communication device and collected by the data collection device;

[0026] A collection configuration host is connected to the front communication device for deploying a device driver protocol component to the front communication device;

[0027] The acquisition configuration host has a memory and a processor. The memory stores a computer program that can be executed by the processor. When the computer program is executed, the steps of the visual configuration method of the front communication device are implemented.

[0028] The beneficial effect of the present invention is that the present invention introduces a visual configuration tool, designs a user interaction interface based on a visual protocol layout interface and a toolbar, and adopts a what-you-see-is-what-you-get configuration generation strategy, thereby significantly improving the construction speed of the protocol interaction interface.

[0029] The present invention uses a driver protocol component development kit to develop driver protocol components for new devices, and uses configuration files generated by a visual configuration tool to quickly build device driver links and data models, while also improving the encoding efficiency of the driver function.

[0030] The present invention configures a set of visual configuration methods for the front-end communication device to realize flexible configuration of dynamic drive components, thereby quickly establishing device connections to complete data collection, accelerating the update and deployment of data collection capabilities, and effectively improving the efficiency of device function expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flowchart of the visualization configuration method in the embodiment.

[0032] Figure 2 Schematic diagram of the system structure and connection relationship diagram in the embodiment.

[0033] Figure 3 This is the usage process of the visualization configuration tool in the embodiment.

[0034] Figure 4 A driving component is newly added in the embodiment.

[0035] Figure 5 Upload the device driver component and start the device in the embodiment. DETAILED DESCRIPTION

[0036] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0037] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0038] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0039] Example 1: Figure 1As shown, this embodiment is a visual configuration method for a front-end communication device, which specifically includes the following steps:

[0040] S100, displaying a protocol layout interface and a toolbar to a user, wherein the toolbar has a control identifier corresponding to at least one basic control;

[0041] S200, when the user drags the control identifier on the toolbar to the protocol layout interface, the corresponding control identifier is added to the protocol layout interface, and the parameter configuration interface corresponding to the control identifier is displayed to the user;

[0042] S300, obtaining control parameters of a basic control corresponding to the control identifier entered by a user through a parameter configuration interface of the control identifier;

[0043] S400, in response to a user's request for generating a configuration file, based on basic controls and their control parameters in the protocol layout interface, generate an XML configuration file, the configuration file integrating interactive interface settings of protocol parameters and parsing configuration of the device driver protocol;

[0044] S500, extracting common modules from the driver protocol component development kit, generating a device driver protocol component framework, and combining the configuration files to generate a device driver protocol component.

[0045] Embodiment 2: This embodiment is a visual configuration device for a front-end communication device, including: an interface display module, a control adding module, a parameter setting module, a configuration generation module and a component generation module, etc.

[0046] In this example, the interface display module is used to display the protocol layout interface and toolbar to the user, wherein the toolbar has a control identifier corresponding to at least one basic control; the control adding module is used to add the corresponding control identifier to the protocol layout interface when the user drags the control identifier on the toolbar to the protocol layout interface, and display the parameter configuration interface corresponding to the control identifier to the user; the parameter setting module is used to obtain the control parameters of the basic control corresponding to the control identifier entered by the user through the parameter configuration interface of the control identifier.

[0047] In this embodiment, the configuration generation module is used to respond to the user's configuration file generation request, and generate a configuration file based on the basic controls and their control parameters in the protocol layout interface. The configuration file integrates the interactive interface settings of the protocol parameters and the parsing configuration of the device driver protocol.

[0048] In this embodiment, the component generation module is used to extract common modules from the driver protocol component development kit, generate a device driver protocol component framework, and generate a device driver protocol component in combination with a configuration file.

[0049] Embodiment 3: This embodiment is a storage medium on which a computer program that can be executed by a processor is stored. When the computer program is executed, the steps of the method for visually configuring the front-end communication device in Embodiment 1 are implemented.

[0050] Embodiment 4: This embodiment is a collection and configuration host, which can be connected to a front-end communication device for communication, and has a memory and a processor. The memory stores a computer program that can be executed by the processor. When the computer program is executed, the steps of the visual configuration method of the front-end communication device in Embodiment 1 are implemented.

[0051] Example 5: Figure 2 As shown, this embodiment is a data acquisition system, including data acquisition equipment, a front-end communication device, a server, and an acquisition configuration host, etc., wherein the data acquisition equipment includes industrial equipment, sensors, sound and light equipment, and a thermometer, etc.

[0052] In this embodiment, the front-end communication device is connected to the data acquisition device via Ethernet, has data acquisition and data distribution functions, is used to collect data collected by each data acquisition device, and sends the data to the server.

[0053] In this example, the server is connected to the front-end communication device via Ethernet, and is used to receive and store data sent by the front-end communication device and collected by the data collection device.

[0054] In this embodiment, the acquisition configuration host is connected to the front-end communication device via Ethernet for deploying a device driver protocol component to the front-end communication device.

[0055] In this example, the acquisition configuration host has a memory and a processor. The memory stores a computer program that can be executed by the processor. When the computer program is executed, the steps of the visual configuration method of the front-end communication device in Example 1 are implemented, and the device driver protocol component is generated using the visual configuration method of the front-end communication device.

[0056] In this embodiment, the front-end communication equipment is an industrial intelligent device constructed by at least using the RK3588 MCU (Quad A76+QuadA55) integrated chip (in addition, this device can also be used as a 4-core / 2.4Ghz / DDR4 16GB memory plus 512Gb long-term storage tool for replacement). The configuration of the intelligent device can be changed or upgraded to provide stronger computing performance.

[0057] Use the visual configuration tool on the acquisition configuration host to interactively configure the new protocol connection parameters. The specific steps of the configuration are as follows: Figure 3As shown: a new protocol layout interface is created. Users can drag the basic controls provided by the toolbar to the layout interface to add them, and then adjust the configuration of the controls in the interface, clarify the configuration keywords and data types related to them, and finally, the user generates an XML configuration file, which will integrate the interactive settings of the protocol parameters and the parsing parameters of the device driver protocol.

[0058] After the interaction and parsing parameters are set, the working computer will use C++ development tools to expand the protocol development module and implement the new device driver protocol component. The detailed process is as follows: Figure 4 As shown: First, extract the common modules from the driver protocol component development package, and generate a new device driver protocol component framework after inheritance; then integrate the backup connection protocol interaction configuration and driver protocol parsing configuration generated by the visual configuration tool into the relevant modules of the device driver protocol component framework, and inherit and implement the defined functional interface according to the SDK specified process.

[0059] After the device is started, the received driver protocol configuration parameters are parsed and associated with the corresponding parameters in the official driver to start the connection operation of the corresponding device. After activating the driver connection to establish communication, the data is obtained according to the data addressing mechanism established by the driver protocol and decomposed into an efficient and fast intermediate data protocol for transmission.

[0060] Finally, the device driver protocol components deployed in the front-end communication device realize the overall function, such as Figure 5 As shown:

[0061] Through the background management interface of the front-end communication device, select the device driver component you want to import into the front-end communication device, then upload it to the front-end communication device and incorporate it into the driver protocol list for better management and operation.

[0062] The user selects the device driver components that he wants to import into the front-end communication device through the background management interface of the front-end communication device, then uploads them to the front-end communication device and incorporates them into the driver protocol list for better management and operation.

[0063] By adding the device for which data collection is required on the management interface, the user can then determine the specific driver protocol supported by the device through the list of loaded driver options. Once the driver protocol is set, the interaction configuration with the protocol parameter device in the driver component can be retrieved, the previously constructed protocol interaction interface can be restored, and the driver protocol parameters can be set according to the predetermined method.

[0064] After the configuration process is completed, the user can continue to add new devices until all devices that require data collection have been added, and then save the configuration task to finally form a complete working configuration list.

[0065] Through the work configuration list, select a configuration option that requires the front-end communication device to start running, so as to control the operation of the front-end communication device. At the beginning of the startup process, the back-end service will start the input service process matching the corresponding number of devices. After importing the driver protocol during configuration and the parameters set in the interaction, the system will collect device data according to the interaction frequency. These data will be modeled according to the interaction settings and published through MQTT-Broker for those systems and tools that need device data to subscribe.

Claims

1. A visual configuration method for a front-end communication device, characterized in that: include: Displaying a protocol layout interface and a toolbar to the user, wherein the toolbar has a control identifier corresponding to at least one basic control; When the user drags the control logo on the toolbar to the protocol layout interface, the corresponding control logo is added to the protocol layout interface, and the parameter configuration interface corresponding to the control logo is displayed to the user; Obtain the control parameters of the basic control corresponding to the control identifier entered by the user through the parameter configuration interface of the control identifier; In response to a user's request for generating a configuration file, a configuration file is generated based on basic controls and their control parameters in the protocol layout interface, wherein the configuration file integrates interactive interface settings of protocol parameters and parsing configuration of the device driver protocol; Extract common modules from the driver protocol component development kit, generate a device driver protocol component framework, and combine the configuration files to generate the device driver protocol component.

2. A visual configuration device for a front-end communication device, characterized in that: include: An interface display module, used to display the protocol layout interface and toolbar to the user, wherein the toolbar has a control identifier corresponding to at least one basic control; A control adding module is used to add the corresponding control identifier to the protocol layout interface when the user drags the control identifier on the toolbar to the protocol layout interface, and display the parameter configuration interface corresponding to the control identifier to the user; The parameter setting module is used to obtain the control parameters of the basic control corresponding to the control identifier entered by the user through the parameter configuration interface of the control identifier; A configuration generation module is used to respond to a user's configuration file generation request and generate a configuration file based on the basic controls and control parameters in the protocol layout interface. The configuration file integrates the interactive interface settings of the protocol parameters and the parsing configuration of the device driver protocol. The component generation module is used to extract common modules from the driver protocol component development package, generate a device driver protocol component framework, and generate a device driver protocol component in combination with a configuration file.

3. A storage medium having stored thereon a computer program executable by a processor, characterized in that: When the computer program is executed, the steps of the method for visually configuring the front-end communication device of claim 1 are implemented.

4. A collection configuration host, capable of communicating with a front-end communication device, having a memory and a processor, the memory storing a computer program executable by the processor, characterized in that: When the computer program is executed, the steps of the method for visually configuring the front-end communication device of claim 1 are implemented.

5. A data acquisition system, characterized in that: include: at least one data collection device; A front communication device, which is in communication connection with the data acquisition device and has data acquisition and data distribution functions; A server, connected to the front-end communication device for receiving and storing data sent by the front-end communication device and collected by the data collection device; A collection configuration host is connected to the front communication device for deploying a device driver protocol component to the front communication device; The acquisition configuration host has a memory and a processor, and the memory stores a computer program that can be executed by the processor. When the computer program is executed, the steps of the visual configuration method of the front communication device according to claim 1 are implemented.

Citation Information

Cited By

  • Static layout scheme generation method for multi-station integrated equipment

    CN121615197A

  • A multi-station integrated equipment static layout scheme generation method

    CN121615197B