Extended access method, apparatus, system, and computer program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2024-12-26
- Publication Date
- 2026-06-26
Smart Images

Figure CN119788486B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of extended access technology, and in particular to an extended access method, extended access device, extended access system, computer-readable storage medium, and computer program product. Background Technology
[0002] In practical applications of automatic control, due to differences in project scale and function, there are significant differences in system architecture and equipment required for the project. In other words, the types of equipment are diverse and complex, and there are many communication protocols and interface types. This brings certain difficulties to the integration and unified management of multi-device systems (e.g., building control systems, which require the integration of lighting, air conditioning, and elevators). Summary of the Invention
[0003] The inventors of this disclosure have discovered the following problems in the above-mentioned related technologies: In view of the diversity of devices, different types of devices can be controlled by expansion modules, but how to connect different types of expansion modules to the expansion access device for management is a problem that needs to be solved.
[0004] According to some embodiments of the first aspect of this disclosure, an extended access method is provided, executed by an extended access device, comprising: configuring multiple extended modules based on relevant information of multiple extended modules; querying among the multiple extended modules a target extended module corresponding to a received driving instruction; and sending a driving instruction to the target extended module via a communication network in a unicast manner, so that the target extended module drives the subordinate terminal device corresponding to the driving instruction.
[0005] In some embodiments, querying the target extension module corresponding to the received driver instruction among multiple extension modules includes: determining the extension modules among the multiple extension modules that have passed address verification; and querying the target extension module among the extension modules that have passed address verification.
[0006] In some embodiments, the relevant information of the multiple extension modules includes the target configuration information of each of the multiple extension modules. Determining the extension module that passes the address verification among the multiple extension modules includes: receiving the address verification request of each extension module, the address verification request including the actual configuration information; and determining the extension module whose actual configuration information is consistent with the target configuration information among the multiple extension modules as the extension module that passes the address verification.
[0007] In some embodiments, the extended access method further includes: sending a configuration information update request to an extended module whose actual configuration information is inconsistent with the target configuration information via a communication network in a unicast manner, so that the extended module whose actual configuration information is inconsistent with the target configuration information updates the actual configuration information according to the target configuration information, wherein the configuration information update request includes the target configuration information.
[0008] In some embodiments, the extended access method further includes: receiving end device update data sent by the extended module whose address verification has passed through the communication network; and updating the stored end device data according to the end device update data.
[0009] In some embodiments, the extended access method further includes: monitoring the communication load of the port between the extended access device and the extended module whose address verification has passed; and determining whether the port of the extended access device is in a communication-ready state based on the communication load of the port between the extended access device and the extended module whose address verification has passed, wherein the communication-ready state includes at least one of a transmit-ready state and a receive-ready state.
[0010] In some embodiments, determining whether a port of an extended access device is in a communication-ready state based on the communication load of the port between the extended access device and the extended module whose address has been verified includes: determining that the port of the extended access device is in a communication-ready state when the communication load of the port between the extended access device and the extended module whose address has been verified is less than or equal to a first load threshold; and determining that the port of the extended access device is in a communication-disready state when the communication load of the port between the extended access device and the extended module whose address has been verified is greater than the first load threshold.
[0011] In some embodiments, the extended access method further includes: broadcasting an overload warning in the communication network when the communication load of the port between the extended access device and the extended module whose address verification has passed is greater than a first load threshold.
[0012] In some embodiments, the relevant information of the multiple extension modules includes the type of each extension module, the communication address of each extension module, and the target configuration information of each extension module.
[0013] In some embodiments, determining which extension modules among a plurality of extension modules have passed address verification includes: receiving a registration request from each of the plurality of extension modules; returning a registration result to each extension module via a communication network, wherein the registration result is used to indicate whether the registration was successful or failed; and determining which extension modules among the successfully registered extension modules have passed address verification.
[0014] In some embodiments, the target configuration information of each extension module includes at least one of the following: target sub-configuration information of each extension module, target point type of each extension module, and target point address of each extension module. The target point type is used to indicate whether the parameter of the subordinate end device of the extension module is an analog quantity or a digital quantity, and the target point address is used to indicate the query address of the parameter of the subordinate end device of the extension module.
[0015] According to some embodiments of the second aspect of this disclosure, an extended access device is provided, comprising: a configuration unit configured to configure multiple extended modules based on relevant information of multiple extended modules; a query unit configured to query among the multiple extended modules a target extended module corresponding to a received driving instruction; and a sending unit configured to send a driving instruction to the target extended module via a communication network in a unicast manner, so that the target extended module drives the subordinate terminal device corresponding to the driving instruction.
[0016] In some embodiments, the query unit is further configured to determine which of the multiple extension modules has passed address verification; and among the extension modules that have passed address verification, to query the target extension module.
[0017] In some embodiments, the relevant information of the multiple extension modules includes the target configuration information of each of the multiple extension modules, and the query unit is further configured to receive the address verification request of each extension module, the address verification request including the actual configuration information; the extension module whose actual configuration information is consistent with the target configuration information among the multiple extension modules is determined as the extension module that passes the address verification.
[0018] In some embodiments, the sending unit is further configured to send a configuration information update request to an extension module whose actual configuration information is inconsistent with the target configuration information via a communication network in a unicast manner, so that the extension module whose actual configuration information is inconsistent with the target configuration information updates the actual configuration information according to the target configuration information, wherein the configuration information update request includes the target configuration information.
[0019] In some embodiments, the extended access device further includes a receiving unit configured to receive end device update data sent by the extended module whose address verification has passed through the communication network; and to update the stored end device data according to the end device update data.
[0020] In some embodiments, the extended access device further includes a monitoring unit configured to monitor the communication load of the port between the extended access device and the extended module whose address verification has passed; and to determine whether the port of the extended access device is in a communication-ready state based on the communication load of the port between the extended access device and the extended module whose address verification has passed, wherein the communication-ready state includes at least one of a transmit-ready state and a receive-ready state.
[0021] In some embodiments, the monitoring unit is further configured to determine that the port of the extended access device is in a communication ready state when the communication load of the port between the extended access device and the extended module whose address has been verified is less than or equal to a first load threshold; and to determine that the port of the extended access device is in a communication not ready state when the communication load of the port between the extended access device and the extended module whose address has been verified is greater than the first load threshold.
[0022] In some embodiments, the sending unit is further configured to broadcast an overload warning in the communication network if the communication load of the port between the extended access device and the extended module whose address has been verified exceeds a first load threshold.
[0023] In some embodiments, the relevant information of the multiple extension modules includes the type of each extension module, the communication address of each extension module, and the target configuration information of each extension module.
[0024] In some embodiments, the query unit is further configured to receive a registration request from each of the plurality of extension modules; return a registration result to each extension module via a communication network, wherein the registration result is used to indicate whether the registration was successful or failed; and identify the extension module whose address verification passed among the successfully registered extension modules.
[0025] In some embodiments, the target configuration information of each extension module includes at least one of the following: target sub-configuration information of each extension module, target point type of each extension module, and target point address of each extension module. The target point type is used to indicate whether the parameter of the subordinate end device of the extension module is an analog quantity or a digital quantity, and the target point address is used to indicate the query address of the parameter of the subordinate end device of the extension module.
[0026] According to some embodiments of the third aspect of this disclosure, an extended access apparatus is provided, including: a memory and a processor coupled to the memory, the processor being configured to execute the extended access method of any of the above embodiments based on instructions stored in the memory.
[0027] According to some embodiments of the fourth aspect of this disclosure, an extended access system is provided, including: the extended access device in any of the above embodiments; a plurality of extended modules, including a target extended module, wherein the target extended module is configured to receive a driving instruction through a communication network and drive a subordinate terminal device corresponding to the driving instruction according to the driving instruction.
[0028] In some embodiments, the plurality of extension modules include an extension module that has passed address verification. The extension module that has passed address verification is configured to: determine the data of the subordinate end device of the extension module that has passed address verification based on the target configuration information of the extension module; determine whether the data of the subordinate end device has changed; and if it is determined that the data of the subordinate end device has changed, send the end device update data to the extension access device through the communication network so that the extension access device updates the stored end device data.
[0029] In some embodiments, each of the plurality of extension modules is configured to send an address verification request to the extended access device via a network in a unicast manner, the address verification request including actual configuration information.
[0030] In some embodiments, an extension module that fails address verification among multiple extension modules is configured to: receive a configuration information update request sent by an extension access device through a communication network, wherein the configuration information update request includes target configuration information; and update the actual configuration information according to the target configuration information.
[0031] In some embodiments, the extension module that passes address verification is further configured to: monitor the communication load of the port between the extension module that passes address verification and the extension access device; and determine whether the port of the extension module that passes address verification is in a communication-ready state based on the communication load of the port between the extension module that passes address verification and the extension access device, wherein the communication-ready state includes at least one of a transmit-ready state and a receive-ready state.
[0032] In some embodiments, the extension module that passes address verification is further configured to: determine that the port of the extension module that passes address verification is in a communication ready state when the communication load of the port between the extension module that passes address verification and the extension access device is less than or equal to a second load threshold; and determine that the port of the extension module that passes address verification is in a communication not ready state when the communication load of the port between the extension module that passes address verification and the extension access device is greater than the second load threshold.
[0033] In some embodiments, the extension module that passes address verification is further configured to broadcast an overload warning in the communication network if the communication load of the port between the extension module that passes address verification and the extension access device exceeds a second load threshold.
[0034] In some embodiments, each of the plurality of extension modules is further configured to: send a registration request to the extension access device; and receive a registration result returned by the extension access device through a communication network, wherein the registration result is used to indicate whether the registration was successful or failed.
[0035] In some embodiments, the plurality of extension modules include a pre-application extension module and a previously applied extension module. The pre-application extension module is configured to broadcast its communication address in the communication network. The previously applied extension module is configured to receive the communication address of the pre-application extension module and determine whether the communication address of the pre-application extension module and the communication address of the previously applied extension module are consistent.
[0036] In some embodiments, the requested extension module is further configured to broadcast a conflict warning in the communication network if it is determined that the communication address of the pre-requested extension module is consistent with the communication address of the requested extension module.
[0037] In some embodiments, the pre-requested extension module is further configured to: determine that the pre-requested extension module communication address application was successful if no conflict warning broadcast by the applied extension module is received within a specified time.
[0038] In some embodiments, the extended access system further includes an input device configured to input relevant information about a plurality of extended modules to the extended access device.
[0039] In some embodiments, the extended access system further includes subordinate terminal devices, wherein the subordinate terminal devices include subordinate terminal devices corresponding to the driving instructions and subordinate terminal devices not corresponding to the driving instructions, wherein the subordinate terminal devices corresponding to the driving instructions are configured to perform actions according to the driving instructions of the target extended module, and the subordinate terminal devices not corresponding to the driving instructions are configured to wait for driving.
[0040] According to some embodiments of the fifth aspect of this disclosure, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the extended access method of any of the above embodiments.
[0041] According to some embodiments of the sixth aspect of this disclosure, a computer program product is provided, including computer instructions that, when executed by a processor, implement the extended access method in any of the above embodiments.
[0042] In the above embodiments, multiple expansion modules are configured based on their relevant information, enabling dynamic control of the different types of expansion modules that the expansion access device can connect to. The target expansion module corresponding to the received drive command is queried among the multiple expansion modules, allowing the expansion access module to flexibly control and select the multiple connected expansion modules. Sending drive commands to the target expansion module helps it drive the subordinate terminal devices corresponding to the drive commands. Furthermore, a corresponding number of expansion modules can be configured according to actual needs, solving the problems of limited expansion nodes and insufficient hardware interfaces in the expansion access device. The configuration order of different types of expansion modules can also be selected according to actual needs, solving the problem that the connection between the expansion access device and expansion modules must be sequentially spliced, thus improving the flexibility of the expansion access method. In addition, sending drive commands to the target expansion module via unicast through the communication network avoids the risk of reduced accuracy of drive control during the expansion access process due to expansion modules other than the target expansion module receiving the drive commands. Attached Figure Description
[0043] The accompanying drawings, which form part of this specification, illustrate embodiments of this disclosure and, together with the specification, serve to explain the principles of this disclosure.
[0044] This disclosure can be more clearly understood with reference to the accompanying drawings and the following detailed description.
[0045] Figure 1 Flowcharts illustrating some embodiments of the extended access method of this disclosure are shown.
[0046] Figure 2 Schematic diagrams illustrating some embodiments of the extended access device of this disclosure are shown.
[0047] Figure 3 Schematic diagrams illustrating other embodiments of the extended access apparatus of this disclosure are shown.
[0048] Figure 4 Schematic diagrams illustrating some embodiments of the extended access system of this disclosure are shown.
[0049] Figure 5 Schematic diagrams illustrating other embodiments of the extended access system of this disclosure are shown. Detailed Implementation
[0050] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.
[0051] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0052] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0053] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.
[0054] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0055] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0056] In related technologies, an integrated scheme of central controller and expansion modules is adopted, i.e., a single controller with expansion modules connected to its hardware interface. The main controller exchanges data with the expansion modules via communication buses such as USB (Universal Serial Bus) and UART (Universal Asynchronous Receiver / Transmitter). The expansion modules must be connected in address order; that is, in related technologies, the connection positions of the expansion modules are fixed.
[0057] For example, addresses 1 through 4 must be one type of extension module, and addresses 5 through 8 must be another.
[0058] Typically, the communication speeds of different types of expansion modules vary. When an expansion module handles a large amount of data (e.g., an enhanced communication expansion module), its communication speed will be higher. The number of connectable end devices that different types of expansion modules can support also varies. Considering the reliability of the system involved with expansion modules, fewer expansion modules can be connected to high-speed communication ports. In practical engineering, when users need to use a large number of high-speed expansion modules, multiple main controllers are required, increasing engineering costs.
[0059] To address the aforementioned issues, this disclosure proposes an extended access method, as detailed below.
[0060] Figure 1Flowcharts illustrating some embodiments of the extended access method of this disclosure are shown.
[0061] like Figure 1 As shown, the extended access method includes steps 110 to 130, wherein the extended access method is executed by the extended access device.
[0062] In step 110, multiple expansion modules are configured based on their relevant information. The relationship between these expansion modules and the extended access device is that each expansion module occupies one communication port of the extended access device.
[0063] In other words, by using one communication port of the extended access device to expand multiple extension modules, the hardware resources of the extended access device are maximized, and the problem of insufficient hardware interfaces of the extended access device is also solved.
[0064] For example, taking an RS485 expansion module with two ports as an example, according to the relevant information of the expansion module, the expansion module knows that its first port is connected to a subordinate terminal device with a Modbus RTU (Modbus Remote Terminal Unit) address of 1, and the register address of Modbus RTU function code 03 is 1, 2, and 3. The expansion module then returns the information read from the subordinate terminal device to the expansion access device based on the communication of the subordinate terminal device.
[0065] Accordingly, the input device sends information about multiple expansion modules to the extended access device so that the extended access device can configure multiple expansion modules.
[0066] In step 120, the target extension module corresponding to the received driver instruction is queried among multiple extension modules. The received driver instruction may, for example, be sent by the management platform.
[0067] In step 130, a drive command is sent to the target extension module via a communication network in a unicast manner, so that the target extension module can drive the subordinate terminal device corresponding to the drive command.
[0068] Accordingly, the target extension module receives the driving instructions through the communication network and drives the subordinate terminal devices corresponding to the driving instructions.
[0069] In the above embodiments, multiple expansion modules are configured based on their relevant information, enabling dynamic control of the different types of expansion modules that the expansion access device can connect to. The target expansion module corresponding to the received drive command is queried among the multiple expansion modules, allowing the expansion access module to flexibly control and select the multiple connected expansion modules. Sending drive commands to the target expansion module helps it drive the subordinate terminal devices corresponding to the drive commands. Furthermore, a corresponding number of expansion modules can be configured according to actual needs, solving the problems of limited expansion nodes and insufficient hardware interfaces in the expansion access device. The configuration order of different types of expansion modules can also be selected according to actual needs, solving the problem that the connection between the expansion access device and expansion modules must be sequentially spliced, thus improving the flexibility of the expansion access method. In addition, sending drive commands to the target expansion module via unicast through the communication network avoids the risk of reduced accuracy of drive control during the expansion access process due to expansion modules other than the target expansion module receiving the drive commands.
[0070] In some embodiments, the relevant information of the multiple extension modules includes the type of each extension module, the communication address of each extension module, and the target configuration information of each extension module.
[0071] By specifying the relevant information of the expansion module, including its type, communication address, and target configuration information, the feasibility of configuring multiple expansion modules based on their information is provided. Specifically, the extended access device needs to configure the expansion module according to its target configuration information, and subsequently performs address verification based on the target configuration information. The extended access device will communicate with the expansion module based on its communication address, and determine the target expansion module from among multiple expansion modules based on its type and target configuration information.
[0072] For example, the type of expansion module can be an I / O expansion module or an enhanced communication expansion module.
[0073] For example, when configuring the communication address of an expansion module, the communication address can be configured via DIP switches based on the module's relevant information. Additionally, if there is a limit to the number of allowed expansion modules or if the communication address set in the engineering development differs from the actual communication address of the expansion module, the communication address of the expansion module can be changed via DIP switches.
[0074] In some embodiments, the target configuration information of each extension module includes at least one of the following: target sub-configuration information of each extension module, target point type of each extension module, and target point address of each extension module. The target point type is used to indicate whether the parameter of the subordinate end device of the extension module is an analog quantity or a digital quantity, and the target point address is used to indicate the query address of the parameter of the subordinate end device of the extension module.
[0075] By specifically defining the target configuration information of the extension module, including target sub-configuration information, target location type, and target location address, where the target location type and target location address are configuration information related to the parameters of the subordinate terminal devices, more accurate configuration of multiple extension modules is achieved, and convenience is provided for determining the target extension module according to the driver instructions in the future.
[0076] For example, the points of subordinate devices of the expansion module can be parameters such as the on / off status and operating mode of the air conditioner.
[0077] For example, the target sub-configuration information of the extension module refers to the configuration information of the extension module itself, such as the baud rate of the RS485 port of the RS485 extension module, etc.
[0078] When configuring target points, different point types can be assigned based on the read / write permissions and the range of point values. For example, target point types can be analog input AI (read-only, input value is a real number), analog output AO (read / write, output value is a real number), binary input BI (read-only, input value is 0 or 1), and binary output BO (read / write, output value is 0 or 1). To ensure uniqueness (i.e., a one-to-one correspondence between target point types and target point addresses), different attributes of the same target point type need to be numbered. This number is called the point address, which is the query address of the target point.
[0079] In some embodiments, the extended access device first determines the extended modules that have passed address verification among a plurality of extended modules, and then queries the target extended module among the extended modules that have passed address verification.
[0080] By querying the target extension module corresponding to the driver instruction among the extension modules that pass address verification, the accuracy and stability of the target extension module are improved, thereby ensuring the stability of the extension access process. Furthermore, address verification of the extension modules ensures their security, reducing the risk of incorrect extension module calls due to discrepancies between the actual and target configuration information, thus guaranteeing the security of the extension access process.
[0081] The specific steps for determining which of multiple extension modules has passed address verification are as follows. The relevant information for these multiple extension modules includes the target configuration information for each module.
[0082] Receive the address verification request from each extension module. The address verification request includes the actual configuration information. Determine the extension module whose actual configuration information matches the target configuration information as the extension module that passes the address verification.
[0083] Based on the actual configuration information and target configuration information of the extension modules, an address verification method is provided for the extension modules, making it feasible to query the target extension module among extension modules that have passed address verification. Furthermore, by triggering the extension access device to perform address verification on the extension modules through the address verification request sent by the extension modules, process redundancy is reduced when the extension access device directly triggers address verification before the extension modules are ready to perform address verification.
[0084] Accordingly, each of the multiple expansion modules will send an address verification request to the extended access device via unicast through the communication network. The address verification request includes the actual configuration information.
[0085] Sending address verification requests to the extended access device via unicast ensures stability during communication and reduces the risk of information disorder caused by multiple extended modules simultaneously broadcasting information to the extended access device, thus guaranteeing the stability and security of the extended access process.
[0086] Furthermore, for expansion modules whose actual configuration information matches the target configuration information, a verification pass message is sent via unicast through the communication network to the expansion module whose actual configuration information matches the target configuration information.
[0087] In addition, for expansion modules whose actual configuration information is inconsistent with the target configuration information (i.e., expansion modules whose address verification fails), a configuration information update request is sent to the expansion modules whose actual configuration information is inconsistent with the target configuration information via unicast through the communication network, so that the expansion modules whose actual configuration information is inconsistent with the target configuration information update their actual configuration information according to the target configuration information. The configuration information update request includes the target configuration information.
[0088] By sending configuration information update requests to extension modules whose actual configuration information differs from the target configuration information, these modules can update their own configuration information based on the target information. This allows extension modules with inconsistent configuration information to pass address verification, ensuring the stability of the extended access process. Furthermore, dynamically adjusting the actual configuration information of the extension modules in real time, and promptly enabling extension modules that fail address verification to pass, ensures timely service to the extended access device and guarantees the stability of the extended access process.
[0089] Accordingly, the expansion modules that fail address verification among the multiple expansion modules will receive configuration information update requests sent by the expansion access device through the communication network. The configuration information update requests include target configuration information; and update the actual configuration information according to the target configuration information.
[0090] By receiving configuration information update requests from extended access devices and updating the actual configuration information according to the target configuration information, the extended module can transition from an address verification failure state to an address verification success state, ensuring the stability of the extended access process. Furthermore, by dynamically updating the actual configuration information in real time, services can be provided to the extended access devices promptly.
[0091] It should be noted that the communication between multiple expansion modules and the expansion access device adopts a multi-master communication architecture, that is, any expansion module can initiate bus communication.
[0092] For example, the communication network could be a CAN (Controller Area Network) communication network.
[0093] In some embodiments, during the process of determining which extension modules have passed address verification among multiple extension modules, the successfully registered extension modules among the multiple extension modules can also be determined first, as follows.
[0094] It receives registration requests from each of multiple extension modules; returns registration results to each extension module via the communication network, where the registration result indicates whether registration was successful or failed; and identifies the extension modules whose address verification passed among the successfully registered extension modules. Successful registration indicates that the communication address of that extension module is not in use, while registration failure indicates that the communication address of that extension module is already in use.
[0095] Before verifying the address of an extension module, the system first checks whether multiple extension modules have successfully registered, specifically whether the communication address of the current extension module has been used by other extension modules. Only if the communication address of the current extension module is confirmed to be unused by other extension modules is the address verified for the current extension module. This two-level verification improves the accuracy and stability of subsequent target extension module identification and ensures the stability of the extension access process. In addition, the two-level verification also ensures the security of the extension module.
[0096] Accordingly, each extension module sends a registration request to the extension access device and receives the registration result returned by the extension access device through the communication network, wherein the registration result is used to indicate whether the registration was successful or failed.
[0097] By sending a registration request to the extended access device, it is determined whether the communication address of the current extended module has already been used. This facilitates subsequent decisions based on the registration result regarding whether to send an address registration request to the extended access device. Successfully registered extended modules can then send an address verification request to the extended access device. This two-tiered verification improves the accuracy and stability of subsequent target extended module identification, ensuring the stability of the extended access process. Furthermore, this two-tiered verification also guarantees the security of the extended modules.
[0098] In some embodiments, before sending a registration request to the extended access device, the multiple extension modules may also perform the following operations, as detailed below.
[0099] Multiple extension modules include pre-request extension modules and already-requested extension modules. The pre-request extension module broadcasts its communication address in the communication network. The already-requested extension module receives the communication address of the pre-request extension module and determines whether the communication address of the pre-request extension module and the communication address of the already-requested extension module are consistent.
[0100] The pre-application expansion module broadcasts its communication address so that the already-application expansion module can determine whether the communication address of the pre-application expansion module is consistent with that of the already-application expansion module. This helps to determine whether the communication address of the pre-application expansion module can be used directly or needs to be modified, based on whether the communication addresses of the two expansion modules are consistent. This helps to reduce the risk of communication disorder between the expansion module and the expansion access device or between the expansion modules themselves due to the communication addresses of the two expansion modules being consistent.
[0101] In addition, if the communication address of the pre-application extension module is consistent with the communication address of the applied extension module, the application extension module will broadcast a conflict warning in the communication network.
[0102] By broadcasting a conflict warning when the communication address of a pre-application expansion module matches that of an already applied expansion module, the conflict is notified to each expansion module and expansion access device, thereby drawing the attention of each expansion module and expansion access device and ensuring the security and stability of the expansion access process.
[0103] If the pre-application extension module does not receive a conflict warning broadcast by the already-application extension module within a specified time, it will determine that the pre-application extension module's communication address application was successful. If the pre-application extension module's communication address application is successful, the extension module that successfully applied for the communication address will then send a registration request to the extended access device.
[0104] By waiting for a specified time, if no conflict warning is received within the specified time, it is determined that the application for the communication address of the pre-requested expansion module has been successful. This saves time during the expansion access process and reduces the risk that the expansion access process cannot continue due to indefinite waiting caused by the lack of conflict warnings.
[0105] In some embodiments, if the data of the subordinate terminal device of the extended module whose address verification has passed changes, the extended access device will receive the terminal device update data sent by the extended module whose address verification has passed through the communication network; and update the saved terminal device data according to the terminal device update data.
[0106] Accordingly, the extended module that passes address verification will also determine the data of its subordinate terminal devices based on the target configuration information of the extended module that passes address verification; determine whether the data of the subordinate terminal devices has changed; and if it is determined that the data of the subordinate terminal devices has changed, send the terminal device update data to the extended access device through the communication network so that the extended access device updates the stored terminal device data.
[0107] When the data of the subordinate terminal devices changes, the extended module that passes the address verification will send the terminal device update data to the extended access device. This allows the extended access device to update the stored terminal device data based on the terminal device update data, reducing the data differences between the extended access device and the terminal devices. This makes the management platform of the extended access device more streamlined and standardized in terms of the status and access methods of the terminal devices, thereby improving the real-time performance of the extended access method.
[0108] For example, the expansion module is an I / O expansion module. One of the wide ports of this expansion module is connected to a temperature sensor. When the ambient temperature changes, the current or voltage supplied to this port by the temperature sensor will change, which indicates that the data of the subordinate terminal device has changed.
[0109] In some embodiments, for large network environments, the communication throughput of the ports between each expansion module and the expansion access device is relatively high. Therefore, the expansion access device will also monitor the communication load of the ports between itself and the expansion modules whose addresses have been verified, as follows.
[0110] Monitor the communication load of the port between the extended access device and the extended module whose address verification has passed; and determine whether the port of the extended access device is in a communication ready state based on the communication load of the port between the extended access device and the extended module whose address verification has passed, wherein the communication ready state includes at least one of the transmit ready state and the receive ready state.
[0111] By monitoring the communication load of the ports between the extended access device and the extended modules that have passed address verification in real time, and determining whether the ports of the extended access device are in a communication-ready state based on the monitored communication load, it is helpful to achieve load balancing of the extended access device. This helps to effectively reduce the risk of untimely information processing and information loss during the extended access process due to communication congestion at the ports of the extended access device, and helps to ensure the reliable operation of the extended access process.
[0112] In some embodiments, the extended access device sends point control (i.e., drive instructions) to the extended module to drive the subordinate end devices of the extended module. In addition, the extended access device receives the point status (i.e., data of the subordinate end devices of the extended module) sent by the extended module.
[0113] For example, when the data or status of the subordinate terminal device changes, the extension module adds the updated data to the send queue and starts the send task when the port is in the send-ready state. When the extension access device detects that its port is in the receive-ready state, it starts the receive task.
[0114] In some embodiments, if the extended access device receives the point cloud state, it will complete the data parsing through the data processor inside the extended access device, and determine whether to store it in the data buffer and initiate a reload request based on the parsing result, so as to complete the point cloud state synchronization between the extended module and the extended access device.
[0115] In some embodiments, if the extended access device receives a drive command, it adds the drive command to a send queue. When the port of the extended access device is in a send-ready state, the arbitration scheduler in the extended access device initiates the send task. Additionally, when the extended module detects that its port is in a receive-ready state, it initiates a receive task, completes data parsing through its data processor, initiates a terminal device drive request, and replies to the extended access device with the drive result of this drive command, thus completing drive synchronization between the extended module and the extended access device.
[0116] By sending the drive result back to the extended access device, the extended module and the extended access device can synchronize their understanding of the drive result. This helps the extended access device to have complete control over the current drive command and determine whether the drive command needs to be resent based on the drive result, effectively ensuring the efficiency and stability of the extended access method.
[0117] The following details how to determine whether the port of the extended access device is in a communication-ready state based on the communication load between the extended access device and the extended module whose address verification has passed.
[0118] If the communication load of the port between the extended access device and the extended module whose address verification has passed is less than or equal to the first load threshold, it is determined that the port of the extended access device is in a communication ready state.
[0119] If the port communication load between the extended access device and the extended module whose address has been verified is greater than the first load threshold, it is determined that the port of the extended access device is in a communication-unready state.
[0120] A specific method is provided for determining whether the port of an extended access device is in a communication-ready state based on the communication load, which provides feasibility for subsequently controlling the reception and transmission of port communication data of the extended access device based on whether the port is in a communication-ready state.
[0121] For example, when the port of the extended access device is in a receive-ready state, the receive task is started.
[0122] Additionally, if the communication load on the port between the extended access device and the extended module whose address verification has passed exceeds the first load threshold, the extended access device will also broadcast an overload warning in the communication network. In this case, the extended module sending information to the extended access device should stop sending information and push any untransmitted information into the transmission buffer. Data transmission will resume only after the port load of the extended access device returns to normal.
[0123] By broadcasting an overload warning when the communication load on the port between the extended access device and the extended module whose address verification has passed exceeds the first load threshold, the extended module can stop sending information to the extended access device in a timely manner. This enables load balancing of the extended access device, effectively reducing the risk of untimely information processing and information loss during the extended access process due to communication congestion on the port of the extended access device, and also ensuring the reliable operation of the extended access process.
[0124] Accordingly, the extension module that passes address verification will also monitor the communication load of the port between the extension module that passes address verification and the extension access device; and determine whether the port of the extension module that passes address verification is in a communication ready state based on the communication load of the port between the extension module that passes address verification and the extension access device, wherein the communication ready state includes at least one of the sending ready state and the receiving ready state.
[0125] By monitoring the communication load of the ports between the expansion modules that have passed address verification and the expansion access device in real time, and determining whether the ports of the expansion modules that have passed address verification are in a communication-ready state based on the monitored communication load, it helps to effectively reduce the risk of untimely information processing and information loss during the expansion access process due to communication congestion at the ports of the expansion modules, and helps to ensure the reliable operation of the expansion access process.
[0126] In some embodiments, the extension module sends the location status (i.e., the data of the subordinate end devices of the extension module) to the extension access device to drive the subordinate end devices of the extension module. In addition, the extension module receives the location control (i.e., drive command) sent by the extension access device.
[0127] The following details how to determine whether the port of the expansion module that has passed address verification is in a communication-ready state based on the communication load of the port between the expansion module and the expansion access device.
[0128] If the communication load of the port between the expansion module that has passed address verification and the expansion access device is less than or equal to the second load threshold, it is determined that the port of the expansion module that has passed address verification is in a communication ready state.
[0129] If the communication load on the port between the extended module that has passed address verification and the extended access device is greater than the second load threshold, it is determined that the port of the extended module that has passed address verification is in a communication-disabled state.
[0130] This paper provides a specific method for determining whether the port of an expansion module is in a communication-ready state based on the communication load, which provides feasibility for controlling the reception and transmission of port communication data of the expansion module based on whether the port is in a communication-ready state.
[0131] Additionally, if the communication load on the port between the address-verified expansion module and the expansion access device exceeds the second load threshold, the address-verified expansion module will also broadcast an overload warning in the communication network. In this case, the expansion access device sending information to the expansion module should stop sending information and push any untransmitted information into the transmission buffer. Data transmission will resume only after the port load of the expansion module returns to normal.
[0132] By broadcasting an overload warning when the communication load on the port between the expansion module and the expansion access device exceeds the second load threshold, the expansion access device or other expansion modules can promptly stop sending information to the expansion access device. This effectively reduces the risk of untimely information processing and information loss during the expansion access process due to communication congestion on the expansion module's port, and also ensures the reliable operation of the expansion access process.
[0133] In some embodiments, communication may also exist between extension modules that have passed address verification. If there is an extension module that has passed address verification and broadcasts an overload warning, other extension modules that have passed address verification will stop sending information to the extension module that has passed address verification and broadcast an overload warning. Communication will resume after the load of the extension module that has passed address verification and broadcast an overload warning returns to normal.
[0134] Figure 2 Schematic diagrams illustrating some embodiments of the extended access device of this disclosure are shown.
[0135] like Figure 2 As shown, the extended access device 20 includes a configuration unit 21, a query unit 22, and a sending unit 23.
[0136] Configuration unit 21 is configured to configure multiple extension modules based on relevant information of multiple extension modules.
[0137] In some embodiments, the relevant information of the multiple extension modules includes the type of each extension module, the communication address of each extension module, and the target configuration information of each extension module.
[0138] In some embodiments, the target configuration information of each extension module includes at least one of the following: target sub-configuration information of each extension module, target point type of each extension module, and target point address of each extension module. The target point type is used to indicate whether the parameter of the subordinate end device of the extension module is an analog quantity or a digital quantity, and the target point address is used to indicate the query address of the parameter of the subordinate end device of the extension module.
[0139] The query unit 22 is configured to query among multiple extension modules the target extension module corresponding to the received driver instruction.
[0140] In some embodiments, the query unit 22 is further configured to determine the extension modules among a plurality of extension modules that have passed address verification; and to query the target extension module among the extension modules that have passed address verification.
[0141] In some embodiments, the relevant information of the multiple extension modules includes the target configuration information of each of the multiple extension modules, and the query unit 22 is further configured to receive the address verification request of each extension module, the address verification request including the actual configuration information; and the extension module whose actual configuration information is consistent with the target configuration information is determined as the extension module whose address verification has passed.
[0142] In some embodiments, the query unit 22 is further configured to receive a registration request from each of the plurality of extension modules; return a registration result to each extension module via a communication network, wherein the registration result is used to indicate whether the registration was successful or failed; and identify the extension module whose address verification passed among the successfully registered extension modules.
[0143] The sending unit 23 is configured to send a drive command to the target extension module via a communication network in a unicast manner, so that the target extension module can drive the subordinate terminal device corresponding to the drive command.
[0144] In some embodiments, the sending unit 23 is further configured to send a configuration information update request to an extension module whose actual configuration information is inconsistent with the target configuration information via a communication network in a unicast manner, so that the extension module whose actual configuration information is inconsistent with the target configuration information updates the actual configuration information according to the target configuration information, wherein the configuration information update request includes the target configuration information.
[0145] In some embodiments, the sending unit 23 is further configured to broadcast an overload warning in the communication network when the communication load of the port between the extended access device and the extended module whose address verification has passed is greater than a first load threshold.
[0146] In some embodiments, the extended access device 20 further includes a receiving unit configured to receive end device update data sent by the extended module whose address verification has passed through the communication network; and to update the stored end device data according to the end device update data.
[0147] In some embodiments, the extended access device 20 further includes a monitoring unit configured to monitor the communication load of the port between the extended access device and the extended module whose address verification has passed; and to determine whether the port of the extended access device is in a communication-ready state based on the communication load of the port between the extended access device and the extended module whose address verification has passed, wherein the communication-ready state includes at least one of a transmit-ready state and a receive-ready state.
[0148] In some embodiments, the monitoring unit is further configured to determine that the port of the extended access device is in a communication ready state when the communication load of the port between the extended access device and the extended module whose address has been verified is less than or equal to a first load threshold; and to determine that the port of the extended access device is in a communication not ready state when the communication load of the port between the extended access device and the extended module whose address has been verified is greater than the first load threshold.
[0149] In the above embodiments, the extended access device can dynamically control the different types of extended modules that it can access, enabling the extended access module to flexibly control and select multiple connected extended modules. Furthermore, it can configure a corresponding number of extended modules according to actual needs, solving the problems of limited extended nodes and insufficient hardware interfaces of the extended access device. It can also select the configuration order of different types of extended modules according to actual needs, resolving the issue that the connection between the extended access device and the extended modules must be sequentially spliced, thus improving the flexibility of the extended access method.
[0150] Figure 3 Schematic diagrams illustrating other embodiments of the extended access apparatus of this disclosure are shown.
[0151] like Figure 3 As shown, the extended access device 30 of this embodiment includes a memory 31 and a processor 32 coupled to the memory 31. The processor 32 is configured to execute the extended access method of any of the foregoing embodiments based on instructions stored in the memory 31.
[0152] The memory 31 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory stores, for example, the operating system, application programs, boot loader, and other programs.
[0153] The expansion access device 30 may also include input / output interfaces 33, network interfaces 34, and storage interfaces 35. These interfaces 33, 34, and 35, as well as the memory 31 and processor 32, can be connected via, for example, a bus 36. Specifically, the input / output interface 33 provides a connection interface for input / output devices such as monitors, mice, keyboards, touchscreens, microphones, and speakers. The network interface 34 provides a connection interface for various networked devices. The storage interface 35 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0154] In the above embodiments, the extended access device can dynamically control the different types of extended modules that it can access, enabling the extended access module to flexibly control and select multiple connected extended modules. Furthermore, it can configure a corresponding number of extended modules according to actual needs, solving the problems of limited extended nodes and insufficient hardware interfaces of the extended access device. It can also select the configuration order of different types of extended modules according to actual needs, resolving the issue that the connection between the extended access device and the extended modules must be sequentially spliced, thus improving the flexibility of the extended access method.
[0155] Figure 4 Schematic diagrams illustrating some embodiments of the extended access system of this disclosure are shown.
[0156] like Figure 4 As shown, the extended access system 40 includes the extended access device 41 and multiple extension modules 42 in any of the above embodiments.
[0157] Multiple expansion modules 42, including a target expansion module, wherein the target expansion module is configured to receive drive instructions through a communication network and drive the subordinate end devices corresponding to the drive instructions according to the drive instructions.
[0158] In some embodiments, each of the plurality of extension modules 42 is configured to send an address verification request to the extended access device via a network in a unicast manner, the address verification request including actual configuration information.
[0159] In some embodiments, the plurality of extension modules 42 include an extension module that has passed address verification. The extension module that has passed address verification is configured to: determine the data of the subordinate end device of the extension module that has passed address verification based on the target configuration information of the extension module; determine whether the data of the subordinate end device has changed; and if it is determined that the data of the subordinate end device has changed, send the end device update data to the extension access device through the communication network so that the extension access device updates the stored end device data.
[0160] In some embodiments, the extension module that passes address verification is further configured to: monitor the communication load of the port between the extension module that passes address verification and the extension access device; and determine whether the port of the extension module that passes address verification is in a communication-ready state based on the communication load of the port between the extension module that passes address verification and the extension access device, wherein the communication-ready state includes at least one of a transmit-ready state and a receive-ready state.
[0161] In some embodiments, the extension module that passes address verification is further configured to: determine that the port of the extension module that passes address verification is in a communication ready state when the communication load of the port between the extension module that passes address verification and the extension access device is less than or equal to a second load threshold; and determine that the port of the extension module that passes address verification is in a communication not ready state when the communication load of the port between the extension module that passes address verification and the extension access device is greater than the second load threshold.
[0162] In some embodiments, the extension module that passes address verification is further configured to broadcast an overload warning in the communication network if the communication load of the port between the extension module that passes address verification and the extension access device exceeds a second load threshold.
[0163] In some embodiments, an extension module that fails address verification among multiple extension modules is configured to: receive a configuration information update request sent by an extension access device through a communication network, wherein the configuration information update request includes target configuration information; and update the actual configuration information according to the target configuration information.
[0164] In some embodiments, each of the plurality of extension modules 42 is further configured to: send a registration request to the extension access device; and receive a registration result returned by the extension access device through a communication network, wherein the registration result is used to indicate whether the registration was successful or failed.
[0165] In some embodiments, the plurality of extension modules 42 include a pre-application extension module and an applied extension module. The pre-application extension module is configured to broadcast the communication address of the pre-application extension module in the communication network. The applied extension module is configured to receive the communication address of the pre-application extension module and determine whether the communication address of the pre-application extension module and the communication address of the applied extension module are consistent.
[0166] In some embodiments, the requested extension module is further configured to broadcast a conflict warning in the communication network if it is determined that the communication address of the pre-requested extension module is consistent with the communication address of the requested extension module.
[0167] In some embodiments, the pre-requested extension module is further configured to: determine that the pre-requested extension module communication address application was successful if no conflict warning broadcast by the applied extension module is received within a specified time.
[0168] In some embodiments, the extended access system 40 further includes an input device configured to input relevant information about a plurality of extended modules to the extended access device.
[0169] By inputting information about multiple expansion modules into the extended access device through the input device, the extended access device can configure multiple expansion modules based on this information, thus ensuring the feasibility of the extended access method.
[0170] In some embodiments, the extended access system 40 further includes subordinate terminal devices, wherein the subordinate terminal devices include subordinate terminal devices corresponding to the driving instructions and subordinate terminal devices not corresponding to the driving instructions, wherein the subordinate terminal devices corresponding to the driving instructions are configured to perform actions according to the driving instructions of the target extended module, and the subordinate terminal devices not corresponding to the driving instructions are configured to wait for driving.
[0171] The subordinate terminal devices corresponding to the driving command perform actions according to the driving command, while subordinate terminal devices that do not correspond to the driving command wait to be driven, ensuring the feasibility of the extended access process and providing feasibility for the extended access device to drive the subordinate terminal devices corresponding to the driving command through the extension module.
[0172] In the above embodiments, the extended access device in the extended access system can dynamically control the different types of extended modules that the extended access device can access, enabling the extended access module to flexibly control and select multiple connected extended modules. Furthermore, a corresponding number of extended modules can be configured according to actual needs, solving the problems of limited extended nodes and insufficient hardware interfaces of the extended access device. The configuration order of different types of extended modules can also be selected according to actual needs, solving the problem that the connection between the extended access device and the extended modules must be sequentially spliced, thus improving the flexibility of the extended access method.
[0173] Figure 5 Schematic diagrams illustrating other embodiments of the extended access system of this disclosure are shown.
[0174] like Figure 5 As shown, the extended access system 50 includes a computer program 510 (equivalent to an input device), a main controller 511 (equivalent to an extended access device), multiple extension modules, and multiple terminal devices corresponding to the multiple extension modules. Among them, the multiple extension modules (n extension modules) include extension module 1 (512), extension module 2 (513) to extension module n (514). For extension module 1, it includes multiple subordinate terminal devices (m subordinate terminal devices), namely terminal device 11 (515) to terminal device 1m (516); for extension module 2, it includes multiple subordinate terminal devices (i subordinate terminal devices), namely terminal device 21 (517) to terminal device 2i (518); for extension module n, it includes multiple subordinate terminal devices (j subordinate terminal devices), namely terminal device n1 (519) to terminal device nj (520).
[0175] like Figure 5 As shown, the computer program 510 and the main controller 511 can communicate via a TCP (Transmission Control Protocol) / IP (Internet Protocol) data sharing communication network, and the main controller 511 can communicate with multiple expansion modules via a CAN (Controller Area Network) extended communication network (equivalent to a communication network).
[0176] In the above embodiments, an extended access system is provided, which connects multiple extension modules through one port of the main controller. The extension modules are configured by the main controller according to the relevant information of the extension modules sent by the computer program. This solves the problem of insufficient controller hardware interfaces and the problem of limited controller extension nodes that must be spliced in sequence. It realizes the unordered access of multiple extension modules on one extension bus.
[0177] In some embodiments, a computer program product is protected, comprising a computer program or instructions that, when executed by a processor, implement the display method described above. The computer program product includes computer instructions carried on a computer-readable medium, the computer instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer instructions can be downloaded and installed from a network via an extended access device, or installed from a storage device, or installed from a ROM. When the computer program is executed by the CPU, it performs the functions defined in the methods of the embodiments of this disclosure.
[0178] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0179] This concludes the detailed description of the extended access method, apparatus, system, and computer program product disclosed herein. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.
[0180] The methods and systems of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the order specifically described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.
[0181] While specific embodiments of this disclosure have been described in detail by way of example, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments without departing from the scope and spirit of this disclosure. The scope of this disclosure is defined by the appended claims.
Claims
1. An extended access method, executed by an extended access device, comprising: Configure multiple extension modules based on their relevant information; The target extension module corresponding to the received driver instruction is queried among the plurality of extension modules; The drive command is sent to the target extension module via a communication network in a unicast manner, so that the target extension module can drive the subordinate end device corresponding to the drive command; Monitor the communication load of the port between the extended access device and the extended module whose address verification has passed; Based on the communication load of the port between the extended access device and the extended module whose address verification has passed, it is determined whether the port of the extended access device is in a communication ready state, wherein the communication ready state includes at least one of a transmit ready state and a receive ready state.
2. The extended access method according to claim 1, wherein, The target extension module corresponding to the received driver instruction among the plurality of extension modules includes: Identify the expansion modules that pass address verification among the plurality of expansion modules; In the extended modules that have passed address verification, query the target extended module.
3. The extended access method according to claim 2, wherein, The relevant information of the multiple extension modules includes the target configuration information of each of the multiple extension modules. The expansion modules whose address verification passes among the plurality of expansion modules include: Receive an address verification request from each of the extended modules, the address verification request including actual configuration information; The expansion modules whose actual configuration information matches the target configuration information are identified as expansion modules that have passed address verification.
4. The extended access method according to claim 3 further includes: The configuration information update request is sent via unicast to the extension module whose actual configuration information is inconsistent with the target configuration information through the communication network, so that the extension module whose actual configuration information is inconsistent with the target configuration information updates the actual configuration information according to the target configuration information, wherein the configuration information update request includes the target configuration information.
5. The extended access method according to claim 2, further comprising: The extension module that has passed address verification receives the terminal device update data sent through the communication network. Update the saved data of the terminal device according to the updated data of the terminal device.
6. The extended access method according to claim 1, wherein, Determining whether the port of the extended access device is in a communication-ready state based on the communication load of the port between the extended access device and the extended module whose address verification has passed includes: If the communication load of the port between the extended access device and the extended module whose address verification has passed is less than or equal to a first load threshold, the port of the extended access device is determined to be in the communication ready state. If the communication load on the port between the extended access device and the extended module whose address verification has passed is greater than the first load threshold, it is determined that the port of the extended access device is in a communication-disabled state.
7. The extended access method according to claim 6 further includes: If the communication load on the port between the extended access device and the extended module whose address has been verified exceeds the first load threshold, an overload warning is broadcast in the communication network.
8. The extended access method according to any one of claims 1 to 5, wherein, The relevant information of the plurality of expansion modules includes the type of each expansion module, the communication address of each expansion module, and the target configuration information of each expansion module.
9. The extended access method according to any one of claims 2 to 5, wherein, The expansion modules whose address verification passes among the plurality of expansion modules include: Receive the registration request from each of the plurality of extension modules; The registration result is returned to each of the extended modules through the communication network, wherein the registration result is used to indicate whether the registration was successful or failed. The extension module whose address verification passed is identified in the successfully registered extension module.
10. The extended access method according to claim 3 or 4, wherein, The target configuration information of each expansion module includes at least one of the target sub-configuration information of each expansion module, the target point type of each expansion module, and the target point address of each expansion module. The target point type is used to indicate whether the parameter of the subordinate terminal device of the expansion module is an analog quantity or a digital quantity, and the target point address is used to indicate the query address of the parameter of the subordinate terminal device of the expansion module.
11. An extended access device, comprising: The configuration unit is configured to configure multiple extension modules based on relevant information of multiple extension modules; The query unit is configured to query among the plurality of extension modules the target extension module corresponding to the received driving instruction; The sending unit is configured to send the driving command to the target extension module via a communication network in a unicast manner, so that the target extension module can drive the subordinate terminal device corresponding to the driving command. The monitoring unit is configured to monitor the communication load of the port between the extended module whose address verification has passed and the extended access device; and to determine whether the port of the extended module whose address verification has passed is in a communication ready state based on the communication load of the port between the extended module whose address verification has passed and the extended access device, wherein the communication ready state includes at least one of a transmit ready state and a receive ready state.
12. An extended access device, comprising: Memory; and A processor coupled to the memory, the processor being configured to execute the extended access method of any one of claims 1 to 10 based on instructions stored in the memory.
13. An extended access system, comprising: The extended access device as described in claim 11 or 12; Multiple extension modules, including a target extension module, wherein the target extension module is configured to receive the driving instruction through the communication network and drive the subordinate end device corresponding to the driving instruction according to the driving instruction.
14. The extended access system according to claim 13, wherein, The extended module that passes address verification is configured as follows: Based on the target configuration information of the extended module whose address verification has passed, determine the data of the subordinate end devices of the extended module whose address verification has passed; Determine whether the data of the subordinate terminal devices has changed; If it is determined that the data of the subordinate terminal device has changed, the terminal device update data is sent to the extended access device through the communication network so that the extended access device updates the data of the terminal device stored therein.
15. The extended access system according to claim 13, wherein, Each of the plurality of extension modules is configured to send an address verification request to the extended access device via the communication network in a unicast manner, the address verification request including actual configuration information.
16. The extended access system according to claim 15, wherein, The extension module that fails address verification among the multiple extension modules is configured as follows: The system receives a configuration information update request sent by the extended access device through the communication network, wherein the configuration information update request includes target configuration information; Update the actual configuration information based on the target configuration information.
17. The extended access system according to claim 13, wherein, The extended module that passes address verification is also configured to: If the communication load of the port between the extended module whose address verification has passed and the extended access device is less than or equal to the second load threshold, it is determined that the port of the extended module whose address verification has passed is in the communication ready state. If the communication load on the port between the extended module whose address verification has passed and the extended access device is greater than the second load threshold, it is determined that the port of the extended module whose address verification has passed is in a communication-disabled state.
18. The extended access system according to claim 17, wherein, The extended module that passes address verification is also configured to: If the communication load on the port between the extended module whose address verification has passed and the extended access device exceeds the second load threshold, an overload warning is broadcast in the communication network.
19. The extended access system according to any one of claims 13 to 16, wherein, Each of the plurality of extension modules is further configured as follows: Send a registration request to the extended access device; The registration result returned by the extended access device is received through the communication network, wherein the registration result is used to indicate whether the registration was successful or failed.
20. The extended access system according to any one of claims 13 to 16, wherein, The plurality of extension modules includes pre-requested extension modules and already-requested extension modules. The pre-application extension module is configured to broadcast the communication address of the pre-application extension module in the communication network; The applied expansion module is configured to receive the communication address of the pre-application expansion module and determine whether the communication address of the pre-application expansion module and the communication address of the applied expansion module are consistent.
21. The extended access system according to claim 20, wherein, The requested extension module is also configured to: If it is determined that the communication address of the pre-application expansion module is consistent with the communication address of the already applied expansion module, a conflict warning is broadcast in the communication network.
22. The extended access system according to claim 21, wherein, The pre-request extension module is also configured to: If no conflict warning is received from the application for the extension module within the specified time, it is determined that the application for the communication address of the pre-application extension module was successful.
23. The extended access system according to any one of claims 13 to 16, further comprising: An input device is configured to input relevant information of the plurality of expansion modules to the extended access device.
24. The extended access system according to any one of claims 13 to 16, further comprising: The subordinate end devices include subordinate end devices corresponding to the driving instructions and subordinate end devices not corresponding to the driving instructions, wherein the subordinate end devices corresponding to the driving instructions are configured to perform actions according to the driving instructions of the target extension module, and the subordinate end devices not corresponding to the driving instructions are configured to wait for driving.
25. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the extended access method according to any one of claims 1 to 10.
26. A computer program product comprising computer instructions that, when executed by a processor, implement the extended access method according to any one of claims 1 to 10.