Sky curtain control method, system, device and readable storage medium based on SOA architecture
Through the SOA architecture-based sky curtain control system, users can customize the sky curtain level and arrange dimming scenes, solving the problem that users in the existing technology have difficulty in personalizing the sky curtain, and achieving higher personalized settings and control convenience.
Patent Information
- Application Number
- CN202310237797.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2043-03-13
AI Technical Summary
In the prior art, users cannot customize the sky curtain level according to the scene, and adding new scenes requires changing the control software, which increases the difficulty for users to achieve personalized control of the sky curtain.
The sky curtain control system based on the SOA architecture is adopted, including the user scene customization layer, the scene service layer, the enhancement service layer, the atomic service layer and the equipment abstraction layer. By obtaining the dimming scene set by the user and the input sky curtain adjustment instructions, the sky curtain dimming parameters are determined, and the sky curtain adjustment information is generated based on the current transmission level to control the action of the sky curtain adjustment mechanism.
Users can arrange dimming scenes according to their own preferences and habits to meet personalized needs and reduce the difficulty of personalized setting and control of the sky curtain.
Smart Images

Figure CN116301123B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of automobile technology, and specifically to a skylight control method, system, device and readable storage medium based on SOA architecture. Background Art
[0002] In traditional architecture design, when defining various functions of the vehicle as services, the principle of service independence must be followed and implemented through electronic control units and actuators distributed in various locations of the vehicle. In this way, in the traditional architecture, the color-changing skylight control is triggered by a local switch or a large-screen soft switch. Users cannot customize the skylight level based on the scene. If a new scene is added, the control software of the color-changing skylight needs to be changed, which increases the difficulty for users to achieve personalized control of the skylight. Summary of the invention
[0003] In view of the above problems, the embodiments of the present invention provide a skylight control method, system, device and readable storage medium based on SOA architecture, which are used to solve the problem in the prior art that users cannot realize personalized control of the skylight.
[0004] According to one aspect of an embodiment of the present invention, a skylight control system based on SOA architecture is provided, including: a user scene customization layer, a scene service layer, an enhanced service layer, an atomic service layer and a device abstraction layer.
[0005] The user scene customization layer is used to obtain the dimming scene set by the user, and to obtain the skylight adjustment instruction input by the user, and determine the skylight dimming parameters based on the skylight adjustment instruction and the dimming scene set by the user;
[0006] The scene service layer is used to obtain the skylight dimming parameters sent by the user scene customization layer, call the enhanced service layer according to the skylight dimming parameters, and send the skylight dimming parameters to the enhanced service layer;
[0007] The enhanced service layer is used to verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the skylight transmittance level and the skylight dimming parameters;
[0008] The atomic service layer is used to receive the sky curtain adjustment information sent by the enhanced service layer, and feed back the sky curtain transmittance level to the enhanced service layer;
[0009] The device abstraction layer is connected to the control hardware of the skylight and controls the skylight based on the skylight adjustment information.
[0010] In an optional manner, the enhanced service layer is further used to obtain the temperature and light intensity inside the vehicle at the first moment;
[0011] Based on the vehicle interior temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, obtaining the vehicle interior temperature and light intensity at the second moment within a preset time;
[0012] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0013] In an optional manner, the enhanced service layer is also used to arbitrate the priorities of multiple skylight dimming parameters based on the acquisition method of the multiple skylight dimming parameters, and generate the skylight adjustment information based on the skylight dimming parameters with higher priority and the current skylight transmittance level.
[0014] In an optional manner, the enhanced service layer is further used to not adjust the skylight adjustment information if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level based on the vehicle interior temperature and light intensity at the second moment.
[0015] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0016] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0017] According to another aspect of an embodiment of the present invention, a skylight control method based on an SOA architecture is provided, and the skylight control method based on an SOA architecture includes:
[0018] Get the dimming scene set by the user;
[0019] Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0020] Verifying the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters;
[0021] Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
[0022] In an optional manner, if there are multiple skylight dimming parameters, the step of generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters further includes:
[0023] Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
[0024] In an optional manner, before the step of controlling the action of the canopy adjustment mechanism based on the canopy adjustment information, the method further includes:
[0025] Get the temperature and light intensity inside the car at the first moment;
[0026] Based on the vehicle interior temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, obtaining the vehicle interior temperature and light intensity at the second moment within a preset time;
[0027] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0028] In an optional manner, based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0029] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0030] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0031] According to another aspect of an embodiment of the present invention, a skylight control device based on an SOA architecture is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;
[0032] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following steps:
[0033] Get the dimming scene set by the user;
[0034] Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0035] Verifying the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters;
[0036] Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
[0037] In an optional manner, if there are multiple skylight dimming parameters, the step of generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters further includes:
[0038] Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
[0039] In an optional manner, before the step of controlling the action of the canopy adjustment mechanism based on the canopy adjustment information, the method further includes:
[0040] Get the temperature and light intensity inside the car at the first moment;
[0041] Based on the vehicle interior temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, obtaining the vehicle interior temperature and light intensity at the second moment within a preset time;
[0042] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0043] In an optional manner, based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0044] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0045] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0046] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a skylight control device / system based on an SOA architecture to perform the following operations:
[0047] Get the dimming scene set by the user;
[0048] Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0049] Verifying the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters;
[0050] Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
[0051] In an optional manner, if there are multiple skylight dimming parameters, the step of generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters further includes:
[0052] Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
[0053] In an optional manner, before the step of controlling the action of the canopy adjustment mechanism based on the canopy adjustment information, the method further includes:
[0054] Get the temperature and light intensity inside the car at the first moment;
[0055] Based on the vehicle interior temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, obtaining the vehicle interior temperature and light intensity at the second moment within a preset time;
[0056] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0057] In an optional manner, based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0058] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0059] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0060] The embodiment of the present invention obtains the dimming scene set by the user, determines the skylight dimming parameters based on the skylight adjustment instruction input by the user and the dimming scene set by the user, and after verifying the validity of the skylight dimming parameters, generates skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters. By applying the technical solution of the present invention and controlling the color-changing skylight of the vehicle in an SOA architecture, the user can arrange the dimming scenes according to his own preferences and habits, thereby reducing the difficulty of personalized setting and control of the skylight while meeting the personalized needs of the user.
[0061] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0063] Figure 1 A schematic diagram of an embodiment of a skylight control system based on SOA architecture provided by an embodiment of the present invention is shown;
[0064] Figure 2 A flow chart of an implementation method of a skylight control system based on SOA architecture provided by an embodiment of the present invention is shown;
[0065] Figure 3 A schematic structural diagram of an embodiment of a skylight control device based on SOA architecture provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0066] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0067] Figure 1The schematic diagram of an embodiment of a skylight control system based on SOA architecture provided by an embodiment of the present invention is shown. The skylight control system based on SOA architecture includes: a user scene customization layer, a scene service layer, an enhanced service layer, an atomic service layer and a device abstraction layer. SOA is called service oriented architecture. SOA is a componentized model that connects different functional units (services) of an application through good interfaces and contracts between these services. Among them, a service is a coarse-grained, implementable software entity that exists as a separate entity and interacts with other applications or services through a set of loosely coupled and message-based models. The interface is defined in a neutral manner, independent of the hardware platform, operating system and programming language that implements the service, so that the services built in such a system can interact in a unified and universal interactive manner. Because the service-oriented architecture style has the advantages of being based on standards, loosely coupled, shared services and coarse granularity, it shows the characteristics of easy integration of existing systems, standardized architecture, improved development efficiency, and reduced development and maintenance complexity, which is more in line with the requirements of the vehicle system for software architecture in the era of intelligent networking. In the traditional architecture, the color-changing skylight control is triggered by a local switch or a large-screen soft switch. Users cannot customize the skylight level based on the scene. If a new scene is added, the software needs to be changed. In addition, due to the characteristics of the skylight dimming film, the life cycle can only change color about 50,000 times. Frequent automatic dimming will reach the upper limit of the life cycle as soon as possible. Figure 1 As shown, in the application of the skylight control system based on SOA architecture, the following steps can be implemented:
[0068] Step 110: Obtain the dimming scene set by the user.
[0069] Specifically, users can flexibly arrange the dimming chromaticity of the skylight of each custom (dimming scene) in the user scene customization layer through the APP or the scene setting interface on the large screen. Specifically, the dimming scene set by the user includes setting multiple levels of dimming chromaticity corresponding to different dimming scenes. For example, the dimming chromaticity under each dimming scene is divided into 10 levels, level 1 has the lowest light transmittance (representing the darkest in the car), and level 10 represents the highest light transmittance (representing the brightest in the car). In addition, users can also define whether the dimming scene needs to have an automatic dimming mode or only retain the manual dimming mode.
[0070] Step 120: Obtain the skylight adjustment instruction input by the user, and determine the skylight dimming parameters based on the skylight adjustment instruction and the dimming scene set by the user.
[0071] Specifically, during the skylight adjustment process, the user can input the skylight adjustment instruction to the user scene customization layer through the virtual button or physical case on the large screen of the vehicle computer, or through the mobile phone APP, wherein the skylight adjustment instruction can be a specific dimming scene selection, or can be an input skylight automatic dimming instruction. Then the user scene customization layer determines the skylight dimming parameters corresponding to the skylight adjustment instruction based on the skylight adjustment instruction and the dimming scene set by the user.
[0072] Step 130: verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters.
[0073] Specifically, step 130 includes steps 131 to 136, wherein step 131 is executed by the user scene customization layer, steps 132 to 133 are executed by the scene service layer, and steps 134 to 136 are executed by the enhanced service layer. In actual application, the scene service layer obtains the sky curtain dimming parameters sent by the user scene customization layer, and calls the enhanced service layer according to the sky curtain dimming parameters, and sends the sky curtain dimming parameters to the enhanced service layer; the enhanced service layer verifies the validity of the sky curtain dimming parameters of the scene service layer, for example, determines whether the value of the sky curtain dimming parameters is within a reasonable range, or whether it is within a preset personalized setting range. After the validity verification, the atomic service layer is called to pass the sky curtain dimming level, and based on the sky curtain transmittance level and the sky curtain dimming parameters, the sky curtain adjustment information to be executed by the sky curtain is generated, and the sky curtain adjustment information is sent to the atomic service layer.
[0074] Step 140: Based on the skylight adjustment information, control the action of the skylight adjustment mechanism.
[0075] First, the atomic service layer receives the skylight adjustment information sent by the enhanced service layer, and then sends the skylight adjustment information to the device abstraction layer. The device abstraction layer is connected to the skylight control hardware, and the device abstraction layer controls the vertical and horizontal mechanism actions of the skylight based on the skylight adjustment information.
[0076] The embodiment of the present invention provides a skylight control system based on SOA architecture, which pre-acquires the dimming scene set by the user through the user scene customization layer. After acquiring the skylight adjustment instruction input by the user, the skylight dimming parameters can be determined based on the skylight adjustment instruction input by the user and the dimming scene set by the user. After the enhanced service layer verifies the validity of the skylight dimming parameters, the skylight adjustment information is generated based on the current skylight transmittance level and the skylight dimming parameters. Then, the atomic service layer forwards the skylight adjustment information to the device abstraction layer connected to the skylight control hardware. Finally, the device abstraction layer controls the action of the skylight adjustment mechanism based on the skylight adjustment information. Applying the technical solution of the present invention, the color-changing skylight of the vehicle is controlled in an SOA architecture manner. The user can arrange the dimming scenes according to his own preferences and habits, which reduces the difficulty of personalized setting and control of the skylight while meeting the personalized needs of the user.
[0077] It should be noted that, in actual application, the skylight dimming parameters include a variety of generation methods, for example, the user inputs the skylight dimming parameters through a button, or the user inputs the skylight dimming parameters through a mobile phone APP, or the user scene customization layer determines the skylight dimming parameters through a preset automatic dimming mode. In this case, the user can set the priority of each input method in advance, and implement priority arbitration through the enhanced service layer, and generate the skylight adjustment information based on the skylight dimming parameters with higher priority and the current skylight transmittance level. In this way, the personalized settings of the skylight control can be further enhanced. The application of the technical solution of the present invention can solve the problem in the prior art that users cannot customize the skylight level based on the scene, and if a new scene is added, the control software of the color-changing skylight needs to be changed, thereby increasing the difficulty for users to achieve personalized control of the skylight.
[0078] Figure 2 The flowchart of an implementation method of a skylight control system based on SOA architecture provided by an embodiment of the present invention is shown. Figure 2 As shown, the steps performed by the skylight control system based on the SOA architecture include:
[0079] Step 210: Obtain the dimming scene set by the user.
[0080] Step 220: Obtaining a skylight adjustment instruction input by a user, and determining a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0081] Step 230: verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters.
[0082] Among them, the following steps 240 to 260 are performed by the enhanced service layer:
[0083] Step 240: Obtain the temperature and light intensity inside the vehicle at the first moment.
[0084] Step 250: Based on the vehicle interior temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, the vehicle interior temperature and light intensity at the second moment are obtained within a preset time.
[0085] Step 260: Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0086] Among them, the first moment is the moment when the skylight adjustment information is ready to be executed. It should be noted that since the temperature and light intensity in the car will change over time, especially when passing through a short tunnel or intermittent tree-lined road section, if the skylight adjustment information is generated at this time and executed immediately, it is easy to need to frequently control the skylight action, especially when the skylight automatic dimming mode is set, and the number of dimming times of the skylight has a certain upper limit, for example, the upper limit of the dimming times is 50,000 times. The frequent action of the skylight caused by this situation will greatly reduce the service life of the skylight.
[0087] In this regard, in some embodiments of the present invention, before executing the skylight adjustment information, based on the temperature and light intensity in the vehicle at the first moment, the relationship between the dimming level corresponding to the skylight adjustment information and the preset light level is determined. For example, the preset light level is level 2. If it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, then after waiting for one minute, the temperature and light intensity in the vehicle at the second moment are obtained, and based on the temperature and light intensity in the vehicle at the second moment, the relationship between the dimming level corresponding to the skylight adjustment information and the preset light level is determined again. If it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, then based on the temperature and light intensity in the vehicle at the second moment, a new skylight dimming parameter is generated, and the new skylight dimming parameter is encapsulated in the skylight adjustment information. If it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0088] It should be noted that in an embodiment of the present application, the enhanced service layer calls the vehicle temperature signal and light intensity at a certain frequency, for example, calls the vehicle temperature signal and light intensity once every 30 seconds (less than the preset time).
[0089] Step 270: Based on the skylight adjustment information, control the action of the skylight adjustment mechanism.
[0090] The technical solution provided by the embodiment of the present invention is that before the execution of the skylight adjustment information, based on the temperature in the car and the light intensity at the first moment, if it is judged that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, then after waiting for one minute, based on the temperature in the car and the light intensity at the second moment, the relationship between the dimming level corresponding to the skylight adjustment information and the preset light level is judged again, and when the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature in the car and the light intensity at the second moment. In this way, the skylight can be prevented from being frequently adjusted in the automatic dimming mode when the vehicle passes through a short tunnel or an intermittent tree-lined road section, thereby improving the intelligence of the skylight control and delaying the service life of the skylight.
[0091] The embodiment of the present application further provides a skylight control method based on the SOA architecture, and the skylight control method based on the SOA architecture includes:
[0092] Get the dimming scene set by the user.
[0093] Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0094] Verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters.
[0095] Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
[0096] In an optional manner, if there are multiple sky curtain dimming parameters, the step of generating sky curtain adjustment information based on the current sky curtain transmittance level and the sky curtain dimming parameters further includes:
[0097] Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
[0098] In an optional manner, before the step of controlling the action of the canopy adjustment mechanism based on the canopy adjustment information, the method further includes:
[0099] Get the temperature and light intensity inside the car at the first moment.
[0100] Based on the temperature and light intensity inside the vehicle at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, the temperature and light intensity inside the vehicle at the second moment are obtained within a preset time.
[0101] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0102] In an optional manner, based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0103] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0104] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0105] An embodiment of the present invention provides a skylight control method based on an SOA architecture, which obtains a dimming scene set by a user, determines skylight dimming parameters based on a skylight adjustment instruction input by the user and the dimming scene set by the user, and after verifying the validity of the skylight dimming parameters, generates skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters. By applying the technical solution of the present invention and controlling the color-changing skylight of a vehicle in an SOA architecture, users can arrange dimming scenes according to their own preferences and habits, thereby reducing the difficulty of personalized setting and control of the skylight while meeting the personalized needs of users.
[0106] Figure 3 A schematic structural diagram of an embodiment of a skylight control device based on an SOA architecture provided by an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the skylight control device based on the SOA architecture.
[0107] like Figure 3 As shown, the skylight control device based on the SOA architecture may include: a processor (processor) 302, a communication interface (Communications Interface) 304, a memory (memory) 306, and a communication bus 308.
[0108] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 408. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned embodiment of the skylight control method based on the SOA architecture.
[0109] Specifically, the program 310 may include program code including computer executable instructions.
[0110] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the skylight control device based on the SOA architecture may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0111] The memory 306 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0112] The program 310 can be specifically called by the processor 402 to enable the skylight control device based on the SOA architecture to perform the following operations:
[0113] Get the dimming scene set by the user.
[0114] Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0115] Verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters.
[0116] Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
[0117] In an optional manner, if there are multiple skylight dimming parameters, the step of generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters further includes:
[0118] Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
[0119] In an optional manner, before the step of controlling the action of the canopy adjustment mechanism based on the canopy adjustment information, the method further includes:
[0120] Get the temperature and light intensity inside the car at the first moment.
[0121] Based on the temperature and light intensity inside the vehicle at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, the temperature and light intensity inside the vehicle at the second moment are obtained within a preset time.
[0122] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0123] In an optional manner, based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0124] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0125] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0126] An embodiment of the present invention provides a skylight control device based on an SOA architecture. The memory 306 of the skylight control device based on the SOA architecture is used to store a program 310. The program 310 can be specifically called by the processor 302 to implement: by obtaining the dimming scene set by the user, and based on the skylight adjustment instruction input by the user and the dimming scene set by the user, the skylight dimming parameters are determined, and after verifying the validity of the skylight dimming parameters, the skylight adjustment information is generated based on the current skylight transmittance level and the skylight dimming parameters. By applying the technical solution of the present invention and controlling the color-changing skylight of the vehicle in an SOA architecture manner, the user can arrange the dimming scenes according to his own preferences and habits, thereby reducing the difficulty of personalized setting and control of the skylight while meeting the personalized needs of the user.
[0127] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a skylight control device / system based on an SOA architecture, the skylight control device / system based on the SOA architecture executes a skylight control method based on the SOA architecture in any of the above method embodiments.
[0128] The executable instructions can be specifically used to enable the skylight control device / system based on the SOA architecture to perform the following operations:
[0129] Get the dimming scene set by the user.
[0130] Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user;
[0131] Verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters.
[0132] Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
[0133] In an optional manner, if there are multiple skylight dimming parameters, the step of generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters further includes:
[0134] Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
[0135] In an optional manner, before the step of controlling the action of the canopy adjustment mechanism based on the canopy adjustment information, the method further includes:
[0136] Get the temperature and light intensity inside the car at the first moment.
[0137] Based on the temperature and light intensity inside the vehicle at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, the temperature and light intensity inside the vehicle at the second moment are obtained within a preset time.
[0138] Based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
[0139] In an optional manner, based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
[0140] In an optional manner, the dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
[0141] In an optional manner, the dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
[0142] An embodiment of the present invention provides a computer-readable storage medium. When the executable instructions stored in the computer-readable storage medium are executed, the dimming scene set by the user is obtained, and the skylight dimming parameters are determined based on the skylight adjustment instructions input by the user and the dimming scene set by the user. After verifying the validity of the skylight dimming parameters, the skylight adjustment information is generated based on the current skylight transmittance level and the skylight dimming parameters. By applying the technical solution of the present invention and controlling the color-changing skylight of the vehicle in an SOA architecture, the user can arrange the dimming scenes according to his own preferences and habits, thereby reducing the difficulty of personalized setting and control of the skylight while meeting the personalized needs of the user.
[0143] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.
[0144] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.
[0145] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.
[0146] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A skylight control method based on SOA architecture, characterized in that: The skylight control method based on SOA architecture includes: Get the dimming scene set by the user; Acquire a skylight adjustment instruction input by a user, and determine a skylight dimming parameter based on the skylight adjustment instruction and the dimming scene set by the user; Verifying the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters; Get the temperature and light intensity inside the car at the first moment; Based on the vehicle interior temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, obtaining the vehicle interior temperature and light intensity at the second moment within a preset time; Based on the temperature and light intensity in the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, generating new skylight dimming parameters based on the temperature and light intensity in the vehicle at the second moment, and encapsulating the new skylight dimming parameters in the skylight adjustment information; Based on the skylight adjustment information, the action of the skylight adjustment mechanism is controlled.
2. The skylight control method based on SOA architecture according to claim 1 is characterized in that: If there are multiple skylight dimming parameters, the step of generating skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters further includes: Based on the acquisition methods of the plurality of sky curtain dimming parameters, the priorities of the plurality of sky curtain dimming parameters are arbitrated, and based on the sky curtain dimming parameter with a higher priority and the current sky curtain transmittance level, the sky curtain adjustment information is generated.
3. The skylight control method based on SOA architecture according to claim 1 is characterized in that: Based on the vehicle interior temperature and light intensity at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level, the skylight adjustment information is not adjusted.
4. The skylight control method based on SOA architecture according to claim 1 is characterized in that: The dimming scene set by the user includes setting a plurality of levels of dimming chromaticity corresponding to different dimming scenes.
5. The skylight control method based on SOA architecture according to claim 1 is characterized in that: The dimming scene set by the user includes an automatic dimming mode and / or a manual dimming mode.
6. A skylight control system based on SOA architecture, characterized in that: The skylight control system based on the SOA architecture is used to execute the skylight control method based on the SOA architecture as described in any one of claims 1 to 5, and the skylight control system based on the SOA architecture includes: a user scene customization layer, a scene service layer, an enhanced service layer, an atomic service layer and a device abstraction layer; The user scene customization layer is used to obtain the dimming scene set by the user; and obtain the skylight adjustment instruction input by the user, and determine the skylight dimming parameters based on the skylight adjustment instruction and the dimming scene set by the user; The enhanced service layer is used to verify the validity of the skylight dimming parameters, and after the skylight dimming parameters pass the validity verification, generate skylight adjustment information based on the current skylight transmittance level and the skylight dimming parameters; The atomic service layer is used to receive the sky curtain adjustment information sent by the enhanced service layer, and feed back the sky curtain transmittance level to the enhanced service layer; The device abstraction layer is connected to the control hardware of the canopy and controls the action of the canopy adjustment mechanism based on the canopy adjustment information; The enhanced service layer is also used to obtain the temperature and light intensity inside the vehicle at the first moment; And, based on the in-vehicle temperature and light intensity at the first moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, then obtaining the in-vehicle temperature and light intensity at the second moment within a preset time; And, based on the temperature and light intensity inside the vehicle at the second moment, if it is determined that the dimming level corresponding to the skylight adjustment information is greater than the preset light level, new skylight dimming parameters are generated based on the temperature and light intensity inside the vehicle at the second moment, and the new skylight dimming parameters are encapsulated in the skylight adjustment information.
7. The skylight control system based on SOA architecture according to claim 6 is characterized in that: The skylight dimming parameters have multiple acquisition methods; The enhanced service layer is also used to arbitrate the priorities of multiple skylight dimming parameters based on the acquisition methods of multiple skylight dimming parameters, and generate the skylight adjustment information based on the skylight dimming parameters with higher priority and the current skylight transmittance level.
8. The skylight control system based on SOA architecture according to claim 6 is characterized in that: The enhanced service layer is also used to not adjust the skylight adjustment information if it is determined that the dimming level corresponding to the skylight adjustment information is less than or equal to the preset light level based on the vehicle interior temperature and light intensity at the second moment.
9. A skylight control device based on SOA architecture, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the skylight control method based on the SOA architecture as described in any one of claims 1-5.
10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on the skylight control device / system based on the SOA architecture, the skylight control device / system based on the SOA architecture executes the operation of the skylight control method based on the SOA architecture as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle door linkage panoramic sunroof control method and system
CN113619508A
Intelligent automobile awning system controlled by mobile phone Bluetooth and control method of intelligent automobile awning system
CN113997767A