Information transmission method and device, computer readable storage medium and electronic equipment
By using broadcast mode instead of encoding and decoding in wireless communication networks, and by utilizing the number of communication channels and the combination of data packets to transmit information, the problem of information transmission delay is solved, and more efficient information transmission is achieved.
Patent Information
- Application Number
- CN202511685409.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-17
- Publication Date
- 2026-02-17
AI Technical Summary
The long information transmission delay in existing wireless communication networks is mainly due to the complex encoding and decoding processes required between nodes.
Different broadcast modes are used to represent information, replacing complex encoding and decoding processes by using a specific combination of the number of communication channels and the continuous transmission of data packets.
It effectively reduces information transmission latency, simplifies the encoding and decoding process, and improves transmission efficiency.
Smart Images

Figure CN121547735A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of wireless communication technology, and in particular relates to an information transmission method, apparatus, computer-readable storage medium and electronic device. Background Technology
[0002] In existing wireless communication networks, information transmission between nodes typically involves a complex encoding and decoding process: the sending node encodes the information and encapsulates it into data packets for transmission over the communication channel; the receiving node receives these data packets and decodes them to determine the information they carry. This method results in a long delay in information transmission because both the encoding and decoding processes at the sending and receiving nodes are time-consuming. Summary of the Invention
[0003] The inventors of this application recognized that in existing wireless communication networks, information transmission between nodes generally requires a complex encoding and decoding process, resulting in long information transmission delays. In view of this, this application provides an information transmission method, apparatus, computer-readable storage medium, and electronic device to solve the problem of long information transmission delays in the prior art.
[0004] The basic concept proposed by the inventors of this application is that, during information transmission, there is no need for complex encoding and decoding of information. Instead, different information is represented through different broadcast modes. A broadcast mode refers to the number of communication channels used and / or a specific combination of continuously sending a preset number of data packets in the communication channels. In this way, simple quantitative statistics replace the complex encoding and decoding process, which can effectively reduce the latency of information transmission.
[0005] A first aspect of this application provides an information transmission method applied to a transmitting node in a wireless communication network, the information transmission method including: Obtain the first target information; From at least one broadcast mode, a target broadcast mode corresponding to the first target information is determined; wherein, different broadcast modes represent different contents of the target information, and different broadcast modes correspond to different channel coding strategies, and the channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channel; According to the target broadcast mode, the preset number of data packets are continuously transmitted in the communication channel corresponding to the target broadcast mode.
[0006] In one specific implementation of the first aspect, the wireless communication network includes a wireless communication network applied to a lighting system, and the target information is a configuration and / or control command of the lighting system, wherein different control commands correspond to different broadcast modes.
[0007] In one specific implementation of the first aspect, determining the target broadcast mode corresponding to the first target information may include: If the first target information is a lighting turn-on command, the target broadcast mode is determined to be continuously sending a first number of data packets in any one of the communication channels; If the first target information is a lighting off command, the target broadcast mode is determined to be continuously sending a second number of data packets in any communication channel; wherein the second number is different from the first number.
[0008] In one specific implementation of the first aspect, determining the target broadcast mode corresponding to the first target information may include: If the first target information is a dimming command, the target broadcast mode is determined to be continuously sending a third number of data packets in the first communication channel, continuously sending a fourth number of data packets in the second communication channel, and continuously sending a fifth number of data packets in the third communication channel.
[0009] In one specific implementation of the first aspect, the third quantity, the fourth quantity, and the fifth quantity are combinations of quantities corresponding to the dimming level indicated in the dimming command, with different dimming levels corresponding to different combinations of quantities.
[0010] A second aspect of this application provides an information transmission method applied to a receiving node in a wireless communication network, the information transmission method including: Receive data packets from at least one communication channel; Determine the number of data packets received consecutively in the communication channel; Based on the number of data packets continuously received in the communication channel, a first target information corresponding to the target broadcast mode is determined; wherein, different broadcast modes represent different contents of the target information, and different broadcast modes correspond to different channel coding strategies, the channel coding strategy being determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channel.
[0011] In one specific implementation of the second aspect, the wireless communication network includes a wireless communication network applied to a lighting system, and the target information is the configuration and / or control commands of the lighting system, wherein different control commands correspond to different broadcast modes.
[0012] In one specific implementation of the second aspect, determining the first target information corresponding to the target broadcast mode based on the number of data packets continuously received in the communication channel may include: If the number of data packets received consecutively in any one of the communication channels is a first number, then the first target information is determined to be a lighting turn-on command; If the number of data packets continuously received in any one of the communication channels is a second number, the first target information is determined to be a lighting off command; wherein the second number is different from the first number.
[0013] In one specific implementation of the second aspect, determining the first target information corresponding to the target broadcast mode based on the number of data packets continuously received in the communication channel may include: If a third number of consecutive data packets are received in the first communication channel, a fourth number of consecutive data packets are received in the second communication channel, and a fifth number of consecutive data packets are received in the third communication channel, then the first target information is determined to be a dimming command.
[0014] In one specific implementation of the second aspect, the third quantity, the fourth quantity, and the fifth quantity are combinations of quantities corresponding to the dimming level indicated in the dimming command, with different dimming levels corresponding to different combinations of quantities.
[0015] A third aspect of this application provides an information transmission device applied to a transmitting node in a wireless communication network, the information transmission device including: The target information acquisition module is used to acquire the first target information; A broadcast mode determination module is used to determine the target broadcast mode corresponding to the first target information from at least one broadcast mode; wherein, different broadcast modes represent different contents of the target information, and different broadcast modes correspond to different channel coding strategies, and the channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels used. The data packet sending module is used to continuously send the preset number of data packets in the communication channel corresponding to the target broadcast mode, according to the target broadcast mode.
[0016] In one specific implementation of the third aspect, the wireless communication network includes a wireless communication network applied to a lighting system, and the target information is the configuration and / or control commands of the lighting system, wherein different control commands correspond to different broadcast modes.
[0017] In one specific implementation of the third aspect, the broadcast mode determination module may include: The first broadcast mode determining unit is configured to determine, when the first target information is a lighting turn-on command, that the target broadcast mode is to continuously send a first number of data packets in any one of the communication channels; The second broadcast mode determination unit is configured to determine, when the first target information is a lighting off command, that the target broadcast mode is to continuously send a second number of data packets in any communication channel; wherein the second number is different from the first number.
[0018] In one specific implementation of the third aspect, the broadcast mode determination module may include: The third broadcast mode determination unit is configured to determine, when the first target information is a dimming command, the target broadcast mode as continuously sending a third number of data packets in the first communication channel, continuously sending a fourth number of data packets in the second communication channel, and continuously sending a fifth number of data packets in the third communication channel.
[0019] In one specific implementation of the third aspect, the third quantity, the fourth quantity, and the fifth quantity are combinations of quantities corresponding to the dimming level indicated in the dimming command, with different dimming levels corresponding to different combinations of quantities.
[0020] A fourth aspect of this application provides an information transmission device applied to a receiving node in a wireless communication network, the information transmission device including: A data packet receiving module for receiving data packets from at least one communication channel; A data packet quantity determination module is used to determine the number of data packets continuously received in the communication channel; The target information determination module is used to determine the first target information corresponding to the target broadcast mode based on the number of data packets continuously received in the communication channel; wherein, different broadcast modes represent different content of the target information, and different broadcast modes correspond to different channel coding strategies, and the channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels used.
[0021] In one specific implementation of the fourth aspect, the wireless communication network includes a wireless communication network applied to the lighting system, and the target information is a configuration and / or control command for the lighting system, wherein different control commands correspond to different broadcast modes.
[0022] In one specific implementation of the fourth aspect, the target information determination module may include: The lighting turn-on command determination module is used to determine the first target information as a lighting turn-on command when the number of data packets continuously received in any one of the communication channels is a first number. The lighting off command determination module is used to determine the first target information as a lighting off command when the number of data packets continuously received in any one of the communication channels is a second number; wherein the second number is different from the first number.
[0023] In one specific implementation of the fourth aspect, the target information determination module may include: The dimming command determination module is used to determine that the first target information is a dimming command when a third number of consecutive data packets are received continuously in a first communication channel, a fourth number of consecutive data packets are received continuously in a second communication channel, and a fifth number of consecutive data packets are received continuously in a third communication channel.
[0024] In one specific implementation of the fourth aspect, the third quantity, the fourth quantity, and the fifth quantity are combinations of quantities corresponding to the dimming level indicated in the dimming command, with different dimming levels corresponding to different combinations of quantities.
[0025] A fifth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above-described information transmission methods.
[0026] A sixth aspect of this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the above-described information transmission methods.
[0027] A seventh aspect of this application provides a computer program product that, when run on an electronic device, causes the electronic device to perform the steps of any of the above-described information transmission methods.
[0028] An eighth aspect of this application provides a wireless communication network comprising: at least one transmitting node and at least one receiving node, wherein the transmitting node is configured to acquire first target information; determine a target broadcast mode corresponding to the first target information from at least one broadcast mode; and continuously transmit a preset number of data packets in a communication channel corresponding to the target broadcast mode according to the target broadcast mode. The receiving node is configured to receive data packets from at least one communication channel; determine the number of data packets continuously received in the communication channel; and determine the first target information corresponding to the target broadcast mode based on the number of data packets continuously received in the communication channel. Different broadcast modes represent different contents of the target information, and different broadcast modes correspond to different channel coding strategies. The channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously transmitting a preset number of data packets in the communication channel.
[0029] The beneficial effects of this application's embodiments compared to the prior art are as follows: In the information transmission process, this application's embodiments do not require complex encoding and decoding of information. Instead, different information is represented through different broadcast modes. A broadcast mode refers to the number of communication channels used and / or a specific combination of continuously sending a preset number of data packets within the communication channels. In this approach, simple quantity statistics replace complex encoding and decoding processes, effectively reducing information transmission latency. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 This is a schematic diagram of a wireless communication network according to an embodiment of this application; Figure 2 This is a flowchart of an embodiment of an information transmission method applied to a sending node in this application; Figure 3 This is a schematic diagram of the Bluetooth broadcasting and scanning process; Figure 4 A diagram illustrating the broadcast mode corresponding to the command to turn on lighting; Figure 5 A diagram illustrating the broadcast mode corresponding to the command to turn off lighting; Figure 6 This is a schematic diagram of the broadcast mode corresponding to the dimming command; Figure 7This is a flowchart of an embodiment of an information transmission method applied to a receiving node in this application; Figure 8 This is a structural diagram of an embodiment of an information transmission device applied to a sending node in this application. Figure 9 This is a structural diagram of an embodiment of an information transmission device applied to a receiving node in this application. Figure 10 This is a schematic block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0032] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0033] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0034] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0035] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0036] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [the described condition or event] is detected," or "in response to detection of [the described condition or event]."
[0037] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0038] The inventors of this application recognized that in existing wireless communication networks, information transmission between nodes generally requires a complex encoding and decoding process, resulting in long information transmission delays. In view of this, this application provides an information transmission method, apparatus, computer-readable storage medium, and electronic device to solve the problem of long information transmission delays in the prior art.
[0039] The basic concept proposed by the inventors of this application is that, during information transmission, there is no need for complex encoding and decoding of information. Instead, different information is represented through different broadcast modes. A broadcast mode refers to the number of communication channels used and / or a specific combination of continuously sending a preset number of data packets in the communication channels. In this way, simple quantitative statistics replace the complex encoding and decoding process, which can effectively reduce the latency of information transmission.
[0040] The method provided in the embodiments of this application can be applied to, for example, Figure 1 The wireless communication network shown includes multiple nodes, such as at least one transmitting node and at least one receiving node.
[0041] The sending and receiving nodes can communicate wirelessly. For example, they can use Bluetooth communication technology. The following embodiments will be described using Bluetooth communication technology as an example.
[0042] The wireless communication network provided in this application embodiment can be applied to any system, such as a lighting system. Taking the wireless communication network provided in this application embodiment as an example of a lighting system, the transmitting node can be a gateway node, and the receiving node can be a lighting node.
[0043] Optionally, both the transmitting node and the receiving node may have a first wireless communication module. This first wireless communication module is used to realize wireless communication between the transmitting node and the receiving node. For example, the first wireless communication module may refer to a Bluetooth mesh network module. The transmitting node and the receiving node form a Bluetooth mesh network and communicate through the Bluetooth mesh network protocol.
[0044] Optionally, taking the sending node as a gateway node as an example, the sending node may also include a second wireless communication module. This second wireless communication module enables wireless communication between the sending node and the server. For example, the second wireless communication module could be a cellular communication network module (equipped with a Subscriber Identity Module, SIM card). Then, the gateway node and the server form a cellular communication network, and the gateway node can receive target information from the server through the second wireless communication module. Examples include the following lighting switch commands, lighting off commands, and dimming commands.
[0045] For ease of understanding, this application will describe the sending and receiving nodes in detail separately. It is important to note that the role of any node in a wireless communication network during information transmission can change; that is, in one information transmission, the node can act as a sending node, while in another, it can act as a receiving node. For example, when a gateway node sends control commands to a lighting node, the gateway node can act as the sending node, and the lighting node can act as the receiving node; conversely, when the lighting node uploads various status information and alarms to the gateway node, the lighting node can act as the sending node, and the gateway node can act as the receiving node.
[0046] The following describes an embodiment of an information transmission method in this application, taking the transmitting node in a wireless communication network as the execution subject. Figure 2 As shown, the method may include: Step S201: Obtain the first target information.
[0047] The first target information can be any target information to be transmitted, and can be flexibly set according to the actual application scenario. This application embodiment does not make specific limitations on this.
[0048] As an example, in a wireless communication network applied to a lighting system, the target information transmitted can be the configuration and / or control commands of the lighting system. For instance, the lighting system configuration includes, but is not limited to, the configuration of voltage, current, and power; the control commands include, but are not limited to, lighting on commands, lighting off commands, and dimming commands. It is understood that a lighting on command instructs the lighting fixtures to be turned on, a lighting off command instructs the lighting fixtures to be turned off, and a dimming command instructs the adjustment of the lighting intensity.
[0049] It should be noted that the target information listed above is merely an example. In actual application scenarios, the target information transmitted can also be node fault information, grouping information, or other information. These types of information share the common characteristic of being relatively simple, making them easy to represent using different broadcast modes. This reduces information transmission latency, allowing receiving nodes to respond quickly.
[0050] Step S202: Determine the target broadcast mode corresponding to the first target information from at least one broadcast mode.
[0051] Different broadcast modes represent different target information, and different broadcast modes correspond to different channel coding strategies. The channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channel.
[0052] The wireless communication network in this application embodiment may include, but is not limited to, Bluetooth mesh network, Zigbee network, etc. For different wireless communication networks, information can be transmitted through different communication channels.
[0053] Taking Bluetooth mesh networks as an example, such as Figure 2 As shown, information can be transmitted through three Bluetooth broadcast channels: channel 37 (center frequency 2.402 GHz), channel 38 (center frequency 2.426 GHz), and channel 39 (center frequency 2.480 GHz). To improve the success rate of the receiving node, the sending node can broadcast the information multiple times (e.g., at least three times), with a preset advertising interval between two consecutive broadcasts. Correspondingly, the receiving node can scan the three Bluetooth broadcast channels sequentially at preset scan intervals, i.e., according to preset scan windows. For example, it scans channel 37 in the first scan interval window, channel 38 in the second scan interval window, channel 39 in the third scan interval window, channel 37 in the fourth scan interval window, channel 38 in the fifth scan interval window, and so on.
[0054] The number of data packets continuously transmitted in channel 37 will be denoted as Num here. 37 The number of data packets continuously transmitted in channel 38 is denoted as Num. 38 The number of data packets continuously transmitted in channel 37 is denoted as Num. 39 , where Num 37 Num 38Num 39 All values are greater than or equal to 0. When the number of consecutively transmitted data packets in a channel is 0, it means that the channel is not being used for information transmission. 37 Num 38 Num 39 Different combinations of values can form different broadcast patterns, each used to represent different target information.
[0055] The specific correspondence between the broadcast mode and the target information can be flexibly set according to the actual situation, and this application embodiment does not impose specific limitations on this.
[0056] In this embodiment, a lighting off command and a lighting on command can be represented by sending a preset number of data packets according to a first preset rule in at least one communication channel. A dimming command can be represented by sending a preset number of data packets according to a second preset rule in at least one communication channel.
[0057] The following example uses the first preset rule: continuously sending a first number of data packets to represent a lighting on command, and continuously sending a second number of data packets to represent a lighting off command.
[0058] In one specific implementation of this application, when the first target information is a lighting turn-on command, the target broadcast mode can be determined to be continuously sending a first number of data packets in any communication channel; when the first target information is a lighting turn-off command, the target broadcast mode can be determined to be continuously sending a second number of data packets in any communication channel. The second number is different from the first number, and their specific values can be flexibly set according to actual conditions. This application does not specifically limit this. As an example, the first number can be set to 3, and the second number can be set to 4.
[0059] Taking Bluetooth mesh networks as an example, such as Figure 3 As shown, sending three consecutive data packets in any one of the three Bluetooth broadcast channels (channels 37, 38, and 39) indicates a lighting-on command. Figure 4 As shown, sending four data packets consecutively in any one of the three Bluetooth broadcast channels, channel 37, channel 38, and channel 39, represents a lighting off command.
[0060] In one specific implementation of this application, when the first target information is a lighting turn-on command, the target broadcast mode can be determined as continuously sending a first number of first data packets in any communication channel. In another specific implementation of this application, when the first target information is a lighting turn-off command, the target broadcast mode can be determined as continuously sending a first number of second data packets in any communication channel. The first data packets and the second data packets are different.
[0061] For example, the first data packet carries first indication information or a first flag, and the second data packet carries second indication information or a second flag. The first flag or first indication information indicates that the lighting is on. The second indication information or second flag indicates that the lighting is off. For example, the first indication information or first flag can be 0, and the second indication information or second flag can be 1.
[0062] Of course, the first preset rule in this application embodiment can also refer to: continuously sending N data packets in a specific communication channel to represent a lighting on command, and continuously sending N data packets in another specific communication channel to represent a lighting off command. Taking N=4 as an example, for instance, continuously sending 4 data packets in channel 37 to represent a lighting on command, and continuously sending 4 data packets in channel 38 to represent a lighting off command. Alternatively, continuously sending 4 data packets in channels 37 and 38 respectively to represent a lighting on command, and continuously sending 4 data packets in channels 38 and 39 respectively to represent a lighting off command.
[0063] The first preset rule in this application embodiment can also refer to: continuously sending N consecutive data packets in a communication channel to represent a lighting on command, and intermittently sending N data packets in a communication channel according to a preset period to represent a lighting off command. For example, continuously sending 4 data packets in channel 37 to represent a lighting on command, and intermittently sending 3 data packets in channel 38 to represent a lighting off command.
[0064] The following example uses the second preset rule: continuously sending a first number of data packets in multiple communication channels to represent a lighting turn-on command, and continuously sending a second number of data packets in multiple communication channels to represent a lighting turn-off command.
[0065] In one specific implementation of this application, when the first target information is a dimming command, the target broadcast mode can be determined as continuously sending a third number of data packets in a first communication channel, continuously sending a fourth number of data packets in a second communication channel, and continuously sending a fifth number of data packets in a third communication channel. The third, fourth, and fifth numbers are combinations of quantities corresponding to the dimming level indicated in the dimming command. The third, fourth, and fifth numbers can be the same or different; for example, they can increase or decrease according to a preset amount of change. Different dimming levels can correspond to different combinations of quantities, and the specific correspondence between dimming levels and quantity combinations can be flexibly set according to actual conditions. This application does not specifically limit this.
[0066] Taking Bluetooth mesh networks as an example, such as Figure 5 As shown, continuously transmitting one data packet in channel 37, two data packets in channel 38, and three data packets in channel 39 represents 75% dimming. Similarly, continuously transmitting two data packets in channel 37, one data packet in channel 38, and two data packets in channel 39 represents 50% dimming. Continuously transmitting three data packets in channel 37, two data packets in channel 38, and one data packet in channel 39 represents 25% dimming, and so on.
[0067] In one specific implementation of this application, when the first target information is a dimming command, the target broadcast mode can be determined to be the continuous transmission of a first number of combined data packets across multiple communication channels to represent the dimming command. Different dimming levels correspond to different data packets.
[0068] For example, a data packet with 75% dimming carries a third indication or a third marker, a data packet with 50% dimming carries a fourth indication or a fourth marker, and a data packet with 25% dimming carries a fifth indication or a fifth marker. The third marker or third indication indicates 75% dimming, the fourth marker or fourth indication indicates 50% dimming, and the fifth marker or fifth indication indicates 25% dimming. For example, the third indication or third marker could be 75, the fourth marker or fourth indication could be 50, and the fifth marker or fifth indication could be 25.
[0069] Of course, the second preset rule in this application embodiment can also refer to: continuously sending a first combination of data packets in a specific communication channel group to represent a lighting dimming command. Different dimming levels correspond to different communication channel groups. For example, a communication channel group includes two communication channels, and the first combination consists of 3 data packets and 4 data packets in the two communication channels respectively. Continuously sending 3 data packets in channel 37 and 4 data packets in channel 38 represents 75% dimming; continuously sending 3 data packets in channel 37 and 4 data packets in channel 39 represents 50% dimming; continuously sending 3 data packets in channel 38 and 4 data packets in channel 39 represents 25% dimming.
[0070] Step S203: According to the target broadcast mode, continuously send a preset number of data packets in the communication channel corresponding to the target broadcast mode.
[0071] Since this application embodiment replaces the complex encoding and decoding process with simple quantity statistics, it focuses on the number of data packets in the communication channel and does not care about the specific data of the data packets. Therefore, in a specific implementation of this application embodiment, the data in the data packets can be set to empty to shorten the length of the data packets, thereby reducing the probability of data packet collisions and improving its anti-interference ability.
[0072] Corresponding to the aforementioned sending node, the following will describe an embodiment of an information transmission method in this application, with the receiving node in a wireless communication network as the executing entity. Figure 7 As shown, the method may include: Step S701: Receive data packets from at least one communication channel.
[0073] Step S702: Determine the number of data packets continuously received in the communication channel.
[0074] Step S703: Determine the first target information corresponding to the target broadcast mode based on the number of data packets continuously received in the communication channel.
[0075] Different broadcast modes represent different target information, and each broadcast mode corresponds to a different channel coding strategy. The channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels. As an example, in a wireless communication network applied to a lighting system, the target information transmitted can be the configuration and / or control commands of the lighting system.
[0076] In one specific implementation of the embodiments of this application, corresponding to Figure 4In the broadcast mode shown, if the number of data packets continuously received in any communication channel is a first quantity, the first target information can be determined to be a lighting turn-on command; corresponding to Figure 5 In the broadcast mode shown, if the number of data packets continuously received in any communication channel is the second number, the first target information can be determined to be a lighting off command. Here, the second number differs from the first number.
[0077] In one specific implementation of the embodiments of this application, corresponding to Figure 6 In the broadcast mode shown, if a third number of consecutive data packets are received continuously in the first communication channel, a fourth number of consecutive data packets are received continuously in the second communication channel, and a fifth number of consecutive data packets are received continuously in the third communication channel, the first target information can be determined to be a dimming command. Here, the third, fourth, and fifth numbers are combinations of quantities corresponding to the dimming levels indicated in the dimming command; different dimming levels correspond to different combinations of quantities.
[0078] It's easy to understand that the process at the receiving node is the reverse of that at the sending node. That is, the sending node performs a mapping from target information to broadcast mode, while the receiving node performs a mapping from broadcast mode to target information. Both nodes share the same specific correspondence between broadcast mode and target information. Details not elaborated on in the receiving node section can be found in the aforementioned description of the sending node, and will not be repeated here.
[0079] Combining the aforementioned information transmission methods applied to the sending node and the receiving node respectively, the following will focus on... Figure 1 The Bluetooth mesh network used in a lighting system is shown as an example to describe the complete information transmission process in detail.
[0080] When control of the lighting system is required, control commands can be sent from the server to the gateway node. Upon receiving a control command, the gateway node can determine the corresponding broadcast mode based on the correspondence between broadcast modes and control commands, and then send data packets according to that broadcast mode. For example, sending three consecutive data packets in any one of the three Bluetooth broadcast channels (channels 37, 38, and 39) represents a lighting-on command; sending four consecutive data packets in any one of these channels represents a lighting-off command; sending one consecutive data packet in channel 37, two consecutive data packets in channel 38, and three consecutive data packets in channel 39 represents 75% dimming; sending two consecutive data packets in channel 37, one consecutive data packet in channel 38, and two consecutive data packets in channel 39 represents 50% dimming; sending three consecutive data packets in channel 37, two consecutive data packets in channel 38, and one consecutive data packet in channel 39 represents 25% dimming, and so on.
[0081] Other nodes can scan the Bluetooth broadcast channel and count the number of consecutive data packets detected. If the number of consecutive data packets matches a certain broadcast pattern, the corresponding control command can be determined based on the correspondence between the broadcast pattern and the control command. The nodes can then execute actions such as turning lights on, off, or dimming according to this control command. Simultaneously, the control command can be relayed throughout the network according to this broadcast pattern.
[0082] In summary, the embodiments of this application do not require complex encoding and decoding of information during transmission; instead, different information is represented through different broadcast modes. In this approach, simple statistical analysis replaces the complex encoding and decoding process, effectively reducing information transmission latency.
[0083] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0084] Corresponding to the information transmission method applied to the sending node in the above embodiments, Figure 8 This illustration shows a structural diagram of an embodiment of an information transmission device applied to a sending node, as provided in this application.
[0085] In this application embodiment, an information transmission device may include: Target information acquisition module 801 is used to acquire first target information; The broadcast mode determination module 802 is used to determine the target broadcast mode corresponding to the first target information from at least one broadcast mode; wherein, different broadcast modes represent different contents of the target information, and different broadcast modes correspond to different channel coding strategies, and the channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels used. The data packet sending module 803 is used to continuously send the preset number of data packets in the communication channel corresponding to the target broadcast mode, according to the target broadcast mode.
[0086] In one specific implementation of this application, the wireless communication network includes a wireless communication network applied to a lighting system, and the target information is the configuration and / or control commands of the lighting system, wherein different control commands correspond to different broadcast modes.
[0087] In one specific implementation of this application embodiment, the broadcast mode determination module may include: The first broadcast mode determining unit is configured to determine, when the first target information is a lighting turn-on command, that the target broadcast mode is to continuously send a first number of data packets in any one of the communication channels; The second broadcast mode determination unit is configured to determine, when the first target information is a lighting off command, that the target broadcast mode is to continuously send a second number of data packets in any communication channel; wherein the second number is different from the first number.
[0088] In one specific implementation of this application embodiment, the broadcast mode determination module may include: The third broadcast mode determination unit is configured to determine, when the first target information is a dimming command, the target broadcast mode as continuously sending a third number of data packets in the first communication channel, continuously sending a fourth number of data packets in the second communication channel, and continuously sending a fifth number of data packets in the third communication channel.
[0089] In one specific implementation of this application, the third quantity, the fourth quantity, and the fifth quantity are combinations of quantities corresponding to the dimming level indicated in the dimming command, and different dimming levels correspond to different combinations of quantities.
[0090] Corresponding to the information transmission method applied to the receiving node in the above embodiments, Figure 9 This illustration shows a structural diagram of an embodiment of an information transmission device applied to a receiving node, as provided in this application.
[0091] In this application embodiment, an information transmission device may include: The data packet receiving module 901 is used to receive data packets from at least one communication channel; The data packet quantity determination module 902 is used to determine the number of data packets continuously received in the communication channel; The target information determination module 903 is used to determine the first target information corresponding to the target broadcast mode based on the number of data packets continuously received in the communication channel; wherein, different broadcast modes represent different contents of the target information, and different broadcast modes correspond to different channel coding strategies, and the channel coding strategy is determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels used.
[0092] In one specific implementation of this application, the wireless communication network includes a wireless communication network applied to a lighting system, and the target information is the configuration and / or control commands of the lighting system, wherein different control commands correspond to different broadcast modes.
[0093] In one specific implementation of this application embodiment, the target information determination module may include: The lighting turn-on command determination module is used to determine the first target information as a lighting turn-on command when the number of data packets continuously received in any one of the communication channels is a first number. The lighting off command determination module is used to determine the first target information as a lighting off command when the number of data packets continuously received in any one of the communication channels is a second number; wherein the second number is different from the first number.
[0094] In one specific implementation of this application embodiment, the target information determination module may include: The dimming command determination module is used to determine that the first target information is a dimming command when a third number of consecutive data packets are received continuously in a first communication channel, a fourth number of consecutive data packets are received continuously in a second communication channel, and a fifth number of consecutive data packets are received continuously in a third communication channel.
[0095] In one specific implementation of this application, the third quantity, the fourth quantity, and the fifth quantity are combinations of quantities corresponding to the dimming level indicated in the dimming command, and different dimming levels correspond to different combinations of quantities.
[0096] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0097] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0098] Figure 10 A schematic block diagram of an electronic device provided in an embodiment of this application is shown. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0099] like Figure 10 As shown, the electronic device 10 of this embodiment includes: a processor 100, a memory 101, and a computer program 102 stored in the memory 101 and executable on the processor 100. When the processor 100 executes the computer program 102, it implements the steps in the various information transmission method embodiments described above, for example... Figure 2 Steps S201 to S203 shown, or, Figure 7 Steps S701 to S703 are shown.
[0100] For example, the computer program 102 may be divided into one or more modules / units, which are stored in the memory 101 and executed by the processor 100 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 102 in the electronic device 10.
[0101] Those skilled in the art will understand that Figure 10 This is merely an example of electronic device 10 and does not constitute a limitation on electronic device 10. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device 10 may also include input / output devices, network access devices, buses, etc.
[0102] The processor 100 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0103] The memory 101 can be an internal storage unit of the electronic device 10, such as a hard disk or memory of the electronic device 10. The memory 101 can also be an external storage device of the electronic device 10, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the electronic device 10. Furthermore, the memory 101 can include both internal and external storage units of the electronic device 10. The memory 101 is used to store the computer program and other programs and data required by the electronic device 10. The memory 101 can also be used to temporarily store data that has been output or will be output.
[0104] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0105] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0106] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0107] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0108] 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 units can be selected to achieve the purpose of this embodiment according to actual needs.
[0109] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0110] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable storage medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.
[0111] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. An information delivery method, characterized by, A transmitting node applied in a wireless communication network, the information transmission method comprising: obtaining a first target information; determining a target broadcast mode corresponding to the first target information from at least one broadcast mode; wherein different broadcast modes represent different contents of target information, and different broadcast modes correspond to different channel coding strategies, which are determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels; continuously sending the preset number of data packets in the communication channels corresponding to the target broadcast mode according to the target broadcast mode.
2. The information delivery method of claim 1, wherein, The wireless communication network comprises a wireless communication network applied to a lighting system, and the target information is a configuration and / or control command of the lighting system, wherein different control commands correspond to different broadcast modes.
3. The information delivery method of claim 2, wherein, The determination of the target broadcast mode corresponding to the first target information comprises: in the case that the first target information is a lighting-on command, determining that the target broadcast mode is continuously sending a first number of data packets in any one of the communication channels; in the case that the first target information is a lighting-off command, determining that the target broadcast mode is continuously sending a second number of data packets in any one of the communication channels; wherein the second number is different from the first number.
4. The information delivery method of claim 2, wherein, The determination of the target broadcast mode corresponding to the first target information comprises: in the case that the first target information is a dimming command, determining that the target broadcast mode is continuously sending a third number of data packets in a first communication channel, continuously sending a fourth number of data packets in a second communication channel, and continuously sending a fifth number of data packets in a third communication channel.
5. The information delivery method of claim 4, wherein, The third number, the fourth number and the fifth number are a number combination corresponding to a dimming level indicated in the dimming command, and different dimming levels correspond to different number combinations.
6. An information delivery method, characterized by, A receiving node applied in a wireless communication network, the information transmission method comprising: receiving data packets from at least one communication channel; determining the number of data packets continuously received in the communication channel; determining a first target information corresponding to a target broadcast mode according to the number of data packets continuously received in the communication channel; wherein different broadcast modes represent different contents of target information, and different broadcast modes correspond to different channel coding strategies, which are determined based on the number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the communication channels.
7. The information delivery method of claim 6, wherein, The wireless communication network comprises a wireless communication network applied to a lighting system, and the target information is a configuration and / or control command of the lighting system, wherein different control commands correspond to different broadcast modes.
8. The information delivery method of claim 7 wherein, The determination of the first target information corresponding to the target broadcast mode according to the number of data packets continuously received in the communication channel comprises: In a case that a number of data packets continuously received in any one of the communication channels is a first number, the first target information is determined as a lighting-on command; In a case that a number of data packets continuously received in any one of the communication channels is a second number, the first target information is determined as a lighting-off command; wherein the second number is different from the first number.
9. The information delivery method of claim 7 wherein, The determining the first target information corresponding to a target broadcast mode according to the number of data packets continuously received in the communication channels comprises: In a case that a third number of continuous data packets are continuously received in a first communication channel, a fourth number of continuous data packets are continuously received in a second communication channel, and a fifth number of continuous data packets are continuously received in a third communication channel, the first target information is determined as a dimming command.
10. The information delivery method of claim 9, wherein, The third number, the fourth number and the fifth number are a number combination corresponding to a dimming level indicated in the dimming command, and different dimming levels correspond to different number combinations.
11. An information delivery apparatus, characterized by comprising: The information transmission device applied to a sending node in a wireless communication network comprises: A target information obtaining module, configured to obtain a first target information; A broadcast mode determining module, configured to determine a target broadcast mode corresponding to the first target information from at least one broadcast mode; wherein different broadcast modes represent different contents of target information, and different broadcast modes correspond to different channel coding strategies, which are determined based on a number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the used communication channels; A data packet sending module, configured to continuously send the preset number of data packets in the communication channels corresponding to the target broadcast mode according to the target broadcast mode.
12. An information delivery apparatus, characterized by comprising: The information transmission device applied to a receiving node in a wireless communication network comprises: A data packet receiving module, configured to receive data packets from at least one communication channel; A data packet number determining module, configured to determine a number of data packets continuously received in the communication channels; A target information determining module, configured to determine a first target information corresponding to a target broadcast mode according to the number of data packets continuously received in the communication channels; wherein different broadcast modes represent different contents of target information, and different broadcast modes correspond to different channel coding strategies, which are determined based on a number of communication channels used by the broadcast mode and / or a specific combination of continuously sending a preset number of data packets in the used communication channels.
13. A computer-readable storage medium, the computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the information transmission method according to any one of claims 1 to 5, or implement the steps of the information transmission method according to any one of claims 6 to 10.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the information transmission method according to any one of claims 1 to 5, or implement the steps of the information transmission method according to any one of claims 6 to 10.