A control method and system for a landscape lighting cluster architecture

Through the cluster architecture of load balancing and transit servers, the waste of domain names and public IP servers in the landscape lighting control system is solved, high concurrent processing and stability are achieved, maintenance costs are reduced, and display data and protocols are adapted to different projects.

CN114048019BActive Publication Date: 2025-08-05BEIJING MINGRUIZHIGUANG TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111093458.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-17
Publication Date
2025-08-05
Estimated Expiration
2041-09-17

AI Technical Summary

Technical Problem

In the existing landscape lighting control system, WeChat applets require multiple domain names and public IP servers, resulting in high public resources waste and maintenance costs, and multi-domain name resolution leads to stability problems.

Method used

The cluster architecture of load balancing server and transit server is adopted to realize communication between mini programs and multiple servers through one domain name, and the transit server forwards request data, reduces domain names and public IP servers, and adapts to the display data and protocols of different projects.

Benefits of technology

It realizes high concurrent processing, reduces public resource occupation, reduces maintenance costs, and supports the control of multiple landscape lighting projects, with expansion capabilities and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114048019B_ABST
    Figure CN114048019B_ABST
Patent Text Reader

Abstract

The present invention discloses a landscape lighting cluster architecture control method and system. A load balancing server receives request data via a small program; the load balancing server distributes the request data to a corresponding transit server; the transit server forwards the request data to a lighting control system; and the lighting control system controls the landscape lighting system for display based on the request data. The present invention utilizes network and computer technology to set up a convergence node server as a load balancing server to implement a unified interface, solving the problem of high-concurrency data processing. Only one domain name is required for the small program to communicate with multiple servers, reducing the number of domain names and public IP servers, and thus reducing the use of public resources. Furthermore, the system accommodates various display data, packaging methods, and different protocols for different projects, enabling the control of multiple landscape lighting projects. Furthermore, due to the use of transit servers, the service projects can be continuously expanded without changing the interface service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to landscape lighting, and in particular to a landscape lighting cluster architecture control method and system. Background Art

[0002] With the development of technology, landscape lighting is becoming more and more common. It not only provides lighting functions, but also plays a role in landscape layout and advertising. With the rapid development of urban construction, higher requirements are put forward for urban landscape lighting. From simple lighting to lighting and improving the city's night view, the control system is becoming more and more complex.

[0003] The applicant has long been dedicated to researching the landscape lighting industry, particularly nightscape lighting. During their research and development, they discovered that they could use their mini-programs for remote control. For example, using WeChat or Alipay mini-programs requires connecting to multiple servers simultaneously. However, due to the domain name restriction imposed by WeChat mini-programs, applying for a single domain name per server would be unrealistic. Because logging into the industry's WeChat mini-programs requires the server IP address, and since ten servers are deployed, applying for a single domain name per server would require more than ten domain names. Filing a single domain name would take over 20 days, resulting in significant time and maintenance costs.

[0004] In other words, if the landscape lighting project development uses WeChat mini-programs to achieve mobile control, then each project needs to deploy a set of WeChat mini-programs independently. Each mini-program requires a domain name and public IP server, and each domain name requires resolution services, which wastes public resources; each mini-program and server requires maintenance services, which increases maintenance costs.

[0005] Another solution is to resolve a domain name to multiple servers. You can also deploy different application ports on each server and use the domain name plus port to find the corresponding server. However, during testing, we found that when a domain name is resolved to too many servers, it can sometimes become inaccessible, causing significant stability issues. Therefore, for the sake of stability, this solution cannot be adopted in online projects.

[0006] Therefore, there is a need to improve the control methods of landscape lighting. Summary of the Invention

[0007] The present invention provides a landscape lighting cluster architecture control method and system. The technical problems to be solved include: how to reduce domain names and public IP servers, reduce the occupation of public resources, achieve high-concurrency processing of data, adapt to various display data of different projects and their packaging methods and different protocols, and realize the control of multiple landscape lighting projects.

[0008] The technical solution of the present invention is as follows: A landscape lighting cluster architecture control method, which includes the following steps:

[0009] Pre-building a cluster server, the cluster server including a load balancing server and at least two transit servers connected to the load balancing server;

[0010] The load balancing server receives the request data through the applet;

[0011] The load balancing server distributes the request data to the corresponding transfer server;

[0012] The relay server forwards the request data to the lighting control system according to the target address in the request data;

[0013] The lighting control system controls the landscape lighting system to perform display according to the request data.

[0014] Preferably, the request data further includes a user name and a password, and the transfer server confirms the corresponding lighting control system and landscape lighting system according to the user name, password and target address.

[0015] Preferably, the landscape lighting system performs project management and control according to the user name.

[0016] Preferably, the mini program includes a WeChat mini program and an Alipay mini program.

[0017] Preferably, the load balancing server also receives request data through an application.

[0018] Preferably, the request data includes playback content; or, the lighting control system selects or generates playback content according to the request data; or, the lighting control system selects or generates playback content and its control information according to the request data.

[0019] Preferably, the load balancing server also feeds back response data through a mini-program.

[0020] Preferably, the landscape lighting cluster architecture control method further comprises the steps of:

[0021] The lighting control system feeds back display information to the relay server;

[0022] The relay server forwards the display information to the load balancing server;

[0023] The load balancing server feeds back response data through the applet according to the display information.

[0024] Preferably, a landscape lighting cluster architecture control system includes a cluster server, a lighting control system and a landscape lighting system;

[0025] The cluster server includes a load balancing server and at least two transit servers connected to the load balancing server;

[0026] The load balancing server receives the request data through the applet and distributes the request data to the corresponding transit server;

[0027] The relay server is connected to the lighting control system, and the relay server forwards the request data to the lighting control system according to the target address in the request data;

[0028] The lighting control system is connected to the landscape lighting system, and the lighting control system controls the landscape lighting system to perform display according to the request data.

[0029] Preferably, the load balancing server has a mini-program access port, and the load balancing server is connected to the mini-program through the mini-program access port.

[0030] Preferably, the load balancing server has a domain name and a public IP address.

[0031] Preferably, the load balancing server is provided with a network security module, a sensitive information screening and filtering module, and a scheduling and allocation module;

[0032] The network security module is used to form a firewall;

[0033] The sensitive information screening and filtering module is used to screen and filter sensitive information to ensure that the displayed content is legal;

[0034] The scheduling and allocation module is used to select the corresponding transfer server under the premise of load balancing.

[0035] By adopting the above scheme, the present invention uses network and computer technology to set up a convergence node server as a load balancing server to realize a unified interface, thereby solving the problem of high-concurrency data processing. It also proposes a technical means of a transit server, which only requires a domain name to realize the communication between the mini-program and multiple servers. Because direct forwarding between servers does not require a domain name, domain names and public IP servers are reduced, reducing the occupation of public resources. It also adapts to various display data of different projects and their packaging methods and different protocols, and realizes the control of multiple landscape lighting projects. Moreover, due to the use of a transit server, the service projects can be continuously expanded without changing the interface service. It is also applicable to any mini-program, such as the WeChat mini-program. As long as the WeChat mini-program needs to connect to multiple servers, the problem of multiple domain names can be solved by the present invention.

[0036] Other solutions of the present invention can also be applied to distributed cluster management to provide more powerful computing and multi-tasking services; an additional restoration system can also be used to determine whether the lighting system display is normal or to determine the cause of the abnormality when an abnormality occurs. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of an embodiment of a landscape lighting cluster architecture control method of the present invention;

[0038] Figure 2 is a schematic diagram of another embodiment of the landscape lighting cluster architecture control method of the present invention;

[0039] Figure 3 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0040] Figure 4 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0041] Figure 5 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0042] Figure 6 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0043] Figure 7 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0044] Figure 8 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0045] Figure 9 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0046] Figure 10 A schematic diagram of another embodiment of a landscape lighting cluster architecture control method according to the present invention;

[0047] Figure 11 A schematic diagram of an embodiment of a landscape lighting cluster architecture control system according to the present invention;

[0048] Figure 12 for Figure 11 An application diagram of the landscape lighting cluster architecture control system;

[0049] Figure 13This is a schematic diagram of an application of another embodiment of the landscape lighting cluster architecture control system of the present invention;

[0050] Figure 14 This is a schematic diagram of an application of another embodiment of the landscape lighting cluster architecture control system of the present invention. DETAILED DESCRIPTION

[0051] For ease of understanding of the present invention, the present invention will be described in more detail below in conjunction with the accompanying drawings and specific embodiments. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected" to another element, it may be directly connected to the other element or there may be a central element at the same time. Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0052] With the development of society, new technologies are constantly emerging, and the era of replacement of old with new has arrived. Old things will be replaced by new technologies. The same is true for the control of landscape lighting projects. Landscape lighting projects are generally presented as landscape lighting systems. Figure 1 As shown, one embodiment of the present invention is a landscape lighting cluster architecture control method, which includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two relay servers connected to the load balancing server; the load balancing server receiving request data through a small program; the load balancing server distributing the request data to the corresponding relay servers; the relay servers forwarding the request data to a lighting control system based on the target address in the request data; and the lighting control system controlling the landscape lighting system to display according to the request data. Using the above scheme, the present invention uses network and computer technology to set up a convergence node server as a load balancing server to implement a unified interface, solving the problem of high-concurrency data processing. It also proposes a relay server technical means, which only requires a domain name to enable the small program to communicate with multiple servers. Because direct server-to-server forwarding does not require a domain name, domain names and public IP servers are reduced, reducing the use of public resources. It also adapts to various display data, packaging methods, and different protocols of different projects, realizing the control of multiple landscape lighting projects. Moreover, due to the use of the relay server, the service projects can be continuously expanded without changing the interface service. Furthermore, the present invention is applicable to any applet, such as a WeChat applet. As long as the WeChat applet needs to connect to multiple servers, the problem of multiple domain names can be solved by the present invention.

[0053] Preferably, the request data also includes a user name and password, and the transfer server confirms the corresponding lighting control system and landscape lighting system according to the user name, password and target address. Figure 2 As shown, one embodiment of the present invention is a method for controlling a landscape lighting cluster architecture, comprising the following steps: pre-building a cluster server, the cluster server comprising a load balancing server and at least two relay servers connected to the load balancing server; the load balancing server receiving request data via a small program; the load balancing server assigning the request data to the corresponding relay servers; the relay servers forwarding the request data to a lighting control system based on a target address in the request data; wherein the request data also includes a username and password; the relay server identifies the corresponding lighting control system and landscape lighting system based on the username, password, and target address; and the lighting control system controls the landscape lighting system to display based on the request data. Cluster servers, also known as server clusters, have advantages such as strong scalability when applied in various embodiments. While other scalability technologies typically only support expansion of a few dozen CPUs, with limited scalability, cluster servers using cluster technology can be expanded to multiple servers with hundreds or even thousands of CPUs, offering significant scalability advantages. Furthermore, server cluster technology is easier to implement than other scalability technologies, primarily through software-based load balancing. In terms of hardware, multiple low-performance, low-priced servers can be combined and applied, and the number can even increase by dozens or hundreds of times. The relay server only needs to be configured in the load balancer, and it can automatically distribute the traffic to each relay server according to the number of visits, thus achieving message load balancing. If a relay server is disconnected, the load balancer will not distribute messages to this relay server. This ensures that other remote expansion technologies can usually only support expansion of dozens of CPUs, and the expansion capacity is limited. Cluster systems that use cluster technology can be expanded to include multiple servers with hundreds or thousands of CPUs, and have obvious advantages in expansion capacity. Cluster services can also be continuously adjusted to meet the growing needs of applications. When the overall load of the cluster exceeds the actual capacity of the cluster, additional nodes can be added to ensure the stable operation of the project.

[0054] Preferably, the landscape lighting system manages and controls projects according to the user name. That is, each project corresponds to a user name, or a user name corresponds to one or more projects. This allows the project rights holders to be managed separately and have corresponding management authority. However, this management is under the management of the load balancing server or other servers, which is to avoid risks. Figure 3As shown, one embodiment of the present invention is a method for controlling a landscape lighting cluster architecture, which includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two transit servers connected to the load balancing server; the load balancing server receives request data through a small program; the load balancing server distributes the request data to the corresponding transit server; the transit server forwards the request data to the lighting control system according to the target address in the request data; wherein, the request data also includes a user name and password, and the transit server confirms the corresponding lighting control system and landscape lighting system according to the user name, password and target address; the lighting control system controls the landscape lighting system for display according to the request data; wherein, the landscape lighting system performs project management and control according to the user name. The other embodiments are similar and will not be described in detail below. In this way, dedicated management can be achieved, and each user can easily find and manage their own projects, that is, the landscape lighting system, through the small program.

[0055] Preferably, the mini-program includes WeChat mini-program and Alipay mini-program. Figure 4 As shown, a landscape lighting cluster architecture control method includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two transit servers connected to the load balancing server; the load balancing server receiving request data via mini-programs, including WeChat and Alipay; the load balancing server assigning the request data to the corresponding transit server; the transit server forwarding the request data to the lighting control system based on the target address in the request data; the lighting control system controlling the landscape lighting system for display based on the request data. This enables a barrier-free and convenient management method suitable for the vast majority of users and has been well-received in testing.

[0056] Preferably, the load balancing server also receives request data through an application (APP, also known as an application program). Figure 5As shown, a method for controlling a landscape lighting cluster architecture includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two transfer servers connected to the load balancing server; the load balancing server receives request data through a small program, and the load balancing server also receives request data through an application; the load balancing server distributes the request data to the corresponding transfer server; the transfer server forwards the request data to the lighting control system according to the target address in the request data; the lighting control system controls the landscape lighting system for display according to the request data. In other words, in addition to the small program, a separate application can also be developed for control, thereby achieving two types of management: one is the simplicity and speed of the small program, and the other is the professionalism and comprehensiveness of the application. Users can choose according to their needs, which is very convenient and suitable for various types of users.

[0057] Preferably, the request data includes playback content; Figure 6 As shown, a method for controlling a landscape lighting cluster architecture includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two transit servers connected to the load balancing server; the load balancing server receiving request data through a small program, the request data including playback content; the load balancing server assigning the request data to the corresponding transit server; the transit server forwarding the request data to the lighting control system based on the target address in the request data; the lighting control system controlling the landscape lighting system for display based on the request data. The playback content can be placed on a server such as a load balancing server or a transit server, and the user only needs to send control information as the request data. Alternatively, the playback content can be placed on the user side, in which case the user needs to upload the playback content, either separately or as part of the request data.

[0058] Alternatively, the lighting control system selects or generates playback content according to the request data; Figure 7As shown, a landscape lighting cluster architecture control method includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two transfer servers connected to the load balancing server; the load balancing server receiving request data through a mini-program; the load balancing server assigning the request data to the corresponding transfer server; the transfer server forwarding the request data to a lighting control system based on the target address in the request data; the lighting control system selecting or generating playback content based on the request data and controlling the landscape lighting system for display. In other words, playback content can be directly selected or generated as needed, thereby achieving simplicity of playback, facilitating user use, and being more suitable for mini-program control.

[0059] Alternatively, the lighting control system selects or generates the playback content and its control information according to the request data. Figure 8 As shown, a landscape lighting cluster architecture control method includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two transfer servers connected to the load balancing server; the load balancing server receiving request data through a small program; the load balancing server assigning the request data to the corresponding transfer server; the transfer server forwarding the request data to the lighting control system based on the target address in the request data; the lighting control system selecting or generating playback content and its control information based on the request data, and controlling the landscape lighting system to display. This allows for customized control information services, which was also independently designed by the applicant, and provides users with more possibilities for private customization, thereby achieving more changes to the landscape lighting system.

[0060] The applicant has previously proposed a design for restoring lighting, which is also applicable to the landscape lighting cluster architecture control method and landscape lighting cluster architecture control system of the present invention. An embodiment of the landscape lighting cluster architecture control method of the present invention is also given and described in detail as follows.

[0061] Preferably, the lighting control system controls the landscape lighting system to display according to the request data, including: the lighting control system generates display data according to the request data, and controls the landscape lighting system to display. Preferably, the lighting control system generates display data according to the request data, and transmits the display data to the network device; the network device transmits the display data to the landscape lighting system; the restoration system obtains the display data of the landscape lighting system, reorganizes the display data, determines the correctness of the reorganized display data and gives feedback. Preferably, the network device also transmits the display data to the restoration system; or, the restoration system obtains the display data from the landscape lighting system. Preferably, the display data of the landscape lighting system, that is, the correctness of the collected data, can be determined, and on this premise, traffic statistics and frame rate calculation can also be performed. Preferably, when the correctness of the reorganized display data meets the requirements of the landscape lighting system, the restoration system allows the landscape lighting system to play; when the correctness of the reorganized display data does not meet the requirements of the landscape lighting system, the restoration system provides an error status analysis of the display data to indicate the possible error type and / or possible error location. By reorganizing the display data, it is not only possible to determine whether the display data is correct, but also when an anomaly occurs, it can be determined whether the cause of the anomaly is the display data or the landscape lighting system used for landscape lighting. This makes it easy to distinguish responsibilities and quickly find ways to resolve the anomaly, avoiding mutual shirking of responsibilities and affecting the efficiency of resolution. Since the display data is reorganized, it can also adapt to various display data and their packaging methods and different protocols. The reorganized display data can also be used as output data for secondary development, which enhances the autonomous control capabilities of the service purchaser or the landscape sovereign.

[0062] Preferably, before the landscape lighting system displays according to the display data, the restoration system obtains the display data of the landscape lighting system from the network device, or obtains the display data from the landscape lighting system; preferably, the restoration system obtains the display data of the landscape lighting system including: when the lighting control system directly outputs the display data to the landscape lighting system through the network device, the restoration system obtains the display data synchronously with the landscape lighting system from the data port of the landscape lighting system connected to the network device, and copies the display data to be transmitted to the landscape lighting system once for each data packet (Data Packet, also known as Data Package) or data segment (Data Section, also known as Data Section) transmitted, for example, once for each frame or several frames transmitted, thereby realizing the judgment of error in display data or landscape lighting system; for example, using software technology, the display data packets sent by the playback device are collected at the network exit, and parsed and reorganized into actual display data, which are displayed in real time on the software interface.

[0063] Preferably, the restoration system acquires the display data of the landscape lighting system, including: the restoration system actively monitors the data port of the landscape lighting system connected to the network device, and when the lighting control system directly outputs the display data to the landscape lighting system through the network device, the display data transmitted to the landscape lighting system is copied and forwarded at the data port according to the transmitted data packet or data fragment; reorganizing the display data includes: reorganizing according to the data packet or data fragment, or aggregating the data packet or data fragment and then reorganizing it to form display content that can be recognized by the application software or server, that is, the playback content that will be displayed by the landscape lighting system of the landscape lighting. The display content obtained at this time is the reorganized display data, which can be used as output data for secondary development, that is, the collected display data can be reorganized into the required animation file for secondary processing. Preferably, the reorganized display data is also subjected to secondary processing and / or statistics and statistical results are given. It is better to perform secondary processing on the reorganized display data, including: demonstration effect display, video reorganization and visual display of statistical data, etc., for example, forming a soft tester in a practical sense, and the above implementation method greatly reduces the difficulty of system debugging, realizes control system debugging that is not dependent on specific lamps, reduces debugging costs, is highly practical, and is easy to use.

[0064] Preferably, before obtaining the display data of the landscape lighting system, the landscape lighting cluster architecture control method further includes the steps of: the lighting control system or the restoration system obtaining evaluation information of the display data, wherein the evaluation information comes from the landscape lighting system or restoration system of another landscape lighting project. When obtaining the display data of the landscape lighting system, the display data of the landscape lighting system is verified based on the evaluation information. After verification, subsequent steps are performed, such as reorganizing the display data. The evaluation information of the display data can be obtained from a cloud server. The advantage of this is that if the display data has been displayed normally in other landscape lighting projects and meets the requirements of the landscape lighting system, it is equivalent to providing a pass, which can enhance its credibility. Another application is that during internal testing or factory testing, the manufacturer first uses this display data to test the landscape lighting system to obtain the evaluation information. This allows for rapid evaluation of whether there are any abnormalities in the landscape lighting system, with high accuracy and efficiency.

[0065] Preferably, reorganizing the display data includes: restoring and generating a display file with playable display content based on all of the display data, or its data packets or data fragments, according to the playback capabilities of the landscape lighting system; wherein the reorganization is performed by data packet or data fragment, or by all of the display data as a whole. In applications, reorganization is often performed by data packet or data fragment, enabling real-time judgment and interception. Furthermore, each step can be performed using only a standard PC, without the need for additional control equipment. Theoretically, the protocol supports unlimited expansion, including any standard protocol from any manufacturer, resulting in advantages such as high versatility, simple implementation, low cost, and ease of popularization and application.

[0066] For live broadcasts, a delay of several seconds is often acceptable, so reorganization by data packets or data fragments is feasible. Preferably, when a data packet or a data fragment is divided into multiple data units (DataUnit, also known as data packets) for transmission, copying and forwarding by the transmitted data packet or data fragment includes: for a data packet or a data fragment, copying and forwarding the multiple transmitted data units respectively; reorganizing the display data includes: aggregating the various data units belonging to the same data packet or the same data fragment into a data packet or a data fragment, and then reorganizing them to form display content that can be recognized by application software or server; preferably, all data packets or all data fragments are reorganized to form display content that can be recognized by application software or server, and further aggregated to form a total display content or playback file. This is because, in general, network devices or their network connections do not allow the transmission of data packets of any size, and different network transmission protocols also have different restrictions on this. Grouping technology is often used to divide a large amount of display data into several data packets. Each data packet may be divided into multiple data units during transmission, and each data unit is added with some attribute information about the data unit. Therefore, the various data units belonging to the same data packet or the same data fragment are aggregated and reorganized. This not only improves processing efficiency, but also can be used to judge the correctness of the reorganized display data. All data packets can also be further aggregated to form a total display content for secondary data development. And because it is automated or a computer or server to judge the correctness of the reorganized display data, data restoration and display are realized in the restoration system. The control effect can be previewed when the landscape lighting system is not turned on, which does not damage the service life of the landscape lighting system. It can also reduce energy consumption and quickly debug, which is worthy of promotion and application.

[0067] Preferably, feedback is provided regardless of whether the correctness of the reorganized display data is determined to be yes or no. Preferably, when the correctness of the reorganized display data meets the requirements of the landscape lighting system, the landscape lighting system is permitted to play. For example, a landscape lighting cluster architecture control method includes the following steps: obtaining display data of a landscape lighting system; reorganizing the display data; determining the correctness of the reorganized display data; permitting the landscape lighting system to play; and providing feedback. Preferably, determining the correctness of the reorganized display data includes: determining whether the reorganized display data meets the playback capability of the landscape lighting system, and determining whether the reorganized display data meets the predetermined playback restrictions. If both are yes, then determining the correctness of the reorganized display data is yes; if either is no, then determining the correctness of the reorganized display data is no. The predetermined playback restrictions include: text filtering and intelligent picture-refined keyword filtering. Text filtering is to compare the display content in text form with a blacklist. If at least one item meets the requirements, then determining that the reorganized display data does not meet the predetermined playback restrictions. Intelligent picture-refined keyword filtering is to extract keywords from the display content in graphic form and compare them with a blacklist. If at least one item meets the requirements, then determining that the reorganized display data does not meet the predetermined playback restrictions. Preferably, in conjunction with the above embodiment of reorganizing a data packet or a data fragment, determining the correctness of the reorganized display data further includes: selecting the display content recognizable by the application software or server formed by reorganizing each data packet or data fragment in a sequential, reverse, or interval-jumping manner to determine whether the reorganized display data meets the predetermined playback restrictions, that is, performing text filtering and intelligent image extraction keyword filtering on the display content recognizable by the application software or server formed by reorganizing each data packet or data fragment in a sequential, reverse, interval-jumping, or cross-frame merging manner; wherein the sequential or reverse selection manner includes performing text filtering and intelligent image extraction keyword filtering frame by frame, the interval-jumping selection manner includes selecting text as comparison objects at intervals of one to three words, and extracting keywords from display content in graphical form at intervals of one to three frames. Preferably, the cross-frame merging selection manner includes continuously selecting N frames, overlapping all frames, and performing text filtering and intelligent image extraction keyword filtering. wherein N is a natural number between 2 and 24, inclusive.This is because when the number of frames per second is certain, users cannot identify all the details of each frame when observing, and what may appear in their minds is a combination of multiple consecutive frames. This can prevent landscape lighting from violating the Advertising Law or other display content that does not comply with laws and regulations, that is, playback content. Taking into account viewing habits and understanding methods, text filtering and intelligent picture extraction and keyword filtering are performed in sequence, reverse sequence, interval jump selection and cross-frame merging selection. That is, it is possible to intercept erroneous display data and avoid landscape lighting from having inappropriate playback content; this is because some malicious destroyers will avoid text filtering and intelligent picture extraction and keyword filtering through interval design, such as displaying legal content in alternate frames, but when users observe multiple consecutive frames, violations of the Advertising Law or other display content that does not comply with laws and regulations will appear. Therefore, it is necessary to perform text filtering and intelligent picture extraction and keyword filtering in sequence, reverse sequence, interval jump selection and cross-frame merging selection. This not only protects the service purchaser or the landscape sovereignty party and avoids playback risks, but also ensures the legitimacy of the viewer's subjective receipt of information.

[0068] Preferably, when the correctness of the display data after reorganization does not meet the requirements of the landscape lighting system, an error status analysis of the display data is given to indicate possible error types and / or possible error locations. Preferably, after the error status analysis of the display data is given, it is pushed to the management terminal to notify the administrator to quickly respond and handle it in time. Preferably, when the correctness of the display data after reorganization does not meet the requirements of the landscape lighting system, an error status analysis of the display data is given to indicate possible error types and / or possible error locations, and the landscape lighting system is prevented from playing. In this way, effective debugging without lighting can be achieved, and the accompanying statistical function can provide an intuitive understanding of the entire control system, and can also achieve the elimination of illegal playback or hacker intrusion in the background to avoid playback accidents. From the perspective of effective government supervision of broadcast content, landscape lighting projects are numerous, scattered, and have a wide audience, making supervision difficult. Therefore, the automation and intelligence of management should be improved as much as possible to avoid hacker intrusions or malicious broadcasting of illegal content by others. From the perspective of the service purchaser or the landscape sovereignty party itself, there is also a need to avoid broadcast risks so as not to passively bear illegal liability. Therefore, it is very necessary to avoid landscape lighting from violating the Advertising Law or other display content that does not comply with laws and regulations, that is, broadcast content.

[0069] Preferably, the load balancing server also feeds back response data via a small program. Figure 9As shown, a landscape lighting cluster architecture control method comprises the following steps: pre-building a cluster server, the cluster server comprising a load balancing server and at least two relay servers connected to the load balancing server; the load balancing server receiving request data via a mini-program; the load balancing server assigning the request data to the corresponding relay servers; the relay servers forwarding the request data to a lighting control system based on the destination address in the request data; wherein the request data also includes a username and password; the relay server identifies the corresponding lighting control system and landscape lighting system based on the username, password, and destination address; the lighting control system controls the landscape lighting system for display based on the request data; the load balancing server also feeds back response data via the mini-program. Preferably, the response data includes an error status analysis of the displayed data. Preferably, the response data also includes a short video recorded in real time on-site. This method, also independently designed by the applicant, enables users to understand the execution status of the request data, such as whether it is playing normally or encountering an exception. In particular, the short video recorded in real time on-site provides users with a real-time visual experience, rather than the original simple and brief data, and has been widely praised during testing.

[0070] Preferably, the landscape lighting cluster architecture control method further comprises the steps of: the lighting control system feeding back display information to the relay server; the relay server forwarding the display information to the load balancing server; the load balancing server feeding back response data through a small program based on the display information. Figure 10 As shown, a landscape lighting cluster architecture control method includes the following steps: pre-building a cluster server, the cluster server including a load balancing server and at least two relay servers connected to the load balancing server; the load balancing server receiving request data through a small program; the load balancing server assigning the request data to the corresponding relay server; the relay server forwarding the request data to the lighting control system based on the target address in the request data; wherein the request data also includes a username and password, and the relay server confirms the corresponding lighting control system and landscape lighting system based on the username, password, and target address; the lighting control system controls the landscape lighting system to display according to the request data; the lighting control system feeds back display information to the relay server; the relay server forwards the display information to the load balancing server; the load balancing server feeds back response data through the small program based on the display information. The display information may include a small video recorded in real time on site, some data statistics, information such as normal playback status or playback abnormality requiring maintenance, and some charging information or hardware failure information.

[0071] Preferably, a landscape lighting cluster architecture control system includes a cluster server, a lighting control system and a landscape lighting system; the cluster server includes a load balancing server and at least two transfer servers connected to the load balancing server; the load balancing server receives request data through a small program and distributes the request data to the corresponding transfer server; the transfer server is connected to the lighting control system, and the transfer server forwards the request data to the lighting control system according to the target address in the request data; the lighting control system is connected to the landscape lighting system, and the lighting control system controls the landscape lighting system to display according to the request data. Figure 11As shown, a landscape lighting cluster architecture control system includes a cluster server, a lighting control system, and a landscape lighting system; the cluster server includes a load balancing server and n relay servers, where n is a natural number greater than or equal to 2. The n relay servers include relay server 1, relay server 2...relay server n; the load balancing server is connected to the n load balancing servers respectively; the load balancing server receives request data through a mini-program and distributes the request data to the corresponding relay server; the relay server is connected to the lighting control system, preferably, the number of the lighting control systems is greater than or equal to the number of the relay servers, each of the relay servers corresponds to at least one lighting control system, and each of the lighting control systems corresponds to at least one landscape lighting system. Preferably, in this embodiment, the number of the relay servers, the lighting control system, and the landscape lighting system is the same, each of the relay servers corresponds to one lighting control system, and each of the lighting control systems corresponds to one landscape lighting system. That is, the landscape lighting cluster architecture control system includes n lighting control systems and n landscape lighting systems; the n lighting control systems include lighting control system 1, lighting control system 2, ..., lighting control system n; the n landscape lighting systems include landscape lighting system 1, landscape lighting system 2, ..., landscape lighting system n; the transit server k forwards the request data to the corresponding lighting control system k according to the target address in the request data; the lighting control system k is connected to the landscape lighting system k, and the lighting control system k controls the landscape lighting system k to display according to the request data. Wherein, k is a natural number less than or equal to n. Preferably, in actual applications, the number of the lighting control systems and the landscape lighting systems is the same, with one relay server corresponding to one or more lighting control systems, and one lighting control system corresponding to one landscape lighting system; or, one relay server corresponding to one or more lighting control systems, and one lighting control system corresponding to one or more landscape lighting systems; preferably, the number of relay servers, the number of lighting control systems, or the number of landscape lighting systems is set according to the number of users; or, one user corresponds to one lighting control system, and one lighting control system corresponds to one or more landscape lighting systems. Preferably, the landscape lighting cluster architecture control system is implemented using the landscape lighting cluster architecture control method described in any embodiment.The present invention uses network and computer technology to set up a convergence node server as a load balancing server to achieve a unified interface, solving the problem of high-concurrency data processing. It also proposes a technical means of using a transit server, which only requires a single domain name to enable mini-programs to communicate with multiple servers. Because direct server-to-server forwarding does not require a domain name, domain names and public IP servers are reduced, reducing the use of public resources. It also adapts to various display data of different projects, their packaging methods, and different protocols, and realizes the control of multiple landscape lighting projects. Moreover, due to the use of a transit server, the service projects can be continuously expanded without changing the interface service. It is also applicable to any mini-program, such as the WeChat mini-program. As long as the WeChat mini-program needs to connect to multiple servers, the problem of multiple domain names can be solved by the present invention.

[0072] In various embodiments, preferably, the load balancing server has a domain name and a public IP address. An IP address (Internet Protocol Address) refers to an Internet Protocol address, also translated as an Internet Protocol address. Preferably, the load balancing server has a small program access port, and the load balancing server connects to the small program through the small program access port. Figure 12 As shown, a landscape lighting cluster architecture control system includes a cluster server, a lighting control system, and a landscape lighting system. The load balancing server is connected to a WeChat mini-program, for example, via the mini-program access port. Each user, including user 1, user 2, ..., user n, connects to the load balancing server of the cluster server via the WeChat mini-program. In this embodiment, one user corresponds to one lighting control system and one landscape lighting system. In other embodiments, one user corresponds to one lighting control system, and / or one lighting control system corresponds to one or more landscape lighting systems.

[0073] Preferably, a landscape lighting cluster architecture control system such as Figure 13 As shown, it Figure 12 Based on the shown embodiment, a network device and a restoration system are added. One lighting control system corresponds to one or more network devices, one network device corresponds to one restoration system, and one restoration system corresponds to one landscape lighting system. In this embodiment, one lighting control system corresponds to one network device, one network device corresponds to one restoration system, and one restoration system corresponds to one landscape lighting system.

[0074] In practical applications, one user can correspond to multiple lighting control systems. Preferably, a landscape lighting cluster architecture control system such as Figure 14 As shown, it and Figure 13 The difference of the embodiment shown is that the number of users is m, and at this time m is less than or equal to n; there is no doubt that when m=n, it is the same as Figure 13 The illustrated embodiment will be exactly the same. When m < n, one user corresponds to one or more lighting control systems. Similarly, one of the lighting control systems corresponds to one or more network devices, one network device corresponds to one restoration system, and one restoration system corresponds to one landscape lighting fixture system.

[0075] Preferably, the landscape lighting cluster architecture control system further includes a network device and a restoration system disposed between the lighting core master controller and the landscape lighting fixture system. The restoration system is connected to the network device. The network device transmits display data to the restoration system. The restoration system reorganizes the display data, determines the correctness of the reorganized display data, and gives feedback. For example, the landscape lighting fixture system is controlled according to the feedback. The above embodiment uses a restoration system to simplify and reduce the amount of data transmitted with the landscape lighting fixture system, which can avoid faults or anomalies caused by data transmission between the restoration system and the landscape lighting fixture system. Preferably, the restoration system is also connected to the landscape lighting fixture system. When the correctness of the reorganized display data meets the requirements of the landscape lighting fixture system, the restoration system permits the landscape lighting fixture system to play; when the correctness of the reorganized display data does not meet the requirements of the landscape lighting fixture system, the restoration system gives an error status analysis of the display data, which is used to indicate possible error types and / or possible error locations. Preferably, the restoration system further performs secondary processing and / or statistics on the reorganized display data and gives statistical results. Other embodiments are类推d in the same way and will not be elaborated below.

[0076] It should be noted that "类推" in the original text seems to be an incorrect expression. I translated it as "类推d" as it's not clear what the correct word should be. You may need to check and correct this if necessary.Preferably, the restoration system is provided with a monitoring module, which is used to obtain display data of the landscape lighting system. Preferably, the monitoring module is provided between the network device and the landscape lighting system, or at the data output terminal of the network device, or at the data input terminal of the landscape lighting system; or the monitoring module is provided between the lighting control system and the network device, or at the data output terminal of the lighting control system, or at the data input terminal of the network device. Preferably, the restoration system includes a monitoring module, a reorganization module, a storage module, a judgment module, a feedback module, and a sending module. The monitoring module is used to obtain display data from the landscape lighting system; the reorganization module is connected to the monitoring module and is used to reorganize the display data; the storage module is connected to the reorganization module and is used to store the judgment conditions and store the display data before and after reorganization; the judgment module is connected to the storage module and is used to determine the correctness of the reorganized display data based on the judgment conditions and the reorganized display data; the feedback module is connected to the judgment module and is used to generate feedback information based on the judgment result of the judgment module; and the sending module is connected to the feedback module and is used to send the feedback information to a target terminal or target device. Preferably, the restoration system also includes a permission module, which is connected to the feedback module or the judgment module and is used to permit the landscape lighting system to play the display data if the correctness of the reorganized display data meets the requirements of the landscape lighting system. Preferably, the restoration system is further provided with an error status analysis module, which is connected to the feedback module or the judgment module, and is used to provide an error status analysis of the display data when the correctness of the reorganized display data does not meet the requirements of the landscape lighting system, and is used to indicate the possible error type and / or possible error location. Preferably, the restoration system is further provided with a secondary processing module, which is connected to the storage module, and is used to perform secondary processing on the reorganized display data. Preferably, the restoration system is further provided with a statistics module, which is connected to the storage module, the feedback module or the judgment module, and is used to perform statistics on the reorganized display data and provide statistical results. The same applies to other embodiments, which will not be described in detail below. Preferably, the load balancing server is provided with a network security module, a sensitive information screening and filtering module, and a scheduling and allocation module; the network security module is used to form a firewall; the sensitive information screening and filtering module is used to screen and filter sensitive information to ensure the legality of the displayed content; and the scheduling and allocation module is used to select the corresponding transfer server under the premise of load balancing.The role of the firewall is self-evident. The sensitive information screening and filtering module can also be integrated into the network security module; however, this is not conducive to upgrades because the frequency of sensitive information updates and the amount of information involved are not on the same scale as the firewall configuration, so it is best to separate the two. Other embodiments of the present invention can also be applied to distributed cluster management, providing more powerful computing and multi-tasking services. It can also determine whether the lighting system display is normal or determine the cause of an anomaly when an anomaly occurs.

[0077] From the above description, it can be seen that the present invention only needs to deploy a universal interface service once on the aggregation node server, and only requires a domain name and public IP, which reduces the occupation of public resources and reduces maintenance costs. It also realizes unified user account management. For example, different projects can be distinguished by different user names; a unified firewall can also be set to achieve network security, screening and filtering of sensitive information, scheduling and allocation of cluster resources, etc.

[0078] The following are some comparisons to better illustrate the present invention: The existing solutions include the applicant's prior research and development solutions, as well as other people's prior patent applications and actual solutions.

[0079] The existing solution requires each project to deploy a small program independently, while the improved solution of the present invention only requires a unified deployment of a small program;

[0080] In the existing solution, each mini-program needs to apply for a separate domain name. The improved solution of the present invention only requires a unified domain name and public IP address.

[0081] Although the existing solution can resolve a domain name to multiple servers through different ports, sometimes the resolution fails and the server cannot be accessed. The improved solution of the present invention has a one-to-one correspondence between the domain name and the public IP, so the problem of resolution failure will not occur and the stability is greatly improved.

[0082] The improved solution of the present invention can reduce the public resources occupied by domain names and public IP addresses. One domain name and public IP address can serve multiple projects, achieving multiple goals at one stroke.

[0083] The improved solution of the present invention is that all data are uniformly entered, for example, to a load balancing server, and then forwarded by a transit server, that is, a forwarding server, according to their respective target addresses, and feedback data of the target addresses is returned;

[0084] The technical difficulty of the improved solution of the present invention is the high-concurrency processing of data, which is solved by using a load-balanced server cluster. All data is evenly distributed to each transit server by the load balancer;

[0085] The present invention is applicable to any WeChat applet. As long as the WeChat applet needs to connect to multiple servers, the problem of multiple domain names can be solved by the present invention.

[0086] Furthermore, embodiments of the present invention also include a landscape lighting cluster architecture control method and system formed by combining the technical features of the above embodiments.

[0087] It should be noted that the above-mentioned technical features are further combined with each other to form various embodiments not listed above, which are all regarded as the scope of the present invention; and, for ordinary technicians in this field, they can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A landscape lighting cluster architecture control method, characterized in that: The following steps are involved: Pre-building a cluster server, the cluster server including a load balancing server and at least two transit servers connected to the load balancing server; The load balancing server receives the request data through the applet; The load balancing server distributes the request data to the corresponding transfer server; The relay server forwards the request data to the lighting control system according to the target address in the request data; The lighting control system controls the landscape lighting system to display according to the request data; wherein the lighting control system generates display data according to the request data and transmits the display data to the network device; the network device transmits the display data to the landscape lighting system; the restoration system obtains the display data of the landscape lighting system, reorganizes the display data, determines the correctness of the reorganized display data and provides feedback, and when the correctness of the reorganized display data meets the requirements of the landscape lighting system, allows the landscape lighting system to play; when the correctness of the reorganized display data does not meet the requirements of the landscape lighting system, provides an error status analysis of the display data to indicate possible error types and possible error locations; The restoration system obtains evaluation information of the display data, the evaluation information coming from a landscape lighting system of another landscape lighting project or a restoration system, and when obtaining the display data of the landscape lighting system, the restoration system verifies the display data of the landscape lighting system according to the evaluation information, and reconstructs the display data after passing the verification; The restoration system acquires the display data of the landscape lighting system, including: the restoration system actively monitors a data port of the landscape lighting system connected to a network device, and when the lighting control system directly outputs the display data to the landscape lighting system through the network device, copies the display data transmitted to the landscape lighting system at the data port, and copies and forwards the data as transmitted data packets or data fragments; Reorganizing the display data includes: reorganizing by data packets or data segments, or aggregating the data packets or data segments and then reorganizing them to form display content that can be recognized by application software or a server.

2. The landscape lighting cluster architecture control method according to claim 1, characterized in that: The mini-programs including the WeChat mini-program and the Alipay mini-program perform secondary processing on the reorganized display data, including: demonstration effect display, video reorganization and visual display of statistical data.

3. The landscape lighting cluster architecture control method according to claim 1, characterized in that: The load balancing server also receives request data through the application.

4. The landscape lighting cluster architecture control method according to claim 1, characterized in that: The request data includes playback content; or, the lighting control system selects or generates playback content according to the request data; or, the lighting control system selects or generates playback content and control information thereof according to the request data.

5. The landscape lighting cluster architecture control method according to any one of claims 1 to 4, characterized in that: The load balancing server also feeds back response data through the applet.

6. The landscape lighting cluster architecture control method according to claim 5, characterized in that: Also includes the steps: The lighting control system feeds back display information to the relay server; The relay server forwards the display information to the load balancing server; The load balancing server feeds back response data through the applet according to the display information.

7. A landscape lighting cluster architecture control system, characterized in that: Including cluster servers, lighting control systems, restoration systems and landscape lighting systems; The cluster server includes a load balancing server and at least two transit servers connected to the load balancing server; The load balancing server receives the request data through the applet and distributes the request data to the corresponding transit server; The relay server is connected to the lighting control system, and the relay server forwards the request data to the lighting control system according to the target address in the request data; The lighting control system is connected to the landscape lighting system, and the lighting control system controls the landscape lighting system to display according to the request data; wherein the lighting control system generates display data according to the request data and transmits the display data to the network device; the network device transmits the display data to the landscape lighting system; the restoration system obtains the display data of the landscape lighting system, reorganizes the display data, determines the correctness of the reorganized display data and provides feedback; when the correctness of the reorganized display data meets the requirements of the landscape lighting system, the landscape lighting system is allowed to play; when the correctness of the reorganized display data does not meet the requirements of the landscape lighting system, an error status analysis of the display data is provided to indicate possible error types and possible error locations; The restoration system obtains evaluation information of the display data, the evaluation information coming from a landscape lighting system of another landscape lighting project or a restoration system, and when obtaining the display data of the landscape lighting system, the restoration system verifies the display data of the landscape lighting system according to the evaluation information, and reconstructs the display data after passing the verification; The restoration system acquires the display data of the landscape lighting system, including: the restoration system actively monitors a data port of the landscape lighting system connected to a network device, and when the lighting control system directly outputs the display data to the landscape lighting system through the network device, copies the display data transmitted to the landscape lighting system at the data port, and copies and forwards the data as transmitted data packets or data fragments; Reorganizing the display data includes: reorganizing by data packets or data segments, or aggregating the data packets or data segments and then reorganizing them to form display content that can be recognized by application software or a server.

8. The landscape lighting cluster architecture control system according to claim 7, characterized in that: The load balancing server has a mini-program access port, and the load balancing server is connected to the mini-program through the mini-program access port.

9. The landscape lighting cluster architecture control system according to claim 7, characterized in that: The load balancing server has a domain name and a public IP address.

10. The landscape lighting cluster architecture control system according to claim 7, characterized in that: The load balancing server is provided with a network security module, a sensitive information screening and filtering module, and a scheduling and allocation module; The network security module is used to form a firewall; The sensitive information screening and filtering module is used to screen and filter sensitive information to ensure that the displayed content is legal; The scheduling and allocation module is used to select the corresponding transfer server under the premise of load balancing.

Citation Information

Patent Citations

  • Load balancing system and method for multi business to implement load balancing

    CN101207550A

  • Illumination content production and use

    CN108474531A

  • Mobile social platform interaction control method for LED landscape lighting system

    CN109561206A

  • Lighting system control method and device based on WeChat

    CN110677965A