A data transmission system, a data sending method and a data receiving method
By switching radio frequency and increasing communication rate between imaging equipment and gateway equipment, the problem of co-channel interference in wireless radio frequency communication is solved, and the data transmission effect is improved without increasing hardware costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2026-03-31
AI Technical Summary
In the field of wireless radio frequency communication technology, how to improve the data transmission effect between imaging equipment and gateway equipment without increasing hardware costs, especially to improve the success rate and efficiency of data transmission in the presence of co-channel interference.
By switching radio frequency and/or increasing communication rate between the imaging device and the gateway device, the target communication parameters are switched to for data transmission, avoiding co-channel interference and improving communication rate.
Without increasing hardware costs, the success rate and efficiency of data transmission between imaging equipment and gateway equipment have been improved, and the impact of co-channel interference has been reduced.
Smart Images

Figure CN119789152B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless radio frequency communication technology, and in particular to a data transmission system, a data transmission and data reception method. Background Technology
[0002] Currently, with the continuous development of wireless radio frequency communication technology, data transmission systems relying on wireless communication are being used more and more widely in various fields, such as environmental monitoring and the Internet of Things.
[0003] Among the aforementioned data transmission systems, there is a tree-network structure data transmission system that includes multiple sensors, multiple imaging devices, and gateway devices. The sensors, imaging devices, and gateway devices in this data transmission system all have wireless modules, thereby forming a wireless radio frequency communication network for information transmission.
[0004] Taking a camera as an imaging device as an example, such as Figure 1 As shown, in the aforementioned data transmission system, the gateway (gateway device) can connect to several cameras, and each camera can connect to several sensors. In this data transmission system, the sensors can send the environmental information they have collected to the cameras, and the cameras can send the aforementioned environmental information, as well as environmental data determined based on the environmental images they have collected, to the gateway (gateway device). Furthermore, the gateway (gateway device) can configure the camera parameters and perform wireless upgrades by sending configuration information, upgrade information, and other data to the cameras.
[0005] In the aforementioned data transmission system, how to improve the data transmission effect between any imaging device and the gateway device without increasing hardware costs is an urgent problem to be solved. Summary of the Invention
[0006] The purpose of this application is to provide a data transmission system, a data sending method, and a data receiving method to improve the data transmission effect between any imaging device and a gateway device in the data transmission system without increasing hardware costs. The specific technical solution is as follows:
[0007] In a first aspect, embodiments of this application provide a data transmission system, the system comprising: a gateway device, a plurality of imaging devices wirelessly connected to the gateway device, and a plurality of sensors wirelessly connected to each imaging device;
[0008] Each imaging device communicates with a sensor that is wirelessly connected via preset communication parameters; wherein, the preset communication parameters include a preset radio frequency frequency and / or a preset communication rate;
[0009] The first device of the system is configured to send a parameter switching request to the second device of the system when it is determined that there is data to be sent, and send the data to be sent to the second device through the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0010] The second device is configured to receive the parameter switching request; switch its own communication parameters to the target communication parameters; and receive the data to be sent through the target communication parameters.
[0011] Wherein, the first device is any one of the gateway device and the plurality of imaging devices; when the first device is the gateway device, the second device is any one of the imaging devices; when the first device is any one of the imaging devices, the second device is the gateway device.
[0012] Alternatively, in one specific implementation,
[0013] The second device is further configured to send a response signal to the first device when it receives the parameter switching request, and to switch its own communication parameters back to the preset switching parameters after the data to be sent is received; wherein, the response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters;
[0014] The first device is also configured to receive the response signal and switch its own communication parameters to the target communication parameters; after the data to be sent is sent, it switches its own communication parameters back to the preset communication parameters.
[0015] Optionally, in one specific implementation, the first device is the gateway device and the second device is any imaging device, and each imaging device communicates with the gateway device through the target communication parameters;
[0016] The imaging device is also configured to switch its own communication parameters to the target communication parameters when sending data to the gateway device, and to switch its own communication parameters to the preset communication parameters when communicating with a sensor connected to wireless communication.
[0017] Optionally, in one specific implementation, the imaging device is further used for:
[0018] After the data to be sent has been received, the device switches its communication parameters back to the preset communication parameters.
[0019] Alternatively, in one specific implementation,
[0020] The imaging device is specifically used to receive environmental data collected by itself from a sensor connected via wireless communication through the preset radio frequency.
[0021] The amount of environmental data is less than the amount of data to be sent.
[0022] Alternatively, in one specific implementation,
[0023] When the first device is the gateway device and the second device is any imaging device, the data to be sent includes at least: configuration information or upgrade information of any imaging device;
[0024] When the first device is any imaging device and the second device is the gateway device, the data to be sent includes at least one of the following: environmental data, environmental information, and intelligent information; wherein the environmental information includes: environmental images and / or environmental videos collected by any imaging device, and the intelligent information includes at least: alarm information obtained by any imaging device through information processing based on the environmental data and / or the environmental information.
[0025] Secondly, embodiments of this application provide a data transmission method applied to a first device in a data transmission system. The system includes: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device; each imaging device communicates with the wirelessly connected sensors through preset communication parameters, the preset communication parameters including a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the multiple imaging devices; the method includes:
[0026] After determining the data to be sent, a parameter switching request is sent to the second device of the system, so that the second device receives the parameter switching request and switches its own communication parameters to the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0027] The data to be sent is transmitted to the second device through the target communication parameters, so that the second device receives the data to be sent through the target communication parameters.
[0028] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0029] Thirdly, embodiments of this application provide a data receiving method applied to a second device in a data transmission system. The system includes: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Each imaging device communicates with the wirelessly connected sensors via preset communication parameters, including a preset radio frequency frequency and / or a preset communication rate. The second device is any one of the gateway device and the multiple imaging devices. The method includes:
[0030] The system receives a parameter switching request sent by a first device; wherein the parameter switching request is sent by the first device to the second device after determining the data to be sent.
[0031] The device switches its own communication parameters to the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0032] The system receives the data to be sent from the first device via the target communication parameters.
[0033] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0034] Fourthly, embodiments of this application provide a data transmission apparatus, applied to a first device in a data transmission system. The system includes: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device; each imaging device communicates with the wirelessly connected sensors via preset communication parameters, including a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the multiple imaging devices; the apparatus includes:
[0035] The request sending module is used to send a parameter switching request to a second device in the system after determining the data to be sent, so that the second device receives the parameter switching request and switches its own communication parameters to the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0036] A data transmission module is used to send the data to be transmitted to the second device through the target communication parameters, so that the second device can receive the data to be transmitted through the target communication parameters;
[0037] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0038] Fifthly, embodiments of this application provide a data receiving device, a second device applied in a data transmission system, the system comprising: a gateway device, a plurality of imaging devices wirelessly connected to the gateway device, and a plurality of sensors wirelessly connected to each imaging device; each imaging device communicates with the wirelessly connected sensors through preset communication parameters, the preset communication parameters including a preset radio frequency frequency and / or a preset communication rate; the second device is any one of the gateway device and the plurality of imaging devices; the device comprises:
[0039] A request receiving module is used to receive a parameter switching request sent by a first device in the system; wherein the parameter switching request is sent by the first device to the second device after determining the data to be sent;
[0040] A parameter switching module is used to switch its own communication parameters to the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0041] A data receiving module is used to receive the data to be sent sent by the first device through the target communication parameters.
[0042] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0043] Sixthly, embodiments of this application provide an electronic device, which is a gateway device in a data transmission system and any one of a plurality of imaging devices. The gateway device is wirelessly connected to the plurality of imaging devices. The system further includes: a plurality of sensors wirelessly connected to each imaging device; the electronic device includes:
[0044] Memory, used to store computer programs;
[0045] When a processor executes a program stored in memory, it implements the data transmission method provided in the second aspect above, and / or the data reception method provided in the third aspect above.
[0046] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the data transmission method provided in the second aspect above, and / or the data reception method provided in the third aspect above.
[0047] Eighthly, embodiments of this application provide a computer program product containing instructions that, when run on a computer, cause the computer to execute the data transmission method provided in the second aspect above, and / or the data reception method provided in the third aspect above.
[0048] Beneficial effects of the embodiments in this application:
[0049] As can be seen from the above, the data transmission system using the scheme provided in this application includes a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Specifically, a first device for data transmission and a second device for data reception can be determined from the gateway device and the multiple imaging devices. When the first device is the gateway device, the second device is any of the imaging devices; conversely, when the first device is any of the imaging devices, the second device is the gateway device. Thus, when any imaging device transmits data with the gateway device, the second device can switch radio frequency and / or increase the communication rate, thereby allowing the first device and the second device to transmit data according to the switched radio frequency and / or increased communication rate.
[0050] In this system, when the sensor, imaging device, and gateway device all transmit data at a preset radio frequency, data transmission between other imaging devices and connected sensors can cause co-channel interference during data transmission between any two imaging devices and the gateway device. Therefore, switching the radio frequency can prevent this co-channel interference from affecting the data transmission between the imaging device and the gateway device, while also not affecting the data transmission between other imaging devices and connected sensors, thus improving the success rate of data transmission. Furthermore, since the amount of data transmitted between the imaging device and the gateway is often large, increasing the communication rate can improve the data transmission efficiency between them.
[0051] Based on this, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0052] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0054] Figure 1 This is a schematic diagram of a data transmission system that uses a camera as an imaging device;
[0055] Figure 2 This is a schematic diagram of the structure of a data transmission system provided in an embodiment of this application;
[0056] Figure 3 A signaling interaction diagram between a first device and a second device in a data transmission system provided in this application embodiment;
[0057] Figure 4 Another signaling interaction diagram between a first device and a second device in a data transmission system provided in this application embodiment;
[0058] Figure 5 for Figure 1 The diagram shows a data transmission process between any camera and a gateway device in the data transmission system shown.
[0059] Figure 6 A flowchart illustrating a data transmission method provided in an embodiment of this application;
[0060] Figure 7 A flowchart illustrating a data receiving method provided in an embodiment of this application;
[0061] Figure 8 This is a schematic diagram of the structure of a first device in a data transmission system provided in an embodiment of this application;
[0062] Figure 9This is a schematic diagram of the structure of a second device in a data transmission system provided in an embodiment of this application;
[0063] Figure 10 This is a schematic diagram of the structure of an electronic device in a data transmission system provided in an embodiment of this application. Detailed Implementation
[0064] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0065] Currently, there exists a data transmission system with a tree-like network structure that includes multiple sensors, multiple imaging devices, and gateway devices. In this data transmission system, the sensors, imaging devices, and gateway devices all have wireless modules, thus forming a wireless radio frequency communication network for information transmission. However, how to improve the data transmission effect between any imaging device and the gateway device without increasing hardware costs is an urgent problem to be solved.
[0066] To address the aforementioned technical problems, embodiments of this application provide a data transmission system.
[0067] One embodiment of this application provides a data transmission system comprising: a gateway device, a plurality of imaging devices wirelessly connected to the gateway device, and a plurality of sensors wirelessly connected to each imaging device;
[0068] Each imaging device communicates with a sensor that is wirelessly connected via preset communication parameters; wherein, the preset communication parameters include a preset radio frequency frequency and / or a preset communication rate;
[0069] The first device of the system is configured to send a parameter switching request to the second device of the system when it is determined that there is data to be sent, and send the data to be sent to the second device through the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0070] The second device is configured to receive the parameter switching request; switch its own communication parameters to the target communication parameters; and receive the data to be sent through the target communication parameters.
[0071] Wherein, the first device is any one of the gateway device and the plurality of imaging devices; when the first device is the gateway device, the second device is any one of the imaging devices; when the first device is any one of the imaging devices, the second device is the gateway device.
[0072] As can be seen from the above, the data transmission system using the scheme provided in this application includes a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Specifically, a first device for data transmission and a second device for data reception can be determined from the gateway device and the multiple imaging devices. When the first device is the gateway device, the second device is any of the imaging devices; conversely, when the first device is any of the imaging devices, the second device is the gateway device. Thus, when any imaging device transmits data with the gateway device, the second device can switch radio frequency and / or increase the communication rate, thereby allowing the first device and the second device to transmit data according to the switched radio frequency and / or increased communication rate.
[0073] In this system, when the sensor, imaging device, and gateway device all transmit data at a preset radio frequency, data transmission between other imaging devices and connected sensors can cause co-channel interference during data transmission between any two imaging devices and the gateway device. Therefore, switching the radio frequency can prevent this co-channel interference from affecting the data transmission between the imaging device and the gateway device, while also not affecting the data transmission between other imaging devices and connected sensors, thus improving the success rate of data transmission. Furthermore, since the amount of data transmitted between the imaging device and the gateway is often large, increasing the communication rate can improve the data transmission efficiency between them.
[0074] Based on this, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0075] Before describing the data transmission system provided in the embodiments of this application, the relevant concepts involved in the embodiments of this application will be briefly explained first.
[0076] 1. Tree Network: Also known as a multi-star network, a tree network contains multiple computing centers, but there is little information exchange between computing centers at the same level. The main information exchange occurs between terminals and their connected computing centers, as well as between computing centers at different levels. The top-level host (computing center) has the ability to manage the entire network. A tree network is composed of multiple levels of a star topology connected vertically, with each node in the tree being a computing center or a switching device. Generally, the closer to the root of the tree, the better the performance of the node devices.
[0077] For example, such as Figure 1 The data transmission system shown is a tree-like network structure, in which the gateway device is the top-level host and the root of the tree; each camera and each sensor is a node in the tree, and multiple cameras are computing centers at the same level; the gateway device and each camera are computing centers at different levels, and each camera and each connected sensor are computing centers at different levels.
[0078] 2. Co-channel interference: This refers to interference caused by two or more signals with the same carrier frequency, which affects the receiver receiving the same frequency signal. This interference will reduce the signal-to-noise ratio of the receiver and affect the communication quality.
[0079] In other words, when a set of data transmitting and receiving devices transmit data at one radio frequency, if another set of data transmitting and receiving devices transmits data at the same radio frequency at the same time, the signal carrier frequencies of the signals transmitted in the two data transmissions will be the same, and they will interfere with each other in the data receiving device. This will reduce the signal-to-noise ratio of the data receiving device, affect the quality of the signal received by the data receiving device, and reduce the success rate of data transmission.
[0080] 3. Adjacent channel interference: refers to the mutual interference between signals of adjacent or close channels. Since FM signals contain an infinite number of sideband components, when some of these sideband components fall into the passband of an adjacent channel receiver, adjacent channel interference will occur, which will also affect communication quality.
[0081] In other words, when a set of data transmitting and receiving devices transmit data at a radio frequency, if another set of data transmitting and receiving devices simultaneously transmit data at adjacent radio frequencies with a small frequency difference, the carrier frequencies of the signals transmitted in the two data transmissions will be close. As a result, some signal components will fall into the channel of the other data receiving device, thus interfering with the data receiving device, affecting the quality of the signal received by the data receiving device, and even reducing the success rate of data transmission.
[0082] The following is a detailed description of a data transmission system provided in an embodiment of this application, with reference to the accompanying drawings.
[0083] Figure 2 This is a schematic diagram of the structure of a data transmission system provided in an embodiment of this application, such as... Figure 2 As shown, the data transmission system includes: a gateway device 210, a plurality of imaging devices 220 wirelessly connected to the gateway device 210, and a plurality of sensors 230 wirelessly connected to each imaging device 220.
[0084] Among them, such as Figure 2 As shown, in the data transmission system provided in this embodiment, one imaging device 220 can connect to multiple sensors 230, meaning one imaging device 220 can establish a wireless communication connection with the multiple sensors 230; and one gateway device 210 can connect to multiple imaging devices 220, meaning one gateway device 210 can establish a wireless communication connection with the multiple imaging devices 220. Based on this, the gateway device 210, the multiple sensors 230, and the multiple imaging devices 220 can form a multi-star network, i.e., a tree network. Therefore, the data transmission system provided in this embodiment is a tree network structure system.
[0085] In the aforementioned data transmission system, the imaging device 220 can be a visible light imaging device or a thermal imaging device; this application embodiment does not specifically limit this.
[0086] Each imaging device 220 is used to communicate with a sensor 230 connected to wireless communication via preset communication parameters; wherein the preset communication parameters include a preset radio frequency frequency and / or a preset communication rate.
[0087] In the aforementioned data transmission system, sensor 230 can collect surrounding environmental information, assemble the collected environmental information into a specific wireless message, and send the wireless message to the imaging device 220 to which it is connected. The amount of data in the wireless message sent by sensor 230 to imaging device 220 is relatively small.
[0088] Typically, sensor 230 has fixed communication parameters such as preset radio frequency frequency and preset communication rate, which are determined at the time of manufacture and are related to the hardware configuration of sensor 230 and cannot be changed. Therefore, each imaging device can communicate with sensor 230, which is wirelessly connected, through preset communication parameters, which may include the fixed preset radio frequency frequency and / or preset communication rate of sensor 230.
[0089] That is, the sensor 230 can send the environmental information it collects to the imaging device 220 connected by wireless communication through the above-mentioned preset communication parameters, and the imaging device 220 can receive the environmental information sent by each sensor 230 connected by wireless communication through the above-mentioned preset communication parameters.
[0090] Optionally, in one specific implementation, in the above data transmission system, any imaging device 220 is specifically used to receive environmental data collected by itself from the sensor 230 connected via wireless communication through a preset radio frequency; wherein, the amount of the environmental data is less than the amount of the data to be transmitted.
[0091] Optionally, the sensor 230 can send the environmental information it has collected to the imaging device 220 connected via wireless communication at specified time intervals, using the aforementioned preset communication parameters. That is, when setting up the aforementioned data transmission system, the radio frequency between the sensor 230 and the imaging device 220 connected via wireless communication can be preset so that the sensor 230 can actively send the environmental information it has collected to the imaging device 220 via wireless communication according to the aforementioned radio frequency.
[0092] The aforementioned radio frequency can be the same as the acquisition frequency of sensor 230. That is, the specified duration can be the interval between two consecutive environmental information acquisitions by sensor 230. Thus, sensor 230 can actively send the acquired environmental information to the imaging device 220 with its wireless communication connection after each acquisition. Alternatively, the aforementioned radio frequency can be different from the acquisition frequency of sensor 230. Considering that sensor 230 needs to send its acquired environmental information to imaging device 220, the aforementioned radio frequency can be lower than the acquisition frequency. That is, the specified duration can be greater than the interval between two consecutive environmental information acquisitions by sensor 230. Typically, the specified duration can be an integer multiple of the interval between two consecutive environmental information acquisitions by sensor 230.
[0093] Furthermore, since the same imaging device 220 transmits data to multiple sensors 230 connected to wireless communication through the same preset communication parameters, when at least two of the multiple sensors 230 simultaneously send the aforementioned environmental information to the imaging device 220, the data transmission between the different sensors 230 and the imaging device 220 will cause co-channel interference to each other's data transmission, affecting the quality of the environmental information received by the imaging device 220 and reducing the success rate of data transmission.
[0094] Optionally, the imaging device 220 can sequentially poll each of the sensors 230 connected to its wireless communication network. When polling each sensor 230, the imaging device 220 can send a data acquisition request to that sensor 230. Upon receiving the data acquisition request, the sensor 230 can respond to the request and send its collected environmental information to the imaging device 220 via the preset communication parameters. In other words, when polling each sensor 230, the imaging device 220 can receive the environmental information sent by that sensor 230 via the preset communication parameters.
[0095] In this way, for the same imaging device 220, the multiple sensors 230 connected to it wirelessly send environmental information to the imaging device 220 in sequence through the above-mentioned preset communication parameters. Therefore, in each data transmission process, only one sensor 230 participates in the data transmission process, thereby avoiding the mutual interference caused by multiple sensors 230 transmitting data with the same imaging device 220 at the same time.
[0096] In the aforementioned data transmission system, imaging device 220 can also acquire images of the surrounding environment, process these images internally, and output data such as images, videos, and intelligent information. Furthermore, imaging device 220 can identify wireless messages sent by the connected sensor 230, extract the environmental information acquired by the sensor 230 from these messages, and integrate this environmental information into its own data. Thus, imaging device 220 can send the environmental information acquired by sensor 230, its own data (e.g., acquired environmental images, internally processed alarm data, intelligent data), and other data to gateway device 210. The data sent by imaging device 220 to gateway device 210 is relatively large, and may include binary data, images, and videos. After receiving the data from imaging device 220, gateway device 210 can process the data internally or interact with upper-level devices. For example, it can upload the data to a central platform via a wired network, or it can provide audible and visual alerts or alarm outputs based on the internal processing results. In other words, the imaging device 220 can be used as a first device for data transmission to send data to the gateway device 210. The data sent to the gateway device 210 can be called the data to be transmitted, and the gateway device 210 can be used as a second device for data reception.
[0097] In the case where the first device is any imaging device 220 and the second device is the gateway device 210, the imaging device 220 can generate data to be sent based on the environmental information received from the sensors 230 it is connected to, for example, by directly using the environmental information as the data to be sent; it can also generate data to be sent based on the environmental image of its own environment, for example, by processing the environmental image to obtain processing result data such as object recognition result intelligent data and alarm data, and use it as the data to be sent; it can also generate data to be sent based on the environmental information and the environmental image, for example, by processing the environmental image to obtain processing result data such as object recognition result intelligent data and alarm data, and integrating the processing result data with the environmental information to obtain the data to be sent.
[0098] Based on this, in one optional implementation, when the first device is any imaging device 220 and the second device is the gateway device 210, the data to be sent includes at least one of environmental data, environmental information, and intelligent information; wherein, the environmental information includes environmental images and / or environmental videos collected by any imaging device 220 as the first device, and the intelligent information includes at least alarm information obtained by any imaging device 220 as the first device through information processing based on the environmental data and / or the environmental information.
[0099] As mentioned above, in this specific implementation, the environmental data is environmental data collected by the sensor 230, which is wirelessly connected to any of the imaging devices 220 as the first device. Furthermore, the amount of the environmental data is less than the amount of data to be transmitted determined by any of the imaging devices 220 as the first device.
[0100] Optionally, if the first device is any imaging device 220 and the second device is the gateway device 210, the imaging device 220 may actively initiate the data transmission process as the first device.
[0101] In this context, considering that after receiving data from imaging device 220, gateway device 210 needs to perform internal processing and forwarding operations such as forwarding the received data to upper-layer devices, in order to ensure that the data to be sent determined by imaging device 220 can be processed promptly by gateway device 210, imaging device 220 can act as the first device to actively initiate a data transmission process. Thus, imaging device 220 can actively send data to gateway device 210. For example, imaging device 220 can actively initiate a data transmission process at a certain transmission frequency, that is, imaging device 220 can actively send the aforementioned data to be sent to gateway device 210 at a certain transmission frequency.
[0102] Optionally, if the first device is any imaging device 220 and the second device is the gateway device 210, the imaging device 220 may passively initiate the data transmission process as the first device under the trigger of the gateway device 210.
[0103] In this process, the gateway device 210 can poll each imaging device 220 sequentially. When polling each imaging device 220, the gateway device 210 can send a data acquisition request to that imaging device 220. Upon receiving the data acquisition request, the imaging device 220 can respond to the data acquisition request to determine that it is the first device for this data transmission. Thus, the imaging device 220 can determine the data to be sent and initiate the data transmission process as the first device.
[0104] Furthermore, the gateway device 210 can also send device configuration data, device upgrade data, and other data to the imaging device 220 via a wireless communication connection to perform operations such as parameter configuration and wireless upgrades of the imaging device 220. The amount of data sent by the gateway device 210 to the imaging device 220 is also relatively large. That is, the gateway device 210 can act as a first device for data transmission, sending data to any imaging device 220. The data sent to any imaging device can then become the data to be transmitted, and that imaging device 220 can act as a second device for data reception.
[0105] Accordingly, in one optional implementation, when the first device is a gateway device 210 and the second device is any imaging device 220, the data to be transmitted includes at least the configuration information or upgrade information of the imaging device 220. Furthermore, the amount of environmental data collected by the sensor 230 wirelessly connected to the imaging device 220 is less than the amount of data to be transmitted determined by the gateway device 210.
[0106] Accordingly, when any imaging device 220, as a second device, receives the configuration information sent by the gateway device 210, it can change its current configuration information based on the configuration information; or, when any imaging device 220, as a second device, receives the upgrade information sent by the gateway device 210, it can upgrade the device based on the upgrade information.
[0107] Optionally, if the first device is a gateway device 210 and the second device is any imaging device 220, the gateway device 210 may actively initiate the data transmission process as the first device.
[0108] When the gateway device 210 determines that the imaging device 220 needs to be configured or upgraded, it can identify the imaging device 220 that needs to be configured or upgraded and designate it as the second device. Thus, the gateway device 210 can determine the configuration information or upgrade information of the imaging device 220 as the second device and send it as data to be sent. Then, the gateway device 210 can initiate the data transmission process as the first device and actively send the data to be sent to the imaging device 220 as the second device.
[0109] Accordingly, when the imaging device 220, as the second device, receives the aforementioned data to be transmitted, if the data to be transmitted includes configuration information, the imaging device 220 can change its current configuration information based on the configuration information to complete the parameter configuration of itself; if the data to be transmitted includes upgrade information, the imaging device 220 can upgrade its device based on the upgrade information to complete the device upgrade of itself.
[0110] Optionally, when the first device is a gateway device 210 and the second device is any imaging device 220, the gateway device 210 can passively initiate the data transmission process as the first device when triggered by the imaging device 220.
[0111] When imaging device 220 detects that it needs parameter configuration or device upgrade, it can send a configuration information retrieval request or upgrade information retrieval request to gateway device 210. Upon receiving the configuration information retrieval request or upgrade information retrieval request, gateway device 210 can respond to the request to determine that it is the first device in this data transmission. Thus, gateway device 210 can determine the configuration information or upgrade information of imaging device 220 as data to be sent and initiate the data transmission process as the first device.
[0112] As can be seen from the above, the first device can act as a data transmitter for sending data, while the second device can act as a data receiver for receiving data. In the above data transmission system, the gateway device 210 can send data to the imaging device 220, and the imaging device 220 can also send data to the gateway device 210. Therefore, in the data transmission between the gateway device 210 and the imaging device 220, both the gateway device 210 and the imaging device 220 can act as the first device. Specifically, when the gateway device 210 acts as the first device, any imaging device 220 can act as the second device, and the gateway device 210 sends data to that imaging device 220 acting as the second device. Conversely, when any imaging device 220 acts as the first device, the gateway device 210 can act as the second device, and the imaging device 220 acting as the first device sends data to the gateway device 210. Furthermore, when the gateway device 210 is the first device, any imaging device 220 can be the second device, meaning that any one of the multiple imaging devices 220 can be the second device, and multiple imaging devices 220 can be the second devices during a single data transmission process.
[0113] Based on this, in the embodiments of this application, the first device of the data transmission system can be any one of the gateway device 210 and the plurality of imaging devices 220; and when the first device is the gateway device 210, the second device of the data transmission system is any one of the imaging devices 220, and when the first device is any one of the imaging devices 220, the second device of the data transmission system is the gateway device 210.
[0114] The first device is configured to send a parameter switching request to the second device when it is determined that there is data to be sent, and send the data to be sent to the second device through the target communication parameters carried in the parameter request.
[0115] The second device is used to receive a parameter switching request; switch its own communication parameters to the target communication parameters carried in the parameter switching request; and receive the data to be sent through the target communication parameters.
[0116] The target communication parameters include the target radio frequency and / or the target communication rate. The target radio frequency is different from the preset radio frequency mentioned above, and the target communication rate is greater than the preset communication rate mentioned above.
[0117] As mentioned above, in the data transmission system described above, data transmission (wireless communication interaction) can occur between the imaging device 220 and the gateway device 210. Furthermore, although the sensor 230 can actively send data to the imaging device 220 via wireless communication, or passively send data to the imaging device 220 when it is polled by the imaging device 220, regardless of the data transmission method used, the sensor 230 can only send data unidirectionally to the imaging device 220. Moreover, the preset radio frequency frequency, preset communication rate, and other communication parameters used by the sensor 230 and the imaging device 220 for communication are fixed and cannot be changed.
[0118] Since the sensor 230 has fixed communication parameters such as preset radio frequency and preset communication rate, the sensor 230 communicates with the imaging device 220 through these fixed preset radio frequency and preset communication rate parameters. In the aforementioned related technologies, if the imaging device 220 and the gateway device 210 still use the aforementioned preset radio frequency and preset communication rate when transmitting data, two problems will arise.
[0119] The first problem is that when the preset communication rate is low, the amount of data transmitted between the imaging device 220 and the gateway device 210 is often large, so the data transmission time between the imaging device 220 and the gateway device 210 is long, which will affect the communication efficiency of the entire data transmission system.
[0120] The second problem is that during data transmission between imaging device 220 and gateway device 210, if other imaging devices 220 also transmit data to the wirelessly connected sensor 230, the simultaneous data transmissions will cause co-channel interference because they use the same radio frequency. This interference will cause them to affect each other. For example, the data transmission between other imaging devices 220 and the wirelessly connected sensor 230 will cause co-channel interference to the data transmission between the current imaging device 220 and gateway device 210, resulting in communication failures for all of the simultaneous data transmissions and affecting the data transmission success rate.
[0121] Based on this, in this embodiment of the application, each time a data transmission process is initiated between the imaging device 220 and the gateway device 210 in the above-mentioned data transmission system, the first device, as the data sending end, can send a parameter switching request to the second device, as the data receiving end, when it is determined that there is data to be sent, so that the second device switches its own communication parameters to the target communication parameters carried in the parameter switching request, thereby enabling the first device and the second device to perform line data transmission through the target communication parameters.
[0122] In order to solve the problem caused by the same preset radio frequency and preset communication rate for data transmission between the imaging device 220, the gateway device 210 and the sensor 230, the radio frequency and / or communication rate used for data transmission between the imaging device 220 and the gateway device 210 can be changed. Therefore, the target communication parameters may include the target radio frequency and / or the target communication rate, and the target communication rate is greater than the preset communication rate, and the target radio frequency is different from the preset radio frequency.
[0123] Optionally, in one specific implementation, the target communication parameters include a target radio frequency, and the frequency difference between the target radio frequency and the preset radio frequency is greater than a specified difference.
[0124] In this specific implementation, the target radio frequency is different from the preset radio frequency. In order to avoid adjacent channel interference caused by the target radio frequency and the preset radio frequency being too close to each other when data is transmitted simultaneously on the communication channel where the target radio frequency is located and the communication channel where the preset radio frequency is located, the target radio frequency and the preset radio frequency should not be too close to each other, but should have a large interval. Therefore, the frequency difference between the target radio frequency and the preset radio frequency can be greater than a specified difference to avoid the adjacent channel interference.
[0125] Optionally, in one specific implementation, the target communication parameters include a target radio frequency; before sending a parameter switching request to the second device, the first device is further configured to select a target radio frequency from a preset frequency range corresponding to the data transmission system as the target communication parameter, and generate a parameter switching request carrying the target communication parameter.
[0126] Different data transmission systems correspond to different preset frequency ranges, and each radio frequency within the preset frequency range of each data transmission system is different from the preset radio frequency of the sensor in that data transmission system.
[0127] In this specific implementation, in some cases, multiple data transmission systems provided in the embodiments of this application may exist in the same scenario. When data transmission between the first device and the second device exists simultaneously in multiple data transmission systems, in order to prevent co-channel interference between different systems caused by the first device and the second device transmitting data through the same radio frequency during the above-mentioned data transmission process, different preset frequency ranges can be set for different data transmission systems. The preset frequency ranges corresponding to different data transmission systems are different, and each radio frequency in the preset frequency range corresponding to each data transmission system is different from the preset radio frequency of the sensor in the data transmission system.
[0128] Thus, each time a data transmission process is initiated between the imaging device 220 and the gateway device 210 in the aforementioned data transmission system, the first device, upon determining that data to be transmitted exists, first selects a target radio frequency from the preset frequency range corresponding to its own data transmission system as the target communication parameter, and generates a parameter switching request carrying the target communication parameter. Then, it sends the aforementioned data parameter request to the second device. Based on this, when data transmission between the first and second devices exists simultaneously in multiple data transmission systems, the first and second devices in different data transmission systems use different target radio frequencies for data transmission, which can avoid co-channel interference between different systems.
[0129] The first device can select the target radio frequency within the preset frequency range in various ways, such as randomly selecting the target radio frequency within the preset frequency range.
[0130] Then, the second device receives the parameter switching request and can obtain the target communication parameters carried in the parameter request. The second device can then switch its own communication parameters to the target communication parameters.
[0131] In this way, the first device and the second device can transmit data through the target communication parameters. That is, the first device sends the data to be sent to the second device through the target communication parameters, and the second device receives the data to be sent through the target communication parameters.
[0132] For example, when the target communication parameters include a target radio frequency, the first device and the second device can transmit data at the preset communication rate on the communication channel where the target radio frequency is located; as another example, when the target communication parameters include a target communication rate, the first device and the second device can transmit data at the target communication rate on the communication channel where the preset radio frequency is located; and as yet another example, when the target communication parameters include both a target radio frequency and a target communication rate, the first device and the second device can transmit data at the target communication rate on the communication channel where the target radio frequency is located.
[0133] As mentioned above, Figure 3 This is a signaling interaction diagram between a first device and a second device in a data transmission system provided in an embodiment of this application.
[0134] S301: The first device determines the data to be sent.
[0135] S302: After determining the data to be sent, the first device sends a parameter switching request to the second device.
[0136] S303: The second device receives a parameter switching request.
[0137] S304: The second device switches its own communication parameters to the target communication parameters carried in the parameter switching request.
[0138] S305: The first device sends the data to be sent to the second device according to the target communication parameters.
[0139] S306: The second device receives the data to be sent through the target communication parameters.
[0140] As can be seen from the above, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0141] As mentioned above, since the preset radio frequency and preset communication rate of the sensor 230 are fixed, in the prior art, in order to achieve normal communication of the entire data transmission system, the radio frequency and communication rate used by the imaging device 220 and the gateway device 210 to communicate are usually set to be consistent with the preset radio frequency and preset communication rate of the sensor 230. As a result, the above-mentioned problems such as co-channel interference and low communication efficiency are generated.
[0142] Considering that the communication parameters such as the radio frequency and communication rate of the gateway device 210 and the imaging device 220 are adjustable in many cases, when data transmission occurs between the gateway device 210 and the imaging device 220, the communication parameters such as the radio frequency and communication rate of the gateway device 210 and the imaging device 220 can be switched so that the communication parameters used for data transmission between the gateway device 210 and the imaging device 220 are different from the preset communication parameters of the sensor 230. This solves the problems of co-channel interference and low communication efficiency. When the data transmission between the gateway device 210 and the imaging device 220 ends, the communication parameters such as the radio frequency and communication rate of the gateway device 210 and the imaging device 220 are switched back to the preset communication parameters of the sensor 230 to avoid affecting the subsequent data transmission of the data acquisition system. For example, it does not affect the subsequent data transmission between the sensor 230 and the imaging device 220 which is wirelessly connected.
[0143] Based on this, one possible specific implementation method is as follows:
[0144] The second device is also used to send a response signal to the first device when it receives the above-mentioned parameter switching request, and to switch its own communication parameters to the above-mentioned preset communication parameters after the above-mentioned data to be sent has been received.
[0145] The aforementioned response signal is used to indicate that the second device agrees to switch its communication parameters to the target communication parameters.
[0146] The first device is also used to receive the aforementioned response signal and switch its own communication parameters to the target communication parameters; after the aforementioned data to be sent is sent, it switches its own communication parameters back to the aforementioned preset communication parameters.
[0147] In this specific implementation, each time a data transmission process is initiated between the imaging device 220 and the gateway device 210 in the aforementioned data transmission system, the first device as the data sender and the second device as the data receiver need to negotiate the target communication parameters used by the two during this data transmission process.
[0148] Therefore, upon receiving the parameter switching request carrying the target communication parameters, the second device can determine whether it agrees to switch its own communication parameters to the target communication parameters. If it agrees to the switch, the second device can send a response signal to the first device in response to the parameter switching request and switch its own communication parameters to the target communication parameters. The response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters.
[0149] Subsequently, upon receiving the response signal, the first device can determine that the second device agrees to switch its communication parameters to the target communication parameters. Therefore, the first device can switch its communication parameters to the target communication parameters after receiving the response signal.
[0150] As mentioned above, the target communication parameters may include a target radio frequency and / or a target communication rate. Therefore, when the target communication parameters include a target radio frequency, both the first device and the second device can switch their own radio frequency from the preset radio frequency to a target radio frequency different from the preset radio frequency. When the target communication parameters include a target communication rate, both the first device and the second device can switch their own communication rate from a preset communication rate to a target communication rate greater than the preset communication rate. Furthermore, when the target communication parameters include both a target radio frequency and a target communication rate, both the first device and the second device can switch their own radio frequency to the target radio frequency and their own communication rate to the target communication rate.
[0151] Furthermore, after the first device and the second device complete the switching of the target communication parameters, they can transmit data using the switched target communication parameters. That is, the first device can send the data to be sent to the second device using the target communication parameters, and the second device can receive the data to be sent using the target communication parameters.
[0152] Subsequently, since the preset radio frequency and preset communication rate of sensor 230 are fixed, in order not to affect subsequent data transmission in the aforementioned data acquisition system, for example, not to affect subsequent data transmission between sensor 230 and imaging device 220, the first device can switch its communication parameters back to the preset communication parameters when sending all the data to be sent to the second device. Similarly, the second device can switch its communication parameters back to the preset communication parameters after receiving all the data to be sent by the first device. In other words, the first device can switch its communication parameters back to the preset communication parameters after sending the data to be sent, and the second device can switch its communication parameters back to the preset communication parameters after receiving the data to be sent.
[0153] For example, when the target communication parameters include a target radio frequency, both the first device and the second device can switch their own radio frequency from the target radio frequency back to a preset radio frequency; when the target communication parameters include a target communication rate, both the first device and the second device can switch their own communication rate from the target communication rate back to a preset communication rate; furthermore, when the target communication parameters include both the target radio frequency and the target communication rate, both the first device and the second device can switch their own radio frequency back to a preset radio frequency and their own communication rate back to a preset communication rate.
[0154] As mentioned above, after the first and second devices have completed transmitting the data to be sent, they can switch back to their original communication parameters (preset communication parameters) to perform their respective subsequent linkage processing. Optionally, if any transmission abnormality occurs during the transmission of the data to be sent, both the first and second devices can switch their communication parameters back to their original communication parameters (preset communication parameters) so as not to affect the next communication interaction between the imaging device 220 and the connected sensor 230, as well as between other imaging devices 220 and the gateway device 210.
[0155] In other words, in this specific implementation, to improve the data transmission effect between the imaging device 220 and the gateway device 210, a protocol can be used to negotiate the radio frequency and / or communication rate each time data transmission is initiated between the imaging device 220 and the gateway device 210 in the aforementioned data transmission system. This protocol specifies the target radio frequency and / or target communication rate to which they will switch. After negotiation, the imaging device 220 and the gateway device 210 can each switch to the agreed target radio frequency and / or target communication rate for data transmission, and after data transmission is completed, they can switch back to their original communication parameters (preset communication parameters). This facilitates the imaging device 220's continued reception of environmental data sent by the connected sensor 230, and enables the gateway device 210 to conduct subsequent communication with other imaging devices 220.
[0156] Since both the imaging device 220 and the gateway device 210 can act as data transmitters, and as mentioned above, data transmission between the imaging device 220 and the gateway device 210 can be achieved through methods such as active polling by the gateway device 210 or passive reception of requests by the gateway device 210, the initiator of each data transmission between the imaging device 220 and the gateway device 210, i.e., the device acting as the data transmitter for each data transmission, is not fixed. Consequently, the requester for the aforementioned communication parameter switching is not fixed, i.e., the sender of the aforementioned parameter switching request is not fixed.
[0157] As mentioned above, Figure 4 This diagram illustrates the signaling interaction between a first device and a second device in a data transmission system provided for this specific implementation. Figure 4 As shown, in this specific implementation, the signaling interaction between the first device and the second device may include the following steps S401-S410.
[0158] S401: The first device determines the data to be sent.
[0159] S402: After determining the data to be sent, the first device sends a parameter switching request to the second device.
[0160] S403: The second device receives a parameter switching request.
[0161] S404: The second device sends a response signal to the first device in response to the parameter switching request.
[0162] S405: The second device switches its own communication parameters to the target communication parameters carried in the parameter switching request.
[0163] S406: The first device receives the response signal and switches its own communication parameters to the target communication parameters.
[0164] S407: The first device sends the data to be sent to the second device through the target communication parameters.
[0165] S408: The second device receives the data to be sent through the target communication parameters.
[0166] S409: After the first device has completed sending the data to be sent, it switches its own communication parameters back to the preset communication parameters.
[0167] S410: After the second device has finished receiving the data to be sent, it switches its communication parameters back to the preset communication parameters.
[0168] Furthermore, with Figure 1 Taking the data transmission system shown as an example, when the target communication parameters include the target radio frequency and the target communication rate, Figure 5 This is a flowchart illustrating the data transmission process between any camera and a gateway device in a data transmission system, as provided for this specific implementation. Figure 5 As shown, the camera or gateway (gateway device) on the left is the first device, and the camera or gateway (gateway device) on the right is the second device. The above data transmission process may include the following steps S501-S509.
[0169] S501: Request to switch radio frequency and communication parameters.
[0170] In this embodiment, the first device on the left sends a radio frequency and communication parameter switching request to the second device on the right. This radio frequency and communication parameter switching request is the parameter switching request in this specific implementation, and the target communication parameters carried by the parameter switching request include the target radio frequency frequency and the target communication rate.
[0171] S502: Response to switching of radio frequency and communication parameters.
[0172] In this embodiment, the second device on the right sends a radio frequency and communication parameter switching response to the first device on the left. This radio frequency and communication parameter switching response is the response signal to the parameter switching request in this specific implementation, which indicates that the second device on the right agrees to switch the radio frequency to the target radio frequency and the communication rate to the target communication rate.
[0173] S503: Frequency switching and increased communication rate.
[0174] Upon receiving the aforementioned radio frequency and communication parameter switching response, the first device on the left switches its own communication frequency and increases its communication rate, that is, it switches its own radio frequency to the target radio frequency and switches its own communication rate to the target communication rate.
[0175] S504: Frequency switching and increased communication rate.
[0176] The second device on the right agrees to switch its radio frequency to the target radio frequency and its communication rate to the target communication rate. Therefore, after sending the above-mentioned radio frequency and communication parameter switching response to the first device on the left, the second device on the right switches its frequency and increases its communication rate according to its own communication parameters, that is, it switches its own radio frequency to the target radio frequency and its own communication rate to the target communication rate.
[0177] S505: Big data sending and receiving processing.
[0178] In this system, the first device on the left transmits data to the second device on the right using the switched target radio frequency and target communication rate. The second device on the right receives the data and processes it accordingly. Because the amount of data transmitted between the camera and the gateway is large, this data can be referred to as big data.
[0179] S506: Switch back to the original frequency and communication rate.
[0180] In this embodiment, the first device on the left can switch back to the original frequency and communication rate after the data to be sent is completed. The original frequency and communication rate are the preset radio frequency and preset communication rate of the sensor in this application embodiment.
[0181] S507: Switch back to the original frequency and communication rate.
[0182] After receiving the data to be sent, the second device on the right can switch back to the original frequency and communication rate, which are the preset radio frequency and preset communication rate of the sensor in this embodiment.
[0183] S508: Subsequent linkage processing.
[0184] Once the data transmission between the first device on the left and the second device on the right is complete, the camera or gateway on the left can continue with subsequent operations. For example, the camera can receive environmental data sent by the sensor connected via wireless communication, the camera or gateway can participate in the next data transmission as a second device, the gateway can upload data to the central platform as a data transmission device, provide audible and visual prompts, and output alarms.
[0185] S509: Subsequent linkage processing.
[0186] Once the data transmission between the first device on the left and the second device on the right is complete, the camera or gateway on the right can continue with subsequent operations. For example, the camera can receive environmental data sent by the sensor connected via wireless communication, the camera or gateway can participate in the next data transmission as the first device, the gateway can upload data to the central platform as a data transmission device, provide audible and visual prompts, and output alarms.
[0187] As mentioned earlier, sensor 230 typically has fixed communication parameters such as a preset radio frequency frequency and a preset communication rate. In some cases, gateway device 210 also has fixed communication parameters such as a fixed radio frequency frequency and a fixed communication rate. For example, gateway device 210 communicates with imaging device 220 using the aforementioned target radio frequency frequency and target communication rate, and these target radio frequency frequency and target communication rate are fixed and cannot be changed. Specifically, as mentioned earlier, the target radio frequency is different from the preset radio frequency; the target communication rate is greater than the preset communication rate.
[0188] Therefore, to ensure normal communication throughout the data transmission system, when communicating with the gateway device 210, the imaging device 220 switches its communication parameters to those of the gateway device 210 to achieve data transmission. Conversely, when communicating with the sensor 230, the imaging device 220 switches its communication parameters to those of the sensor 230 to achieve data transmission. In other words, during data transmission, the gateway device 210 and the sensor 230 maintain fixed and unchangeable communication parameters, while the imaging device 220 switches between the communication parameters of the gateway device 210 and the preset communication parameters of the sensor 230.
[0189] As described above, when the first device is the gateway device 210 and the second device is any imaging device 220, the gateway device 210 can send a parameter switching request carrying target communication parameters to the imaging device 220, causing the imaging device 220 to switch its communication parameters and communicate with the gateway device 210 through the target communication parameters, that is, to receive the data to be sent by the gateway device 210 through the target communication parameters. The target communication parameters are the fixed and unchangeable communication parameters of the gateway device 210.
[0190] Accordingly, when any imaging device 220 sends data to the gateway device 210 as a data sender, the imaging device 220 can actively switch its own communication parameters to the aforementioned target communication parameters.
[0191] Based on this, in one optional implementation, if the first device is a gateway device 210 and the second device is any imaging device 220, then each imaging device 220 communicates with the gateway device 210 through the target communication parameters.
[0192] Accordingly, in this specific implementation, the imaging device 220 is also used to switch its own communication parameters to the target communication parameters when sending data to the gateway device 210, and to switch its own communication parameters to the preset communication parameters when communicating with the wirelessly connected sensor 230.
[0193] In this specific implementation, when the first device is the gateway device 210 and the second device is any imaging device 220, the target communication parameters are the fixed and unchangeable communication parameters of the gateway device 210. Each imaging device 220 communicates with the gateway device 210 through the target communication parameters, and each imaging device 220 communicates with the wirelessly connected sensor 230 through the preset communication parameters of the sensor 230. Furthermore, when sending data to the gateway device 210 as a data sender, each imaging device 220 switches its own communication parameters to the target communication parameters; and when receiving data from the wirelessly connected sensor 230 as a data receiver, each imaging device 220 switches its own communication parameters to the preset communication parameters of the wirelessly connected sensor 230.
[0194] As described above, when the communication parameters between the gateway device 210 and the sensor 230 remain fixed and unchangeable, with the first device being the gateway device 210 and the second device being any imaging device 220, and each imaging device 220 communicating with the gateway device 210 via the target communication parameters, the gateway device 210 sends a parameter switching request carrying the target communication parameters to the imaging device 220. This causes the imaging device 220 to switch its own communication parameters to the target communication parameters and receive the data to be transmitted from the gateway device 210 via the target communication parameters. After receiving the data to be transmitted, to ensure subsequent data transmission between the imaging device 220 and the wirelessly connected sensor 230, and to enable the imaging device 220 to receive data transmitted by the wirelessly connected sensor 230, the imaging device 220 can switch its own communication parameters back from the target communication parameters to the preset communication parameters.
[0195] Based on this, in one optional implementation, the imaging device 220 is also used to switch its own communication parameters back to preset communication parameters after the data to be sent has been received.
[0196] In this specific implementation, when the first device is a gateway device 210 and the second device is any imaging device 220, the imaging device 220, as a data receiving end, can continue to receive data sent by the sensor 230 via wireless communication after receiving the data to be sent by the gateway device 210. Since the imaging device 220 communicates with the sensor 230 through the preset communication parameters of the sensor 230, after the data to be sent by the gateway device 210 is received, the imaging device 220 can switch its own communication parameters back to the preset communication parameters of the sensor 230.
[0197] Corresponding to the data transmission system provided in the above-described embodiments of this application, this application also provides a data transmission method. This data transmission method is applied to a first device in the data transmission system. The system includes: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Each imaging device communicates with the wirelessly connected sensors through preset communication parameters, including a preset radio frequency frequency and / or a preset communication rate. The first device is any one of the gateway device and the multiple imaging devices.
[0198] Figure 6 This is a flowchart illustrating a data transmission method provided in an embodiment of this application, as shown below. Figure 6 As shown, the data transmission method may include the following steps S601-S602.
[0199] S601: After determining the data to be sent, a parameter switching request is sent to the second device of the system, so that the second device receives the parameter switching request and switches its own communication parameters to the target communication parameters carried in the parameter switching request.
[0200] The target communication parameters include a target radio frequency and / or a target communication rate, wherein the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate.
[0201] S602: Send the data to be sent to the second device through the target communication parameters, so that the second device can receive the data to be sent through the target communication parameters.
[0202] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0203] Based on this, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0204] Optionally, in one specific implementation, the data sending method further includes:
[0205] The device receives a response signal and switches its communication parameters to the target communication parameters. The response signal is sent by the second device to the first device after receiving the parameter switching request. The response signal indicates that the second device agrees to switch its communication parameters to the target communication parameters. After the data to be sent is received, the second device switches its communication parameters back to the preset switching parameters.
[0206] After the data to be sent is completed, the system switches its communication parameters back to the preset communication parameters.
[0207] Optionally, in one specific implementation, the first device is the gateway device and the second device is any imaging device, and each imaging device communicates with the gateway device through the target communication parameters; when the imaging device sends data to the gateway device, it switches its own communication parameters to the target communication parameters, and when communicating with a sensor connected to wireless communication, it switches its own communication parameters to the preset communication parameters.
[0208] Optionally, in one specific implementation, the imaging device switches its communication parameters back to the preset communication parameters after the data to be sent has been received.
[0209] Optionally, in one specific implementation, the imaging device receives environmental data collected by itself from a sensor connected via wireless communication through the preset radio frequency; wherein the amount of environmental data is less than the amount of data to be transmitted.
[0210] Optionally, in one specific implementation, when the first device is the gateway device and the second device is any imaging device, the data to be sent includes at least: configuration information or upgrade information of the imaging device; when the first device is any imaging device and the second device is the gateway device, the data to be sent includes at least: at least one of the environmental data, environmental information, and intelligent information; wherein, the environmental information includes: environmental images and / or environmental videos collected by the imaging device, and the intelligent information includes at least: alarm information obtained by the imaging device through information processing based on the environmental data and / or the environmental information.
[0211] Corresponding to the data transmission system provided in the above-described embodiments of this application, this application also provides a data receiving method. This data receiving method is applied to a second device in the data transmission system. The system includes: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Each imaging device communicates with the wirelessly connected sensors through preset communication parameters, including a preset radio frequency frequency and / or a preset communication rate. The second device is any one of the gateway device and the multiple imaging devices.
[0212] Figure 7 This is a flowchart illustrating a data receiving method provided in an embodiment of this application, as shown below. Figure 7 As shown, the receiving and sending method may include the following steps S701-S703.
[0213] S701: Receive a parameter switching request sent by the first device of the system.
[0214] The parameter switching request is sent by the first device to the second device after determining the data to be sent.
[0215] S702: Switch its own communication parameters to the target communication parameters carried in the parameter switching request.
[0216] The target communication parameters include a target radio frequency and / or a target communication rate, wherein the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate.
[0217] S703: Receive the data to be sent from the first device via the target communication parameters.
[0218] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0219] Based on this, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0220] Optionally, in one specific implementation, the data receiving method further includes:
[0221] Upon receiving the parameter switching request, a response signal is sent to the first device; wherein, the first device receives the response signal and switches its own communication parameters to the target communication parameters, and after the first device completes the transmission of the data to be sent, it switches its own communication parameters back to the preset communication parameters, and the response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters;
[0222] After the data to be sent is received, the communication parameters are switched back to the preset switching parameters.
[0223] Optionally, in one specific implementation, the first device is the gateway device and the second device is any imaging device, and each imaging device communicates with the gateway device through the target communication parameters; when the imaging device sends data to the gateway device, it switches its own communication parameters to the target communication parameters, and when communicating with a sensor connected to wireless communication, it switches its own communication parameters to the preset communication parameters.
[0224] Optionally, in one specific implementation, the imaging device switches its communication parameters back to the preset communication parameters after the data to be sent has been received.
[0225] Optionally, in one specific implementation, the imaging device receives environmental data collected by itself from a sensor connected via wireless communication through the preset radio frequency; wherein the amount of environmental data is less than the amount of data to be transmitted.
[0226] Optionally, in one specific implementation, when the first device is the gateway device and the second device is any imaging device, the data to be sent includes at least: configuration information or upgrade information of the imaging device; when the first device is any imaging device and the second device is the gateway device, the data to be sent includes at least: at least one of the environmental data, environmental information, and intelligent information; wherein, the environmental information includes: environmental images and / or environmental videos collected by the imaging device, and the intelligent information includes at least: alarm information obtained by the imaging device through information processing based on the environmental data and / or the environmental information.
[0227] Corresponding to the data transmission method provided in the above embodiments of this application, this application also provides a data transmission apparatus. This data transmission apparatus is applied to a first device in a data transmission system, the system comprising: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device; each imaging device communicates with the wirelessly connected sensors through preset communication parameters, the preset communication parameters including a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the multiple imaging devices.
[0228] Figure 8 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application, as shown below. Figure 8 As shown, the data transmission device may include:
[0229] The request sending module 810 is used to send a parameter switching request to a second device in the system after determining the data to be sent, so that the second device receives the parameter switching request and switches its own communication parameters to the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0230] The data transmission module 820 is used to send the data to be transmitted to the second device through the target communication parameters, so that the second device can receive the data to be transmitted through the target communication parameters;
[0231] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0232] Based on this, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0233] Optionally, in one specific implementation, the data transmission device further includes:
[0234] A signal receiving module is used to receive a response signal and switch its own communication parameters to the target communication parameters; wherein, the response signal is sent by the second device to the first device after receiving the parameter switching request, and the response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters, and the second device switches its own communication parameters back to the preset switching parameters after the data to be sent is received;
[0235] The first parameter recovery module is used to switch its own communication parameters back to the preset communication parameters after the data to be sent is completed.
[0236] Corresponding to the data receiving method provided in the above-described embodiments of this application, this application also provides a data receiving device. This data receiving device is applied to a second device in a data transmission system. The system includes: a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device; each imaging device communicates with the wirelessly connected sensors through preset communication parameters, including a preset radio frequency frequency and / or a preset communication rate; the second device is any one of the gateway device and the multiple imaging devices.
[0237] Figure 9 This is a schematic diagram of the structure of a data receiving device provided in an embodiment of this application, as shown below. Figure 9 As shown, the data receiving device may include:
[0238] The request receiving module 910 is used to receive a parameter switching request sent by the first device of the system; wherein the parameter switching request is sent by the first device to the second device after determining the data to be sent;
[0239] The parameter switching module 920 is used to switch its own communication parameters to the target communication parameters carried in the parameter switching request; wherein, the target communication parameters include a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate;
[0240] Data receiving module 930 is used to receive the data to be sent sent by the first device through the target communication parameters;
[0241] Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
[0242] Based on this, by applying the solution provided in the embodiments of this application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the radio frequency and / or increasing the communication rate of the data transmission between the imaging device and the gateway device. Therefore, no excessive hardware cost is required, and the implementation solution is simple. Thus, the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system can be improved without increasing hardware cost.
[0243] Optionally, in one specific implementation, the data receiving device further includes:
[0244] A signal transmitting module is used to send a response signal to the first device when it receives the parameter switching request; wherein, the first device receives the response signal and switches its own communication parameters to the target communication parameters, and after the first device finishes sending the data to be sent, it switches its own communication parameters back to the preset communication parameters, and the response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters;
[0245] The second parameter recovery module is used to switch its own communication parameters back to the preset switching parameters after the data to be sent has been received.
[0246] This application also provides an electronic device, such as... Figure 10 As shown, it includes:
[0247] Memory 1001 is used to store computer programs;
[0248] When the processor 1002 executes the program stored in the memory 1001, it implements the steps of the data transmission method and / or data reception method provided in the embodiments of this application.
[0249] Furthermore, the aforementioned electronic device may also include a communication bus and / or a communication interface, with the processor 1002, the communication interface, and the memory 1001 communicating with each other via the communication bus.
[0250] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0251] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0252] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0253] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be 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, or discrete hardware components.
[0254] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of the data transmission method and / or data reception method provided in the embodiments of this application described above.
[0255] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the steps of the data transmission method and / or data reception method provided in the embodiments of this application described above.
[0256] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.
[0257] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0258] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the method embodiments, apparatus embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are basically similar to the system embodiments, and therefore the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0259] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A data transmission system, characterized by The system comprises a gateway device, a plurality of imaging devices in wireless communication connection with the gateway device, and a plurality of sensors in wireless communication connection with each imaging device; Each imaging device is configured to communicate with the sensors in wireless communication connection through preset communication parameters; wherein the preset communication parameters comprise a preset radio frequency and / or a preset communication rate; A first device of the system is configured to, when it is determined that there is to-be-sent data, send a parameter switching request to a second device of the system, and send the to-be-sent data to the second device through target communication parameters carried by the parameter switching request; wherein the target communication parameters comprise a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate; The second device is configured to receive the parameter switching request, switch its own communication parameters to the target communication parameters, and receive the to-be-sent data through the target communication parameters; The first device is any one of the gateway device and the plurality of imaging devices, the second device is any imaging device when the first device is the gateway device, and the second device is the gateway device when the first device is any imaging device.
2. The system of claim 1, wherein The second device is further configured to, when the parameter switching request is received, send a response signal to the first device, and switch its own communication parameters back to the preset communication parameters after the to-be-sent data is received; wherein the response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters; The first device is further configured to receive the response signal and switch its own communication parameters to the target communication parameters; and switch its own communication parameters back to the preset communication parameters after the to-be-sent data is sent.
3. The system of claim 1, wherein, The first device is the gateway device and the second device is any imaging device, and each imaging device communicates with the gateway device through the target communication parameters; The imaging device is further configured to, when sending data to the gateway device, switch its own communication parameters to the target communication parameters, and switch its own communication parameters to the preset communication parameters when communicating with the sensors in wireless communication connection.
4. The system of claim 3, wherein, The imaging device is further configured to: Switch its own communication parameters back to the preset communication parameters after the to-be-sent data is received.
5. The system of claim 1, wherein The imaging device is specifically configured to receive environmental data collected by the sensors in wireless communication connection through the preset radio frequency; The data amount of the environmental data is less than the data amount of the to-be-sent data.
6. The system of claim 5, wherein In the case that the first device is the gateway device and the second device is any imaging device, the to-be-sent data at least comprises configuration information or upgrade information of the any imaging device. In a case that the first device is any imaging device and the second device is the gateway device, the to-be-sent data at least comprises at least one of the environment data, environment information and intelligent information; the environment information comprises environment images and / or environment videos collected by the any imaging device, and the intelligent information at least comprises alarm information obtained by the any imaging device based on the environment data and / or the environment information.
7. A data transmission method characterized by comprising: The first device applied to a data transmission system, the system comprising: a gateway device, a plurality of imaging devices wirelessly connected with the gateway device, and a plurality of sensors wirelessly connected with each imaging device; each imaging device and the wirelessly connected sensor communicate through preset communication parameters, the preset communication parameters comprising a preset radio frequency and / or a preset communication rate; the first device is any device in the gateway device and the plurality of imaging devices; the method comprises: After determining the to-be-sent data, sending a parameter switching request to a second device of the system, so that the second device receives the parameter switching request and switches its communication parameters to target communication parameters carried by the parameter switching request; wherein the target communication parameters comprise a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate; The to-be-sent data is sent to the second device through the target communication parameters, so that the second device receives the to-be-sent data through the target communication parameters; Wherein, in a case that the first device is the gateway device, the second device is any imaging device, and in a case that the first device is any imaging device, the second device is the gateway device.
8. A data receiving method characterized by comprising: The second device applied to a data transmission system, the system comprising: a gateway device, a plurality of imaging devices wirelessly connected with the gateway device, and a plurality of sensors wirelessly connected with each imaging device; each imaging device and the wirelessly connected sensor communicate through preset communication parameters, the preset communication parameters comprising a preset radio frequency and / or a preset communication rate; the second device is any device in the gateway device and the plurality of imaging devices; the method comprises: Receiving a parameter switching request sent by a first device of the system; wherein the parameter switching request is sent by the first device to the second device after determining to-be-sent data; Switching its communication parameters to target communication parameters carried by the parameter switching request; wherein the target communication parameters comprise a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate; Receiving the to-be-sent data sent by the first device through the target communication parameters through the target communication parameters; Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
9. A data transmission device, characterized in that, A first device applied to a data transmission system, the system comprising: a gateway device, a plurality of imaging devices wirelessly connected with the gateway device, and a plurality of sensors wirelessly connected with each imaging device; each imaging device communicates with the wirelessly connected sensors through preset communication parameters, the preset communication parameters comprising a preset radio frequency and / or a preset communication rate; the first device is any of the gateway device and the plurality of imaging devices; the device comprises: A request sending module configured to send a parameter switching request to a second device of the system after determining to-be-sent data, so that the second device receives the parameter switching request and switches its communication parameters to target communication parameters carried by the parameter switching request; wherein the target communication parameters comprise a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate; A data sending module configured to send the to-be-sent data to the second device through the target communication parameters, so that the second device receives the to-be-sent data through the target communication parameters; Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
10. A data receiving apparatus characterized by comprising: A second device applied to a data transmission system, the system comprising: a gateway device, a plurality of imaging devices wirelessly connected with the gateway device, and a plurality of sensors wirelessly connected with each imaging device; each imaging device communicates with the wirelessly connected sensors through preset communication parameters, the preset communication parameters comprising a preset radio frequency and / or a preset communication rate; the second device is any of the gateway device and the plurality of imaging devices; the device comprises: A request receiving module configured to receive a parameter switching request sent by a first device of the system; wherein the parameter switching request is sent by the first device to the second device after determining to-be-sent data; A parameter switching module configured to switch its communication parameters to target communication parameters carried by the parameter switching request; wherein the target communication parameters comprise a target radio frequency and / or a target communication rate, the target radio frequency is different from the preset radio frequency, and the target communication rate is higher than the preset communication rate; A data receiving module configured to receive the to-be-sent data sent by the first device through the target communication parameters through the target communication parameters; Wherein, when the first device is the gateway device, the second device is any of the imaging devices, and when the first device is any of the imaging devices, the second device is the gateway device.
11. An electronic device, comprising: The electronic device is any one of a gateway device and a plurality of imaging devices in a data transmission system, the gateway device is wirelessly connected with the plurality of imaging devices, the system further comprises a plurality of sensors wirelessly connected with each imaging device; the electronic device comprises: a memory for storing a computer program; a processor for executing the program stored on the memory to implement the method of claim 7 or 8.
12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method of claim 7 or 8. The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method of claim 7 or 8.
Citation Information
Patent Citations
Double-frequency-band communication device for indoor light sensor wireless network
CN102387185A
LoRa networking detection and debugging method, device and equipment and medium
CN117499951A