Cross-space cooperative illumination control method, sound box, system and medium

By obtaining the signal strength of the mobile terminal and calculating user position parameters in real time, and generating control instructions based on mobile prediction data, the cross-space collaborative control of the intelligent lighting system is realized, solving the problem of poor lighting transition effect when users move seamlessly, and improving user experience and energy utilization efficiency.

CN119729958APending Publication Date: 2025-03-28ZHONGSHAN MINGLIAN ELECTRONICS CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202510063109.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Existing smart lighting systems are unable to provide a natural coherent and intelligent lighting transition between users' seamless movements, resulting in poor user experience and unable to meet the user's coherence and comfort requirements between different spaces.

Method used

By obtaining the network signal strength and connection signal strength of the mobile terminal in real time, calculating the user's real-time position parameters, and generating control instructions based on the mobile prediction data, to realize intelligent and precise cross-space collaborative control of lighting.

Benefits of technology

The switching of seamless lighting states is achieved, avoiding interruptions or drastic changes in lighting, improving user experience, meeting the user's coherence and comfort requirements between different spaces, and effectively reducing energy waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729958A_ABST
    Figure CN119729958A_ABST
Patent Text Reader

Abstract

The invention relates to a cross-space cooperative illumination control method, a sound box, a system and a medium, and belongs to the technical field of lamp control, and the method comprises the steps: obtaining the network signal intensity of a user mobile terminal in real time under the condition that an illumination device in a target sub-region where a user is currently located is in an on state; when the network signal intensity changes beyond the preset range, acquiring a plurality of connection signal intensities with the mobile terminal in the next period of time, and calculating real-time position parameters of the user according to all the network signal intensities and all the connection signal intensities; obtaining movement prediction data of the user according to the change condition of the real-time position parameter; generating a control instruction based on the movement prediction data; sending the control instruction to the lighting device of the corresponding target sub-area; the illumination of each area can be automatically adjusted according to the change of the position of the user, so that the user is prevented from frequently inputting instructions when moving in different spaces, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of lamp control, and in particular to a cross-space collaborative lighting control method, speaker, system and medium. Background Art

[0002] With the continuous development of smart home technology, people's demand for intelligent control of home lighting environment is growing. In modern homes and office buildings, the spatial layout is often complex, including multiple areas with different functions and uses, such as living rooms, bedrooms, kitchens, corridors, and rooms on different floors.

[0003] Traditional lighting control methods are mostly limited to a single space or independent operation of a lamp. For example, a wall switch is used to control the on and off of the lamps in a specific room, adjust the brightness, etc. Every time a user moves from one space to another, they need to manually adjust the various parameters of the lamps in the current scene on different control terminals to meet their lighting needs. The operation is cumbersome and inefficient. In order to improve the convenience of the above-mentioned lamp control, some manufacturers have developed an intelligent lighting system, which includes a smart speaker and lamps connected to the smart speaker. The smart speaker is used to receive voice commands issued by the user and control and adjust the various parameters of the lamps in the specified area according to the voice commands. Such an intelligent lighting system enables users to remotely control lamps or set modes for specific scenes.

[0004] However, current intelligent lighting systems can only trigger the control of lamps in a specific area according to a preset schedule or the user's current voice input. When the user is performing daily (outside the preset schedule) movement activities and arrives from the first area to the second area, such as going from the bedroom to the kitchen, the user still needs to control the switch of the lamps in the second area through a manual operation or voice input, which will lead to an interruption in the user's lighting experience and fail to create a natural, coherent and intelligent lighting transition effect for the user, thereby failing to meet the user's requirements for the continuity and comfort of the lighting environment when moving freely between different spaces. Summary of the invention

[0005] In order to improve the user's lighting experience and meet the user's requirements for continuity and comfort of the lighting environment when moving freely between different spaces, the present application provides a cross-space collaborative lighting control method, speaker, system and medium.

[0006] In a first aspect, the present application provides a cross-space collaborative lighting control method, which adopts the following technical solution: A cross-space collaborative lighting control method is applied to a target area, where the target area includes a plurality of target sub-areas. The cross-space collaborative lighting control method includes: When the lighting device in the target sub-area where the user is currently located is turned on, the network signal strength of the user's mobile terminal is obtained in real time, where the network signal strength is an indicator of the signal strength feedback when the mobile terminal carried by the user communicates with a preset wireless network access point in the target area; When the network signal strength changes beyond a preset range, obtain the strength of several connection signals between the mobile terminal and the mobile terminal in the next period of time, and calculate the user's real-time location parameter based on all the network signal strengths and all the connection signal strengths. The connection signal strength refers to the signal strength index fed back by the direct communication connection between the mobile terminal and the preset smart speaker; Obtaining user movement prediction data according to changes in the real-time location parameters; generating a control instruction based on the movement prediction data; The control instruction is sent to the corresponding lighting device of the target sub-area.

[0007] By adopting the above technical solutions, the present application can realize intelligent and precise cross-space collaborative control of lighting; first, the user's position is located in real time by means of the network signal strength and connection signal strength of the mobile terminal, making full use of the existing wireless communication resources without the need for additional complex hardware layout; secondly, the user's movement trend is accurately inferred based on the changes in position parameters, and adaptive control instructions are generated in advance, so that the lighting device can adjust the status in advance to avoid users entering dark areas or encountering sudden changes in lighting, thereby improving the user experience; finally, this collaborative control method can flexibly allocate lighting resources according to the user's activities in different target sub-areas, effectively reducing energy waste while meeting lighting needs, in line with the concept of energy conservation and environmental protection, and is not only suitable for home scenes, but also for large venues in multiple areas.

[0008] In a specific possible implementation scheme, when the network signal strength changes beyond a preset range, before the step of obtaining several connection signal strengths between the mobile terminal and the mobile terminal within the next period of time, the step further includes: Arrange all the acquired network signal strengths in order of acquisition time, and take the first acquired network signal strength as the initial signal strength; Subtract the newly acquired network signal strength from the initial signal strength to obtain a network signal change value; and compare the network signal change value with a preset range; If the network signal change value is greater than or equal to the preset range, it is determined that the network signal strength has changed beyond the preset range; If the network signal change is less than the preset range, it is determined that the network signal strength has not changed beyond the preset range.

[0009] By adopting the above technical solution, it is possible to monitor the changes in network signal strength more accurately and orderly, compare the network signal strength with a preset range, and when the network signal change value exceeds this range, it can be indirectly inferred that the user is moving and is more likely to go to different target sub-areas, which helps to subsequently control the lighting device according to the predicted user behavior; and when the change value does not exceed the range, it is determined that the user is relatively still or has no obvious tendency to leave the current target sub-area, avoiding unnecessary subsequent operations, effectively reducing the waste of computing resources, and improving the efficiency and accuracy of the entire cross-space collaborative lighting control process.

[0010] In a specific implementation scheme, calculating the user's real-time location parameters based on all network signal strengths and all connection signal strengths includes: A network path loss value and a connection path loss value are obtained according to all the network signal strengths and the connection signal strengths; the network path loss value and the connection path loss value are respectively input into a preset signal strength-distance conversion model to obtain two relative distances corresponding to the network access point and the smart speaker. The calculation formula of the signal strength-distance conversion model is as follows: Among them, PL 网络 (d 网络 ) is the distance d between the mobile terminal and the network access point 网络 The network path loss value at d 网络 represents the relative distance between the mobile terminal and the network access point; PL 连接 (d 连接 ) is the distance d between the mobile terminal and the smart speaker 连接 The connection path loss value at d 连接 represents the relative distance between the mobile terminal and the smart speaker; PL(d1) is the reference path loss of the mobile terminal at the network access point distance d1, which is a preset value; PL(d0) is the reference path loss of the mobile terminal at the smart terminal distance d0, which is a preset value; n is the path loss coefficient related to the environment; d1 and d0 are both reference distances, which are preset values, and d1 corresponds to the network access point, and d0 corresponds to the smart speaker; S i , S i ′ represents the signal strength of the mobile terminal at time i, S i-1 , S i-1 ′ represents the signal strength of the mobile terminal at time i-1, S i and S i-1 Corresponding to the signal strength between the mobile terminal and the network access point, S i ′ and S i-1' corresponds to the signal strength between the mobile terminal and the smart terminal; k1·R represents the rate of change of signal strength when the signal is acquired for the i-th time, which is used to reflect the change of signal strength at the i-th moment relative to the i-1-th moment; c , k1′·R c ′ is used to reflect the cumulative impact of signal strength changes on path loss; S is an indicator used to reflect signal strength stability; N represents the total number of times signal strength is obtained within a period of time; -R, -R′ are the average values ​​of N signal strength change rates; k1, k1′ are weighted coefficients of signal change rate, used to adjust the degree of influence of signal strength change rate on path loss; k2, k2′ are weighted coefficients of signal strength stability, used to adjust the degree of influence of signal strength change stability on path loss; k2·S, k2′·S are used to reflect the cumulative impact of signal strength stability on path loss; Obtaining two distance change values ​​corresponding to each time point according to the two relative distances corresponding to all time points within the period of time, wherein the distance change value refers to the difference between the relative distance corresponding to the next time point and the relative distance corresponding to the previous time point, and the two distance change values ​​correspond to the network access point and the smart speaker respectively; The real-time location parameter of the user is calculated based on the distance change value.

[0011] By adopting the above technical solution, the user's real-time location parameters can be systematically calculated using the network signal strength and the connection signal strength; first, the two are converted into network path loss values ​​and connection path loss values, and then with the help of the preset signal strength-distance conversion model, the two relative distances of the corresponding network access point and the smart speaker are accurately obtained, thereby realizing the effective conversion from signal characteristics to distance data; then, by analyzing the relative distances corresponding to different time points, the distance change value is calculated, and the dynamic changes in the user's distance from each key device are further captured; on this basis, the calculation is performed based on multiple signal strength change rates at consecutive moments, taking into account the impact of signal strength on path loss, so that the user's real-time location parameters can be determined more accurately in an environment where the signal strength changes dynamically, laying a solid data foundation for subsequent precise lighting control based on the user's location and realizing cross-space collaborative lighting, effectively improving the intelligence and accuracy of lighting control.

[0012] In a specific implementation scheme, obtaining the network path loss value and the connection path loss value according to all network signal strengths and connection signal strengths includes: Obtaining a preset network signal reference value and a connection signal reference value, wherein the network signal reference value refers to the signal transmission power of the wireless network access point, and the connection signal reference value refers to the signal transmission power of the smart speaker; A network path loss value is obtained based on a network signal baseline value and a network signal strength that currently changes beyond a preset range, and a connection path loss value is obtained based on a connection signal baseline value and a connection signal strength that currently changes beyond a preset range, wherein the network path loss value is an absolute value between the network signal strength and the network signal baseline value, and the connection path loss value is an absolute value between the connection signal strength and the connection signal baseline value.

[0013] In a specific implementation scheme, the calculation equations of the real-time position parameters are as follows: Where, Δd 网络 Indicates the distance change between the mobile terminal and the network access point at the current time, Δd 连接 Indicates the distance change between the mobile terminal and the smart speaker at the current time; D 网络 Indicates the relative distance between the mobile terminal and the network access point at the last moment, D 连接 Indicates the relative distance between the mobile terminal and the smart speaker at the last moment; d 连接 Represents the relative distance between the mobile terminal and the smart speaker at the current time, d 网络 Indicates the relative distance between the mobile terminal and the network access point at the current moment; (x1, y1) indicates the coordinates of the smart speaker, which is a preset value; (x2, y2) indicates the coordinates of the network access point, which is a preset value; (x, y) indicates the real-time location parameters of the user.

[0014] In a specific implementation scheme, generating a control instruction based on movement prediction data includes: Obtaining a lamp operating parameter group of the target sub-area where the user is currently located; generating a control instruction according to the lamp operation parameter group and the movement prediction data, wherein the movement prediction data includes a predicted destination sub-area where the user is most likely to go next and an estimated arrival time; The generating of control instructions according to the lamp operation parameter group and the movement prediction data specifically includes: If the predicted target sub-region is the same as the target sub-region where the user is currently located, stop generating the control instruction; Otherwise, continue to generate two control instructions based on the lamp operating parameter group and the estimated arrival time, and the two control instructions correspond to the predicted destination sub-area and the target sub-area where the user is currently located, respectively; the control instruction corresponding to the predicted destination sub-area carries the lamp operating parameter group and the estimated arrival time; the control instruction corresponding to the target sub-area where the user is currently located carries the estimated arrival time.

[0015] By adopting the above technical solution, when the predicted destination sub-area is the same as the current area, stopping the generation of instructions can avoid unnecessary operations and resource waste, and maintain the stability of the current lighting state; when the two are different, two control instructions corresponding to different areas are generated based on the lamp operation parameter group and the estimated arrival time, so that the current area can reasonably adjust the lighting according to the user's departure time, such as dimming or turning off some lamps to save energy; the predicted destination sub-area can prepare a suitable lighting environment in advance according to the lamp operation parameter group, such as adjusting the brightness, color temperature, etc., to ensure that the user can enjoy comfortable and scene-appropriate lighting when he arrives, while improving the user experience, realizing efficient coordination and intelligent switching of cross-space lighting, so that the entire lighting control system can flexibly respond to the user's movement between different sub-areas, and optimize the allocation and utilization of lighting resources.

[0016] In a specific possible implementation manner, after the lighting device in the predicted target sub-area receives the corresponding control instruction, the cross-space collaborative lighting control method further includes: Acquire current time data and a preset working mode schedule of the lighting device in the prediction target sub-area; Setting the working mode schedule and the priority of the control instruction according to the time data; executing the control instruction at the first priority level; The step of setting the working mode schedule and the priority of the control instruction according to the time data comprises: When the time data is close to a certain set time in the working mode schedule, the adjustment instruction in the working mode schedule is set to the first priority, and the control instruction is set to the second priority; Otherwise, the control instruction is set to the first priority, and the adjustment instruction in the working mode arrangement table is set to the second priority.

[0017] By adopting the above technical scheme, while ensuring the regular operation of the lighting system, the lighting system can flexibly respond to the dynamic movement needs of users. On the one hand, the working mode schedule and the priority of the control instructions are reasonably set according to the time data, and the conventional working mode preset by the lighting device is fully considered to avoid disrupting the reasonable lighting arrangement planned according to time due to temporary control instructions, so as to ensure that the lighting state is in line with the usage scenarios at different time periods of the day; on the other hand, when the time is not close to the preset time, the control instructions generated based on the user movement prediction are executed first, which can well meet the user's current immediate needs and create a suitable lighting environment for them in advance; on the whole, an effective balance between conventional and temporary, planned and flexible is achieved, which improves the intelligence and practicality of cross-space collaborative lighting control, and provides users with better quality and practical lighting services.

[0018] In the second aspect, the present application provides a smart speaker, which adopts the following technical solution: A smart speaker, characterized in that it includes a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement a cross-space collaborative lighting control method as described in the first aspect.

[0019] In a third aspect, the present application provides a cross-space collaborative lighting control system, which adopts the following technical solutions: A cross-space collaborative lighting control system, comprising: The smart speaker as described in the second aspect is connected to all the lighting devices for communication, and the smart speaker is used to receive input instructions from the user in real time, obtain control instructions, and send the control instructions to the corresponding lighting devices; A plurality of lighting devices are arranged in the target area and correspond one to one with the target sub-areas. The lighting devices are used to receive the control instructions issued by the smart speaker in real time, and adjust various operating parameters of the lamps according to the control instructions to provide lighting for the target sub-area where the lighting devices are located.

[0020] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium, wherein at least one instruction, at least one program, code set or instruction set is stored in the readable storage medium, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement a cross-space collaborative lighting control method as described in the first aspect.

[0021] In summary, the present application includes at least one of the following beneficial technical effects: 1. When the user moves in the target area, the present application enables the lighting system to seamlessly switch the lighting state through accurate real-time location parameter calculation and reliable movement prediction data generation: when the user moves from one target sub-area to another, based on the estimated arrival time, the lighting device in the destination sub-area can be adjusted to the same state as before in advance and smoothly, such as gradually lighting up and reaching the previous brightness and color temperature, rather than abruptly turning on or switching modes, so that the user can feel a natural and smooth lighting transition when entering a new area; at the same time, the lighting of the current sub-area will also be adjusted in an orderly manner according to the user's departure, such as gradually dimming or turning off some lamps. The whole process is closely coordinated with the user's movement trajectory and rhythm, avoiding interruptions or drastic changes in lighting. Whether it is moving between different functional areas or in a complex multi-room layout, it can provide users with a consistent, coherent and comfortable lighting experience, greatly improving the user's overall satisfaction and immersion in the lighting environment when they are active in the entire target area.

[0022] 2. Considering the time data and the preset working mode schedule of the lighting device to set the priority of the control instructions and the working mode adjustment instructions, taking into account the conventional lighting arrangements and the user's instant mobile needs, the lighting system is realized to have a regular and flexible operating mode, ensuring that the lighting state always fits the actual usage scenario, further improving the intelligence level and practicality of cross-space collaborative lighting control, effectively saving energy while creating a comfortable and convenient lighting environment for users. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a structural schematic diagram of a cross-space collaborative lighting control system according to an embodiment of the present application.

[0024] Figure 2 It is a flowchart of a cross-space collaborative lighting control method according to another embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with all the accompanying drawings.

[0026] The following is a further detailed description of an embodiment of a cross-space collaborative lighting control method, system and device of the present application in conjunction with the drawings of the specification.

[0027] An embodiment of the present application discloses a cross-space collaborative lighting control system, which is applied to a certain target area and helps to provide users with coherent and comfortable intelligent lighting services when users move freely in the target area; In this embodiment, the target area is divided into several target sub-areas according to the spatial layout or different functions of the target area; for example, in a smart home environment, the target area is the entire house, and the living room, bedroom, kitchen, bathroom, corridor and other areas are each a target sub-area. In this way, the smart speaker can accurately control the lighting devices in each target sub-area individually or collaboratively to meet the different lighting needs of users.

[0028] Reference Figure 1 , a cross-space collaborative lighting control system includes a plurality of lighting devices and a smart speaker that is communicatively connected to all the lighting devices; Among them, the smart speaker includes a second memory and a second processor, and the smart speaker is used to receive the user's input instructions in real time for the second processor to process, obtain the control instructions, and send the control instructions to the corresponding lighting device; at the same time, the smart speaker of this embodiment is connected to the user's mobile terminal in the same wireless network, and the mobile terminal can be a smart phone, tablet or other device carried by the user. In this way, the user can realize the remote command input to the smart speaker through the application corresponding to the cross-space collaborative lighting control system on the mobile terminal. The remote control technology is a prior art. For details, please refer to the smart home application, which will not be repeated here; In addition, the smart terminal is also used to detect in real time the network signal strength of the mobile terminal connected to the smart terminal, and obtain the user's real-time location parameters based on the network signal strength for processing by the second processor to obtain control instructions, and then send the control instructions to the corresponding lighting device; the second memory stores at least one instruction, at least one program, code set or instruction set, and at least one instruction, at least one program, code set or instruction set can be loaded and executed by the second processor to implement the steps S100-S500 of the following cross-space collaborative lighting control method.

[0029] The lighting device includes any one or combination of lamps such as ceiling lamps, wall lamps, light strips, etc., that is, all lamps in each target sub-area are regarded as a lighting device corresponding to the target sub-area; each lighting device also includes a first memory and a first processor, and the lighting device is used to receive control instructions issued by the smart speaker in real time, and adjust various operating parameters of the lamp according to the control instructions to provide lighting for the target sub-area where the lighting device is located; the first memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set can be loaded and executed by the first processor to implement the steps S510-S520 of the following cross-space collaborative lighting control method.

[0030] It should be noted that in this embodiment, in order to effectively ensure the communication stability between the smart speaker and all lighting devices, the smart speaker is generally installed in the center of the target area. However, in some specific cases, such as when the cross-space collaborative lighting control system of this embodiment is applied to large-scale office spaces, commercial complexes and other large-scale scenes, the lighting devices far away from the smart speaker are very likely to be unable to directly receive the control instructions issued by the smart speaker due to reasons such as the shielding of the signal by the wall. Therefore, this embodiment adopts the following settings: All lighting devices are communicatively connected with each other, and the lighting devices are also used to send received control instructions to other corresponding lighting devices through the first processor under certain circumstances; In this way, a distributed communication network architecture is constructed through a number of lighting devices to form a signal relay mechanism between lighting devices. When a lighting device close to the smart speaker successfully receives a control instruction, it will determine whether there are other lighting devices that are far away from the smart speaker and may not be able to directly receive the instruction according to the routing rules and communication protocols preset in the first memory. If there are other lighting devices, the lighting device will actively forward the control instruction directly / indirectly, like a signal relay station, to ensure that the control instruction can be delivered to the lighting devices in each target sub-area. The relevant technology can refer to the existing Mesh network, which will not be repeated here.

[0031] The implementation of the cross-space collaborative lighting control method is described in detail below in conjunction with the above-mentioned cross-space collaborative lighting control system: Reference Figure 2 Another embodiment of the present application provides a cross-space collaborative lighting control method, which is mainly implemented by the smart speaker in the above system, and the method includes: S100, when the lighting device in the target sub-area where the user is currently located is turned on, obtaining the network signal strength of the user's mobile terminal in real time; Among them, network signal strength is an indicator of the signal strength feedback when a mobile terminal carried by a user (such as a smart phone, tablet computer, smart bracelet and other devices) communicates with a wireless network access point (i.e., a wireless router, the location of which is known in the target area) in the target area; in a wireless network environment, network signal strength reflects the power of the signal transmission between the mobile terminal and the wireless router, with decibel milliwatt (dBm) as a common unit of measurement. The closer the value is to 0, the stronger the signal, and the farther away from 0, the weaker the signal.

[0032] S200, when the network signal strength changes beyond a preset range, obtaining several connection signal strengths between the mobile terminal and the mobile terminal in the next period of time, and calculating the user's real-time location parameter based on all network signal strengths and all connection signal strengths; Among them, when the user is in a relatively static state (i.e. staying in a certain target sub-area), the fluctuation of the network signal strength received by his mobile terminal is usually maintained in a relatively stable range. When the change of network signal strength exceeds the preset range, it largely means that the user has changed his location (such as moving to another target sub-area), resulting in changes in factors such as the distance between him and the wireless network access point (i.e. wireless router) and the signal propagation environment; the connection signal strength refers to the signal strength fed back by the direct communication connection between the smart speaker and the mobile terminal, which is also measured in decibel milliwatts (dBm). It characterizes the distance between the mobile terminal and the smart speaker and the smoothness of the signal transmission path between the two, and can assist in accurately locating the user's location; The setting of the preset range needs to be adjusted according to the size of the target area and several target sub-areas. For example, in a relatively compact target area such as a small two-bedroom house, due to the limited overall space, the wireless signal propagation distance is short and the interference factors are relatively few, the signal strength fluctuation amplitude is usually small, and the preset range is taken as ±3dBm. At the same time, in the above case, the period of time is taken as 2 seconds. In this way, when the user moves from the bedroom to the living room, even if it is just a few steps, once the signal strength exceeds this range, the system can quickly detect and start the subsequent control process, so as to timely adjust the lighting status of the relevant target sub-areas, accurately meet the user's immediate lighting needs, and avoid the abrupt feeling of lighting switching caused by delays. In target areas such as open office spaces, due to the large number of workstations and complex office equipment, there are many signal reflections and shielding situations. The preset range is taken as ±5dBm. At the same time, in the above case, the period of time is taken as 5 seconds. Specifically, the step of determining whether the network signal strength changes beyond a preset range in S200 is as follows: S201, arranging all acquired network signal strengths in order of acquisition time, and taking the first acquired network signal strength as the initial signal strength; S202, subtracting the current newly acquired network signal strength from the initial signal strength to obtain a network signal change value; S203, comparing the network signal change value with a preset range; S204, if the network signal change value is greater than or equal to the preset range, it is determined that the network signal strength has changed beyond the preset range; if the network signal change is less than the preset range, it is determined that the network signal strength has not changed beyond the preset range.

[0033] Specifically, calculating the user's real-time location parameters according to all network signal strengths and all connection signal strengths in S200 specifically includes: S210, obtaining a network path loss value and a connection path loss value according to all network signal strengths and connection signal strengths; specifically, S210 includes: S211, obtaining a preset network signal reference value and a connection signal reference value; The network signal reference value refers to the signal transmission power of the wireless network access point, and the connection signal reference value refers to the signal transmission power of the smart speaker. The unit of the network / connection signal reference value is dBm. Both values ​​can be obtained through field measurements before system deployment. S212, obtaining a network path loss value according to the network signal reference value and the current network signal strength that exceeds the preset range, and obtaining a connection path loss value according to the connection signal reference value and the current connection signal strength that exceeds the preset range; The network path loss value is the absolute value between the network signal strength and the network signal reference value, and the connection path loss value is the absolute value between the connection signal strength and the connection signal reference value.

[0034] S220, inputting the network path loss value and the connection path loss value into a preset signal strength-distance conversion model respectively to obtain two relative distances corresponding to the network access point and the smart speaker; The calculation formula of the signal strength-distance conversion model is as follows: Among them, d 网络 Indicates the relative distance between the mobile terminal and the network access point; PL 网络 (d 网络 ) is the distance d between the mobile terminal and the network access point 网络 The network path loss value at d 连接 Indicates the relative distance between the mobile terminal and the smart speaker; PL 连接 (d 连接 ) is the distance d between the mobile terminal and the smart speaker 连接 d1 is the connection path loss value at the network access point; PL(d1) is the reference path loss of the mobile terminal at the network access point distance d1, which is a preset value; PL(d0) is the reference path loss of the mobile terminal at the smart terminal distance d0, which is a preset value; n is the path loss coefficient related to the environment; d1 and d0 are both reference distances, which are preset values, and d1 is the distance between the mobile terminal and the network access point, and d0 is the distance between the mobile terminal and the smart speaker; S i represents the signal strength of the signal between the i-th mobile terminal and the network access point. In this embodiment, the i-th signal strength generally refers to the strength of the latest signal currently obtained; S i-1represents the signal strength of the signal between the mobile terminal and the network access point obtained by the i-1th signal. In this embodiment, the i-1th signal strength generally refers to the strength of the last signal obtained; S i ′ represents the signal strength of the signal between the i-th mobile terminal and the smart speaker; S i-1 ′ represents the signal strength of the signal between the mobile terminal and the smart speaker obtained at the i-1th time; k1·R represents the signal strength change rate of the acquired i-th signal relative to the previous signal (i.e., the i-1-th signal), which is used to reflect the change in signal strength of the current signal compared to the previous signal; c , k1′·R c ′ is used to reflect the cumulative impact of changes in signal strength on path loss, and R c Corresponding to mobile terminal and network access point, R c ' corresponds to mobile terminals and smart speakers; S is an indicator for reflecting the stability of signal strength. In this embodiment, S is represented by the standard deviation of the rate of change of signal strength over a period of time, that is, when S is smaller, the signal strength is more stable, and when S is larger, the signal strength fluctuation is greater; N represents the total number of times the signal strength is obtained over a period of time. In this embodiment, a period of time is 2 seconds as an example, and N is 4 as an example, that is, i≤4; is the average value of N signal strength change rates, and Corresponding to mobile terminals and network access points, Corresponding to mobile terminals and smart speakers; k1 and k1' are weighted coefficients of signal change rate, which are used to adjust the influence of signal strength change rate on path loss; k2 and k2' are weighted coefficients of signal strength stability, which are used to adjust the influence of signal strength change stability on path loss; k1 and k2 correspond to the signals between mobile terminals and network access points, and k1' and k2' correspond to the signals between mobile terminals and smart speakers; k2·S and k2′·S are used to reflect the cumulative influence of signal strength stability on path loss.

[0035] It should be noted that in the calculation formula of the S220 signal strength-distance conversion model, when the absolute value of the signal strength change rate or the signal strength stability is large (greater than a certain threshold), it may mean that the user is moving faster, or the signal propagation environment has changed significantly due to changes in surrounding obstacles / interference, etc. (such as gradually approaching a certain interference source or coming to an open space, etc.). At this time, in order to make the signal strength change rate have a more significant impact on the path loss, so as to more accurately reflect the relative distance between the mobile terminal and the network access point / smart speaker, the corresponding k1 and k2, or k1' and k2' values ​​should be increased. This will help to calculate the cumulative impact of the signal strength change rate on the path loss. Quantification makes the calculated relative distance more consistent with the actual situation and the value more accurate; on the contrary, when the absolute value of the signal strength change rate or the signal strength stability is small (less than or equal to a certain threshold), it means that the user may be in a relatively static state or the signal environment is relatively stable. At this time, in order to reduce the impact of the signal strength change rate on the path loss calculation and avoid excessive adjustment of the distance calculation result due to small fluctuations, the corresponding k1 and k2, or k1' and k2' values ​​should be reduced. In this way, when k1 and k2, or k1' and k2' approach a smaller value, the calculation of the path loss mainly relies on the traditional signal strength-distance relationship, which helps to ensure the stability of the calculation.

[0036] S230, obtaining two distance change values ​​corresponding to each time point according to two relative distances corresponding to all time points within a period of time; Among them, the distance change value refers to the difference between the relative distance corresponding to the next time point and the relative distance corresponding to the previous time point, and the two distance change values ​​correspond to the network access point and the smart speaker respectively.

[0037] S240, calculating and obtaining a real-time location parameter of the user based on the distance change value; In this embodiment, a rectangular coordinate system is established with the lower left corner of the target area as the origin, and the real-time position parameter is used to represent the coordinate position of the user in the rectangular coordinate system; this embodiment uses a three-sided positioning algorithm to calculate the real-time position parameter, and the calculation equation group is as follows: Where, Δd 网络 Indicates the distance change between the mobile terminal and the network access point at the current time, Δd 连接 Indicates the distance change between the mobile terminal and the smart speaker at the current time; D 网络 Indicates the relative distance between the mobile terminal and the network access point at the last moment, D 连接 Indicates the relative distance between the mobile terminal and the smart speaker at the last moment; d 连接Represents the relative distance between the mobile terminal and the smart speaker at the current time, d 网络 Indicates the relative distance between the mobile terminal and the network access point at the current moment; (x1, y1) indicates the coordinates of the smart speaker, which is a preset value; (x2, y2) indicates the coordinates of the network access point, which is a preset value; (x, y) indicates the real-time location parameters of the user.

[0038] S300, obtaining user movement prediction data according to changes in real-time location parameters; The movement prediction data includes the predicted destination sub-area that the user may go to next and the estimated arrival time; the changes in the real-time location parameters can reflect the key information such as the user's movement trajectory, movement speed and movement direction in the target area. By analyzing and processing the real-time location parameters obtained at multiple consecutive time nodes, the user's subsequent movement can be predicted; Taking linear regression analysis as an example, time is used as the independent variable and location coordinates as the dependent variable to construct a regression model. By fitting the existing location data, the changing trend of the user's location coordinates over time in the future is predicted, and then the movement prediction data is obtained; taking Kalman filter analysis as an example, on the basis of considering system noise and measurement noise, the state prediction value of the previous moment (including position, speed, etc.) and the measurement value of the current moment (real-time position parameters) are combined to continuously update the state estimation, so as to accurately predict the user's next movement trajectory, speed, direction, etc.; in summary, the prediction of the user's predicted destination sub-area and estimated arrival time in S300 is an existing technology and will not be repeated here.

[0039] S400, generating a control instruction based on the movement prediction data; Specifically, S400 includes: S410, obtaining a lamp operating parameter group of a target sub-area where the user is currently located; Among them, the lamp operation parameter group includes parameters such as the brightness, color temperature, and color of the lamp.

[0040] S420, generating a control instruction according to the lamp operation parameter group and the movement prediction data; Specifically, S420 includes: S421, if the predicted target sub-region is the same as the target sub-region where the user is currently located, stop generating the control instruction; Among them, when the predicted destination sub-area is the same as the target sub-area where the user is currently located, it means that the smart speaker predicts that the user's movement is to circle around in the area or just arrive at a certain position in the current target sub-area, that is, the user will not leave the current target sub-area. At this time, there is no need to readjust the lighting parameters of the lighting device.

[0041] S422, otherwise, continue to generate two control instructions based on the lamp operation parameter group and the estimated arrival time; Among them, the two control instructions correspond to the predicted destination sub-area and the target sub-area where the user is currently located, respectively. The control instruction corresponding to the predicted destination sub-area carries a lamp operation parameter group and an estimated arrival time, and is mainly used to adjust the lighting device of the predicted destination sub-area to the same lighting device parameters as the target sub-area where the user is currently located. The control instruction corresponding to the target sub-area where the user is currently located carries an estimated arrival time, and is mainly used to control the lighting device of the target sub-area where the user is currently located to gradually turn off when the estimated arrival time approaches; Since the mobile prediction data such as the predicted destination sub-area and estimated arrival time that the user may go to next has been obtained, the smart speaker can generate control instructions in a targeted manner based on this information to achieve early and accurate regulation of the lighting system, related equipment, etc., thereby creating a comfortable environment that suits the user's actions or providing convenient services; for the lighting system, if it is predicted that the user is about to go from the current corridor sub-area to the conference room sub-area, and the estimated arrival time is 5 minutes later, then the corresponding control instructions can be generated, so that the lighting system gradually adjusts the brightness of the corridor lights in the next few minutes to make it dim, and at the same time turns on the lights in the conference room in advance and adjusts them to the same lighting environment as before, avoiding the situation where the user enters a dark space and then waits for the lights to come on, thereby improving the user experience.

[0042] S500: Send control instructions to lighting devices in corresponding sub-areas respectively.

[0043] It should be noted that, after the lighting devices in the predicted target sub-area receive the corresponding control instructions, the method of this embodiment further includes: S510, obtaining current time data and a preset working mode schedule of lighting devices in the prediction target sub-area; Among them, time data refers to the current time point, which can be obtained through the system's built-in clock module, and can accurately reflect the current time situation; the working mode schedule refers to the different lighting states and switching rules that the user has set in advance for the lighting device in the prediction target sub-area based on different usage scenarios, time periods and other factors. For example, in the home scene, the working mode schedule of the living room lighting device is that when watching TV from 19:00 to 21:00 in the evening, the brightness parameters of the lighting device will be dim, and some auxiliary atmosphere lights will be turned on at the same time to create a warm and non-glaring viewing environment; during the lunch / dining time, a bright and warm-toned (color temperature 3500K-4000K) lighting mode is set to highlight the color of the food and make the dining atmosphere more comfortable.

[0044] S520, setting a working mode schedule and a priority of a control instruction according to the time data; Specifically, S520 includes: S521, when the time data is close to a set time in the working mode schedule, the adjustment instruction corresponding to the working mode schedule is set to the first priority, and the control instruction is set to the second priority; Among them, close means that the current time point is within a preset time range from the nearest set time in the work mode schedule, such as within 10 minutes; because the work mode schedule is pre-set based on conventional and regular usage scenarios, it reflects the lighting status that is likely to meet user needs during the time period; for example, in an office scene, if according to the work mode schedule, it will be lunch time in 3 minutes, and the original lighting device should be switched to a rest mode with soft dim light and some lamps turned off, then at this time, priority is given to the adjustment instructions preset based on the time law, that is, the adjustment instructions corresponding to the work mode schedule are set to the first priority, and the current control instructions generated based on user movement prediction data (such as requiring to keep bright because of the prediction of short-term entry of personnel) are set to the second priority, so as to avoid disrupting the conventional lighting arrangements that meet the overall office rhythm due to temporary control instructions, and ensure the rationality and orderliness of the overall lighting status.

[0045] S522, otherwise, the control instruction is set to the first priority, and the adjustment instruction corresponding to the working mode schedule is set to the second priority; Among them, when the time data is not close to the set time in the working mode schedule, it means that there is no situation where the lighting mode is about to be switched as usual. At this time, the immediate needs of the user based on the mobile prediction are more important; for example, in the home scene, it is predicted that the user will go from the bedroom to the kitchen. Although according to the working mode schedule of the kitchen lighting device, the kitchen should be closed during the current period, but because the user is about to arrive, the control instructions generated based on the mobile prediction data (such as turning on the main lighting and some atmosphere lights in the kitchen, etc.) are set to the first priority to give priority to meeting the user's current actual activity needs, so that the kitchen can create a lighting environment consistent with the user's previous environment in advance, so as to minimize the user's inadaptability when switching scenes; and the adjustment instructions corresponding to the working mode schedule (for example, the kitchen lighting is originally turned on for a period of time to prepare dinner according to the schedule) are set to the second priority, so that it will not take effect temporarily, and will be considered for execution when the subsequent time meets the preset switching conditions; In this way, by reasonably setting the priority of these two instructions, a balance can be found between taking into account the regular lighting arrangements and the user's instant mobility needs, so that the lighting system can operate in an orderly manner according to daily rules, and can flexibly respond to the user's dynamic activities, ensuring that the lighting status always fits the actual usage scenario, maximizing the user's lighting experience, and ensuring the efficiency and practicality of the entire cross-space collaborative lighting control system.

[0046] It should be noted that the smart speaker will monitor the brightness of the environment in real time through sensors in each target area (such as ambient light sensors). When it is detected that the light in the target area is bright enough to meet the lighting conditions required for normal activities in the area (for example, the ambient light intensity reaches the preset brightness threshold, which can be personalized according to the functions and regular activity requirements of different areas, such as the reading area may be set to about 300 lux, and the ordinary corridor area may be set to about 100 lux), even if the mobile prediction data determines that the user is about to enter the area or there is currently a user active in the area, the system will not trigger the light-on operation, that is, the control command will not turn on the lighting device, so as to avoid unnecessary energy consumption; This mechanism, which decides whether to execute lighting control instructions based on ambient light conditions, effectively reduces the unnecessary on-time of lighting devices while making full use of natural light sources, thereby achieving significant power saving effects. It is in line with the current development concept of green energy conservation, and also provides users with more intelligent lighting services that meet actual needs in different lighting environments.

[0047] S523, executing the control instruction with the first priority.

[0048] In addition, it should be noted that the method of this embodiment also includes the following steps: S600, receiving an input instruction from a user in real time and obtaining a control instruction based on the input instruction, and then sending the control instruction to a corresponding lighting device; Specifically, S600 includes: S610, receiving input instructions from the user in real time, and performing validity determination on each input instruction to obtain a determination result; Among them, the input instructions can be in various forms, such as remote control instructions sent by a remote control, which may be transmitted through wireless communication methods such as infrared and radio frequency, such as the "turn on lighting" or "turn off lighting" instructions corresponding to pressing the switch key on the remote control, or the adjustment instructions corresponding to the increase and decrease buttons for adjusting the brightness and color temperature, etc.; it can also be a control instruction sent from the mobile phone APP end, and the user operates the corresponding lighting control interface on the mobile phone, such as sliding the brightness adjustment bar, selecting a preset lighting scene mode (such as "reading mode", "leisure mode", etc.) to generate instructions; it can also be a voice command, which is a command converted from the user saying "turn on the living room light" or "brighten the bedroom light" to a device with voice control function (such as a smart speaker, etc.); The judgment results include whether the command is valid or invalid. For these input commands, the validity judgment needs to be performed according to the pre-set rules: If it is a remote control command, it is necessary to check whether its signal format meets the requirements of the system, such as whether the signal carrier frequency, encoding method, etc. are correct. At the same time, it is also necessary to determine whether the content of the command is within the range that the system can recognize and execute. For example, some remote control devices only support a limited number of function buttons. If a command code that exceeds its functional range is received, the judgment result is that the command is invalid.

[0049] For the instructions sent by the mobile phone APP, it will verify whether the instructions are transmitted in accordance with the established communication protocol, such as whether the data packet header, check bit, etc. are accurate, whether the lighting device pointed to by the instruction exists, and whether the operation content conforms to the system logic. For example, it is not allowed to call a non-existent lighting scene mode. If these requirements are not met, the judgment result is that the instruction is invalid.

[0050] As for voice commands, we must first determine the accuracy of voice recognition and see whether the converted text content is clear and conforms to the control speech rules set by the system. For example, we cannot recognize semantically ambiguous words or words that the system cannot understand. At the same time, we must also confirm whether the corresponding lighting device can operate according to the requirements of the voice command. If there is a problem in these links, the judgment result will be that the command is invalid.

[0051] S620, when the judgment result is that the instruction is valid, decode the input instruction to obtain the control instruction; Among them, the smart speaker will use the built-in decoding program to decode the signal. Since the input instructions are often sent after being encoded, the user's operation intention information contained therein can be restored through decoding, such as whether to turn on the lights, turn off the lights, adjust the brightness, switch the color temperature, etc. The specific instruction content is existing technology and will not be repeated here. After the decoding is completed, the system begins to prepare the corresponding control instructions based on the parsed information. This control signal is the key instruction used to control the lighting device to work according to user expectations.

[0052] S630, determining whether the alternating current of the lighting device corresponding to the control instruction is at a zero-crossing point; Among them, zero-crossing detection is mainly for alternating current. Normally, the voltage of alternating current will pass through zero twice in each cycle, that is, the moment when the voltage value is zero. The smart speaker can use special zero-crossing detection circuits and other means to determine whether the alternating current is at the zero point at this time, so as to help control the conduction or cutoff of switching elements such as thyristors when the alternating current passes through zero point, which can reduce the impact on the power grid. At the same time, it is also beneficial to protect lighting devices, extend their service life, and make the adjustment process of lighting devices smoother and more accurate. It is an existing technology and will not be repeated here.

[0053] S640, if the judgment is yes, turn on the thyristor; Among them, thyristor refers to the key electronic component that controls the current on and off of the lighting device, adjusts the power, etc. The purpose of turning on the thyristor is to allow the current to flow to the lighting device according to the requirements of the control signal, thereby realizing the corresponding control operation of the lighting device, such as making the LED light light up according to the brightness expected by the user or switching the color temperature, etc. S650: If the judgment is no, return to S630 to continue testing until the judgment is yes, and enter S640.

[0054] Based on the same inventive concept mentioned above, an embodiment of the present application also discloses a smart speaker, which includes a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement a cross-space collaborative lighting control method provided in the above method embodiment.

[0055] Based on the same inventive concept mentioned above, an embodiment of the present application also discloses a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set. The at least one instruction, at least one program, code set or instruction set can be loaded and executed by a processor to implement a cross-space collaborative lighting control method provided by the above method embodiment.

[0056] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0057] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium. The storage medium mentioned above may include, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0058] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A cross-space collaborative lighting control method, applied to a target area, the target area includes a plurality of target sub-areas, characterized in that: The cross-space collaborative lighting control method comprises: When the lighting device in the target sub-area where the user is currently located is turned on, the network signal strength of the user's mobile terminal is obtained in real time, where the network signal strength is a signal strength index fed back by the mobile terminal carried by the user when communicating with a preset wireless network access point in the target area, and the mobile terminal is a smart device carried by the user; When the network signal strength changes beyond a preset range, obtain the strength of several connection signals between the mobile terminal and the mobile terminal in the next period of time, and calculate the user's real-time location parameter based on all the network signal strengths and all the connection signal strengths. The connection signal strength refers to the signal strength index fed back by the direct communication connection between the mobile terminal and the preset smart speaker; Obtaining user movement prediction data according to changes in the real-time location parameters; generating a control instruction based on the movement prediction data; The control instruction is sent to the corresponding lighting device of the target sub-area.

2. The cross-space collaborative lighting control method according to claim 1, characterized in that: When the network signal strength changes beyond a preset range, before the step of obtaining a plurality of connection signal strengths with the mobile terminal within a next period of time, the step further includes: Arrange all the acquired network signal strengths in order of acquisition time, and take the first acquired network signal strength as the initial signal strength; Subtract the newly acquired network signal strength from the initial signal strength to obtain a network signal change value; and compare the network signal change value with a preset range; If the network signal change value is greater than or equal to the preset range, it is determined that the network signal strength has changed beyond the preset range; If the network signal change is less than the preset range, it is determined that the network signal strength has not changed beyond the preset range.

3. The cross-space collaborative lighting control method according to claim 2, characterized in that: Calculating the user's real-time location parameters based on all network signal strengths and all connection signal strengths includes: A network path loss value and a connection path loss value are obtained according to all the network signal strengths and the connection signal strengths; the network path loss value and the connection path loss value are respectively input into a preset signal strength-distance conversion model to obtain two relative distances corresponding to the network access point and the smart speaker. The calculation formula of the signal strength-distance conversion model is as follows: Among them, PL 网络 (d 网络 ) is the distance d between the mobile terminal and the network access point 网络 The network path loss value at d 网络 represents the relative distance between the mobile terminal and the network access point; PL 连接 (d 连接 ) is the distance d between the mobile terminal and the smart speaker 连接 The connection path loss value at d 连接 represents the relative distance between the mobile terminal and the smart speaker; PL(d1) is the reference path loss of the mobile terminal at the network access point distance d1, which is a preset value; PL(d0) is the reference path loss of the mobile terminal at the smart terminal distance d0, which is a preset value; n is the path loss coefficient related to the environment; d1 and d0 are both reference distances, which are preset values, and d1 corresponds to the network access point, and d0 corresponds to the smart speaker; S i , S i ′ represents the signal strength of the mobile terminal at time i, S i-1 , S i-1 ′ represents the signal strength of the mobile terminal at time i-1, S i and S i-1 Corresponding to the signal strength between the mobile terminal and the network access point, S i ′ and S i-1 ' corresponds to the signal strength between the mobile terminal and the smart terminal; k1·R represents the rate of change of signal strength when the signal is acquired for the i-th time, which is used to reflect the change of signal strength at the i-th moment relative to the i-1-th moment; c , k1′·R c ' is used to reflect the cumulative impact of changes in signal strength on path loss; S is an indicator used to reflect the stability of signal strength; N represents the total number of times signal strength is obtained within a period of time; is the average value of N signal strength change rates; k1 and k1′ are weighted coefficients of signal change rate, which are used to adjust the influence of signal strength change rate on path loss; k2 and k2′ are weighted coefficients of signal strength stability, which are used to adjust the influence of signal strength change stability on path loss; k2·S and k2′·S are used to reflect the cumulative influence of signal strength stability on path loss; Obtaining two distance change values ​​corresponding to each time point according to the two relative distances corresponding to all time points within the period of time, wherein the distance change value refers to the difference between the relative distance corresponding to the next time point and the relative distance corresponding to the previous time point, and the two distance change values ​​correspond to the network access point and the smart speaker respectively; The real-time location parameter of the user is calculated based on the distance change value.

4. The cross-space collaborative lighting control method according to claim 2, characterized in that: The obtaining of the network path loss value and the connection path loss value according to all network signal strengths and connection signal strengths includes: Obtaining a preset network signal reference value and a connection signal reference value, wherein the network signal reference value refers to the signal transmission power of the wireless network access point, and the connection signal reference value refers to the signal transmission power of the smart speaker; A network path loss value is obtained based on a network signal baseline value and a network signal strength that currently changes beyond a preset range, and a connection path loss value is obtained based on a connection signal baseline value and a connection signal strength that currently changes beyond a preset range, wherein the network path loss value is an absolute value between the network signal strength and the network signal baseline value, and the connection path loss value is an absolute value between the connection signal strength and the connection signal baseline value.

5. The cross-space collaborative lighting control method according to claim 4, characterized in that: The calculation equations of the real-time position parameters are as follows: Where, Δd 网络 Indicates the distance change between the mobile terminal and the network access point at the current time, Δd 连接 Indicates the distance change between the mobile terminal and the smart speaker at the current time; D 网络 Indicates the relative distance between the mobile terminal and the network access point at the last moment, D 连接 Indicates the relative distance between the mobile terminal and the smart speaker at the last moment; d 连接 Represents the relative distance between the mobile terminal and the smart speaker at the current time, d 网络 Indicates the relative distance between the mobile terminal and the network access point at the current moment; (x1, y1) indicates the coordinates of the smart speaker, which is a preset value; (x2, y2) indicates the coordinates of the network access point, which is a preset value; (x, y) indicates the real-time location parameters of the user.

6. The cross-space collaborative lighting control method according to claim 1, characterized in that: The generating of control instructions based on movement prediction data comprises: Obtaining a lamp operating parameter group of the target sub-area where the user is currently located; generating a control instruction according to the lamp operation parameter group and the movement prediction data, wherein the movement prediction data includes a predicted destination sub-area where the user is most likely to go next and an estimated arrival time; The generating of control instructions according to the lamp operation parameter group and the movement prediction data specifically includes: If the predicted target sub-region is the same as the target sub-region where the user is currently located, stop generating the control instruction; Otherwise, continue to generate two control instructions based on the lamp operating parameter group and the estimated arrival time, and the two control instructions correspond to the predicted destination sub-area and the target sub-area where the user is currently located, respectively; the control instruction corresponding to the predicted destination sub-area carries the lamp operating parameter group and the estimated arrival time; the control instruction corresponding to the target sub-area where the user is currently located carries the estimated arrival time.

7. The cross-space collaborative lighting control method according to claim 1, characterized in that: After the lighting device in the predicted target sub-area receives the corresponding control instruction, the cross-space collaborative lighting control method further includes: acquiring current time data and a preset working mode schedule of the lighting device in the predicted target sub-area; Setting the working mode schedule and the priority of the control instruction according to the time data; executing the control instruction at the first priority level; The step of setting the working mode schedule and the priority of the control instruction according to the time data comprises: When the time data is close to a certain set time in the working mode schedule, the adjustment instruction in the working mode schedule is set to the first priority, and the control instruction is set to the second priority; Otherwise, the control instruction is set to the first priority, and the adjustment instruction in the working mode arrangement table is set to the second priority.

8. A smart speaker, characterized in that: It includes a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the cross-space collaborative lighting control method as described in any one of claims 1 to 7.

9. A cross-space collaborative lighting control system, characterized in that: include: The smart speaker according to claim 8 is communicatively connected with all of the lighting devices, and the smart speaker is used to receive input instructions from the user in real time, obtain control instructions, and send the control instructions to the corresponding lighting devices; A plurality of lighting devices are arranged in the target area and correspond one to one with the target sub-areas. The lighting devices are used to receive the control instructions issued by the smart speaker in real time, and adjust various operating parameters of the lamps according to the control instructions to provide lighting for the target sub-area where the lighting devices are located.

10. A computer-readable storage medium, characterized in that: The readable storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by a processor to implement the cross-space collaborative lighting control method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Light control method and device and storage medium

    CN120264551A

  • Intelligent garden lamp linkage control system and method based on wireless networking

    CN120343791A

  • Intelligent garden light linkage control system and method based on wireless networking

    CN120343791B

  • Indoor lighting control method, device, equipment and medium

    CN120751557A

  • Self-adaptive lighting control method and system based on space occupation identification

    CN122421151A