Communication control method, apparatus and system, electronic device, and storage medium

By flexibly selecting VLC and Wi-Fi communication methods in the home system and determining the optimal transmission path based on data and environmental parameters, the problem of low communication reliability in the home system is solved, achieving efficient and reliable data transmission and low energy consumption.

CN119766718BActive Publication Date: 2026-06-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2024-12-24
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

Smart device systems such as home systems suffer from signal interference, high energy consumption, and limited transmission distance, resulting in low communication reliability.

Method used

By flexibly selecting between two communication methods, Visible Light Communication (VLC) and Wireless Local Area Network (Wifi), the optimal communication method is determined for data transmission based on target data, communication parameters, and environmental parameters, taking into account factors such as signal strength, obstacles, device location, and priority.

🎯Benefits of technology

It improves the flexibility and reliability of communication, ensures the efficiency and stability of data transmission, reduces power consumption, and prioritizes reliable communication methods in emergency situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766718B_ABST
    Figure CN119766718B_ABST
Patent Text Reader

Abstract

The application relates to a communication control method, device and system, an electronic device and a storage medium, wherein the communication control method comprises the following steps: determining a target communication mode in a first communication mode and a second communication mode based on at least one of target data to be transmitted, a communication parameter of the first communication mode and a communication parameter of the second communication mode; the first communication mode comprises visible light communication (VLC), and the second communication mode comprises wireless local area network (Wifi); and transmitting the target data based on the target communication mode. In this way, the most suitable transmission path can be flexibly selected for different transmission environments or transmission objects through the cooperative work of multiple transmission modes, so that the reliability and stability of transmission are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication control technology, and in particular to a communication control method, device and system, electronic device and storage medium. Background Technology

[0002] Current smart home systems and other smart device systems achieve data transmission and device control by establishing communication between various devices and servers. However, these systems often suffer from problems such as signal interference, high energy consumption, and limited transmission distance, resulting in low communication reliability. Summary of the Invention

[0003] This application provides a communication control method, apparatus and system, electronic device and storage medium to solve the technical problem of low communication reliability in home systems.

[0004] In a first aspect, this application provides a communication control method, the method comprising: determining a target communication mode among a first communication mode and a second communication mode based on at least one of target data to be transmitted, communication parameters of a first communication mode, and communication parameters of a second communication mode; the first communication mode including visible light communication (VLC), and the second communication mode including wireless local area network (Wifi); and transmitting the target data based on the target communication mode.

[0005] In one possible implementation, determining the target communication mode based on at least one of the target data to be transmitted, communication parameters of the first communication mode, and communication parameters of the second communication mode includes: acquiring first transmission parameters of the target device corresponding to the target data to be transmitted, and second transmission parameters of the light-emitting device for VLC; determining the communication parameters of the VLC based on the first transmission parameters and the second transmission parameters; the communication parameters including at least a signal strength parameter; and determining the VLC as the target communication mode in response to the communication parameters being higher than a predetermined threshold.

[0006] In one possible implementation, before determining the VLC as the target communication mode in response to the communication parameters being higher than a predetermined threshold, the method further includes: acquiring environmental parameters of the current light-emitting device; the environmental parameters including at least ambient light intensity and / or obstacle parameters; and determining the predetermined threshold based on the environmental parameters.

[0007] In one possible implementation, determining the target communication mode based on at least one of the target data to be transmitted, the communication parameters of the first communication mode, and the communication parameters of the second communication mode includes: determining whether the target priority corresponding to the target data to be transmitted is higher than a predetermined priority; in response to the target priority being higher than the predetermined priority, determining the second communication mode as the target communication mode; and in response to the target priority being lower than or equal to the predetermined priority, determining the first communication mode as the target communication mode.

[0008] In one possible implementation, determining the target communication method based on at least one of the target data to be transmitted, the communication parameters of the first communication method, and the communication parameters of the second communication method includes: obtaining the current location of the target device corresponding to the target data to be transmitted; and determining the second communication method as the target communication method in response to the current location exceeding the predetermined communication area corresponding to the first communication method.

[0009] In one possible implementation, after transmitting the target data based on the target communication mode, the method further includes: in response to determining that the VLC is the target communication mode, determining a predetermined event indicated by the target data; and sending an execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for the VLC.

[0010] In one possible implementation, sending the execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC includes: determining the execution area where at least one execution device is located based on the predetermined event; emitting a visible light signal in the direction of the execution area via the light-emitting device for VLC; the visible light signal carrying the execution instruction corresponding to the predetermined event.

[0011] In one possible implementation, sending the execution instruction corresponding to the predetermined event to at least one execution device via the light-emitting device for VLC includes: in response to the number of execution devices being multiple, determining the execution instruction for each of the execution devices corresponding to the predetermined event; and sending different execution instructions to the multiple execution devices via the light-emitting device for VLC based on visible light signals of different colors and / or different light intensities.

[0012] In one possible implementation, the step of sending different execution instructions to multiple execution devices based on visible light signals of different colors and / or different intensities via a light-emitting device for VLC includes: in response to the current situation being nighttime and / or the predetermined event being a non-emergency event, sending execution instructions to multiple execution devices based on a visible light signal of a first intensity; the first intensity being lower than a predetermined intensity threshold; in response to the current situation being daytime and / or the predetermined event being an emergency event, sending execution instructions to multiple execution devices based on a visible light signal of a second intensity; the second intensity being higher than or equal to the predetermined intensity threshold.

[0013] Secondly, this application provides a communication control device, the device comprising: a determining unit, configured to determine a target communication mode among a first communication mode and a second communication mode based on at least one of target data to be transmitted, communication parameters of a first communication mode, and communication parameters of a second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi); and a transmission unit, configured to transmit the target data based on the target communication mode.

[0014] Thirdly, this application provides a home appliance that includes the communication control device described in any of the second aspects above.

[0015] Fourthly, this application provides a communication control system, the system comprising: a control terminal and at least one target device; the control terminal and / or the target device being configured to determine a target communication mode among the first communication mode and the second communication mode based on at least one of the target data to be transmitted, communication parameters of a first communication mode, and communication parameters of a second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi); and to transmit the target data based on the target communication mode.

[0016] Fifthly, this application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory is used to store a computer program; and the processor is used to implement the method described in any one of the first aspects when executing the computer program.

[0017] In a sixth aspect, this application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any one of the first aspects above.

[0018] Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application determines a target communication method based on at least one of the target data to be transmitted, communication parameters of a first communication method, and communication parameters of a second communication method; the first communication method includes visible light communication (VLC), and the second communication method includes wireless local area network (Wi-Fi); the target data is transmitted based on the target communication method. Thus, according to the data to be transmitted and the communication parameters of different communication methods, a suitable communication method for transmitting the data can be accurately and efficiently determined to ensure optimal transmission efficiency and stability of the target data. Therefore, the communication method can be flexibly configured and precisely selected during data transmission, improving the flexibility and reliability of communication. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0022] Figure 1 A flowchart illustrating a communication control method provided in an embodiment of this application;

[0023] Figure 2 A flowchart illustrating a communication control method provided in an embodiment of this application;

[0024] Figure 3 A flowchart illustrating a communication control method provided in an embodiment of this application;

[0025] Figure 4 A flowchart illustrating a communication control method provided in an embodiment of this application;

[0026] Figure 5 A schematic diagram of VLC signal color provided for an embodiment of this application;

[0027] Figure 6A schematic diagram of a communication control system provided in an embodiment of this application;

[0028] Figure 7 A schematic diagram of a communication control device provided in an embodiment of this application;

[0029] Figure 8 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0030] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other.

[0031] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0032] To address the technical problem of low communication reliability in existing home systems and other systems, this application provides a communication control method, device and system, electronic device and storage medium that flexibly selects a communication method for data transmission based on the data to be transmitted and / or communication parameters of different communication methods, thereby improving the flexibility and reliability of communication control.

[0033] Figure 1 This is a flowchart illustrating a communication control method provided in this embodiment, as shown below. Figure 1 As shown, the method may include:

[0034] S10: Based on at least one of the target data to be transmitted, the communication parameters of the first communication method, and the communication parameters of the second communication method, determine the target communication method from the first communication method and the second communication method; the first communication method includes visible light communication (VLC), and the second communication method includes wireless local area network (Wifi);

[0035] S20: Transmit target data based on the target communication method.

[0036] In this embodiment, the communication control method can be applied to the control end, such as a server, cloud platform, or other terminals that establish a communication connection with the target device. Alternatively, the communication control method can also be applied to the target device, which can be a device that establishes a communication connection with the control end.

[0037] Here, the target device can be a device in a system controlled by the control terminal. For example, the system can be a home system, a monitoring system, etc., and the target device can be a home device such as a smart door lock, camera, detector, smoke alarm, sensor, or other types of device. The target device can report data to the control terminal, and the control terminal can send instructions to the target device based on the reported data to control the operation of the target device.

[0038] In one embodiment, the communication range of the first communication method may be smaller than that of the second communication method, and / or the power consumption of the first communication method may be smaller than that of the second communication method. For example, the first communication method includes Visible Light Communications (VLC), the second communication method includes Wireless Fidelity (Wifi), and may also include at least one of Bluetooth and Zigbee.

[0039] In one embodiment, the target data to be transmitted may be target data that needs to be sent to a target device or execution device. For example, the target data may be a target signal, target instruction, target information, etc. Alternatively, the target data to be transmitted may also be reported data that needs to be sent to the control terminal. For example, the reported data may include reported monitoring data, operation data, status data, etc.

[0040] In one embodiment, determining the target communication method from the first communication method and the second communication method may include: determining the first communication method or the second communication method as the target communication method.

[0041] In one embodiment, the communication parameters of the first communication method can characterize at least one of the following: communication quality, communication coverage, communication efficiency, and communication energy consumption. For example, the communication parameters may include at least one of the following: signal strength parameter, packet loss rate, bit error rate, bandwidth, bandwidth utilization, and transmission energy consumption.

[0042] In one embodiment, transmitting target data based on the first communication method may refer to transmitting target data through a light-emitting device used for VLC. Transmitting target data based on the second communication method may refer to transmitting target data through a routing device used for Wi-Fi.

[0043] Here, the light-emitting device can establish a connection with the control terminal and / or the target device. For example, the light-emitting device can be a lamp or other lighting device. The light-emitting device can transmit target data by emitting visible light, thereby realizing visible light communication.

[0044] In one embodiment, when the method is applied to a target device, such as a home appliance, the target data can be the reporting data that the target device needs to send to the control terminal.

[0045] In one embodiment, when the method is applied to the control terminal, before step S10, the method may include: receiving reported data from the target device; and determining the target data to be transmitted based on the reported data. Here, the reported data may be monitoring data, status data, etc., of the target device, and the target data may be execution instructions, etc., determined based on the reported data.

[0046] In one embodiment, step S20 may include: in response to determining that the first communication method is the target communication method, transmitting the target data to the target device via a light-emitting device for VLC; and in response to determining that the second communication method is the target communication method, transmitting the target data to the target device via a routing device for Wi-Fi. Here, the target data may be instructions, signals, or other data to be sent to the target device, such as execution instructions.

[0047] In one embodiment, before or after step S20, the method may further include: allocating signal resources for a first communication mode and signal resources for a second communication mode in different areas based on the distribution and communication status of multiple target devices. For example, this step may include: allocating signal resources for the first communication mode greater than those for the second communication mode in areas where the target device's communication frequency is higher than a predetermined frequency, and allocating signal resources for the first communication mode less than those for the second communication mode in areas where the distance from the light-emitting device is greater than a predetermined distance or where the target device's communication frequency is lower than a predetermined frequency.

[0048] In one embodiment, step S10 may include: determining a second communication method as the target communication method if the signal of the first communication method is blocked or interfered with based on the communication parameters of the first communication method. Specifically, determining that the signal of the first communication method is blocked or interfered with based on the communication parameters of the first communication method may mean determining that the signal of the first communication method is blocked or interfered with when the communication bit error rate of the first communication method reaches a predetermined bit error rate threshold.

[0049] In one embodiment, step S10 may include: determining that the target data will be transmitted via Wi-Fi if the communication bandwidth corresponding to the light-emitting device used for VLC is saturated based on the VLC communication parameters. Here, determining that the communication bandwidth corresponding to the light-emitting device used for VLC is saturated based on the VLC communication parameters may mean that the communication bandwidth utilization rate of the light-emitting device used for VLC reaches a predetermined utilization threshold.

[0050] In one embodiment, in response to determining that the first communication mode, namely VLC, is the target communication mode, after step S20, the method may further include: receiving execution information fed back by the execution device through a light-emitting device for VLC. For example, the execution device includes a light-emitting component for transmitting a VLC signal carrying execution information, which may characterize information such as the execution result of the execution device based on the execution instruction.

[0051] In one embodiment, the method may further include: determining whether the execution device has executed successfully based on the execution information; if the execution is unsuccessful, retransmitting the target data. Here, retransmitting the target data can be performed through a second communication method.

[0052] In one embodiment, step S10 includes: acquiring first transmission parameters of the target device corresponding to the target data to be transmitted, and second transmission parameters of the transmission device for the first communication method; determining communication parameters of the first communication method based on the first transmission parameters and the second transmission parameters; and determining the first communication method as the target communication method in response to the communication parameters being higher than a predetermined threshold.

[0053] Here, the transmission device used for the first communication method can refer to the light-emitting device used for VLC, such as lamps.

[0054] In this way, based on the data to be transmitted and the communication parameters of different communication methods, the appropriate communication method for transmitting the data can be accurately and efficiently determined to ensure the best transmission efficiency and stability of the target data. Therefore, the communication method can be flexibly configured and accurately selected during data transmission, improving the flexibility and reliability of communication.

[0055] In some embodiments, such as Figure 2 As shown, step S10 may include:

[0056] S11: Obtain the first transmission parameters of the target device corresponding to the target data to be transmitted, and the second transmission parameters of the light-emitting device used for VLC;

[0057] S12: Determine the communication parameters of the VLC based on the first transmission parameters and the second transmission parameters; the communication parameters include at least the signal strength parameters;

[0058] S13: In response to communication parameters exceeding a predetermined threshold, VLC is determined as the target communication method.

[0059] In one embodiment, the target device can be either a device that needs to transmit target data or a device that needs to receive target data. The first transmission parameter can be the target device's detection parameter for VLC. For example, the first transmission parameter can include at least one of packet loss rate, bit error rate, and latency rate.

[0060] In one embodiment, "responding to the communication parameters being higher than a predetermined threshold" can refer to "responding to the VLC's communication parameters being higher than a predetermined threshold".

[0061] In one embodiment, the second transmission parameter may be the light emission parameters of the light-emitting device, such as the radiation angle and the power of the light source. The communication parameters of VLC may include signal strength parameters, and may also include at least one of signal stability parameters, signal power consumption parameters, etc.

[0062] In one embodiment, the signal strength parameter can be calculated based on the light intensity attenuation model, and the signal strength parameter can characterize the VLC signal coverage range.

[0063] In one embodiment, determining VLC as the target communication method in response to communication parameters exceeding a predetermined threshold can mean: determining VLC as the target communication method in response to signal strength parameters exceeding a predetermined threshold. The predetermined threshold can be a predetermined threshold corresponding to the signal strength parameters.

[0064] In one embodiment, the method may further include: determining Wi-Fi as the target communication method in response to the communication parameters being lower than or equal to a predetermined threshold.

[0065] Thus, by determining the communication parameters of VLC based on the transmission parameters of the target device and the light-emitting device, it is possible to accurately determine whether the target device is currently within the effective communication range of the light-emitting device, thereby determining whether it is suitable to transmit the target device through VLC and improving the accuracy of communication control.

[0066] In some embodiments, prior to step S13 described above, the method may further include:

[0067] Obtain the environmental parameters of the current light-emitting device; the environmental parameters include at least ambient light intensity and / or obstacle parameters;

[0068] A predetermined threshold is determined based on the environmental parameters.

[0069] In one embodiment, ambient light intensity can indicate the intensity of natural light and other light sources in the environment, and obstacle parameters can indicate at least one of the following: the location, size, and passability of obstacles in the environment that affect the VLC signal transmission of the light-emitting device.

[0070] In one embodiment, obtaining the environmental parameters of the current light-emitting device may include: obtaining the environmental parameters of the current light-emitting device based on a predetermined update cycle, thereby periodically adjusting a predetermined threshold and improving the accuracy of judging the VLC signal strength based on the threshold.

[0071] In one embodiment, after step S10, the method may further include: outputting a reminder message in response to continuously transmitting target data via Wi-Fi for a predetermined period of time. Here, the reminder message can be used to remind the user to adjust the position of the VLC's light-emitting device or the target device, thereby avoiding high power consumption caused by prolonged Wi-Fi transmission of large amounts of data in a poor VLC transmission environment.

[0072] In one embodiment, after step S10, the method may further include: in response to determining that Wifi is the target communication mode, if the detected communication parameters are higher than a predetermined threshold, switching to VLC as the target communication mode.

[0073] In one embodiment, after step S10, the method may further include: in response to determining that VLC is the target communication mode, if the communication parameters are detected to be lower than or equal to a predetermined threshold, switching to Wifi as the target communication mode.

[0074] In one embodiment, after step S10, the method may further include: adjusting the light intensity and channel of the light-emitting device based on the environmental parameters, so as to adjust the VLC communication configuration in a timely manner according to environmental changes and improve communication reliability.

[0075] In one embodiment, obtaining the environmental parameters of the current light-emitting device and determining a predetermined threshold based on the environmental parameters can be performed before step S11. Obtaining the first transmission parameter and the second transmission parameter in step S11 can refer to detecting the first transmission parameter and the second transmission parameter.

[0076] Here, determining the predetermined threshold based on the environmental parameters may include: determining the predetermined threshold and the detection sensitivity based on the environmental parameters, wherein the detection sensitivity may refer to the sensitivity of detecting the first transmission parameter and the second transmission parameter.

[0077] In this way, based on the ambient light intensity of the light-emitting device and the obstruction of obstacles, the threshold for judging whether the signal strength meets the standard can be determined more accurately, reducing errors caused by environmental factors, thereby improving the accuracy when determining whether to use VLC to transmit target data.

[0078] In some embodiments, such as Figure 3 As shown, step S10 may include:

[0079] S14: Determine whether the target priority corresponding to the target data to be transmitted is higher than the predetermined priority;

[0080] S15: In response to the target priority being higher than the predetermined priority, the second communication method is determined as the target communication method;

[0081] S16: In response to the target priority being lower than or equal to the predetermined priority, the first communication mode is determined as the target communication mode.

[0082] In one embodiment, the target priority corresponding to the target data can refer to the target priority corresponding to the predetermined event indicated by the target data. For example, the target data may be smoke detection data, human motion detection data, etc., and the predetermined event indicated by the target data may be a fire event or an intrusion event, which correspond to a higher target priority. The first communication method can be VLC, and the second communication method can be Wi-Fi.

[0083] In one embodiment, determining the second communication method as the target communication method in response to the target priority being higher than the predetermined priority may include: determining whether the communication parameters of the first communication method are higher than a predetermined threshold in response to the target priority being higher than the predetermined priority; if they are lower than or equal to the predetermined threshold, then determining the second communication method as the target communication method.

[0084] In one embodiment, determining a first communication method as the target communication method in response to the target priority being lower than or equal to a predetermined priority may include: determining whether the communication parameters of the first communication method are higher than a predetermined threshold in response to the target priority being lower than or equal to the predetermined priority; if they are higher than the predetermined threshold, then determining the first communication method as the target communication method.

[0085] In this way, the importance of the data can be determined based on the priority of the data to be transmitted. Important data can be transmitted via Wi-Fi first to ensure the reliability and stability of the transmission and avoid affecting the processing of important events. Less important data can be transmitted via VLC to reduce power consumption and reduce the load on Wi-Fi.

[0086] In some embodiments, step S10 may include:

[0087] Obtain the current location of the target device corresponding to the target data to be transmitted;

[0088] In response to the current location being outside the predetermined communication area corresponding to the first communication method, the second communication method is determined as the target communication method.

[0089] In one embodiment, the current location of the target device can be determined by Received Signal Strength Indication (RSSI) or a spatial dynamic adjustment algorithm. The first communication method can be VLC, and the second communication method can be Wi-Fi.

[0090] In one embodiment, the predetermined communication area corresponding to the first communication method can be the signal coverage area of ​​the VLC, such as the signal coverage area corresponding to the light-emitting device used in the VLC. This signal coverage area can be determined by the signal strength parameters of the VLC.

[0091] In one embodiment, determining the second communication method as the target communication method in response to the current location exceeding the predetermined communication area corresponding to the first communication method may include: determining the second communication method as the target communication method in response to the current location exceeding the predetermined communication area corresponding to the first communication method for a preset value for a certain duration.

[0092] Therefore, when the target device is outside the communication range of the VLC signal, selecting Wi-Fi to transmit the target data can avoid communication errors caused by the inability of the VLC signal to complete data transmission, thus improving the reliability of communication control.

[0093] In some embodiments, after step S10, the method further includes:

[0094] In response to determining that the VLC is the target communication mode, a predetermined event is determined for the target data indication;

[0095] An execution instruction corresponding to the predetermined event is sent to at least one execution device via a light-emitting device for VLC.

[0096] This step can be applied to either the control unit or the target device. The executing device can be the target device or a different device. For example, if the target device is a central control unit, an execution command can be sent to the executing device. Alternatively, if the target device is a smoke detector, the executing device can also be a smoke detector, or it could be a ventilation device, etc.

[0097] In one embodiment, the target data may contain execution instructions, or the execution instructions may be determined based on the target data, or the execution instructions may be determined based on a predetermined event, etc.

[0098] In one embodiment, sending an execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC may include: determining whether at least one execution device is within the signal coverage range of the light-emitting device; if it is within the signal coverage range, then sending the execution instruction corresponding to the predetermined event to at least one execution device via the light-emitting device for VLC.

[0099] In one embodiment, sending an execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC may include: determining the urgency level of the predetermined event; if the urgency level is higher than a predetermined level, then sending the execution instruction corresponding to the predetermined event to all execution devices; if the urgency level is not higher than the predetermined level, then sending the execution instruction corresponding to the predetermined event to at least one execution device corresponding to the predetermined event.

[0100] In this way, when the target data indicates a predetermined event, the execution command is also issued through VLC, which can make full use of the lighting function of the light-emitting device, quickly send and execute the action of the control device, thereby improving control efficiency and reducing resource consumption.

[0101] In some embodiments, sending the execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC includes:

[0102] Based on the predetermined event, determine the execution region where at least one execution device is located;

[0103] A visible light signal is emitted in the direction of the execution area by a light-emitting device for VLC; the visible light signal carries the execution instruction corresponding to the predetermined event.

[0104] In one embodiment, the execution area may refer to the area where the execution device corresponding to the predetermined event is located, such as a room, floor, or building.

[0105] In one embodiment, emitting a visible light signal in the direction of the execution area via a light-emitting device for VLC may include: adjusting the direction of the visible light signal of the light-emitting device for VLC and emitting the visible light signal through the light-emitting device, so that the VLC signal direction points in the direction of the execution area. Here, the visible light signal may be a VLC signal.

[0106] In one embodiment, the visible light signal may carry the execution instruction corresponding to the predetermined event and the device identifier corresponding to the execution device. Here, the device identifier may be a device code, which is used by the execution device to determine whether to execute the instruction.

[0107] In this way, the directional nature of VLC visible light signals can be fully utilized to transmit visible light signals to a certain area without sending commands to all execution devices, thus further reducing energy consumption.

[0108] In some embodiments, sending the execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC may include:

[0109] In response to the fact that there are multiple execution devices, an execution instruction for each of the execution devices corresponding to the predetermined event is determined;

[0110] The light-emitting device used for VLC sends different execution commands to multiple execution devices based on visible light signals of different colors and / or different intensities.

[0111] In one embodiment, different colors can correspond to different execution commands. For example, red indicates "alarm triggered," green indicates "device off," and blue indicates "device on." Different light intensities can also correspond to different execution commands. For example, high light intensity commands to close the gas valve and turn on the exhaust system, while low light intensity commands to turn off unnecessary electrical appliances.

[0112] In one embodiment, sending different execution instructions to multiple execution devices based on visible light signals of different colors and / or different light intensities may include: issuing an alarm based on visible light signals of different colors and / or different light intensities and sending different execution instructions to multiple execution devices.

[0113] In one embodiment, the sending of different execution instructions to multiple execution devices based on visible light signals of different colors and / or different intensities via a light-emitting device for VLC includes:

[0114] In response to the fact that it is currently nighttime and / or the predetermined event is a non-emergency event, execution instructions are sent to multiple execution devices based on a visible light signal with a first light intensity; the first light intensity is lower than a predetermined light intensity threshold.

[0115] In response to the fact that it is currently daytime and / or the predetermined event is an emergency, execution instructions are sent to multiple execution devices based on a visible light signal with a second light intensity; the second light intensity is higher than or equal to a predetermined light intensity threshold.

[0116] In one embodiment, before sending different execution instructions to multiple execution devices based on visible light signals of different colors and / or different intensities via a light-emitting device for VLC, the method may further include: determining the color and / or intensity of the visible light signal based on at least one of the current environment, the current time, and a predetermined event. For example, selecting a lower intensity light signal at night and a higher intensity light signal during the day.

[0117] In this way, the light-emitting function of VLC light-emitting devices can be fully utilized. Based on light signals of different colors and intensities, not only can different control commands be issued to coordinate the control of multiple execution devices, but also the user can be prompted by the light of the same color and intensity, thus improving reliability.

[0118] As one possible implementation method, such as Figure 4 As shown, a communication control method is provided, which may specifically include:

[0119] S1: Optical communication signal transmission. The VLC luminaires in the system serve both lighting and data communication functions. The luminaires emit visible light signals through rapidly flashing LEDs to transmit encrypted data; this signal is used to monitor security devices (such as cameras and sensors) within a local area to ensure fast and interference-free data transmission in that area.

[0120] S2: Local Device Data Reception and Processing. Surveillance cameras and sensors installed in the home receive communication signals from VLC lighting fixtures. These devices not only monitor activities within the home but also capture data from various sensors (such as door and window opening / closing, smoke concentration, temperature, etc.). The cameras and sensors support dual-mode switching between VLC and Wi-Fi communication, prioritizing VLC transmission in localized areas to ensure high-speed, secure, and low-interference data transmission.

[0121] S3: Multimodal Fusion and Communication Conversion. The device intelligently identifies the communication coverage area of ​​VLC. If the signal exceeds the range, it automatically switches to the Wi-Fi network. When important data or abnormal situations are detected, the device transmits data over a wide area via a Wi-Fi router. This solves the limitation of VLC signal penetration and achieves seamless connectivity within the local area and remotely.

[0122] Specifically, it may include:

[0123] 1. Dynamic range detection and switching logic:

[0124] The monitoring equipment and sensors use a built-in signal strength detection module (RSSI or SNR analysis) to monitor the strength and quality of the received VLC signal in real time. The VLC signal coverage is dynamically calculated based on a light intensity attenuation model (e.g., based on the radiation angle and light source power of LED lamps). The device determines whether the signal strength exceeds the effective communication range based on a signal strength threshold (preset or adaptively adjusted). When the signal strength is below the threshold, the device triggers a communication mode switching logic, automatically switching to Wi-Fi transmission.

[0125] 2. Expanded self-learning coverage:

[0126] The system adaptively adjusts its coverage boundaries using environmental learning algorithms (such as AI-based positioning models). For example, under different lighting conditions (natural light, obstruction), the device can dynamically correct the threshold parameters of the signal range, improving the accuracy of signal switching. When an area is under Wi-Fi communication for an extended period, the central control system can suggest that users adjust the positions of VLC lights or sensors to optimize the system's low-energy consumption advantage.

[0127] 3. Prioritize and optimize local VLC communication:

[0128] Once the VLC signal strength recovers to a valid range, the device automatically switches back to VLC communication to avoid prolonged Wi-Fi bandwidth consumption. A time window mechanism and signal recovery monitoring ensure no data loss during the handover process. A distributed caching mechanism (such as edge computing nodes) is used to store local data, reducing latency and packet loss during handover.

[0129] 4. Intelligent prediction and adjustment of coverage area:

[0130] The system incorporates an AI-based dynamic prediction module that utilizes location information from cameras and sensors to predict potential signal blind spots (such as light signal interruptions caused by furniture movement or obstruction) and adjust communication priorities in advance. In multi-light source environments, the system dynamically adjusts light intensity and communication channels through the collaborative working mechanism of VLC luminaires to expand coverage.

[0131] 5. Priority handling mechanism for abnormal situations:

[0132] For high-priority data received by monitoring equipment (such as abnormal sounds, human intrusion detection, etc.), even within VLC coverage area, the system will prioritize Wi-Fi transmission based on the scenario to ensure the timeliness and reliability of remote notifications. For ordinary data (such as temperature and humidity changes, door and window status), VLC communication will be used first to reduce the load on Wi-Fi.

[0133] 6. Deep optimization of multimodal data fusion:

[0134] Data transmitted via VLC and Wi-Fi is integrated into the central control system using a multimodal fusion algorithm, combining camera video and sensor information to ensure data consistency and integrity. Multimodal context analysis (such as deep learning-based event detection algorithms) further enhances response speed and accuracy after signal switching.

[0135] 7. Dynamic communication path planning:

[0136] A dynamic communication path planning algorithm is introduced to dynamically allocate communication resources based on the layout of devices in the home space. For example, VLC signals are prioritized in areas with frequent communication, while Wi-Fi network bandwidth is allocated to areas far from light sources or with less communication demand.

[0137] 8. Situations where switching to Wi-Fi is required

[0138] (1) Insufficient VLC signal strength (outside range):

[0139] When the device detects that the VLC signal strength (RSSI / SNR) is below a set threshold, and the communication quality may be insufficient to guarantee normal data transmission, it triggers a switch to Wi-Fi. Detection mechanism: The device monitors the signal strength in real time through its optical signal receiving module and adjusts the detection sensitivity according to changes in ambient brightness (e.g., dynamically adjusting the threshold under strong natural light conditions). If signal strength detection fails multiple times consecutively (e.g., more than 3 times), the device is determined to be in a signal dead zone.

[0140] (2) Signal blockage or interference:

[0141] When the VLC signal is affected by physical obstructions (such as furniture or human movement) or environmental interference (such as noise interference caused by overlapping multiple light sources), it switches to Wi-Fi. Detection mechanism: The device monitors the bit error rate (BER) of VLC communication in real time. If the BER continuously exceeds the tolerance range, Wi-Fi switching is triggered.

[0142] (3) High-priority data transmission requirements:

[0143] When an emergency event (such as a fire or intrusion) is detected, to ensure timely and widespread notification, the system prioritizes switching to Wi-Fi for alarm information transmission. Detection mechanism: The central control system analyzes multimodal data in real time using AI algorithms to determine the priority of the current event and instructs a switch to Wi-Fi.

[0144] (4) Expansion of dynamic range due to equipment movement:

[0145] When portable devices (such as smart door locks or motion sensors) are moved outside the VLC coverage area, they automatically switch to Wi-Fi for communication. Detection mechanism: The device has a built-in positioning module that uses RSSI signals or a spatial dynamic adjustment algorithm to detect location changes and trigger the switch.

[0146] (5) Multi-device communication load balancing:

[0147] When multiple devices simultaneously occupy VLC lighting fixtures in a localized area, causing communication bandwidth to approach saturation, some devices switch to Wi-Fi to alleviate the load. Detection mechanism: The VLC channel monitoring module monitors the current communication bandwidth utilization in real time and dynamically adjusts the communication path.

[0148] 9. Conditions for switching back to VLC from Wi-Fi

[0149] (1) VLC signal recovery:

[0150] When the device detects that the VLC signal strength has recovered to an effective range and the communication error rate is below a set threshold, it switches back to VLC. Detection mechanism: The device periodically activates the VLC signal detection module during Wi-Fi communication. If the signal is detected normally multiple times consecutively (e.g., at least 3 times), it switches back to VLC.

[0151] (2) Low-priority data transmission scenarios:

[0152] For data with low time sensitivity or high frequency (such as temperature and humidity sensor status), switch back to VLC without requiring widespread notification to reduce Wi-Fi power consumption and network load. Detection mechanism: The central control system determines whether to switch based on data priority strategy.

[0153] (3) High energy consumption optimization requirements:

[0154] When the device enters low-power mode or needs to save energy, it will switch back to VLC first. Detection mechanism: The device triggers low-power mode switching based on the remaining battery status or usage scenario.

[0155] (4) Dynamic network environment recovery:

[0156] In situations where the Wi-Fi network is overloaded, the channel is congested, or there is severe interference, the device will prioritize switching back to VLC to ensure communication stability. Detection mechanism: The network status monitoring module assesses Wi-Fi network latency and packet loss rate in real time. If these exceed a set threshold, a switchback is triggered.

[0157] (5) Adjustment of system reservation strategy:

[0158] Users can set predetermined strategies (such as prioritizing VLC use during specific time periods) through the application or central control system, and the system will switch back to VLC based on time or events.

[0159] 10. Status detection and availability assessment before handover

[0160] (1) VLC status detection:

[0161] Signal strength detection: Ensure that the RSSI and BER of the VLC signal meet communication requirements.

[0162] Bit error rate detection: VLC can only be switched back after receiving data without errors for several consecutive times.

[0163] Lighting environment adaptation: Within the range of ambient brightness adaptation (avoid strong natural light interference).

[0164] (2) Wi-Fi Status Detection:

[0165] Network connectivity: Ensure that the Wi-Fi network is available and has sufficient bandwidth.

[0166] Latency and packet loss detection: Detect the stability of Wi-Fi communication before switching to avoid higher latency or packet loss rate due to switching.

[0167] (3) Switching condition determination:

[0168] The device needs to comprehensively assess the urgency of the current communication, data type, and energy consumption strategy before performing a handover. A handover priority algorithm is used to balance the real-time status of VLC and Wi-Fi communication, avoiding frequent handovers.

[0169] S4: Central Control System. All monitoring data of the system is transmitted to the central control system via Wi-Fi routing devices for unified processing. The central control system performs intelligent scenario analysis based on multimodal data (camera video, sensor data), identifies potential security threats, and responds accordingly (such as issuing alarms, activating emergency plans, etc.).

[0170] S5: Intelligent Scenario Analysis and Alarm. The central control system analyzes the received multimodal data, identifies abnormal situations (such as intrusion, fire, etc.) through trained AI algorithms, and automatically triggers alarms. In addition, the system can learn from the daily habits of family members, thereby reducing the false alarm rate and improving the system's intelligence level.

[0171] S6: User Notification and Remote Control. When the central control system detects a potential threat, it sends information to the user's terminal devices (such as mobile phones, tablets, etc.) in real time. Utilizing the advantages of visible light communication, it issues visual warnings through brightness adjustment or color changes of LED lights (see...). Figure 2 (This will remind users, neighbors, and property management, such as...) Figure 5 As shown, users can view the camera's live feed, manually trigger alarms, or remotely shut down certain devices in the system, enabling more flexible control.

[0172] Specifically, it may include:

[0173] 1. Color-coded control command transmission

[0174] Multiple control commands are transmitted using different color codes of visible light (e.g., red for "alarm triggered," green for "device off," and blue for "device on"). Implementation mechanism: LED lights transmit control commands by rapidly switching color-coded signals. Each color carries specific binary code information, which the device can decode and respond to in real time. The color signals are decoded by a light receiver or embedded sensor, transmitting the control commands to the target device. Security equipment control: Red light coding: triggers camera recording or alarm activation; Green light coding: shuts down non-essential devices (such as appliances and lights). Smart home linkage: Yellow light coding: activates emergency mode (such as turning on backup power or emergency lighting); Blue light coding: restores normal operating mode.

[0175] 2. Dynamic light intensity control and equipment linkage

[0176] By adjusting the light intensity of LED lights, control commands are sent to different devices or specific scene modes are triggered. Implementation mechanism: Light intensity encoding is divided into multiple levels (e.g., high, medium, low), each corresponding to a specific command. In night mode, dimming the light activates devices in low-power mode (e.g., turning off air conditioners, lowering audio volume). In emergencies (e.g., detecting a fire), flashing high-intensity lights trigger all devices to enter emergency mode. Application scenarios: Fire detection: High-frequency flashing light intensity commands close gas valves and turn on smoke extraction equipment; Energy-saving mode: Low-intensity signal commands turn off unnecessary electrical appliances.

[0177] 3. Precise equipment positioning and control using optical beacon technology

[0178] Specific areas or devices can be precisely controlled using the directionality and positioning capabilities of visible light signals. The mechanism involves directional LED lights emitting coded light signals to a specific area, controlling only devices within that area. Each device is equipped with a unique optical signal decoding ID (similar to a MAC address) to ensure accurate command transmission. Application scenarios include: Area alarm control: For rooms where anomalies are detected, alarm devices in that area are triggered only, without affecting the operation of other rooms; Device group management: Device groups can be controlled based on the light signals from different rooms (e.g., one-button shutdown of all devices on the first floor).

[0179] 4. Visible light two-way communication enables device feedback.

[0180] Two-way data transmission is achieved through optical communication in LED lights, enabling devices to provide status information (such as whether the command was executed successfully) after receiving instructions. Implementation mechanism: Home devices (such as sensors and door locks) have built-in small light emitters that send execution status feedback to the LED lights via infrared or reflected light. The central control system monitors the device's feedback information in real time to ensure the accuracy of command execution. Application scenarios: Status confirmation: Users can check via a mobile application whether the device has turned off / on according to the command; Dynamic adjustment: If the feedback indicates that the command was not executed, the system automatically retransmits the signal or switches to Wi-Fi communication.

[0181] 5. Dynamic Context Analysis and Optical Signal Linkage

[0182] Combining AI algorithms, the system intelligently analyzes the home environment and automatically triggers appropriate device control modes via light signals. Implementation mechanism: The system determines the current home status (e.g., intrusion, no one home at night) based on data from cameras and sensors; according to different scenarios, it automatically adjusts light color, intensity, and encoding information to trigger the corresponding device operating modes. Application scenarios: Night mode: Light signals trigger curtains to close, doors to lock, and indoor lights to dim; Intrusion detection: Light signals trigger alarms to activate, cameras to record video, and notifications to the user.

[0183] 6. Cross-device broadcasting and distributed control

[0184] Emergency commands are simultaneously sent to all devices via visible light broadcast mode for rapid response. Implementation mechanism: In emergencies (such as fire or gas leak), LED lights trigger all devices to enter preset states (such as shutting off gas valves or activating the ventilation system) via a whole-house light signal broadcast. In non-emergency situations, the light signal only controls the target device group, avoiding a whole-house response. Application scenarios: Broadcast mode: whole-house emergency power outage or gas valve shutdown; Distributed control: controlling only a designated area or device group (such as activating kitchen ventilation equipment).

[0185] like Figure 6 As shown, this application provides a communication control system, including: a control terminal and at least one target device;

[0186] The control terminal and / or the target device are configured to determine a target communication mode based on at least one of the target data to be transmitted, communication parameters of the first communication mode, and communication parameters of the second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi); and transmit the target data based on the target communication mode.

[0187] Here, the control terminal can be a server, a cloud platform, or other terminal with communication control capabilities over the target device. Transmitting target data via VLC can refer to transmitting target data through a light-emitting device used for VLC. Transmitting target data via Wi-Fi can refer to transmitting target data through a routing device used for Wi-Fi.

[0188] In one embodiment, the system may further include a transmission device for a first communication method, such as a light-emitting device, and a transmission device for a second communication method, such as a routing device.

[0189] In one embodiment, the system may further include an execution device.

[0190] like Figure 7 As shown, this application provides a communication control device, which may include:

[0191] The determining unit 100 is configured to determine a target communication mode based on at least one of the target data to be transmitted, communication parameters of a first communication mode, and communication parameters of a second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi).

[0192] The transmission unit 200 is used to transmit the target data based on the target communication method.

[0193] In one possible implementation, the determining unit 100 is configured to: acquire first transmission parameters of the target device corresponding to the target data to be transmitted, and second transmission parameters of the light-emitting device for VLC; determine the communication parameters of the VLC based on the first transmission parameters and the second transmission parameters; the communication parameters include at least signal strength parameters; and determine the VLC as the target communication mode in response to the communication parameters being higher than a predetermined threshold.

[0194] In one possible implementation, before determining the VLC as the target communication mode in response to the communication parameters being higher than a predetermined threshold, the determining unit 100 is further configured to: acquire the environmental parameters of the current light-emitting device; the environmental parameters include at least ambient light intensity and / or obstacle parameters; and determine the predetermined threshold based on the environmental parameters.

[0195] In one possible implementation, the determining unit 100 is configured to: determine whether the target priority corresponding to the target data to be transmitted is higher than a predetermined priority; in response to the target priority being higher than the predetermined priority, determine a second communication method as the target communication method; and in response to the target priority being lower than or equal to the predetermined priority, determine a first communication method as the target communication method.

[0196] In one possible implementation, the determining unit 100 is configured to: obtain the current location of the target device corresponding to the target data to be transmitted; and, in response to the current location exceeding the predetermined communication area corresponding to the first communication method, determine the second communication method as the target communication method.

[0197] In one possible implementation, after transmitting the target data based on the target communication method, the transmission unit 200 is further configured to: in response to determining that the VLC is the target communication method, determine a predetermined event indicated by the target data; and send an execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for the VLC.

[0198] In one possible implementation, the transmission unit 200 is configured to: determine an execution area where at least one execution device is located based on the predetermined event; emit a visible light signal in the direction of the execution area via a light-emitting device for VLC; and the visible light signal carries an execution instruction corresponding to the predetermined event.

[0199] In one possible implementation, the transmission unit 200 is configured to: in response to the plurality of execution devices, determine the execution instruction of each of the execution devices corresponding to the predetermined event; and send different execution instructions to the plurality of execution devices based on visible light signals of different colors and / or different light intensities via a light-emitting device for VLC.

[0200] In one possible implementation, the transmission unit 200 is configured to: in response to the current being nighttime and / or the predetermined event being a non-emergency event, send an execution command to a plurality of execution devices based on a visible light signal of a first light intensity; the first light intensity is lower than a predetermined light intensity threshold; in response to the current being daytime and / or the predetermined event being an emergency event, send an execution command to a plurality of execution devices based on a visible light signal of a second light intensity; the second light intensity is higher than or equal to the predetermined light intensity threshold.

[0201] This application also provides a home appliance, including the communication control device described in any one or more of the foregoing embodiments, or for executing the communication control method described in any one or more of the foregoing embodiments.

[0202] like Figure 8 As shown in the figure, this application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0203] Memory 113 is used to store computer programs;

[0204] In one embodiment of this application, when the processor 111 executes the program stored in the memory 113, it implements the communication control method provided in any one or more of the foregoing method embodiments, which includes at least: determining a target communication mode in the first communication mode and the second communication mode based on at least one of the target data to be transmitted, communication parameters of a first communication mode, and communication parameters of a second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi); and transmitting the target data based on the target communication mode.

[0205] In one possible implementation, determining the target communication mode based on at least one of the target data to be transmitted, communication parameters of the first communication mode, and communication parameters of the second communication mode includes: acquiring first transmission parameters of the target device corresponding to the target data to be transmitted, and second transmission parameters of the light-emitting device for VLC; determining the communication parameters of the VLC based on the first transmission parameters and the second transmission parameters; the communication parameters including at least a signal strength parameter; and determining the VLC as the target communication mode in response to the communication parameters being higher than a predetermined threshold.

[0206] In one possible implementation, before determining the VLC as the target communication mode in response to the communication parameters being higher than a predetermined threshold, the method further includes: acquiring environmental parameters of the current light-emitting device; the environmental parameters including at least ambient light intensity and / or obstacle parameters; and determining the predetermined threshold based on the environmental parameters.

[0207] In one possible implementation, determining the target communication mode based on at least one of the target data to be transmitted, the communication parameters of the first communication mode, and the communication parameters of the second communication mode includes: determining whether the target priority corresponding to the target data to be transmitted is higher than a predetermined priority; in response to the target priority being higher than the predetermined priority, determining the second communication mode as the target communication mode; and in response to the target priority being lower than or equal to the predetermined priority, determining the first communication mode as the target communication mode.

[0208] In one possible implementation, determining the target communication method based on at least one of the target data to be transmitted, the communication parameters of the first communication method, and the communication parameters of the second communication method includes: obtaining the current location of the target device corresponding to the target data to be transmitted; and determining the second communication method as the target communication method in response to the current location exceeding the predetermined communication area corresponding to the first communication method.

[0209] In one possible implementation, after transmitting the target data based on the target communication mode, the method further includes: in response to determining that the VLC is the target communication mode, determining a predetermined event indicated by the target data; and sending an execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for the VLC.

[0210] In one possible implementation, sending the execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC includes: determining the execution area where at least one execution device is located based on the predetermined event; emitting a visible light signal in the direction of the execution area via the light-emitting device for VLC; the visible light signal carrying the execution instruction corresponding to the predetermined event.

[0211] In one possible implementation, sending the execution instruction corresponding to the predetermined event to at least one execution device via the light-emitting device for VLC includes: in response to the number of execution devices being multiple, determining the execution instruction for each of the execution devices corresponding to the predetermined event; and sending different execution instructions to the multiple execution devices via the light-emitting device for VLC based on visible light signals of different colors and / or different light intensities.

[0212] In one possible implementation, the step of sending different execution instructions to multiple execution devices based on visible light signals of different colors and / or different intensities via a light-emitting device for VLC includes: in response to the current situation being nighttime and / or the predetermined event being a non-emergency event, sending execution instructions to multiple execution devices based on a visible light signal of a first intensity; the first intensity being lower than a predetermined intensity threshold; in response to the current situation being daytime and / or the predetermined event being an emergency event, sending execution instructions to multiple execution devices based on a visible light signal of a second intensity; the second intensity being higher than or equal to the predetermined intensity threshold.

[0213] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the communication control method provided in any one or more of the foregoing method embodiments.

[0214] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0215] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0216] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.

[0217] Unless otherwise specified, each step in a particular implementation or embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, the solution after removing some steps in a particular implementation or embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular implementation or embodiment can be arbitrarily interchanged. In addition, the optional methods or examples in a particular implementation or embodiment can be arbitrarily combined. Furthermore, the implementations or embodiments can be arbitrarily combined with each other. For example, some or all of the steps in different implementations or embodiments can be arbitrarily combined, and a particular implementation or embodiment can be arbitrarily combined with the optional methods or examples of other implementations or embodiments.

[0218] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A communication control method, characterized in that, The method includes: Based on at least one of the target data to be transmitted, the communication parameters of the first communication method, and the communication parameters of the second communication method, a target communication method is determined between the first and second communication methods; the first communication method includes visible light communication (VLC), and the second communication method includes wireless local area network (Wifi). The target data is transmitted based on the target communication method; After transmitting the target data based on the target communication method, the method further includes: In response to determining that the VLC is the target communication mode, a predetermined event is determined for the target data indication; The execution instruction corresponding to the predetermined event is sent to at least one execution device through the light-emitting device for VLC; The step of sending the execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC includes: Based on the predetermined event, determine the execution region where at least one execution device is located; A visible light signal is emitted in the direction of the execution area by a light-emitting device for VLC; the visible light signal carries the execution command corresponding to the predetermined event; The step of sending the execution instruction corresponding to the predetermined event to at least one execution device via a light-emitting device for VLC includes: In response to the fact that there are multiple execution devices, an execution instruction for each of the execution devices corresponding to the predetermined event is determined; The light-emitting device used in VLC sends different execution commands to multiple execution devices based on visible light signals of different colors and / or different intensities.

2. The method according to claim 1, characterized in that, The determination of the target communication mode based on at least one of the target data to be transmitted, the communication parameters of the first communication mode, and the communication parameters of the second communication mode includes: Obtain the first transmission parameters of the target device corresponding to the target data to be transmitted, and the second transmission parameters of the light-emitting device used for VLC; The communication parameters of the VLC are determined based on the first transmission parameters and the second transmission parameters; the communication parameters include at least signal strength parameters. In response to the communication parameters being higher than a predetermined threshold, the VLC is determined to be the target communication mode.

3. The method according to claim 2, characterized in that, Before determining that the VLC is the target communication method in response to the communication parameters exceeding a predetermined threshold, the method further includes: Obtain the environmental parameters of the current light-emitting device; the environmental parameters include at least ambient light intensity and / or obstacle parameters; A predetermined threshold is determined based on the environmental parameters.

4. The method according to claim 1, characterized in that, The determination of the target communication mode based on at least one of the target data to be transmitted, the communication parameters of the first communication mode, and the communication parameters of the second communication mode includes: Determine whether the target priority corresponding to the target data to be transmitted is higher than the predetermined priority; In response to the target priority being higher than the predetermined priority, the second communication method is determined as the target communication method; In response to the target priority being lower than or equal to a predetermined priority, the first communication method is determined as the target communication method.

5. The method according to claim 1, characterized in that, The determination of the target communication mode based on at least one of the target data to be transmitted, the communication parameters of the first communication mode, and the communication parameters of the second communication mode includes: Obtain the current location of the target device corresponding to the target data to be transmitted; In response to the current location being outside the predetermined communication area corresponding to the first communication method, the second communication method is determined as the target communication method.

6. The method according to claim 1, characterized in that, The process of sending different execution commands to multiple execution devices based on visible light signals of different colors and / or different intensities via a light-emitting device for VLC includes: In response to the fact that it is currently nighttime and / or the predetermined event is a non-emergency event, execution instructions are sent to multiple execution devices based on a visible light signal with a first light intensity; the first light intensity is lower than a predetermined light intensity threshold. In response to the fact that it is currently daytime and / or the predetermined event is an emergency, execution instructions are sent to multiple execution devices based on a visible light signal with a second light intensity; the second light intensity is higher than or equal to a predetermined light intensity threshold.

7. A communication control device, characterized in that, The device includes: A determining unit is configured to determine a target communication mode based on at least one of the target data to be transmitted, communication parameters of a first communication mode, and communication parameters of a second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi). A transmission unit is used to transmit the target data based on the target communication method; After transmitting the target data based on the target communication method, the transmission unit is further configured to: in response to determining that the VLC is the target communication method, determine a predetermined event indicated by the target data; and send an execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for the VLC; The transmission unit is configured to: determine an execution area where at least one execution device is located based on the predetermined event; emit a visible light signal in the direction of the execution area via a light-emitting device for VLC; the visible light signal carries an execution instruction corresponding to the predetermined event; The transmission unit is configured to: in response to the number of execution devices being multiple, determine the execution instruction of each of the execution devices corresponding to the predetermined event; and send different execution instructions to the multiple execution devices based on visible light signals of different colors and / or different light intensities through a light-emitting device for VLC.

8. A household appliance, characterized in that, The home appliance includes the communication control device as described in claim 7.

9. A communication control system, characterized in that, The system includes: a control terminal and at least one target device; The control terminal and / or the target device are configured to determine a target communication mode based on at least one of the target data to be transmitted, communication parameters of the first communication mode, and communication parameters of the second communication mode; the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (Wifi); and transmit the target data based on the target communication mode. After transmitting the target data based on the target communication method, the transmission unit is further configured to: in response to determining that the VLC is the target communication method, determine a predetermined event indicated by the target data; and send an execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for the VLC; The transmission unit is configured to: determine an execution area where at least one execution device is located based on the predetermined event; emit a visible light signal in the direction of the execution area via a light-emitting device for VLC; the visible light signal carries an execution instruction corresponding to the predetermined event; The transmission unit is configured to: in response to the number of execution devices being multiple, determine the execution instruction of each of the execution devices corresponding to the predetermined event; and send different execution instructions to the multiple execution devices based on visible light signals of different colors and / or different light intensities through a light-emitting device for VLC.

10. An electronic device, characterized in that, include: The processor, communication interface, memory, and communication bus are connected, with the processor, communication interface, and memory communicating with each other via the communication bus. The memory is used to store computer programs; the processor is used to execute the computer programs to implement the method described in any one of claims 1-6.

11. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-6.