Module configuration method

Through the cooperation of the first controller and the second controller, the automatic configuration of the basic information of the module is realized, and a convenient configuration interface is provided when the information is missing, solving the problem of time-consuming, labor-intensive and error-prone module configuration in the prior art, and improving the accuracy and flexibility of the configuration.

CN119805990APending Publication Date: 2025-04-11NAYO BIOTECHNOLOGY (SHANGHAI) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the configuration of basic information of modules requires manual entry, which is time-consuming and labor-intensive and error-prone, especially when the basic information needs to be adjusted when the module changes, the process is complicated.

Method used

The basic information of the module is queried through the first controller, and with the cooperation of the second controller, the automatic configuration of the basic information of the module is realized. When information is missing, a convenient configuration interface is provided, through which users can complete the configuration of the module.

Benefits of technology

It realizes automatic configuration of basic module information, reduces the content of manual operation, simplifies the configuration process, improves the accuracy of configuration, and increases the flexibility of module information management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119805990A_ABST
    Figure CN119805990A_ABST
Patent Text Reader

Abstract

The invention discloses a module configuration method, which comprises the following steps that: S1: after electrification, a first controller inquires basic information of all modules; s2, each module sends own basic information to the first controller, and the first controller caches the basic information; s3, the second controller inquires basic information from the first controller; s4, the first controller sends the cached basic information to the second controller; s5, the second controller compares local module configuration data to judge whether all the modules are configured or not; s6, the second controller pops up a preset configuration interface; and S7, the user completes the configuration of the module through the configuration interface, and the second controller stores the configuration result to the local update module configuration data. According to the module configuration method, automatic configuration of the basic information of the module can be achieved, when the information is lost and manual configuration is needed, a convenient configuration interface is provided, the module configuration process is convenient, and the flexibility of module information management is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information management, and in particular relates to a module configuration method. Background Art

[0002] At present, when configuring the basic information of the module, such as serial number, bus and module type, it is often done manually by entering it into various dedicated systems, which is time-consuming, labor-intensive and error-prone. If the module changes during use and the basic information needs to be adjusted, manual modification is also required, and the process is relatively complicated. Summary of the invention

[0003] In view of the deficiencies in the above-mentioned prior art, the present invention aims to provide a module configuration method, which can realize automatic configuration of basic module information and provide a convenient configuration interface when information is missing and manual configuration is required, thereby facilitating the module configuration process and increasing the flexibility of module information management.

[0004] In order to achieve the above object, the present invention provides a module configuration method, comprising the steps of:

[0005] S1: After power-on, the first controller queries basic information of all modules, the basic information including serial numbers;

[0006] S2: Each module sends its own basic information to the first controller, and the first controller caches the basic information;

[0007] S3: the second controller queries the first controller for the basic information;

[0008] S4: the first controller sends the cached basic information to the second controller;

[0009] S5: the second controller compares the local module configuration data to determine whether the module has been fully configured, if yes, then the step ends, otherwise, the subsequent steps are continued;

[0010] S6: The second controller pops up a preset configuration interface and prompts the user to configure basic information;

[0011] S7: the user completes the configuration of the module through the configuration interface, and the second controller saves the result of this configuration locally to update the module configuration data;

[0012] S8: the second controller automatically generates a module communication ID and sends the module communication ID to the first controller;

[0013] S9: The first controller forwards the module communication ID and writes it into the corresponding configured module, thereby completing the automatic configuration of the module communication ID.

[0014] As an implementation manner, the basic information further includes: module type information, bus information and the module communication ID.

[0015] As an implementation mode, the configuration interface includes several configuration modules; the configuration modules include one or any combination of a module name configuration module, a serial number configuration module, a module type configuration module and a bus configuration module; after completing the configuration of the module, the corresponding configuration data of the module name configuration module, the serial number configuration module, the module type configuration module and the bus configuration module are associated.

[0016] As an implementation manner, the module name configuration module is provided with a first drop-down box, through which a plurality of pre-stored module names are displayed by pulling down the first drop-down box and a desired module name is selected from the pre-stored module names.

[0017] As an embodiment, the serial number configuration module includes a manual input submodule and a code scanning input submodule; when the serial number exists in the cached basic information, the serial number configuration module directly displays the serial number; when the serial number does not exist in the cached basic information, the user enters the serial number through the manual input submodule or the code scanning input submodule.

[0018] As an implementation mode, the module type configuration module is provided with a second drop-down box; when the module type information exists in the cached basic information, the module type configuration module directly displays the module type information associated with the serial number displayed by the corresponding serial number configuration module; when the module type information does not exist in the cached basic information, a required module type information is selected from several pre-stored module type information through the second drop-down box.

[0019] As an embodiment, the bus configuration module is provided with a third drop-down box; when the bus information exists in the cached basic information, the bus configuration module directly displays the bus information associated with the serial number displayed by the corresponding serial number configuration module; when the bus information does not exist in the cached basic information, a required bus information is selected from several pre-stored bus information through the third drop-down box.

[0020] As an implementation manner, in the step S7, if it is found that there are at least two identical serial numbers or the serial number is missing in the configuration result, an error is reported.

[0021] As an implementation mode, when the step S9 is performed, the second controller polls the first controller to determine whether the module communication ID of each module is successfully written; when the module communication ID writing times out or fails, an error is reported.

[0022] As an implementation manner, the second controller further includes an advanced setting page, and the advanced setting page is provided with a channel for entering the configuration interface.

[0023] The present invention adopts the above technical solution, so it has the following beneficial effects:

[0024] In the present invention, the automatic configuration of the basic information of the module is realized through the cooperation of the first controller and the second controller, and when it is determined that the module is not completely missing configuration information and needs manual configuration, a convenient configuration interface is provided, which facilitates the module configuration process, greatly reduces the content that requires manual operation, simplifies the configuration process, and improves the accuracy of the module configuration. The name configuration module is used to configure the module name. The serial number configuration module is used to configure the serial number of the module. The module type configuration module is used to configure the module type information. The bus configuration module is used to configure the bus information. During the configuration process, an error reporting mechanism is set to prevent the occurrence of serious data errors, further improving the accuracy of the configuration data. The setting of the advanced settings page provides users with a path to actively modify module information, increasing the flexibility of module information management. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0026] Figure 1 A flowchart of a module configuration method according to an embodiment of the present application;

[0027] Figure 2 A schematic diagram of the structure of the module configuration system according to an embodiment of the present application.

[0028] Description of Figure Numbers:

[0029] 1- first controller;

[0030] 2- Module;

[0031] 3- Second controller. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0033] In the description of the present invention, it should be noted that the terms "upper", "lower", "left", "right", "center", "vertical", "horizontal", "inner", "outer", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0034] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "setting", "connection", "connection" and the like should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0035] Example 1

[0036] See also Figure 1 and Figure 2 A module configuration method according to a first embodiment of the present invention comprises the following steps:

[0037] S1: After power-on, the first controller 1 queries basic information of all modules 2, wherein the basic information includes serial numbers; the basic information also includes: module type information, bus information and the module communication ID.

[0038] S2: Each module 2 sends its own basic information to the first controller 1, and the first controller 1 caches the basic information;

[0039] S3: The second controller queries the first controller 1 for the basic information;

[0040] S4: the first controller 1 sends the cached basic information to the second controller;

[0041] S5: the second controller compares the local module configuration data to determine whether the module 2 has been fully configured, if yes, the step ends, otherwise, the subsequent steps are continued;

[0042] S6: The second controller pops up a preset configuration interface and prompts the user to configure basic information;

[0043] S7: the user completes the configuration of the module 2 through the configuration interface, and the second controller saves the result of this configuration locally to update the module configuration data;

[0044] S8: the second controller automatically generates a module communication ID and sends the module communication ID to the first controller 1;

[0045] S9: The first controller 1 forwards the module communication ID and writes it into the corresponding configured module 2, thereby completing the automatic configuration of the module communication ID.

[0046] In this embodiment, the configuration interface includes a serial number configuration module.

[0047] The serial number configuration module includes a manual input submodule and a code scanning input submodule; when the serial number exists in the cached basic information, the serial number configuration module directly displays the serial number; when the serial number does not exist in the cached basic information, the user enters the serial number through the manual input submodule or the code scanning input submodule.

[0048] In this embodiment, the basic information of module 2 is automatically configured through the cooperation of the first controller 1 and the second controller. When it is determined that all configuration information of module 2 is missing and manual configuration is required, a convenient configuration interface is provided, which facilitates the configuration process of module 2, greatly reduces the content requiring manual operation, simplifies the configuration process, and improves the accuracy of module 2 configuration.

[0049] The serial number configuration module is used to configure the serial number of module 2, realizing the convenient configuration of the serial number of module 2. The serial number configuration module includes a manual input submodule and a code scanning input submodule. The serial number can be input manually or by scanning a code, which increases the flexibility and convenience of serial number input. Code scanning input improves the efficiency and accuracy of serial number input.

[0050] The module communication ID in step S1 is the module communication ID set after the last configuration; in steps S8 to S9, the module communication ID set this time is generated and configured, replacing the initial module communication ID in step S1.

[0051] Example 2

[0052] A module configuration method of embodiment 2 of the present invention has steps that are basically the same as those of embodiment 1, except that the configuration interface includes several configuration modules; the configuration modules include one or any combination of a module name configuration module, a serial number configuration module, a module type configuration module and a bus configuration module; after completing the configuration of module 2, the corresponding configuration data of the module name configuration module, the serial number configuration module, the module type configuration module and the bus configuration module are associated.

[0053] The module name configuration module is provided with a first drop-down box, through which a plurality of pre-stored module names are displayed and a desired module name is selected from the pre-stored module names.

[0054] The module type configuration module is provided with a second drop-down box; when the module type information exists in the cached basic information, the module type configuration module directly displays the module type information associated with the serial number displayed by the corresponding serial number configuration module; when the module type information does not exist in the cached basic information, a required module type information is selected from a plurality of pre-stored module type information through the second drop-down box.

[0055] The bus configuration module is provided with a third drop-down box; when the bus information exists in the cached basic information, the bus configuration module directly displays the bus information associated with the serial number displayed by the corresponding serial number configuration module; when the bus information does not exist in the cached basic information, a required bus information is selected from several pre-stored bus information through the third drop-down box.

[0056] The name configuration module is used to configure the module name. The setting of the first drop-down box facilitates the user to quickly select a pre-stored module name.

[0057] The module type configuration module is used to display and configure the module type information of module 2. The setting of the second drop-down box facilitates the user to quickly select the pre-stored module type information.

[0058] The bus configuration module is used to display and configure bus information. The setting of the third drop-down box is convenient for users to quickly select pre-stored bus information.

[0059] Through the configuration interface of multiple configuration modules, the rapid configuration and association of various basic information can be conveniently achieved, greatly improving the user's configuration efficiency.

[0060] Example 3

[0061] A module configuration method in embodiment 3 of the present invention has steps that are basically the same as those in embodiment 2, except that, in step S7, if it is found that there are at least two identical serial numbers or the serial number is missing in the configuration result, an error is reported.

[0062] During the configuration process, a serial number error reporting mechanism is set up to prevent the occurrence of duplicate serial numbers and missing serial numbers, ensure the accuracy of configuration data, and prevent management problems caused by serial number errors during future maintenance.

[0063] Example 4

[0064] A module configuration method of embodiment 4 of the present invention has steps that are basically the same as those of embodiment 3, with the difference that when step S9 is performed, the second controller polls through the first controller 1 whether the module communication ID of each module 2 is written successfully; when the writing of the module communication ID times out or fails, an error is reported.

[0065] An error reporting mechanism for the module communication ID is set to prevent the module communication ID from writing timeout or unsuccessful writing, thereby ensuring the accuracy of the configuration data.

[0066] Example 5

[0067] A module configuration method according to a fifth embodiment of the present invention has steps that are substantially the same as those of the fourth embodiment, except that the second controller further includes an advanced setting page, and the advanced setting page is provided with a channel for entering the configuration interface.

[0068] The settings on the advanced settings page provide users with a path to actively modify module information, increasing the flexibility of module information management.

[0069] The present invention is described in detail above in conjunction with the embodiments of the accompanying drawings. A person skilled in the art can make various variations of the present invention according to the above description. Therefore, certain details in the embodiments should not constitute a limitation of the present invention, and the scope of protection of the present invention shall be defined by the scope of the attached claims.

Claims

1. A module configuration method, comprising the steps of: S1: After power-on, the first controller queries basic information of all modules, the basic information including serial numbers; S2: Each module sends its own basic information to the first controller, and the first controller caches the basic information; S3: the second controller queries the first controller for the basic information; S4: the first controller sends the cached basic information to the second controller; S5: the second controller compares the local module configuration data to determine whether the module has been fully configured, if yes, then the step ends, otherwise, the subsequent steps are continued; S6: The second controller pops up a preset configuration interface and prompts the user to configure basic information; S7: the user completes the configuration of the module through the configuration interface, and the second controller saves the result of this configuration locally to update the module configuration data; S8: the second controller automatically generates a module communication ID and sends the module communication ID to the first controller; S9: The first controller forwards the module communication ID and writes it into the corresponding configured module, thereby completing the automatic configuration of the module communication ID.

2. The module configuration method according to claim 1, characterized in that: The basic information also includes: module type information, bus information and the module communication ID.

3. The module configuration method according to claim 2, characterized in that: The configuration interface includes several configuration modules; the configuration modules include one or any combination of a module name configuration module, a serial number configuration module, a module type configuration module and a bus configuration module; after completing the configuration of the module, the corresponding configuration data of the module name configuration module, the serial number configuration module, the module type configuration module and the bus configuration module are associated.

4. The module configuration method according to claim 3, characterized in that: The module name configuration module is provided with a first drop-down box, through which a plurality of pre-stored module names are displayed and a desired module name is selected from the pre-stored module names.

5. The module configuration method according to claim 3, characterized in that: The serial number configuration module includes a manual input submodule and a code scanning input submodule; when the serial number exists in the cached basic information, the serial number configuration module directly displays the serial number; when the serial number does not exist in the cached basic information, the user enters the serial number through the manual input submodule or the code scanning input submodule.

6. The module configuration method according to claim 3, characterized in that: The module type configuration module is provided with a second drop-down box; when the module type information exists in the cached basic information, the module type configuration module directly displays the module type information associated with the serial number displayed by the corresponding serial number configuration module; when the module type information does not exist in the cached basic information, a required module type information is selected from a plurality of pre-stored module type information through the second drop-down box.

7. The module configuration method according to claim 3, characterized in that: The bus configuration module is provided with a third drop-down box; when the bus information exists in the cached basic information, the bus configuration module directly displays the bus information associated with the serial number displayed by the corresponding serial number configuration module; When the bus information does not exist in the cached basic information, a required bus information is selected from a plurality of pre-stored bus information through the third drop-down box.

8. The module configuration method according to claim 1, characterized in that: In the step S7, if it is found that there are at least two identical serial numbers or the serial number is missing in the configuration result, an error is reported.

9. The module configuration method according to claim 1, characterized in that: When the step S9 is performed, the second controller polls the first controller to determine whether the module communication ID of each module is successfully written; when the module communication ID writing times out or fails to be written, an error is reported.

10. The module configuration method according to claim 1, characterized in that: The second controller also includes an advanced setting page, and the advanced setting page is provided with a channel for entering the configuration interface.