Communication control method, device and system, electronic equipment and storage medium
By flexibly selecting communication methods such as visible light communication VLC and wireless LAN Wifi in the home system, and determining the target communication method based on communication parameters and data priority, the problem of low communication reliability in the home system is solved and the flexibility and reliability of communication is improved.
Patent Information
- Application Number
- CN202411916204.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-24
AI Technical Summary
The communication reliability in home systems is low, and there are problems such as signal interference, high energy consumption and limited transmission distance.
By flexibly selecting the communication method for data transmission based on the data to be transmitted and the communication parameters of different communication methods, including visible light communication VLC and wireless LAN Wifi. According to the communication parameters and priority of the target data, the target communication method is determined and the data is transmitted based on the method.
Improves communication flexibility and reliability, ensures the transmission efficiency and stability of target data, and is suitable for different environments and data priorities.
Smart Images

Figure CN119766718A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication control technology, and in particular to a communication control method, device and system, electronic equipment and storage medium. Background Art
[0002] Current smart device systems such as home systems achieve data transmission and device control by establishing communications between various devices and servers. However, there are often problems such as signal interference, high energy consumption, and limited transmission distance, resulting in low communication reliability. Summary of the invention
[0003] The present application provides a communication control method, device and system, electronic equipment and storage medium to solve the technical problem of low communication reliability in a home system.
[0004] In a first aspect, the present application provides a communication control method, the method comprising: determining a target communication mode in a first communication mode and a second communication mode based on target data to be transmitted, a communication parameter of the first communication mode and at least one of the 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 transmitting the target data based on the target communication mode.
[0005] In one possible implementation, the target communication mode is determined in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode, and at least one of the communication parameters of the second communication mode, including: acquiring a first transmission parameter of a target device corresponding to the target data to be transmitted, and a second transmission parameter of a 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 include 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 that the VLC is the target communication mode in response to the communication parameter being higher than a predetermined threshold, the method further includes: acquiring environmental parameters of the current light-emitting device; the environmental parameters include at least ambient light intensity and / or obstacle parameters; and determining a predetermined threshold based on the environmental parameters.
[0007] In one possible implementation, determining the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode, and at least one of 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; 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 mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode, and at least one of the communication parameters of the second communication mode includes: acquiring the current position of the target device corresponding to the target data to be transmitted; and determining the second communication mode as the target communication mode in response to the current position exceeding a predetermined communication area corresponding to the first communication mode.
[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 through a light-emitting device for VLC.
[0010] In one possible implementation, sending the execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for VLC includes: determining an 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 through the light-emitting device for VLC; the visible light signal carries the execution instruction corresponding to the predetermined event.
[0011] In one possible implementation, the sending of the execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for VLC includes: in response to the number of the 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 based on visible light signals of different colors and / or different light intensities through the light-emitting device for VLC.
[0012] In one possible embodiment, the light-emitting device used for VLC sends different execution instructions to multiple execution devices based on visible light signals of different colors and / or different light intensities, including: in response to it being night 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 light intensity; the first light intensity is lower than a predetermined light intensity threshold; in response to it 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 light intensity; the second light intensity is higher than or equal to a predetermined light intensity threshold.
[0013] In a second aspect, the present application provides a communication control device, comprising: a determination unit, used to determine a target communication mode in a first communication mode and a second communication mode based on target data to be transmitted, a communication parameter of the first communication mode and at least one of the 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; a transmission unit, used to transmit the target data based on the target communication mode.
[0014] In a third aspect, the present application provides a household appliance, wherein the household appliance comprises the communication control device as described in any one of the second aspects.
[0015] In a fourth aspect, the present application provides a communication control system, comprising: a control end and at least one target device; the control end and / or the target device are used to determine a target communication mode in a first communication mode and a second communication mode based on target data to be transmitted, a communication parameter of the first communication mode, and at least one of the 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; the target data is transmitted based on the target communication mode.
[0016] In a fifth aspect, the present application provides an electronic device comprising: 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 any one of the methods described in the first aspect when executing the computer program.
[0017] In a sixth aspect, the present application provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the methods described in the first aspect above.
[0018] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application determines the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the 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; the target data is transmitted based on the target communication mode. In this way, according to the data to be transmitted and the communication parameters of different communication modes, the communication mode suitable 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 mode can be flexibly configured and accurately selected during the data transmission process, which improves the flexibility and reliability of communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0022] Figure 1 A flow chart of a communication control method provided in an embodiment of the present application;
[0023] Figure 2 A flow chart of a communication control method provided in an embodiment of the present application;
[0024] Figure 3 A flow chart of a communication control method provided in an embodiment of the present application;
[0025] Figure 4 A flow chart of a communication control method provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of a VLC signal color provided in an embodiment of the present application;
[0027] Figure 6A schematic diagram of a communication control system provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of a communication control device provided in an embodiment of the present application;
[0029] Figure 8 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0031] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0032] In order to solve the technical problem of low communication reliability within systems such as home systems in the prior art, the present application provides a communication control method, device and system, electronic device and storage medium, which flexibly selects the communication method for data transmission based on the data to be transmitted and / or the communication parameters of different communication methods, thereby improving the flexibility and reliability of communication control.
[0033] Figure 1 A flow chart of a communication control method provided in this embodiment is shown as follows: Figure 1 As shown, the method may include:
[0034] S10: determining a target communication mode in the first communication mode and the second communication mode based on 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 includes visible light communication VLC, and the second communication mode includes wireless local area network Wifi;
[0035] S20: Transmit target data based on the target communication mode.
[0036] In this embodiment, the communication control method can be applied to a control terminal, such as a server, a cloud platform, or other terminals that establish a communication connection with a target device, etc. Alternatively, the communication control method can also be applied to a target device, which can be a device that establishes a communication connection with the control terminal.
[0037] Here, the target device may be a device in a system controlled by the control end, for example, the system may be a home system, a monitoring system, etc., and the target device may be a home device such as a smart door lock, a camera, a detector, a smoke alarm, a sensor, or other types of devices, etc. The target device may report data to the control end, and the control end may send instructions to the target device based on the reported data of the target device to control the operation of the target device, etc.
[0038] In one embodiment, the communication range of the first communication mode may be smaller than that of the second communication mode, and / or the power consumption of the first communication mode is smaller than that of the second communication mode. For example, the first communication mode includes visible light communication (VLC), and the second communication mode includes wireless local area network (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 an execution device, for example, the target data may be a target signal, a 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 end, for example, the reported data may include reported monitoring data, operation data, status data, etc.
[0040] In an embodiment, determining the target communication mode among the first communication mode and the second communication mode may include: determining the first communication mode or the second communication mode as the target communication mode.
[0041] In one embodiment, the communication parameters of the first communication mode can characterize at least one of the communication quality, communication coverage, communication efficiency and communication energy consumption of the first communication mode. For example, the communication parameters may include at least one of signal strength parameters, packet loss rate, bit error rate, bandwidth, bandwidth occupancy rate, and transmission energy consumption.
[0042] In one embodiment, transmitting the target data based on the first communication mode may refer to transmitting the target data through a light emitting device for VLC. Transmitting the target data based on the second communication mode may refer to transmitting the target data through a routing device for Wifi.
[0043] Here, the light-emitting device can establish a connection with the control end and / or the target device. For example, the light-emitting device can be a lighting device such as a lamp. 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 household device, the target data may be reporting data that the target device needs to send to the control end.
[0045] In one embodiment, when the method is applied to a control end, before step S10, the method may include: receiving reported data from a target device; and determining 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 an execution instruction, etc. determined based on the reported data.
[0046] In one embodiment, step S20 may include: in response to determining that the first communication mode is the target communication mode, transmitting the target data to the target device through the light-emitting device for VLC; in response to determining that the second communication mode is the target communication mode, transmitting the target data to the target device through the routing device for Wifi. Here, the target data may be instructions, signals or other data that need to be sent to the target device, such as execution instructions.
[0047] In one embodiment, after or before step S20, the method may further include: allocating signal resources of the first communication mode and signal resources of the second communication mode in different areas based on the distribution and communication conditions of multiple target devices. For example, this step may include: allocating signal resources of the first communication mode greater than signal resources of the second communication mode in an area where the communication frequency of the target device is higher than a predetermined frequency, and allocating signal resources of the first communication mode less than signal resources of the second communication mode in an area where the distance from the light-emitting device is greater than a predetermined distance or the communication frequency of the target device is lower than a predetermined frequency.
[0048] In one embodiment, step S10 may include: determining the second communication mode as the target communication mode when it is determined based on the communication parameters of the first communication mode that the signal of the first communication mode is blocked or interfered. Wherein, determining based on the communication parameters of the first communication mode that the signal of the first communication mode is blocked or interfered may refer to determining that the signal of the first communication mode is blocked or interfered when the communication bit error rate of the first communication mode reaches a predetermined bit error rate threshold.
[0049] In one embodiment, step S10 may include: determining that the communication bandwidth corresponding to the light-emitting device for VLC is saturated based on the communication parameters of the VLC, and determining to transmit the target data through Wifi. Wherein, determining that the communication bandwidth corresponding to the light-emitting device for VLC is saturated based on the communication parameters of the VLC may refer to determining that the communication bandwidth corresponding to the light-emitting device for VLC is saturated when the communication bandwidth utilization rate of the VLC reaches a predetermined utilization rate 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, and the execution information may represent information such as an 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 been executed successfully based on the execution information; and if the execution is unsuccessful, resending the target data. Here, resending the target data may be performed via the second communication method.
[0052] In one embodiment, step S10 includes: obtaining a first transmission parameter of a target device corresponding to the target data to be transmitted, and a second transmission parameter of a transmission device used for a first communication mode; determining a communication parameter of the first communication mode based on the first transmission parameter and the second transmission parameter; and determining that the first communication mode is a target communication mode in response to the communication parameter being higher than a predetermined threshold.
[0053] Here, the transmission device used for the first communication mode may refer to a light-emitting device used for VLC, such as a lamp.
[0054] In this way, based on the data to be transmitted and the communication parameters of different communication methods, the communication method suitable for transmitting the data can be accurately and efficiently determined to ensure the optimal transmission efficiency and stability of the target data. Therefore, during the data transmission process, the communication method can be flexibly configured and accurately selected, which improves the flexibility and reliability of communication.
[0055] In some embodiments, Figure 2 As shown, step S10 may include:
[0056] S11: Acquire a first transmission parameter of a target device corresponding to target data to be transmitted, and a second transmission parameter of a light-emitting device for VLC;
[0057] S12: Determine a communication parameter of the VLC based on the first transmission parameter and the second transmission parameter; the communication parameter includes at least a signal strength parameter;
[0058] S13: In response to the communication parameter being higher than a predetermined threshold, determining VLC as the target communication mode.
[0059] In one embodiment, the target device may be a device that needs to transmit target data or a device that needs to receive target data. The first transmission parameter may be a detection parameter of the target device for VLC. For example, the first transmission parameter may include at least one of packet loss rate, bit error rate, delay rate, etc.
[0060] In an embodiment, in response to the communication parameter being higher than a predetermined threshold, it may refer to in response to the communication parameter of the VLC being higher than a predetermined threshold.
[0061] In one embodiment, the second transmission parameter may be a light emitting parameter of the light emitting device, such as a radiation angle and a light source power, etc. The communication parameters of the VLC may include a signal strength parameter, and may also include at least one of a signal stability parameter and a signal power consumption parameter.
[0062] In one embodiment, the signal strength parameter may be calculated according to a light intensity attenuation model, and the signal strength parameter may characterize the coverage range of the VLC signal.
[0063] In one embodiment, in response to the communication parameter being higher than a predetermined threshold, determining VLC as the target communication mode may refer to: in response to the signal strength parameter being higher than a predetermined threshold, determining VLC as the target communication mode. The predetermined threshold may be a predetermined threshold corresponding to the signal strength parameter.
[0064] In one embodiment, the method may further include: in response to the communication parameter being lower than or equal to a predetermined threshold, determining Wifi as the target communication mode.
[0065] In this way, by determining the communication parameters of VLC according to the transmission parameters of the target device and the light-emitting device, it is possible to accurately determine whether the current target device is within the effective communication range of the light-emitting device, thereby determining whether it is suitable to transmit the target device through VLC, thereby improving the accuracy of communication control.
[0066] In some embodiments, before the above step S13, the method may further include:
[0067] Acquire the current environmental parameters of the light emitting device; the environmental parameters at least include ambient light intensity and / or obstacle parameters;
[0068] A predetermined threshold is determined based on the environmental parameter.
[0069] In one embodiment, the ambient light intensity may indicate the intensity of natural light and other light sources in the environment, and the obstacle parameter may indicate at least one of the position, size, and passability of obstacles in the environment that affect the VLC signal transmission of the lighting device.
[0070] In one embodiment, obtaining the current environmental parameters of the light emitting device may include: obtaining the current environmental parameters of the light emitting device based on a predetermined update period, so that the predetermined threshold value can be periodically adjusted to improve the accuracy of determining the VLC signal strength based on the threshold value.
[0071] In one embodiment, after step S10, the method may further include: in response to the target data being continuously transmitted via Wifi within a predetermined period of time, outputting a reminder message. Here, the reminder message may be used to remind the user to adjust the position of the VLC light-emitting device or the target device, thereby avoiding the poor VLC transmission environment leading to long-term use of Wifi to transmit a large amount of data, resulting in high power consumption.
[0072] In one embodiment, after step S10, the method may further include: in response to determining that Wifi is the target communication mode, if it is detected that the communication parameter is 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 it is detected that the communication parameter is 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 that the configuration of the VLC communication can be adjusted in time with environmental changes to improve communication reliability.
[0075] In one embodiment, obtaining the current environmental parameters of the light emitting device and determining the predetermined threshold based on the environmental parameters may be performed before step S11. Acquiring the first transmission parameter and the second transmission parameter in step S11 may refer to detecting the first transmission parameter and the second transmission parameter.
[0076] Here, determining the predetermined threshold based on the environmental parameter may include: determining the predetermined threshold and detection sensitivity based on the environmental parameter, 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 the error caused by environmental factors, thereby improving accuracy when determining whether to use VLC to transmit target data.
[0078] In some embodiments, Figure 3 As shown, the 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, determining the second communication mode as the target communication mode;
[0081] S16: 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.
[0082] In one embodiment, the target priority corresponding to the target data may refer to the target priority corresponding to the predetermined event indicated by the target data. For example, the target data is smoke detection data, human motion detection data, etc., and the predetermined event indicated by the target data is a fire event or an intrusion event, and the corresponding target priority is higher. The first communication mode may be VLC, and the second communication mode may be Wifi.
[0083] In one embodiment, in response to the target priority being higher than a predetermined priority, determining the second communication mode as the target communication mode may include: in response to the target priority being higher than a predetermined priority, determining whether a communication parameter of the first communication mode is higher than a predetermined threshold; if lower than or equal to the predetermined threshold, determining the second communication mode as the target communication mode.
[0084] In one embodiment, in response to the target priority being lower than or equal to a predetermined priority, determining the first communication mode as the target communication mode may include: in response to the target priority being lower than or equal to a predetermined priority, determining whether a communication parameter of the first communication mode is higher than a predetermined threshold; if higher than the predetermined threshold, determining the first communication mode as the target communication mode.
[0085] In this way, the importance of the data can be determined according to the priority of the data to be transmitted. Important data can be transmitted through Wifi first to ensure the reliability and stability of the transmission and avoid affecting the processing of important events. Unimportant data can be transmitted through VLC to reduce power consumption and reduce the Wifi load.
[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 exceeding a predetermined communication area corresponding to the first communication mode, the second communication mode is determined as a target communication mode.
[0089] In one embodiment, the current location of the target device may be obtained by using a received signal strength indication (RSSI) or a spatial dynamic adjustment algorithm. The first communication mode may be VLC, and the second communication mode may be Wifi.
[0090] In one embodiment, the predetermined communication area corresponding to the first communication mode may be a signal coverage range of VLC, for example, a signal coverage range corresponding to a light emitting device used for VLC. The signal coverage range may be determined by a signal strength parameter of VLC.
[0091] In one embodiment, in response to the current location exceeding a predetermined communication area corresponding to the first communication mode, determining the second communication mode as the target communication mode may include: in response to the duration for which the current location exceeds the predetermined communication area corresponding to the first communication mode reaching a preset value, determining the second communication mode as the target communication mode.
[0092] In this way, when the target device is beyond the communication range of the VLC signal, Wifi is selected to transmit the target data, which can avoid communication errors caused by the inability of the VLC signal to complete data transmission and improve 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 a target communication mode, determining a predetermined event indicated by the target data;
[0095] The execution instruction corresponding to the predetermined event is sent to at least one execution device through the light emitting device for VLC.
[0096] Here, this step can be applied to the control end or the target device. The execution device can be the target device or other devices different from the target device. For example, when the target device is a central control device, an execution instruction can be sent to the execution device. Alternatively, when the control end sends an execution instruction to the execution device, the target device is a smoke detector, and the execution device can also be a smoke detector, or a ventilation device, etc.
[0097] In one embodiment, the target data may include an execution instruction, or the execution instruction may be determined based on the target data, or the execution instruction may be determined based on a predetermined event, etc.
[0098] In one embodiment, sending the execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for VLC may include: determining whether the at least one execution device is within the signal coverage range of the light-emitting device; if it is within the signal coverage range, sending the execution instruction corresponding to the predetermined event to at least one execution device through the light-emitting device for VLC.
[0099] In one embodiment, sending the execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for VLC may include: determining the urgency of the predetermined event; if the urgency is higher than the predetermined degree, sending the execution instruction corresponding to the predetermined event to all execution devices; if the urgency is not higher than the predetermined degree, 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, an execution instruction is also sent through VLC, which can fully utilize the lighting function of the light-emitting device and quickly send the execution control device action, thereby improving control efficiency and reducing resource usage.
[0101] In some embodiments, sending the execution instruction corresponding to the predetermined event to at least one execution device through the light emitting device for VLC includes:
[0102] determining an execution area where at least one execution device is located based on the predetermined event;
[0103] A visible light signal is emitted toward the direction where the execution area is located by a light emitting device used for VLC; the visible light signal carries an execution instruction corresponding to the predetermined event.
[0104] In one embodiment, the execution area may refer to an area where an execution device corresponding to a predetermined event is located. For example, the execution area may refer to a room, a floor, or a building.
[0105] In one embodiment, emitting a visible light signal in the direction of the execution area through 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 to 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 identification corresponding to the execution device. Here, the device identification may be a device code for the execution device to determine whether to execute the instruction.
[0107] In this way, the directionality of the VLC visible light signal can be fully utilized to transmit the visible light signal to a certain area without sending instructions to all execution devices, further reducing energy consumption.
[0108] In some embodiments, sending the execution instruction corresponding to the predetermined event to at least one execution device through the light emitting device for VLC may include:
[0109] In response to the number of the execution devices being multiple, determining an execution instruction of each of the execution devices corresponding to the predetermined event;
[0110] Different execution instructions are sent to multiple execution devices through a light emitting device for VLC based on visible light signals of different colors and / or different light intensities.
[0111] In one embodiment, different colors can correspond to different execution instructions, for example, red means "alarm triggered", green means "device closed", and blue means "device opened". Different light intensities can also correspond to different execution instructions, for example, high light intensity instructs to close the gas valve and turn on the smoke exhaust equipment, and low light intensity instructs to turn off unnecessary electrical appliances, etc.
[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, sending different execution instructions to multiple execution devices based on visible light signals of different colors and / or different light intensities by a light emitting device for VLC includes:
[0114] In response to the current night and / or the predetermined event being a non-emergency event, sending execution instructions 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;
[0115] In response to the fact that it is currently daytime and / or the predetermined event is an emergency event, an execution instruction is sent to multiple execution devices based on a visible light signal of 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 light intensities through the light emitting device for VLC, the method may further include: determining the color and / or light 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 smaller light intensity at night and a higher light intensity during the day.
[0117] In this way, the lighting function of the VLC light-emitting device can be fully utilized. Based on light signals of different colors and light intensities, not only can different control instructions be issued to coordinately control multiple execution devices, but users can also be prompted based on the color and light intensity to improve reliability.
[0118] As a possible implementation, Figure 4 As shown, a communication control method is provided, which may specifically include:
[0119] S1: Optical communication signal transmission. The VLC lamps in the system perform both lighting and data communication functions. The lamps transmit visible light signals through fast flashing LED lights to transmit encrypted data; this signal is used to monitor security equipment (such as cameras and sensors) within a local area to ensure that data transmission in the local area is fast and interference-free.
[0120] S2: Local device data reception and processing. The surveillance cameras and sensors installed in the home receive communication signals from VLC lamps. These devices not only monitor activities at home, but also capture data from various sensors (such as door and window switches, smoke concentration, temperature, etc.); cameras and sensor devices support dual-mode switching of VLC and Wi-Fi communications, and local areas give priority to VLC transmission to ensure high-speed, secure and low-interference data.
[0121] S3: Multimodal fusion and communication conversion. The device intelligently identifies the communication coverage of VLC. If the signal is out of range, it automatically switches to the Wi-Fi network. When important data or abnormal conditions are detected, the device transmits large-scale data through the Wi-Fi routing device. This solves the limitations of VLC signal penetration and achieves seamless connection within the area and remotely.
[0122] Specifically, they may include:
[0123] 1. Dynamic range detection and switching logic:
[0124] Monitoring devices and sensors use built-in signal strength detection modules (RSSI or SNR analysis) to monitor the strength and quality of received VLC signals in real time. The VLC signal coverage range is dynamically calculated based on the light intensity attenuation model (for example, based on the radiation angle and light source power of LED lamps). The device determines whether it exceeds the effective communication range based on the signal strength threshold (preset or adaptive adjustment). When the signal strength is lower than the threshold, the device triggers the communication mode switching logic and automatically switches to Wi-Fi transmission.
[0125] 2. Self-learning coverage expansion:
[0126] The system uses environmental learning algorithms (such as AI-based positioning models) to adaptively adjust the boundaries of the coverage range. For example, under different lighting conditions (natural light, obstacles), the device can dynamically correct the threshold parameters of the signal range to improve the accuracy of signal switching. When an area is in Wi-Fi communication for a long time, the central control system can suggest that users adjust the position of VLC lamps or sensors to optimize the system's low energy consumption advantage.
[0127] 3. Local VLC communication priority optimization:
[0128] After the VLC signal strength returns to the effective range, the device automatically switches back to VLC communication to avoid long-term occupation of Wi-Fi bandwidth. Through the time window mechanism and signal recovery monitoring, ensure that there is no data loss during the switching process. Use a distributed cache mechanism (such as edge computing nodes) to save local data and reduce delays and packet loss during the switching process.
[0129] 4. Intelligent prediction and adjustment of coverage:
[0130] The system introduces an AI-based dynamic prediction module, which uses the location information of cameras and sensors to predict possible signal blind spots (such as light signal interruption caused by furniture movement and occlusion) and adjust communication priorities in advance. In a multi-light source environment, the system dynamically adjusts light intensity and communication channels through the collaborative working mechanism of VLC lamps to expand coverage.
[0131] 5. Priority handling mechanism for abnormal situations:
[0132] For high-priority data received by monitoring devices (such as abnormal sounds, human intrusion detection, etc.), even within the VLC coverage area, the system will give priority to Wi-Fi transmission according to the scenario to ensure the immediacy and reliability of remote notification. For ordinary data (such as temperature and humidity changes, door and window status), VLC communication is used first to reduce the Wi-Fi load.
[0133] 6. Deep optimization of multimodal data fusion:
[0134] The data transmitted by VLC and Wi-Fi uses a multimodal fusion algorithm in the central control system to integrate camera video and sensor information to ensure data consistency and integrity. Through multimodal situational analysis (such as event detection algorithms based on deep learning), the response speed and accuracy after signal switching are further improved.
[0135] 7. Dynamic communication path planning:
[0136] A dynamic communication path planning algorithm is introduced to dynamically allocate communication resources according to the layout of devices in the home space. For example, VLC signals are allocated first in areas with frequent communication, while Wi-Fi network bandwidth is allocated in areas far away from light sources or with less communication demand.
[0137] 8. Situations where you need to switch to Wi-Fi
[0138] (1) Insufficient VLC signal strength (out of range):
[0139] When the device detects that the strength of the VLC signal (RSSI / SNR) is lower than the set threshold and the communication quality may not be sufficient to ensure normal data transmission, it triggers the switch to Wi-Fi. Detection mechanism: The device monitors the signal strength in real time through the optical signal receiving module and adjusts the detection sensitivity according to the changes in ambient brightness (such as dynamically adjusting the threshold under strong natural light conditions). If the signal strength detection fails for multiple consecutive times (for example, more than 3 times), the device is determined to be in a signal blind spot.
[0140] (2) Signal blocking or interference:
[0141] When the VLC signal is affected by physical obstruction (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 bit error rate exceeds the tolerance range continuously, it triggers Wi-Fi switching.
[0142] (3) High priority data transmission requirements:
[0143] When an emergency event (such as fire, intrusion, etc.) is monitored, in order to ensure the immediacy of large-scale notification, Wi-Fi is switched to transmit alarm information first. Detection mechanism: The central control system analyzes multimodal data in real time based on AI algorithms, determines the priority of the current event, and instructs to switch to Wi-Fi.
[0144] (4) Dynamic range expansion caused by device movement:
[0145] When a portable device (such as a smart door lock or motion sensor) is moved out of the VLC coverage area, it automatically switches to Wi-Fi for communication. Detection mechanism: The device has a built-in positioning module that determines the position change and triggers the switch through RSSI signals or spatial dynamic adjustment algorithms.
[0146] (5) Load balancing of multi-device communication:
[0147] When VLC lamps in a local area are occupied by multiple devices at the same time and the communication bandwidth is close to saturation, some devices switch to Wi-Fi to relieve the load. Detection mechanism: The VLC channel monitoring module detects 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 returned to the valid range and the communication bit error rate is lower than the 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 for multiple consecutive times (such as at least 3 times), it switches back to VLC.
[0151] (2) Low priority data transmission scenario:
[0152] For low-timeliness or high-frequency data (such as temperature and humidity sensor status), switch back to VLC without large-scale notification to reduce Wi-Fi energy consumption and network load. Detection mechanism: The central control system determines whether to switch based on the 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] When the Wi-Fi network is overloaded, the channel is congested, or the interference is serious, the device will switch back to VLC first to ensure the stability of communication. Detection mechanism: The network status monitoring module evaluates the Wi-Fi network delay and packet loss rate in real time. If it exceeds the set threshold, the switchback is triggered.
[0157] (5) System reservation strategy adjustment:
[0158] The user can set a predetermined policy (such as giving priority to VLC during a specific time period) through an application or a central control system, and the system switches back to VLC based on time or events.
[0159] 10. Status detection and availability judgment before switching
[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: Switch back to VLC only after receiving data for multiple consecutive times without errors.
[0163] Light environment adaptation: within the ambient brightness adaptation range (avoid interference from strong natural light).
[0164] (2) Wi-Fi status detection:
[0165] Network connectivity: Make sure the Wi-Fi network is available and has sufficient bandwidth.
[0166] Delay and packet loss detection: Detect the stability of Wi-Fi communication before switching to avoid higher delay or packet loss rate caused by switching.
[0167] (3) Switching condition determination:
[0168] The device needs to make a comprehensive judgment on the urgency of the current communication, data type, energy consumption strategy, etc. before switching. Use the switching priority algorithm to weigh the real-time status of VLC and Wi-Fi communications to avoid frequent switching.
[0169] S4: Central control system. Through Wi-Fi routing devices, all monitoring data of the system is transmitted to the central control system for unified processing; the central control system performs intelligent situational analysis based on multimodal data (camera video, sensor data), identifies potential security threats, and responds accordingly (such as issuing alarms, launching 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 the trained AI algorithm, and automatically triggers the alarm; in addition, the system can self-learn according to the daily behavior habits of family members, thereby reducing the false alarm rate and improving the intelligence level of the system.
[0171] S6: User notification and remote control. When the central control system detects a potential threat, it sends information to the user's terminal device (such as a mobile phone, tablet, etc.) in real time, and uses the advantages of visible light communication to issue a visual warning by adjusting the brightness or color of the LED lamp (see Figure 2 ), remind users, neighbors and properties, such as Figure 5 Users can view the real-time camera images, manually trigger alarms, or remotely shut down some devices in the system to achieve more flexible control.
[0172] Specifically, they may include:
[0173] 1. Control command transmission based on color coding
[0174] Use different color codes of visible light to transmit multiple control instructions (for example, red means "alarm triggered", green means "device turned off", and blue means "device turned on"). Implementation mechanism: LED lamps transmit control instructions by quickly switching color-coded signals. Each color carries specific binary coded information, which the device can decode and respond to in real time. The color signal is decoded by an optical receiver or embedded sensor to pass the control instruction to the target device. Security equipment control: Red light coding: trigger camera recording or alarm activation; Green light coding: turn off non-essential equipment (such as electrical appliances, lights). Smart home linkage: Yellow light coding: start emergency mode (such as turning on backup power or emergency lighting); Blue light coding: resume normal working mode.
[0175] 2. Dynamic light intensity control and equipment linkage
[0176] By adjusting the light intensity of LED lamps, control instructions are sent to different devices, or specific scenario modes are triggered. Implementation mechanism: Light intensity coding is divided into multiple levels (such as high light intensity, medium light intensity, and low light intensity), and each level corresponds to a specific instruction; in night mode, devices in low power mode are activated by dimming the light (such as turning off the air conditioner and lowering the volume of the audio); in emergency situations (such as detecting a fire), all devices are triggered to enter an emergency state by flashing high-intensity lights. Application scenarios: Fire detection: high-frequency flashing light intensity instructions to close the gas valve and open the smoke exhaust equipment; energy-saving mode: low light intensity signal instructions to turn off unnecessary electrical appliances.
[0177] 3. Accurate device positioning and control with optical beacon technology
[0178] Through the directionality and positioning function of visible light signals, specific areas or specific devices can be precisely controlled. Implementation mechanism: Directional LED lamps are used to transmit coded light signals to specific areas to control only the devices in that area; each device is equipped with a unique light signal decoding ID (similar to a MAC address) to ensure the accuracy of command transmission. Application scenarios: Regional alarm control: For rooms where abnormalities are detected, only the alarm device in that area is triggered without affecting the working status of other rooms; Equipment group management: Control equipment groups according to light signals in different rooms (such as turning off all equipment on the first floor with one click).
[0179] 4. Visible light two-way communication for device feedback
[0180] Bidirectional data transmission is achieved through the optical communication of LED lamps, so that the device can feedback status information (such as whether the execution is successful) after receiving the command. Implementation mechanism: Home devices (such as sensors, door locks) have built-in small light transmitters, which return the execution status to the LED lamps through infrared or reflected light. The central control system monitors the feedback information of the device in real time to ensure the accuracy of the execution of the command. Application scenario: Status confirmation: Users use mobile phone applications to check whether the device is turned off / started according to the command; Dynamic adjustment: If the feedback shows that the command is not executed, the system automatically resends the signal or switches to Wi-Fi communication.
[0181] 5. Dynamic situation analysis and optical signal linkage
[0182] Combined with AI algorithms, it intelligently analyzes the context of the home environment and automatically triggers the appropriate device control mode through light signals. Implementation mechanism: The system determines the current home status (such as intrusion, no one at home at night) based on the data from the camera and sensors; according to different situations, it automatically adjusts the light color, light intensity and coding information to trigger the operation mode of the corresponding device. Application scenarios: Night mode: light signals trigger curtains to close, doors to lock, and indoor lights to dim; intrusion detection: light signals trigger the alarm to start, the camera to record, and send notifications to the user.
[0183] 6. Cross-device broadcasting and distributed control
[0184] Through the visible light broadcast mode, emergency instructions are sent to all devices at the same time to achieve rapid response. Implementation mechanism: In an emergency (such as fire, gas leak), LED lamps trigger all devices to enter a preset state (such as closing the gas valve, starting the ventilation system) through the whole house light signal broadcast. In non-emergency events, the light signal only controls the target device group to avoid the whole house response. Application scenarios: Broadcast mode: emergency power off or gas valve closure in the whole house; Distributed control: only control the specified area or device group (such as turning on the kitchen ventilation equipment)
[0185] like Figure 6 As shown, an embodiment of the present application provides a communication control system, including: a control terminal and at least one target device;
[0186] The control end and / or the target device are used to determine the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the 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; the target data is transmitted based on the target communication mode.
[0187] Here, the control end may be a server, a cloud platform, or other terminal having communication control capability for the target device, etc. Transmitting target data through VLC may refer to transmitting target data through a light emitting device for VLC. Transmitting target data through Wifi may refer to transmitting target data through a routing device for Wifi.
[0188] In one embodiment, the system may further include a transmission device for the first communication mode, such as a light emitting device, and a transmission device for the second communication mode, such as a routing device.
[0189] In one embodiment, the system may further include an execution device.
[0190] like Figure 7 As shown, an embodiment of the present application provides a communication control device, which may include:
[0191] The determining unit 100 is configured to determine a target communication mode in the first communication mode and the second communication mode based on 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 includes visible light communication VLC, and the second communication mode includes wireless local area network Wifi;
[0192] The transmission unit 200 is configured to transmit the target data based on the target communication mode.
[0193] In one possible implementation, the determination unit 100 is used to: obtain a first transmission parameter of a target device corresponding to target data to be transmitted, and a second transmission parameter of a light-emitting device for VLC; determine a communication parameter of the VLC based on the first transmission parameter and the second transmission parameter; the communication parameter includes at least a signal strength parameter; and in response to the communication parameter being higher than a predetermined threshold, determine that the VLC is a target communication mode.
[0194] In one possible implementation, before determining that the VLC is the target communication mode in response to the communication parameter being higher than a predetermined threshold, the determination unit 100 is further used to: obtain the current environmental parameters of the 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 determination unit 100 is used 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 the second communication mode as the target communication mode; in response to the target priority being lower than or equal to the predetermined priority, determine the first communication mode as the target communication mode.
[0196] In a possible implementation, the determination unit 100 is used to: obtain a current position of a target device corresponding to target data to be transmitted; and determine the second communication mode as the target communication mode in response to the current position exceeding a predetermined communication area corresponding to the first communication mode.
[0197] In a possible implementation, after transmitting the target data based on the target communication mode, the transmission unit 200 is further used to: in response to determining that the VLC is the target communication mode, 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 VLC.
[0198] In a possible implementation, the transmission unit 200 is used 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 through a light-emitting device for VLC; and the visible light signal carries an execution instruction corresponding to the predetermined event.
[0199] In a possible implementation, the transmission unit 200 is used to: determine the execution instructions of each of the execution devices corresponding to the predetermined event in response to the number of the execution devices being multiple; 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.
[0200] In one possible embodiment, the transmission unit 200 is used to: in response to it being night and / or the predetermined event being a non-emergency event, send execution instructions to multiple 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 it being daytime and / or the predetermined event being an emergency event, send execution instructions to multiple 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] An embodiment of the present application also provides a household appliance, comprising the communication control device described in any one or more of the aforementioned embodiments, or used to execute the communication control method described in any one or more of the aforementioned embodiments.
[0202] like Figure 8 As shown, an embodiment of the present 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, used for storing computer programs;
[0204] In one embodiment of the present application, the processor 111, when executing the program stored in the memory 113, implements the communication control method provided by any one or more of the aforementioned method embodiments, at least including: determining the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the 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 transmitting the target data based on the target communication mode.
[0205] In one possible implementation, the target communication mode is determined in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode, and at least one of the communication parameters of the second communication mode, including: acquiring a first transmission parameter of a target device corresponding to the target data to be transmitted, and a second transmission parameter of a 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 include 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 that the VLC is the target communication mode in response to the communication parameter being higher than a predetermined threshold, the method further includes: acquiring environmental parameters of the current light-emitting device; the environmental parameters include at least ambient light intensity and / or obstacle parameters; and determining a predetermined threshold based on the environmental parameters.
[0207] In one possible implementation, determining the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode, and at least one of 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; 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 mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode, and at least one of the communication parameters of the second communication mode includes: acquiring the current position of the target device corresponding to the target data to be transmitted; and determining the second communication mode as the target communication mode in response to the current position exceeding a predetermined communication area corresponding to the first communication mode.
[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 through a light-emitting device for VLC.
[0210] In one possible implementation, sending the execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for VLC includes: determining an 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 through the light-emitting device for VLC; the visible light signal carries the execution instruction corresponding to the predetermined event.
[0211] In one possible implementation, the sending of the execution instruction corresponding to the predetermined event to at least one execution device through a light-emitting device for VLC includes: in response to the number of the 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 based on visible light signals of different colors and / or different light intensities through the light-emitting device for VLC.
[0212] In one possible embodiment, the light-emitting device used for VLC sends different execution instructions to multiple execution devices based on visible light signals of different colors and / or different light intensities, including: in response to it being night 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 light intensity; the first light intensity is lower than a predetermined light intensity threshold; in response to it 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 light intensity; the second light intensity is higher than or equal to a predetermined light intensity threshold.
[0213] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the communication control method provided by any one or more of the aforementioned method embodiments are implemented.
[0214] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0215] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0216] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0217] In the absence of contradiction, each step in a certain implementation mode or example can be implemented as an independent example, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain implementation mode or example can also be implemented as an independent example, and the order of the steps in a certain implementation mode or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain implementation mode or example can be arbitrarily combined; in addition, the various implementation modes or examples can be arbitrarily combined. For example, some or all steps of different implementation modes or examples can be arbitrarily combined, and a certain implementation mode or example can be arbitrarily combined with the optional methods or optional examples of other implementation modes or examples.
[0218] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A communication control method, characterized in that: The method comprises: Determine a target communication mode in the first communication mode and the second communication mode based on 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 includes visible light communication VLC, and the second communication mode includes wireless local area network Wifi; The target data is transmitted based on the target communication mode.
2. The method according to claim 1, characterized in that The determining of the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the communication parameters of the second communication mode, comprises: Acquire a first transmission parameter of a target device corresponding to target data to be transmitted, and a second transmission parameter of a light emitting device for VLC; Determining a communication parameter of the VLC based on the first transmission parameter and the second transmission parameter; the communication parameter at least includes a signal strength parameter; In response to the communication parameter being higher than a predetermined threshold, determining the VLC as a target communication mode.
3. The method according to claim 2, characterized in that Before determining that the VLC is the target communication mode in response to the communication parameter being higher than a predetermined threshold, the method further includes: Acquire the current environmental parameters of the light emitting device; the environmental parameters at least include ambient light intensity and / or obstacle parameters; A predetermined threshold is determined based on the environmental parameter.
4. The method according to claim 1, characterized in that The determining of the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the communication parameters of the second communication mode, comprises: Determining 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, determining the second communication mode as the target communication mode; 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.
5. The method according to claim 1, characterized in that: The determining of the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the communication parameters of the second communication mode, comprises: Obtain the current location of the target device corresponding to the target data to be transmitted; In response to the current location exceeding a predetermined communication area corresponding to the first communication mode, the second communication mode is determined as a target communication mode.
6. The method according to claim 1, characterized in that After transmitting the target data based on the target communication mode, the method further includes: In response to determining that the VLC is a target communication mode, determining a predetermined event indicated by the target data; The execution instruction corresponding to the predetermined event is sent to at least one execution device through the light emitting device for VLC.
7. The method according to claim 6, characterized in that The sending the execution instruction corresponding to the predetermined event to at least one execution device through the light emitting device for VLC includes: determining an execution area where at least one execution device is located based on the predetermined event; A visible light signal is emitted toward the direction where the execution area is located by a light emitting device used for VLC; the visible light signal carries an execution instruction corresponding to the predetermined event.
8. The method according to claim 6, characterized in that The sending the execution instruction corresponding to the predetermined event to at least one execution device through the light emitting device for VLC includes: In response to the number of the execution devices being multiple, determining an execution instruction of each of the execution devices corresponding to the predetermined event; Different execution instructions are sent to multiple execution devices through a light emitting device for VLC based on visible light signals of different colors and / or different light intensities.
9. The method according to claim 8, characterized in that The sending different execution instructions to multiple execution devices based on visible light signals of different colors and / or different light intensities by the light emitting device for VLC includes: In response to the current night and / or the predetermined event being a non-emergency event, sending execution instructions 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 fact that it is currently daytime and / or the predetermined event is an emergency event, an execution instruction is sent to multiple execution devices based on a visible light signal of a second light intensity; the second light intensity is higher than or equal to a predetermined light intensity threshold.
10. A communication control device, characterized in that: The device comprises: A determination unit, configured to determine a target communication mode in the first communication mode and the second communication mode based on target data to be transmitted, a communication parameter of the first communication mode and a communication parameter of the second communication mode, wherein 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 mode.
11. A household appliance, characterized in that: The household appliance includes the communication control device according to claim 10.
12. A communication control system, characterized in that: The system comprises: a control terminal and at least one target device; The control end and / or the target device are used to determine the target communication mode in the first communication mode and the second communication mode based on the target data to be transmitted, the communication parameters of the first communication mode and at least one of the 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; the target data is transmitted based on the target communication mode.
13. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store a computer program; and the processor is used to implement the method according to any one of claims 1 to 9 when executing the computer program.
14. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Network transmission scheme based on joint of VLC (Visible Light Communication) and WiFi
CN105553553A
Network switching method based on visible light communication and related products
CN110417470A
Data transmission control method and related product
CN110505014A
Visible light communication method, device and equipment based on environment self-adaption and medium
CN118300686A
A method for implementation Priority MAC based on multi-parameter in visible light communication network
KR101291445B1
Cited By
Visible light communication system
CN121356685A