Day and night dynamic switching and virtual and real intelligent lighting system driven by MCP protocol

The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting system generates real-time lighting control data using data interaction, simulation, and decision-making modules, solving the problems of resource waste and poor performance in traditional lighting control systems and achieving efficient and energy-saving lighting management.

CN120730581APending Publication Date: 2025-09-30FUTURE CITY (SHANGHAI) ARCHITECTURAL PLANNING & DESIGN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510951347.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

Existing urban lighting control systems are unable to achieve timely switching on or off under different weather conditions and locations, resulting in waste of resources and poor lighting performance.

Method used

The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting system acquires urban environment data through the data interaction module, uses the urban simulation module to generate rendering data of the virtual city model, and generates lighting control data through the intelligent decision-making module to achieve dynamic lighting control.

Benefits of technology

It realizes lighting control based on real-time environmental data, improves lighting usage effects and saves electricity resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120730581A_ABST
    Figure CN120730581A_ABST
Patent Text Reader

Abstract

The invention discloses a day and night dynamic switching and virtual and real intelligent lighting system driven by an MCP protocol, and belongs to the technical field of city management. According to the invention, a data interaction module is used for obtaining city environment data of a target city at the current moment, and the data interaction module is based on an MCP protocol; the city simulation module is used for determining model rendering data of a virtual city model according to the city environment data and the virtual city model of the target city; and the intelligent decision-making module is used for generating urban light control data according to the model state data and the control decision-making model, so that resource waste is avoided, and the light use effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of urban management, and in particular to an MCP protocol-driven day / night dynamic switching and virtual / real intelligent lighting system. Background Art

[0002] With the development of urbanization and the improvement of people's living standards, urban intelligence has become an important means to optimize urban resource management, improve the quality of life of urban residents, and enhance urban governance capabilities. Currently, urban lighting control is generally set on a timer, adjusting the opening and closing of lights on various roads at set times. This urban lighting control method is a fixed on-off control. In fact, in different weather conditions and different road locations, fixed lighting control can result in lights not turning on in time in some bad weather conditions, or lights being used too early. Such problems lead to waste of resources and poor lighting performance.

[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of the present invention is to provide an MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting system, aiming to avoid waste of resources while improving the effect of lighting use.

[0005] To achieve the above objectives, the present invention provides an MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting system, the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting system comprising:

[0006] A data interaction module is used to obtain the current urban environmental data of the target city, and the data interaction module is based on the MCP protocol;

[0007] A city simulation module, configured to determine model rendering data of a virtual city model based on the city environment data and the virtual city model of the target city;

[0008] The intelligent decision-making module is used to generate city lighting control data based on the model state data and the control decision model.

[0009] Optionally, the data interaction module is further configured to:

[0010] generating a plurality of lighting control instructions according to the lighting control data of the city and the lighting control authority data;

[0011] The plurality of lighting control instructions are sent to a corresponding lighting control system according to the MCP protocol.

[0012] In addition, to achieve the above-mentioned purpose, the present invention also provides an MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting control method, the MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting control method comprising the following steps:

[0013] Obtaining the current urban environmental data of the target city, wherein the data interaction module is based on the MCP protocol;

[0014] determining model rendering data of a virtual city model according to the urban environment data and the virtual city model of the target city;

[0015] City lighting control data is generated according to the model rendering data and the control decision model.

[0016] Optionally, the urban environment data includes surveillance images of various areas of the city, the model rendering data includes first model rendering data and second model rendering data, and the step of determining the model rendering data of the virtual city model based on the urban environment data and the virtual city model of the target city includes:

[0017] determining light data of each area according to the monitoring image;

[0018] adjusting the lighting settings of the virtual city model to first lighting parameters according to the light data, and generating first model rendering data according to the first lighting parameters and the virtual city model;

[0019] The lighting settings of the virtual city model are adjusted to second lighting parameters according to the light data and the light illumination data, and second model rendering data are generated according to the second lighting parameters and the virtual city model.

[0020] Optionally, the light data includes: ambient light intensity corresponding to each area, and before the step of adjusting the lighting setting of the virtual city model to the second lighting parameter according to the light data and the lighting illumination data, the step further includes:

[0021] Determining lighting control data for a corresponding area in the virtual city model according to the ambient light intensity corresponding to each area;

[0022] The lighting illumination data is generated according to all the lighting control data.

[0023] Optionally, the step of determining light data of each area according to the monitoring image includes:

[0024] Correcting the monitoring image according to the camera data, and determining the ambient light intensity according to the corrected monitoring image;

[0025] Determining shadow boundary data based on the monitoring image and an edge extraction algorithm, and determining a lighting direction based on the shadow boundary data;

[0026] extracting color data of ambient light according to the monitoring image;

[0027] The ambient light intensity, light direction and color data are used as the light data.

[0028] Optionally, the control decision model is a large language model, the large language model is provided with an image encoder, the image encoder is used to process image data, and the step of generating city light control data according to the model rendering data and the control decision model includes:

[0029] Generate a corresponding rendering image of each area at a target viewing angle according to the model rendering data, and obtain a plurality of the rendering images;

[0030] inputting the large language model according to the rendered image and the model prompt instruction;

[0031] An output result of the large language model is received, and city light control data is generated according to the output result.

[0032] Optionally, before the step of inputting the large language model according to the rendered image and the model prompt instruction, the method further includes:

[0033] generating the model prompt instruction according to the lighting control requirements of the target city;

[0034] The lighting control requirements include: environmental protection and energy saving requirements, service evaluation requirements and urban lighting aesthetic requirements.

[0035] Optionally, the model rendering data includes first model rendering data and second model rendering data, and the model prompt instruction is: comparing the rendered images corresponding to each area in the first model rendering data and the second model rendering data according to a preset comparison index, and selectively generating a comparison result for each area, and the step of receiving the output result of the large language model and generating the city light control data according to the output result includes:

[0036] Extracting the comparison result of each area in the output result, and determining the lighting control data of each location in the target city according to the comparison result of each area;

[0037] All the light control data are used as the city light control data.

[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides an MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device, characterized in that the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device includes: a memory, a processor, and an MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program stored on the memory and runnable on the processor, and the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program is configured to implement the steps of the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting control method described in any one of the above items.

[0039] The present invention proposes an MCP protocol-driven day / night dynamic switching and virtual-reality intelligent lighting system. This system obtains the current urban environmental data of a target city and determines model rendering data for a virtual city model based on the urban environmental data and the virtual city model of the target city. Compared with the traditional timed setting of turning the lighting system on or off, this method based on real-time data and rendering can effectively obtain a virtual ambient lighting effect. City lighting control data is then generated based on the model rendering data and a control decision model, thereby achieving accurate control of lighting based on big data, thereby improving lighting usage while saving electricity resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a schematic diagram of the structure of the MCP protocol-driven day and night dynamic switching and virtual-real intelligent lighting equipment in the hardware operating environment involved in the embodiment of the present invention;

[0041] Figure 2 This is a flow chart of the first embodiment of the MCP protocol-driven day / night dynamic switching and virtual / real intelligent lighting control method of the present invention;

[0042] Figure 3 This is a flow chart of a second embodiment of the MCP protocol-driven day / night dynamic switching and virtual / real intelligent lighting control method of the present invention;

[0043] Figure 4 This is a flow chart of the third embodiment of the MCP protocol-driven day / night dynamic switching and virtual / real intelligent lighting control method of the present invention.

[0044] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0046] Reference Figure 1 , Figure 1This is a schematic diagram of the structure of the MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting equipment in the hardware operating environment involved in the embodiment of the present invention.

[0047] like Figure 1 As shown, the MCP protocol-driven day / night dynamic switching and virtual / real intelligent lighting device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, an interactive device 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The interactive device 1003 may include a display and an input unit such as a keyboard. Optionally, the interactive device 1003 may also be connected to the communication bus via a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (WI-FI) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also be a storage device independent of the processor 1001.

[0048] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0049] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and an MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting program.

[0050] exist Figure 1In the device shown in FIG. 1 , the network interface 1004 is mainly used for data communication with other devices; the interactive device 1003 is mainly used for data interaction with users; the processor 1001 and the memory 1005 in the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device of the present invention can be set in the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device. The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device calls the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program stored in the memory 1005 through the processor 1001, and executes the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting control method provided by the embodiment of the present invention.

[0051] The embodiment of the present invention provides a method for dynamic day and night switching and virtual and real intelligent lighting control driven by MCP protocol, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of an MCP protocol-driven day / night dynamic switching and virtual / real intelligent lighting control method of the present invention.

[0052] In this embodiment, the MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting control method includes:

[0053] Step S1, obtaining the current urban environment data of the target city, wherein the data interaction module is based on the MCP protocol;

[0054] It should be noted that in the city service system, since different areas are generally managed by different systems, there will be differences in data formats and communication protocols, which makes the collaborative work between the various systems complicated. Through the Model Context Protocol (MCP), it can support large models to connect to various sensors and data sources in the city service system and collect corresponding real-time data. Specifically, in this embodiment, there is no restriction on the method of obtaining environmental data. The urban environmental data can be obtained according to a preset program, or the urban environmental data can be obtained by a decision model. In this embodiment, the urban environmental data here can include: image data collected by surveillance cameras in the city, meteorological data collected by meteorological monitoring equipment, and traffic flow data collected by the traffic management system. It should be noted that the urban environmental data here can also be data stored in various city management systems at the current moment and updated in real time.

[0055] Step S2, determining model rendering data of the virtual city model according to the urban environment data and the virtual city model of the target city;

[0056] In this embodiment, the virtual city model here includes: geometric structure models of various buildings in the target city, such as: tunnels, commercial office buildings, residential buildings, bridges, lane dividers, etc. It should be noted that the above-mentioned virtual city model includes: virtual lighting devices corresponding to the target city, specifically including: public lighting equipment in the city, and optionally, it can also include: virtual lighting devices of private buildings. Preferably, the lighting devices of the landmark buildings in the city are mapped to the virtual city model. By extracting light-related light data from the urban environment data, and adjusting the light source settings in the virtual city model according to the light data, rendering is performed on this basis. The specific rendering method can call the GPU to accelerate the rendering effect to obtain the model rendering data. It should be noted that for the target city, the actual light corresponding to different areas is not the same due to factors such as cloud cover and sunlight. In this embodiment, the light source settings in the virtual city model set different parameters according to different locations.

[0057] Step S3: Generate city light control data based on the model rendering data and the control decision model.

[0058] Specifically, the control decision model here is a Large Language Model (LLM), which includes an image encoder for processing image data. In this embodiment, the specific composition of the image encoder is not limited and may include a convolutional neural network (CNN) or a generative adversarial network (GAN). The model rendering data generates image data at a preset perspective, which may be the perspective of an intersection in the virtual city model. This generates a rendered image of the intersection in the virtual city model. The rendered image and model prompt instructions are input into the control decision model, and the lighting control data corresponding to the rendered image is determined based on the output of the control decision model. The output specifically indicates whether the street lights should be turned on or not. Furthermore, for sightseeing lighting devices, due to different weather conditions at different time periods, such as rainy days and sunsets, corresponding model prompt instructions can be set, for example, to recommend appropriate lighting colors based on the rendered image.

[0059] In this embodiment, the urban environment data of the target city at the current moment is obtained, and the model rendering data of the virtual city model is determined based on the urban environment data and the virtual city model of the target city; compared with the traditional timed setting of turning the lighting system on or off, this rendering method based on real-time data can effectively obtain a virtual ambient light effect, and then generate urban lighting control data based on the model rendering data and the control decision model, so that accurate control of the lighting can be achieved based on big data, thereby improving the lighting usage effect while saving electricity resources.

[0060] Further, based on the first embodiment, a second embodiment of the MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method of the present invention is proposed. In this embodiment, referring to Figure 3 The urban environment data includes surveillance images of various areas of the city, the model rendering data includes first model rendering data and second model rendering data, and the step of determining the model rendering data of the virtual city model based on the urban environment data and the virtual city model of the target city includes:

[0061] Step S21, determining light data of each area based on the monitoring image;

[0062] Optionally, a preset number of monitoring devices are selected from monitoring devices in various areas of the city. Generally, one monitoring device can be selected for each street. Alternatively, to reduce computing resources, only one monitoring device can be selected for each community. To improve lighting control accuracy, the number of monitoring devices selected for each street can be increased. Corresponding monitoring images are obtained from the monitoring devices. Preferably, public lighting devices are installed in areas within or outside of the monitoring images, and the public announcement lighting devices have corresponding devices in the virtual city model.

[0063] Step S22, adjusting the lighting settings of the virtual city model to first lighting parameters according to the light data, and generating first model rendering data according to the first lighting parameters and the virtual city model;

[0064] Specifically, the light data and the mapping relationship determine the first lighting parameter. For example, the set light intensity of the first lighting parameter is positively correlated with the light intensity data of the light data, and the lighting direction of the first lighting parameter is the same as the light direction of the light data.

[0065] Step S23 , adjusting the lighting settings of the virtual city model to second lighting parameters according to the light data and the light illumination data, and generating second model rendering data according to the second lighting parameters and the virtual city model.

[0066] The second lighting parameter is a lighting parameter based on the superposition of the light data and the lighting data, and the lighting data corresponds to actual parameters of actual lighting equipment. In this embodiment, the second model rendering data is generated according to the second lighting parameter and the virtual city model.

[0067] In this embodiment, light data of each area is determined based on the monitoring image; the lighting settings of the virtual city model are adjusted to first lighting parameters based on the light data, and first model rendering data is generated based on the first lighting parameters and the virtual city model; the lighting settings of the virtual city model are adjusted to second lighting parameters based on the light data and the lighting data, and second model rendering data is generated based on the second lighting parameters and the virtual city model, so as to render two different lighting environments, thereby effectively simulating the lighting conditions under the lighting.

[0068] Furthermore, the light data includes: the ambient light intensity corresponding to each area, and before the step of adjusting the lighting setting of the virtual city model to the second lighting parameter according to the light data and the lighting illumination data, the step further includes:

[0069] Determining lighting control data for a corresponding area in the virtual city model according to the ambient light intensity corresponding to each area;

[0070] The scope of the area here can be roads, communities, administrative areas, etc., and the size of the divided area is not limited. The lighting control data can be light on or light off. For adjustable lights, it can be light brightness, light color, etc.

[0071] The lighting illumination data is generated according to all the lighting control data.

[0072] The lighting data here refers to overall lighting control data, and specifically can be a set of arrays, where each element in the array corresponds to a piece of lighting control data.

[0073] Furthermore, the step of determining light data of each area based on the monitoring image includes:

[0074] Correcting the monitoring image according to the camera data, and determining the ambient light intensity according to the corrected monitoring image;

[0075] Determining shadow boundary data based on the monitoring image and an edge extraction algorithm, and determining a lighting direction based on the shadow boundary data;

[0076] extracting color data of ambient light according to the monitoring image;

[0077] The ambient light intensity, light direction and color data are used as the light data.

[0078] In this embodiment, the ambient light intensity, lighting direction, and color data are extracted from the monitoring image as the light data. In other embodiments, more than one monitoring device can be selected in an area, and the shooting directions of the monitoring devices are different. The direction of the light can be determined by a photometric stereo vision method. In other embodiments, a deep learning-based method can also be used to extract the direction in the image. Preferably, the monitoring image data can also include shooting data. Common RAW formats, DNG formats, etc. support image formats including EXIF ​​data. Supporting the EXIF ​​standard can save information at the time of shooting, including: camera model, lens parameters, aperture, shutter speed, ISO, shooting time, GPS coordinates, and copyright information. Specifically, the monitoring image is calibrated using parameters such as lens parameters, aperture, shutter speed, ISO, etc., so that the light intensity information in the environment can be accurately judged. The color data of the ambient light here is mainly used to adjust the color of the lights used for sightseeing illumination.

[0079] Further, based on the first embodiment or the second embodiment, a third embodiment of the MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method of the present invention is proposed. In this embodiment, referring to Figure 4 The control decision model is a large language model, the large language model is provided with an image encoder, the image encoder is used to process image data, and the step of generating city light control data according to the model rendering data and the control decision model includes:

[0080] Step S31, generating a corresponding rendering image of each area at a target viewing angle according to the model rendering data, to obtain a plurality of the rendering images;

[0081] The target viewing angle here can be in a vertical downward direction or in other directions. The GPU generates a corresponding rendering image based on the model rendering data. Since the number of areas here is more than one, a plurality of the rendering images can be obtained in this embodiment. It should be noted that the target viewing angles of each area do not need to be the same, and can be determined according to a preset direction. In addition, the distance between the target viewing angle and each area can also be preset. The target viewing angle can be determined by obtaining the configuration data of the last rendering, so that the difference between the rendered images obtained each time is only due to the difference in light. In addition, since the two types of data include: first model rendering data and second model rendering data, in order to subsequently use the rendering images corresponding to the above two model rendering data, the target viewing angles of the same areas in the first model rendering data and the second model rendering data should be the same.

[0082] Step S32, inputting the large language model according to the rendered image and the model prompt instruction;

[0083] In this embodiment, the rendered images and model prompt instructions are input into the large language model. There is no limit on the number of rendered images. In addition, the rendered images can be input into the large language model in batches. In addition, the model prompt instructions are used to control the operation of the large language model. To improve input efficiency, the model prompt instructions here can pre-set multiple prompt templates.

[0084] Step S33: receiving the output result of the large language model and generating city light control data according to the output result.

[0085] The output result of the large language model is received. It should be noted that a standardized output format can be added to the model prompt instruction to ensure the stability of the model output result. In this way, city light control data can be generated based on the output result of the large language model.

[0086] Furthermore, before the step of inputting the large language model according to the rendered image and the model prompt instruction, the method further includes:

[0087] generating the model prompt instruction according to the lighting control requirements of the target city;

[0088] The lighting control requirements include: environmental protection and energy saving requirements, service evaluation requirements and urban lighting aesthetic requirements.

[0089] Target prompt instructions for environmental protection and energy conservation requirements can be comparing the first rendered image corresponding to each position in the first model rendering data with the second rendered image corresponding to each position in the second model rendering data, specifically comparing the light intensity difference between the first and second rendered images, and determining whether each area needs to be lit from an environmental protection and energy conservation perspective. Target prompt instructions for service evaluation requirements can be comparing the first rendered image corresponding to each position in the first model rendering data with the second rendered image corresponding to each position in the second model rendering data, specifically comparing the light intensity difference between the first and second rendered images, and determining whether each area needs to be lit based on user experience.

[0090] In order to meet the aesthetic requirements of urban lighting, the system generates appropriate lighting colors based on the first rendered images corresponding to each location in the first model rendering data, returns the results, determines corresponding model rendering data under the recommended lighting, and returns the steps of generating corresponding rendered images for each area at a target viewing angle based on the model rendering data, thereby obtaining a plurality of the rendered images. The rendered images corresponding to the model rendering data under the recommended lighting are evaluated to determine a score, and the urban lighting control data is generated based on the score.

[0091] Furthermore, based on any of the above embodiments, a fourth embodiment of the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting control method of the present invention is proposed. In this embodiment, the model rendering data includes first model rendering data and second model rendering data. The model prompt instruction is: comparing the rendered images corresponding to each area in the first model rendering data and the second model rendering data according to a preset comparison index, and selecting to generate a comparison result for each area. The steps of receiving the output result of the large language model and generating city lighting control data based on the output result include:

[0092] Extracting the comparison result of each area in the output result, and determining the lighting control data of each location in the target city according to the comparison result of each area;

[0093] Specifically, the lighting control data for each position is generated according to the table corresponding to the output result.

[0094] All the light control data are used as the city light control data.

[0095] In addition, an embodiment of the present invention further proposes an MCP protocol-driven day and night dynamic switching and virtual-real intelligent lighting system, the MCP protocol-driven day and night dynamic switching and virtual-real intelligent lighting system comprising:

[0096] A data interaction module is used to obtain the current urban environmental data of the target city, and the data interaction module is based on the MCP protocol;

[0097] A city simulation module, configured to determine model rendering data of a virtual city model based on the city environment data and the virtual city model of the target city;

[0098] The intelligent decision-making module is used to generate city lighting control data based on the model state data and the control decision model.

[0099] Optionally, the data interaction module is further configured to:

[0100] generating a plurality of lighting control instructions according to the lighting control data of the city and the lighting control authority data;

[0101] The plurality of lighting control instructions are sent to a corresponding lighting control system according to the MCP protocol.

[0102] The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting system can implement the steps of any embodiment of the above-mentioned MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting control method.

[0103] In addition, an embodiment of the present invention also proposes an MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device. The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device includes: a memory, a processor, and an MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program stored on the memory and runnable on the processor. The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program is configured to implement the steps of the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting control method described in any one of the above items.

[0104] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0105] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0106] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0107] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting system, characterized by: The MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting system includes: A data interaction module is used to obtain the current urban environmental data of the target city, and the data interaction module is based on the MCP protocol; A city simulation module, configured to determine model rendering data of a virtual city model based on the city environment data and the virtual city model of the target city; The intelligent decision-making module is used to generate city lighting control data based on the model state data and the control decision model.

2. The MCP protocol-driven day and night dynamic switching and virtual-real intelligent lighting system according to claim 1, characterized in that: The data interaction module is also used for: generating a plurality of lighting control instructions according to the lighting control data of the city and the lighting control authority data; The plurality of lighting control instructions are sent to a corresponding lighting control system according to the MCP protocol.

3. An MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting control method, characterized in that: The MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting control method includes the following steps: Obtaining the current urban environmental data of the target city, wherein the data interaction module is based on the MCP protocol; determining model rendering data of a virtual city model according to the urban environment data and the virtual city model of the target city; City lighting control data is generated according to the model rendering data and the control decision model.

4. The MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method as claimed in claim 3, characterized in that: The urban environment data includes surveillance images of various areas of the city, the model rendering data includes first model rendering data and second model rendering data, and the step of determining the model rendering data of the virtual city model based on the urban environment data and the virtual city model of the target city includes: determining light data of each area according to the monitoring image; adjusting the lighting settings of the virtual city model to first lighting parameters according to the light data, and generating first model rendering data according to the first lighting parameters and the virtual city model; The lighting settings of the virtual city model are adjusted to second lighting parameters according to the light data and the light illumination data, and second model rendering data are generated according to the second lighting parameters and the virtual city model.

5. The MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method as claimed in claim 4, characterized in that: The light data includes: the ambient light intensity corresponding to each area. Before the step of adjusting the lighting setting of the virtual city model to the second lighting parameter according to the light data and the lighting illumination data, the method further includes: Determining lighting control data for a corresponding area in the virtual city model according to the ambient light intensity corresponding to each area; The lighting illumination data is generated according to all the lighting control data.

6. The MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method as claimed in claim 4, characterized in that: The step of determining light data of each area according to the monitoring image includes: Correcting the monitoring image according to the camera data, and determining the ambient light intensity according to the corrected monitoring image; Determining shadow boundary data based on the monitoring image and an edge extraction algorithm, and determining a lighting direction based on the shadow boundary data; extracting color data of ambient light according to the monitoring image; The ambient light intensity, light direction and color data are used as the light data.

7. The MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method as claimed in claim 3, characterized in that: The control decision model is a large language model, and the large language model is provided with an image encoder, and the image encoder is used to process image data. The step of generating city light control data according to the model rendering data and the control decision model includes: Generate a corresponding rendering image of each area at a target viewing angle according to the model rendering data, and obtain a plurality of the rendering images; inputting the large language model according to the rendered image and the model prompt instruction; An output result of the large language model is received, and city light control data is generated according to the output result.

8. The MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method as claimed in claim 7, characterized in that: Before the step of inputting the large language model according to the rendered image and the model prompt instruction, the method further includes: generating the model prompt instruction according to the lighting control requirements of the target city; The lighting control requirements include: environmental protection and energy saving requirements, service evaluation requirements and urban lighting aesthetic requirements.

9. The MCP protocol driven day and night dynamic switching and virtual and real intelligent lighting control method as claimed in claim 7, characterized in that: The model rendering data includes first model rendering data and second model rendering data. The model prompt instruction is: comparing the rendered images corresponding to each region in the first model rendering data and the second model rendering data according to a preset comparison index, and selecting to generate a comparison result for each region. The steps of receiving the output result of the large language model and generating the city light control data according to the output result include: Extracting the comparison result of each area in the output result, and determining the lighting control data of each location in the target city according to the comparison result of each area; All the light control data are used as the city light control data.

10. An MCP protocol-driven day and night dynamic switching and virtual and real intelligent lighting device, characterized by: The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting device includes: a memory, a processor, and an MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program stored on the memory and runnable on the processor. The MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting program is configured to implement the steps of the MCP protocol-driven day and night dynamic switching and virtual-reality intelligent lighting control method as described in any one of claims 3 to 9.