Method and system for optimizing data transmission of terminal intelligent lighting system
By setting up subnets and trunk networks in the terminal intelligent lighting system, the transmission path of lighting control signals is optimized, and the problems of large data transmission volume and complex control are solved, efficient equipment management and troubleshooting are achieved, and the reliability of network management is improved.
Patent Information
- Application Number
- CN202510913077.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-03
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-07-03
AI Technical Summary
The terminal intelligent lighting system has a large data transmission volume and complex lighting control methods, which are prone to data packet loss, disordered order, network delay and other problems, resulting in insufficient control of the lamps, making it difficult to detect the terminal lamps offline in a timely manner.
A branch line of the terminal's lighting system hardware network is set as a subnet. All subnets are connected to the trunk network to form a subnet group, and IP gateways and switches are configured for each subnet. The general control terminal optimizes the transmission path of the lighting control signal based on the subnet communication delay, idle bandwidth, inter-net communication delay and illuminance value data.
It improves the data transmission efficiency of the terminal intelligent lighting system, reduces network delay, realizes efficient equipment management and troubleshooting, and improves the reliability of network management.
Smart Images

Figure CN120416142A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the intelligent control technology of terminal lighting, and particularly to an optimization method and system for data transmission of an intelligent lighting system in a terminal building. Background Art
[0002] The terminal building is the main place for passengers to wait for flights. Usually, it has a large area. The areas of the top ten terminal buildings in China are all over 600,000 square meters. Therefore, the intelligent lighting system in the terminal building belongs to large-space lighting. Its control status is as follows: the lighting area is wide, and the number of terminal devices and lamps is large; affected by flight fluctuations and passenger travel times, there are many influencing factors for the control of lamps in the terminal building; the lighting requirements in different areas such as the waiting area and the boarding area are different, and the requirements for intelligent control of lamps are high.
[0003] Therefore, the data transmission volume of the intelligent lighting system in the terminal building is large, the lamp control method is complex, and problems such as data packet loss, disorder, and network delay are likely to occur. The lamp control is not accurate enough, and it is difficult to detect in time when the terminal lamps are offline. Therefore, researching an optimization method for data transmission of the intelligent lighting system in the terminal building can improve lighting efficiency and control accuracy, improve the operation management of the airport, and provide a better travel experience for passengers. Summary of the Invention
[0004] In order to at least overcome the above deficiencies in the prior art, the purpose of this application is to provide an optimization method and system for data transmission of an intelligent lighting system in a terminal building.
[0005] In a first aspect, an embodiment of this application provides an optimization method for data transmission of an intelligent lighting system in a terminal building, including: Setting a branch line of the lighting system hardware network of the terminal building as a subnet; all subnets are connected to the trunk network and perform data interaction with the master control terminal of the trunk network; Forming a subnet group with multiple subnets whose actual physical distance is less than a preset value; Configuring an IP gateway for each subnet, and configuring a switch for each subnet group, and the IP gateways of the subnets within the same subnet group communicate with the switch of the subnet group; The IP gateway reports the subnet communication delay from the subnet to the master control terminal and the subnet idle bandwidth to the master control terminal, the switch reports the inter-network communication delay from each subnet to the switch and the inter-network idle bandwidth to the master control terminal, and the illuminance sensor within the subnet reports the illuminance value data of the area where the subnet is located to the master control terminal; The master control terminal sends a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth, and illuminance value data.
[0006] In a possible implementation, the master control terminal sending a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth, and illuminance value data includes: The master control terminal generates a lighting control signal according to the illuminance value data and the target illuminance value of the corresponding area; When the illuminance value data is less than or equal to a preset value, the master control terminal selects the path with the lowest delay from the master control terminal to the corresponding subnet according to the subnet communication delay and the inter-network communication delay, and sends the lighting control signal through this path; When the illuminance value data is greater than the preset value, the master control terminal selects the path with the most idle bandwidth from the master control terminal to the corresponding subnet according to the subnet idle bandwidth and the inter-network idle bandwidth, and sends the lighting control signal through this path.
[0007] In a possible implementation, the selection of the path with the lowest delay includes: The master control terminal calculates the communication delays of all links from the master control terminal to the target subnet; When the link is a link directly reaching the target subnet from the master control terminal through the backbone network, the subnet communication delay sent by the IP gateway of the target subnet is used as the communication delay of this link; When the link is a link reaching the target subnet from the master control terminal through the backbone network and other subnets, the sum of the subnet communication delay sent by the IP gateway of this other subnet, the first inter-network communication delay sent by the switch of this subnet group, and the second inter-network communication delay sent by the switch of this subnet group is used as the communication delay of this link; the first inter-network communication delay is the communication delay from the target subnet to the switch; the second inter-network communication delay is the communication delay from this other subnet to the switch.
[0008] In a possible implementation, the selection of the path with the most idle bandwidth includes: The master control terminal calculates the idle bandwidths of all links from the master control terminal to the target subnet; When the link is a link directly reaching the target subnet from the master control terminal through the backbone network, the subnet idle bandwidth sent by the IP gateway of the target subnet is used as the idle bandwidth of this link; When the link is a link reaching the target subnet from the master control terminal through the backbone network and other subnets, the minimum value of the subnet idle bandwidth sent by the IP gateway of this other subnet, the first inter-network idle bandwidth sent by the switch of this subnet group, and the second inter-network idle bandwidth sent by the switch of this subnet group is used as the idle bandwidth of this link; the first inter-network idle bandwidth is the idle bandwidth from the target subnet to the switch; the second inter-network idle bandwidth is the idle bandwidth from this other subnet to the switch.
[0009] In a possible implementation, it further includes: When the fault detection device, IP gateway and illuminance sensor in the subnet report data to the master control terminal, the data is directly reported to the trunk network through the line coupler in the subnet; When the switch in the subnet group reports data to the master control terminal, it selects the subnet with the most idle bandwidth between networks to report the data to the trunk network.
[0010] In a second aspect, the present application further provides an optimization system for data transmission of an intelligent lighting system in a terminal building, including: A networking unit, configured to: Set a branch of the lighting system hardware network in the terminal building as a subnet; all subnets are connected to the trunk network and perform data interaction with the master control terminal of the trunk network; Form a subnet group with multiple subnets whose actual physical distance is less than a preset value; Configure an IP gateway for each of the subnets, and configure a switch for each subnet group, and the IP gateways of the subnets within the same subnet group communicate with the switch of the subnet group; The IP gateway is configured to: report the subnet communication delay from the subnet to the master control terminal and the subnet idle bandwidth to the master control terminal; The switch is configured to: report the inter-network communication delay from each subnet to the switch and the inter-network idle bandwidth to the master control terminal; The illuminance sensor within the subnet is configured to: report the illuminance value data of the area where the subnet is located to the master control terminal; The master control terminal is configured to: send a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth and illuminance value data.
[0011] In a possible implementation, the master control terminal is further configured to: Generate a lighting control signal according to the illuminance value data and the target illuminance value of the corresponding area; When the illuminance value data is less than or equal to a preset value, the master control terminal selects the path with the lowest delay from the master control terminal to the corresponding subnet according to the subnet communication delay and inter-network communication delay to send the lighting control signal; When the illuminance value data is greater than the preset value, the master control terminal selects the path with the most idle bandwidth from the master control terminal to the corresponding subnet according to the subnet idle bandwidth and inter-network idle bandwidth to send the lighting control signal.
[0012] In a possible implementation, the master control terminal is further configured to: Calculate the communication delay of all links from the master control terminal to the target subnet; When the link is a link directly reaching the target subnet from the master control terminal through the trunk network, use the subnet communication delay sent by the IP gateway of the target subnet as the communication delay of this link; When the link is a link reaching the target subnet from the master control terminal through the trunk network and other subnets, use the sum of the subnet communication delay sent by the IP gateway of this other subnet, the first inter-network communication delay sent by the switch of this subnet group, and the second inter-network communication delay sent by the switch of this subnet group as the communication delay of this link; the first inter-network communication delay is the communication delay from the target subnet to the switch; the second inter-network communication delay is the communication delay from this other subnet to the switch.
[0013] In a possible implementation, the master control terminal is further configured to: Calculate the idle bandwidth of all links from the master control terminal to the target subnet; When the link is a link directly reaching the target subnet from the master control terminal through the trunk network, use the subnet idle bandwidth sent by the IP gateway of the target subnet as the idle bandwidth of this link; When the link is a link reaching the target subnet from the master control terminal through the trunk network and other subnets, use the minimum value of the subnet idle bandwidth sent by the IP gateway of this other subnet, the first inter-network idle bandwidth sent by the switch of this subnet group, and the second inter-network idle bandwidth sent by the switch of this subnet group as the idle bandwidth of this link; the first inter-network idle bandwidth is the idle bandwidth from the target subnet to the switch; the second inter-network idle bandwidth is the idle bandwidth from this other subnet to the switch.
[0014] In a possible implementation, the fault detection device, IP gateway, and illuminance sensor in the subnet are all configured to: When reporting data to the master control terminal, directly report the data to the trunk network through the line coupler in the subnet; The switch is further configured to: When reporting data to the master control terminal, select the subnet with the most inter-network idle bandwidth to report the data to the trunk network.
[0015] Compared with the prior art, the present invention has the following advantages and beneficial effects: An optimization method and system for data transmission of an intelligent lighting system in a terminal building according to the present invention can effectively improve the data transmission efficiency of the intelligent lighting system in the terminal building and reduce network latency; at the same time, various software and hardware methods are used to monitor the online status of various terminal devices, realizing efficient device management and fault troubleshooting, and greatly improving the efficiency and reliability of network management. Description of the Drawings
[0016] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, form a part of this application, and do not limit the embodiments of the present invention. In the drawings: Figure 1 It is a schematic diagram of the method steps of the embodiment of this application; Figure 2 It is a schematic structural diagram of the embodiment of this application. Detailed Embodiments
[0017] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. It should be understood that the drawings in this application are only for the purposes of illustration and description, and are not used to limit the protection scope of this application. Additionally, it should be understood that the schematic drawings are not drawn to actual scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the embodiments of this application. It should be understood that the operations in the flowchart may not be implemented in sequence, and steps without a logical context relationship may be reversed or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of this application.
[0018] In addition, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. The components of the embodiments of this application usually described and illustrated in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of this application claimed, but only represents the selected embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of this application.
[0019] Please refer to Figure 1 , which is a schematic flowchart of an optimization method for data transmission of an intelligent lighting system in a terminal building. Further, the optimization method for data transmission of an intelligent lighting system in a terminal building may specifically include the content described in the following steps S1 - step S5.
[0020] S1: Set a branch line of the lighting system hardware network in the terminal building as a subnet; all subnets are connected to the backbone network and perform data interaction with the master control terminal of the backbone network; S2: Form a subnet group from multiple subnets whose actual physical distance is less than a preset value; S3: Configure an IP gateway for each of the subnets, configure a switch for each subnet group, and the IP gateways of the subnets within the same subnet group communicate with the switch of that subnet group; S4: The IP gateway reports to the master control terminal the subnet communication delay from the subnet to the master control terminal and the subnet idle bandwidth. The switch reports to the master control terminal the inter-network communication delay from each subnet to the switch and the inter-network idle bandwidth. The illuminance sensors within the subnet report to the master control terminal the illuminance value data of the area where the subnet is located; S5: The master control terminal sends a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth, and illuminance value data.
[0021] When implementing the embodiments of this application, the inventors found that in the existing terminal lighting system, due to the very large lighting system of the terminal, a bus form is generally used for networking. Connecting control switches and monitoring devices directly to the bus can effectively network and control the large number of devices; however, with the development of intelligent detection and intelligent control technologies, the Elvis visualization monitoring and management software used in the terminal intelligent lighting system needs to collect data through sensors deployed everywhere and control the lights everywhere. At this time, data is more likely to become congested in the bus network, resulting in poor communication. For the above reasons, the embodiments of this application further upgrade the existing terminal lighting system.
[0022] In the embodiments of this application, for the networked architecture, please refer to Figure 2 , first, an entire branch of the hardware network is set as a subnet. Generally speaking, the devices in a subnet need to include a line coupler, a monitoring unit, a switch drive module, an illuminance sensor, and an IP gateway; the IP gateway in the subnet is responsible for IP allocation for the devices within the subnet and data interaction with the switch; the line coupler, as part of the trunk network bus, connects the subnet to the trunk network; the monitoring unit can judge whether the loop is online by monitoring the loop current value and monitor whether the end devices are online; the switch drive module can control the illuminance of the corresponding lamps when receiving a lighting control signal. By way of example, the trunk network uses a bus with the KNX / EIB protocol standard; the IP gateway IPR / S3.1.1 is used as the IP gateway to allocate an independent IP address segment for the subnet; the line coupler LK / S4.1 connects the subnet to the trunk network.
[0023] In the embodiments of the present application, in order to improve the communication ability of a subnet itself, it is also necessary to form a subnet group by combining multiple adjacent subnets according to the actual physical distance; for example, at a location where multiple airbridges are adjacent, these airbridges and the subnets of the terminal national road can be formed into a subnet group; each subnet group needs to be configured with a switch for data communication between subnets, and data communication between subnets is achieved through the data communication of the IP gateway and the switch. Through the above networking process, the embodiments of the present application form a subnet group in which internal subnets can communicate with each other, so as to facilitate subsequent data communication processing.
[0024] In the embodiments of the present application, in order to solve the problem of bus communication congestion, the master control terminal needs to collect various data for path optimization, including the subnet communication delay from each subnet to the master control terminal and the subnet idle bandwidth within the subnet. These two sets of data are provided by the IP gateway, and the IP gateway can make corresponding judgments based on the received data packets; while the switch provides the inter-network communication delay from each subnet to the switch and the inter-network idle bandwidth; since for different illuminance conditions, the urgent conditions for lighting control are different, so in the embodiments of the present application, the illuminance value data detected by the illuminance sensor is also added as a reference basis for the link selection of the master control terminal to send lighting control signals to the subnet.
[0025] In a possible implementation manner, the master control terminal sending a lighting control signal to the subnet according to the subnet communication delay, the subnet idle bandwidth, the inter-network communication delay, the inter-network idle bandwidth, and the illuminance value data includes: The master control terminal generates a lighting control signal according to the illuminance value data and the target illuminance value of the corresponding area; When the illuminance value data is less than or equal to a preset value, the master control terminal selects the path with the lowest delay from the master control terminal to the corresponding subnet according to the subnet communication delay and the inter-network communication delay to send the lighting control signal; When the illuminance value data is greater than the preset value, the master control terminal selects the path with the most idle bandwidth from the master control terminal to the corresponding subnet according to the subnet idle bandwidth and the inter-network idle bandwidth to send the lighting control signal.
[0026] When the embodiments of the present application are implemented, since the master control terminal can obtain the subnet communication delay, the subnet idle bandwidth, the inter-network communication delay, the inter-network idle bandwidth, and the illuminance value data, a lighting control signal is first generated according to the illuminance value data and the target illuminance value. The generation process of the lighting control signal has been fully disclosed in the prior art, and the embodiments of the present application do not make more limitations. The purpose of the lighting control signal is to reach the target illuminance value of the area by controlling the lighting.
[0027] In the embodiment of the present application, in order to make full use of the congested bus bandwidth, a communication path is selected based on the illuminance value data as the discrimination basis; among them, if the illuminance value data is less than or equal to the preset value, it means that the illuminance value of the corresponding area needs to be restored as soon as possible through lighting control, otherwise it may affect the passenger experience and even the work in the critical area. Therefore, it is necessary to select the path with the lowest delay for data transmission; if the illuminance value is greater than the preset value, it means that the adjustment of the illuminance value in the corresponding area is not particularly urgent. At this time, in order to make full use of the bandwidth in the network, it is necessary to select the path with the most idle bandwidth for signal propagation. It should be understood that these two path selection methods complement each other. The reason is that when screening paths by delay, the main sources of delay include the delay caused by the physical distance of the line, the device delay of devices, especially line couplers and the master control terminal, and the queue delay of data transmission in the bus network; among them, at the same moment, the device delay and queue delay are generally fixed. Therefore, the main factor of the delay difference is the delay of the physical distance, which will cause a situation that when selecting the path with the lowest delay for transmission, it often transmits data through the subnet with the shortest physical line distance from the master control terminal; in order to reduce the communication pressure of the nearest subnet, the embodiment of the present application selects the path with the most idle bandwidth for the lighting control signal with the illuminance value greater than the preset value for transmission, which can well bypass the nodes with large traffic, thereby alleviating the data transmission pressure of these nodes.
[0028] For example, please refer to Figure 2, in the figure, the master control terminal, subnet A, subnet B, and subnet C are in the same subnet group and are all connected to the backbone network, which uses the KNX bus commonly used in the terminal building lighting system. Since the master control terminal is generally deployed in the office area, according to the physical distance, subnet A is the office environment, subnet B is the waiting area environment, and subnet C is the boarding bridge environment in the figure. When the lighting conditions outside the terminal building decrease significantly due to weather reasons, the boarding bridge environment is most directly affected, and its illuminance value often falls below the preset value. At this time, it is necessary to select the path with the lowest delay to send the lighting control signal. Since the delay from the switch to each IP gateway is generally low and lower than the transmission delay in the bus, the result of selecting the path with the lowest delay is from the master control terminal → backbone network → subnet A → switch → subnet C. At this time, subnet B and subnet A also need to receive the corresponding lighting control signals. For subnet A, the office environment is less affected by the external lighting change, so it can select the path with the most idle bandwidth through the remaining network bandwidth for sending. Since the paths from subnet A and subnet C to the switch are transmitting the control signal of subnet C at this time, the path with the most idle bandwidth selected is the master control terminal → backbone network → subnet B → switch → subnet A, which can release the node pressure of subnet A without affecting the timely control of subnet C. Therefore, it can be seen that there is a complementary relationship between the path allocation of the lighting control signal through the idle bandwidth and network delay, and it can effectively allocate network resources in a relatively complex situation. In this example, a subnet group generally has less than 16 subnets, and the path allocation process is implemented by the master control terminal packing the path into the data frame header during data encapsulation.
[0029] In the embodiment of the present application, after the data transmission path is optimized, according to the control status that it is difficult to detect in time that the end lamps of the intelligent lighting system are offline, multiple software and hardware methods are proposed to jointly monitor the online status of the end devices of the terminal building intelligent lighting system. For example, at the hardware level, a switch control driver with current detection function is installed for each loop to monitor the loop current value to judge whether the loop is online; at the same time, a system component monitoring unit is configured for each subnet to monitor whether the end device is online. To prevent the offline of the hardware monitoring device from affecting the monitoring effect, at the software level, an end device offline diagnosis plugin for the terminal building intelligent lighting system is designed based on the Internet Control Message Protocol ICMP and the Modbus-TCP protocol. By sending an ICMP request and receiving a response message to judge whether the end device is online, and combining the Modbus-TCP protocol to send the status information of each end device to the Elvis software.
[0030] In the embodiments of the present application, the end-device offline diagnosis plugin for the intelligent lighting system of the terminal building is based on the Internet Control Message Protocol (ICMP) and the Modbus-TCP protocol. It determines whether the end device is online by sending an ICMP request and receiving a response message, and combines the Modbus-TCP protocol to send the status information of each end device to the Elvis software. When the plugin sends an ICMP request and detects that the end device is offline, the plugin will automatically modify the corresponding Modbus coil value through the Modbus-TCP protocol to notify the Elvis software. After obtaining the offline status of the device, the Elvis software will trigger the subsequent processing flow. The detection of whether the end device is online is by sending an ICMP request and receiving a response message. If the device returns an ICMP response message within the specified time, it is determined that the device is in an online state; if no response message is received after multiple attempts, it is considered that the device is offline or there is a network connection problem.
[0031] In a possible implementation, the path selection with the lowest delay includes: The master control terminal calculates the communication delay of all links from the master control terminal to the target subnet; When the link is a link directly from the master control terminal to the target subnet through the backbone network, the subnet communication delay sent by the IP gateway of the target subnet is used as the communication delay of this link; When the link is a link from the master control terminal to the target subnet through the backbone network and other subnets, the sum of the subnet idle bandwidth sent by the IP gateway of this other subnet, the first inter-network communication delay sent by the switch of this subnet group, and the second inter-network communication delay sent by the switch of this subnet group is used as the communication delay of this link; the first inter-network communication delay is the communication delay from the target subnet to the switch; the second inter-network communication delay is the communication delay from this other subnet to the switch.
[0032] In a possible implementation, the path selection with the most idle bandwidth includes: The master control terminal calculates the idle bandwidth of all links from the master control terminal to the target subnet; When the link is a link directly from the master control terminal to the target subnet through the backbone network, the subnet idle bandwidth sent by the IP gateway of the target subnet is used as the idle bandwidth of this link; When the link is a link from the master control terminal through the trunk network and other subnets to the target subnet, the minimum value of the subnet idle bandwidth sent by the IP gateway of the other subnet, the first inter-network idle bandwidth sent by the switch of the subnet group, and the second inter-network idle bandwidth sent by the switch of the subnet group is used as the idle bandwidth of the link; the first inter-network idle bandwidth is the idle bandwidth from the target subnet to the switch; the second inter-network idle bandwidth is the idle bandwidth from the other subnet to the switch.
[0033] When the embodiments of the present application are implemented, in the prior art, the path allocation technology based on delay and idle bandwidth mainly uses the dynamic routing protocol OSPF. However, due to the adoption of the subnet technology in the embodiments of the present application, when the dynamic routing protocol OSPF is deployed, its calculation time is long and the convergence speed is slow, which will cause delay in the sending of control signals. Therefore, a more concise calculation method for idle bandwidth and delay is adopted in the embodiments of the present application.
[0034] In the embodiments of the present application, for the processing of delay data, the master control terminal needs to calculate the communication delay of each link reaching the target subnet; due to the networking mode of the subnet group in the embodiments of the present application, there are only two forms of links from the master control terminal to the target subnet, that is, directly reaching through the trunk network or indirectly reaching through a certain subnet; for the first form, the communication delay can be directly obtained through the subnet communication delay sent by the IP gateway of the target subnet; for the second form, the communication delay can be calculated by calculating the total communication delay of each possible link.
[0035] In the embodiments of the present application, for the processing of idle bandwidth, since the idle bandwidth exists in segments, and the purpose of the embodiments of the present application is to evenly allocate the lighting control signals with low delay requirements as much as possible, for the above first form, there is only one segment of path idle bandwidth, which can be directly obtained; for the second form, the minimum value among the subnet idle bandwidth, the first inter-network idle bandwidth, and the second inter-network idle bandwidth is found as the idle bandwidth of a path; it should be understood that for different paths, since they have the same first inter-network idle bandwidth, when the first inter-network idle bandwidth is the minimum value as above, the minimum value among the subnet idle bandwidth and the second inter-network idle bandwidth is used as the idle bandwidth. In the embodiments of the present application, the IP gateway and the switch can calculate the network delay according to the timestamp of the received data packet; the calculation of the network idle bandwidth can be calculated according to the difference between the total output rate and the bandwidth occupied by the sent and received packets, which all belong to mature prior art, and the embodiments of the present application do not make further limitations.
[0036] In a possible implementation manner, it further includes: When the fault detection device, IP gateway, and illuminance sensor in the subnet report data to the master control terminal, the data is directly reported to the trunk network through the line coupler in the subnet; When the switch in the subnet group reports data to the master control terminal, it selects the subnet with the most idle bandwidth between networks to report the data to the trunk network.
[0037] When the embodiments of the present application are implemented, when the devices in the subnet report data, the data is reported through the line coupler in the subnet, while when the switch reports data, it can select the subnet with the most idle bandwidth between networks to report the data. In the embodiments of the present application, corresponding transmission priorities are set for the data in the trunk network, where the highest priority is the lighting control signal, the intermediate priority is the fault signal generated by the fault detection device, and the lowest priority is the data uploaded by the IP gateway, illuminance sensor, and switch; among them, the lighting control signal also sets a priority sequence, that is, the lighting control signal is sorted according to the illuminance value data, and the lower the illuminance value data, the higher the priority of the lighting control signal. In this way, when the illuminance value data is low and a path with lower latency needs to be selected for transmission, it can be preferentially transmitted, and when the illuminance value data is high and a path with more idle bandwidth needs to be selected for transmission, it will not affect the transmission of the former.
[0038] Based on the same inventive concept, the present application also provides an optimization system for data transmission of the intelligent lighting system in the terminal building, including: A networking unit, configured to: Set a branch line of the lighting system hardware network in the terminal building as a subnet; all subnets are connected to the trunk network and perform data interaction with the master control terminal of the trunk network; Form a subnet group with multiple subnets whose actual physical distance is less than a preset value; Configure an IP gateway for each of the subnets and configure a switch for each subnet group, and the IP gateways of the subnets within the same subnet group communicate with the switch of the subnet group; The IP gateway is configured to: report the subnet communication latency from the subnet to the master control terminal and the subnet idle bandwidth to the master control terminal; The switch is configured to: report the inter-network communication latency from each subnet to the switch and the inter-network idle bandwidth to the master control terminal; The illuminance sensor within the subnet is configured to: report the illuminance value data of the area where the subnet is located to the master control terminal; The master control terminal is configured to: send a lighting control signal to the subnet according to the subnet communication latency, subnet idle bandwidth, inter-network communication latency, inter-network idle bandwidth, and illuminance value data.
[0039] In a possible implementation manner, the master control terminal is further configured to: Generate a lighting control signal based on the illuminance value data and the target illuminance value of the corresponding area; When the illuminance value data is less than or equal to a preset value, the master control terminal selects the path with the lowest delay from the master control terminal to the corresponding subnet according to the subnet communication delay and the inter-network communication delay, and sends the lighting control signal through this path; When the illuminance value data is greater than the preset value, the master control terminal selects the path with the most available bandwidth from the master control terminal to the corresponding subnet according to the subnet available bandwidth and the inter-network available bandwidth, and sends the lighting control signal through this path.
[0040] In a possible implementation, the master control terminal is further configured to: Calculate the communication delays of all links from the master control terminal to the target subnet; When the link is a link that directly reaches the target subnet from the master control terminal through the backbone network, use the subnet communication delay sent by the IP gateway of the target subnet as the communication delay of this link; When the link is a link that reaches the target subnet from the master control terminal through the backbone network and other subnets, use the sum of the subnet communication delay sent by the IP gateway of this other subnet, the first inter-network communication delay sent by the switch of this subnet group, and the second inter-network communication delay sent by the switch of this subnet group as the communication delay of this link; the first inter-network communication delay is the communication delay from the target subnet to the switch; the second inter-network communication delay is the communication delay from this other subnet to the switch.
[0041] In a possible implementation, the master control terminal is further configured to: Calculate the available bandwidths of all links from the master control terminal to the target subnet; When the link is a link that directly reaches the target subnet from the master control terminal through the backbone network, use the subnet available bandwidth sent by the IP gateway of the target subnet as the available bandwidth of this link; When the link is a link that reaches the target subnet from the master control terminal through the backbone network and other subnets, use the minimum value of the subnet available bandwidth sent by the IP gateway of this other subnet, the first inter-network available bandwidth sent by the switch of this subnet group, and the second inter-network available bandwidth sent by the switch of this subnet group as the available bandwidth of this link; the first inter-network available bandwidth is the available bandwidth from the target subnet to the switch; the second inter-network available bandwidth is the available bandwidth from this other subnet to the switch.
[0042] In a possible implementation, the fault detection device, IP gateway, and illuminance sensor in the subnet are all configured to: When reporting data to the master control terminal, the data is directly reported to the trunk network through the line coupler within the subnet. The switch is further configured to: When reporting data to the master control terminal, select the subnet with the most idle bandwidth between networks to report the data to the trunk network.
[0043] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0044] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings, direct couplings, or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can also be electrical, mechanical, or other forms of connection.
[0045] The units described as separate components may or may not be physically separated. Obviously, those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0046] In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0047] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a grid device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.
[0048] The specific embodiments described above further elaborate on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only the specific embodiments of the present invention and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An optimization method for data transmission of an intelligent lighting system in a terminal building, characterized in that, Including: Setting a branch line of the lighting system hardware network of the terminal building as a subnet; All subnets are connected to the trunk network and perform data interaction with the master control terminal of the trunk network; Forming a subnet group with multiple subnets whose actual physical distance is less than a preset value; Configuring an IP gateway with routing function for each subnet, and configuring a switch for each subnet group, and the IP gateways of the subnets within the same subnet group communicate with the switch of the subnet group; The IP gateway reports the subnet communication delay from the subnet to the master control terminal and the subnet idle bandwidth to the master control terminal, the switch reports the inter-network communication delay from each subnet to the switch and the inter-network idle bandwidth to the master control terminal, and the illuminance sensor within the subnet reports the illuminance value data of the area where the subnet is located to the master control terminal; The master control terminal sends a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth and illuminance value data.
2. The optimization method for data transmission of an intelligent lighting system in a terminal building according to claim 1, wherein The master control terminal sending a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth and illuminance value data includes: The master control terminal generates a lighting control signal according to the illuminance value data and the target illuminance value of the corresponding area; When the illuminance value data is less than or equal to the preset value, the master control terminal selects the path with the lowest delay from the master control terminal to the corresponding subnet according to the subnet communication delay and the inter-network communication delay and sends the lighting control signal; When the illuminance value data is greater than the preset value, the master control terminal selects the path with the most idle bandwidth from the master control terminal to the corresponding subnet according to the subnet idle bandwidth and the inter-network idle bandwidth and sends the lighting control signal.
3. The optimization method for data transmission of an intelligent lighting system in a terminal building according to claim 2, characterized in that, The selection of the path with the lowest delay includes: The master control terminal calculates the communication delay of all links from the master control terminal to the target subnet; When the link is a link directly reaching the target subnet from the master control terminal through the trunk network, the subnet communication delay sent by the IP gateway of the target subnet is used as the communication delay of the link; When the link is a link reaching the target subnet from the master control terminal through the trunk network and other subnets, the sum of the subnet communication delay sent by the IP gateway of the other subnet, the first inter-network communication delay sent by the switch of the subnet group and the second inter-network communication delay sent by the switch of the subnet group is used as the communication delay of the link; the first inter-network communication delay is the communication delay from the target subnet to the switch; the second inter-network communication delay is the communication delay from the other subnet to the switch.
4. The optimization method for data transmission of an intelligent lighting system in a terminal building according to claim 2, characterized in that The selection of the path with the most idle bandwidth includes: The master control terminal calculates the idle bandwidth of all links from the master control terminal to the target subnet; When the link is a link directly reaching the target subnet from the master control terminal through the trunk network, the subnet idle bandwidth sent by the IP gateway of the target subnet is used as the idle bandwidth of the link; When the link is a link from the master control terminal through the trunk network and other subnets to the target subnet, the minimum value of the subnet idle bandwidth sent by the IP gateway of the other subnet, the first inter-network idle bandwidth sent by the switch of the subnet group, and the second inter-network idle bandwidth sent by the switch of the subnet group is used as the idle bandwidth of the link; the first inter-network idle bandwidth is the idle bandwidth from the target subnet to the switch; the second inter-network idle bandwidth is the idle bandwidth from the other subnet to the switch.
5. The optimization method for data transmission of an intelligent lighting system in a terminal building according to claim 1, wherein, It further includes: When the fault detection device, IP gateway, and illuminance sensor in the subnet report data to the master control terminal, the data is directly reported to the trunk network through the line coupler in the subnet; When the switch in the subnet group reports data to the master control terminal, it selects the subnet with the most inter-network idle bandwidth to report the data to the trunk network.
6. An optimization system for data transmission of an intelligent lighting system in a terminal building, characterized in that, It includes: A networking unit, configured to: Set a branch of the lighting system hardware network of the terminal building as a subnet; all subnets are connected to the trunk network and perform data interaction with the master control terminal of the trunk network; Form a subnet group with multiple subnets whose actual physical distance is less than a preset value; Configure an IP gateway for each subnet and a switch for each subnet group, and the IP gateways of the subnets within the same subnet group communicate with the switch of the subnet group; The IP gateway is configured to: report the subnet communication delay and subnet idle bandwidth from the subnet to the master control terminal to the master control terminal; The switch is configured to: report the inter-network communication delay and inter-network idle bandwidth from each subnet to the switch to the master control terminal; The illuminance sensor within the subnet is configured to: report the illuminance value data of the area where the subnet is located to the master control terminal; The master control terminal is configured to: send a lighting control signal to the subnet according to the subnet communication delay, subnet idle bandwidth, inter-network communication delay, inter-network idle bandwidth, and illuminance value data.
7. The optimized system for data transmission of an intelligent lighting system in a terminal building according to claim 6, characterized in that, The master control terminal is further configured to: Generate a lighting control signal according to the illuminance value data and the target illuminance value of the corresponding area; When the illuminance value data is less than or equal to the preset value, the master control terminal selects the path with the lowest delay from the master control terminal to the corresponding subnet according to the subnet communication delay and inter-network communication delay to send the lighting control signal; When the illuminance value data is greater than the preset value, the master control terminal selects the path with the most idle bandwidth from the master control terminal to the corresponding subnet according to the subnet idle bandwidth and inter-network idle bandwidth to send the lighting control signal.
8. The optimized system for data transmission of the intelligent lighting system in the terminal building according to claim 7, characterized in that, The master control terminal is further configured to: Calculate the communication delay of all links from the master control terminal to the target subnet; When the link is a link from the master control terminal directly to the target subnet through the trunk network, the subnet communication delay sent by the IP gateway of the target subnet is used as the communication delay of the link; When the link is a link from the master control terminal through the trunk network and other subnets to the target subnet, the sum of the subnet communication delay sent by the IP gateway of the other subnet, the first inter-network communication delay sent by the switch of the subnet group, and the second inter-network communication delay sent by the switch of the subnet group is used as the communication delay of the link; the first inter-network communication delay is the communication delay from the target subnet to the switch; the second inter-network communication delay is the communication delay from the other subnet to the switch.
9. An optimization system for data transmission of an intelligent lighting system in a terminal building, characterized in that, The master control terminal is further configured to: Calculate the idle bandwidth of all links from the master control terminal to the target subnet; When the link is a link from the master control terminal directly to the target subnet through the trunk network, the subnet idle bandwidth sent by the IP gateway of the target subnet is used as the idle bandwidth of the link; When the link is a link from the master control terminal through the trunk network and other subnets to the target subnet, the minimum value of the subnet idle bandwidth sent by the IP gateway of the other subnet, the first inter-network idle bandwidth sent by the switch of the subnet group, and the second inter-network idle bandwidth sent by the switch of the subnet group is used as the idle bandwidth of the link; the first inter-network idle bandwidth is the idle bandwidth from the target subnet to the switch; the second inter-network idle bandwidth is the idle bandwidth from the other subnet to the switch.
10. An optimization system for data transmission of an intelligent lighting system in a terminal building, characterized in that, The fault detection device, IP gateway, and illuminance sensor in the subnet are all configured to: When reporting data to the master control terminal, directly report the data to the trunk network through the line coupler in the subnet; The switch is further configured to: When reporting data to the master control terminal, select the subnet with the most inter-network idle bandwidth to report the data to the trunk network.
Citation Information
Patent Citations
Method and device for transmitting and receiving multicast data packet
CN101299671A
Network nodes and data transmission method and system
CN103986653A
Method, system and device for determining service transmission path and electronic equipment
CN117675678A
Non-mobile terminal network connection method and device, equipment and storage medium
CN118019077A
Data transmission optimization method and device in Internet of Vehicles environment, terminal equipment and storage medium
CN119450397A