Data transmission system, data sending method and data receiving method
By switching and improving the radio frequency and communication rate between the imaging device and the gateway device in the data transmission system, the problems of co-frequency interference and low communication efficiency are solved, and the data transmission effect is improved without increasing hardware costs.
Patent Information
- Application Number
- CN202411845571.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-13
AI Technical Summary
Without increasing hardware costs, how to improve the data transmission effect between any imaging device and the gateway device in the data transmission system, especially in the face of problems of co-frequency interference and low communication efficiency.
By performing radio frequency switching and/or communication rate increase between the imaging device and the gateway device, the specific implementation method is that the first device sends a parameter switching request to the second device, switches to the target radio frequency and/or the target communication rate, and restores the original parameters after the data transmission is completed.
It improves the success rate and efficiency of data transmission in the data transmission system, avoids synchronous interference, and achieves the improvement of data transmission effect without increasing hardware costs.
Smart Images

Figure CN119789152A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless radio frequency communication technology, and in particular to a data transmission system, data sending and data receiving method. Background Art
[0002] Currently, with the continuous development of wireless radio frequency communication technology, data transmission systems relying on wireless communication are being more and more widely used in various fields, such as environmental monitoring, the Internet of Things, etc.
[0003] Among them, the above-mentioned data transmission system contains a data transmission system with a tree network structure including multiple sensors, multiple imaging devices and gateway devices. The sensors, imaging devices and gateway devices in the data transmission system all have wireless modules, so that a wireless radio frequency communication network can be formed for information transmission.
[0004] Take the camera as an imaging device as an example. Figure 1 As shown, in the above data transmission system, the gateway (gateway device) can be connected to several cameras, and each camera can be connected to several sensors. In this data transmission system, the sensor can send the environmental information collected by itself to the camera, and the camera can send the above environmental information to the gateway (gateway device), as well as environmental data determined based on the environmental image collected by itself, and the gateway (gateway device) can perform parameter configuration and wireless upgrade of the camera by sending configuration information, upgrade information and other data to the camera.
[0005] In the above data transmission system, how to improve the transmission effect of data transmission between any imaging device and the gateway device without increasing the hardware cost is a problem that needs to be solved urgently. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide a data transmission system, a data transmission method and a data receiving method, so as to improve the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system without increasing the hardware cost. The specific technical solution is as follows:
[0007] In a first aspect, an embodiment of the present application provides 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 is used to communicate with the sensor connected to the wireless communication through preset communication parameters; wherein the preset communication parameters include a preset radio frequency and / or a preset communication rate;
[0009] The first device of the system is used to send a parameter switching request to a 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 a target communication parameter carried by the parameter switching request; wherein the target communication parameter includes a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency 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] The first device is the gateway device and any one of the multiple 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] Optionally, in a specific implementation,
[0013] The second device is further configured to send a response signal to the first device when receiving the parameter switching request, and switch its own communication parameters back to the preset switching parameters after the reception of the to-be-sent data is completed; 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 further configured to receive the response signal and switch its own communication parameters to the target communication parameters; after the to-be-sent data is sent, switch its own communication parameters back to the preset communication parameters.
[0015] Optionally, in a 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 parameter;
[0016] The imaging device is further 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 the wireless communication.
[0017] Optionally, in a specific implementation, the imaging device is further used for:
[0018] After the data to be sent is received, the communication parameters are switched back to the preset communication parameters.
[0019] Optionally, in a specific implementation,
[0020] The imaging device is specifically used to receive the environmental data collected by the sensor through the preset radio frequency.
[0021] The amount of the environmental data is smaller than the amount of the data to be sent.
[0022] Optionally, in a specific implementation,
[0023] In the case where 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] In the case where 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 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] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a first device in a data transmission system, wherein the system includes: 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 sensor wirelessly connected through preset communication parameters, wherein the preset communication parameters include a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the plurality of imaging devices; the method includes:
[0026] After determining the data to be sent, 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 own communication parameters to the target communication parameters carried by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate;
[0027] Sending the data to be sent to the second device through the target communication parameter, so that the second device receives the data to be sent through the target communication parameter;
[0028] 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.
[0029] In a third aspect, an embodiment of the present application provides a data receiving method, which is applied to a second device in a data transmission system, wherein the system includes: 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 sensor wirelessly connected through preset communication parameters, and the preset communication parameters include 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 method includes:
[0030] 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 data to be sent;
[0031] Switching its own communication parameters to the target communication parameters carried by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate;
[0032] receiving, by means of the target communication parameter, the data to be sent sent by the first device by means of the target communication parameter;
[0033] 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.
[0034] In a fourth aspect, an embodiment of the present application provides a data sending device, which is applied to a first device in a data transmission system, wherein the system includes: 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 sensor wirelessly connected through preset communication parameters, wherein the preset communication parameters include a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the plurality of imaging devices; the device includes:
[0035] A request sending module, configured to send a parameter switching request to a second device of 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 by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate;
[0036] a data sending module, configured to send the data to be sent to the second device through the target communication parameter, so that the second device receives the data to be sent through the target communication parameter;
[0037] 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.
[0038] In a fifth aspect, an embodiment of the present application provides a data receiving device, which is applied to a second device in a data transmission system, wherein the system includes: 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 sensor wirelessly connected through preset communication parameters, and the preset communication parameters include 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 includes:
[0039] A request receiving module, used 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 the data to be sent;
[0040] A parameter switching module, configured to switch its own communication parameters to the target communication parameters carried by 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, configured to receive the to-be-sent data sent by the first device through the target communication parameters through the target communication parameters;
[0042] 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.
[0043] In a sixth aspect, an embodiment of the present application provides an electronic device, wherein the electronic device is a gateway device in a data transmission system and any one of a plurality of imaging devices, wherein the gateway device is wirelessly connected to the plurality of imaging devices, and the system further comprises: a plurality of sensors wirelessly connected to each imaging device; the electronic device comprises:
[0044] Memory, used to store computer programs;
[0045] The processor is used to implement the data sending method provided by the second aspect and / or the data receiving method provided by the third aspect when executing the program stored in the memory.
[0046] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it implements the data sending method provided in the second aspect and / or the data receiving method provided in the third aspect.
[0047] In an eighth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the data sending method provided in the second aspect above, and / or the data receiving method provided in the third aspect above.
[0048] Beneficial effects of the embodiments of the present application:
[0049] As can be seen from the above, by applying the solution provided in the embodiment of the present application, the data transmission system includes a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Among them, a first device for sending data and a second device for receiving data can be determined in the above-mentioned gateway device and multiple imaging devices, and when the first device is a gateway device, the second device is any imaging device, and when the first device is any imaging device, the second device is a gateway device. In this way, when any imaging device transmits data with the gateway device, the second device can switch the radio frequency frequency and / or increase the communication rate, so that the first device and the second device transmit data according to the radio frequency frequency after switching and / or the increased communication rate of the above-mentioned second device.
[0050] Among them, since when the sensor, imaging device and gateway device all transmit data according to the preset radio frequency frequency, during the data transmission process between any imaging device and the gateway device, the data transmission between other imaging devices and the connected sensor will cause co-frequency interference to the data transmission between the imaging device and the gateway device, therefore, switching the radio frequency frequency can prevent the data transmission between the imaging device and the gateway device from the above co-frequency interference, and at the same time, it does not affect the data transmission between other imaging devices and the connected sensor, which can improve the success rate of data transmission in the system. In addition, since the amount of data transmitted between the imaging device and the gateway data is often large, therefore, increasing the communication rate can improve the data transmission efficiency between the imaging device and the gateway data.
[0051] Based on this, by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system can be improved without increasing the hardware cost.
[0052] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0054] Figure 1 It is a structural schematic diagram of a data transmission system using a camera as an imaging device;
[0055] Figure 2 A schematic diagram of the structure of a data transmission system provided in an embodiment of the present application;
[0056] Figure 3 A signaling interaction diagram between a first device and a second device in a data transmission system provided in an embodiment of the present application;
[0057] Figure 4 Another signaling interaction diagram between a first device and a second device in a data transmission system provided in an embodiment of the present application;
[0058] Figure 5 for Figure 1 A flowchart of a data transmission process between any camera and a gateway device in the data transmission system shown;
[0059] Figure 6 A flowchart of a data sending method provided in an embodiment of the present application;
[0060] Figure 7 A flowchart of a data receiving method provided in an embodiment of the present application;
[0061] Figure 8 A schematic diagram of the structure of a first device in a data transmission system provided in an embodiment of the present application;
[0062] Fig. 9A schematic diagram of the structure of a second device in a data transmission system provided in an embodiment of the present application;
[0063] Fig.10 A schematic diagram of the structure of an electronic device in a data transmission system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.
[0065] Currently, there is a data transmission system with a tree network structure including multiple sensors, multiple imaging devices and gateway devices. The sensors, imaging devices and gateway devices in the data transmission system all have wireless modules, so that a wireless radio frequency communication network can be formed to transmit information. How to improve the transmission effect of data transmission between any imaging device and the gateway device without increasing the hardware cost is a problem that needs to be solved urgently.
[0066] In order to solve the above technical problems, an embodiment of the present application provides a data transmission system.
[0067] Among them, a data transmission system provided by an embodiment of the present application includes: 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 is used to communicate with the sensor connected to the wireless communication through preset communication parameters; wherein the preset communication parameters include a preset radio frequency and / or a preset communication rate;
[0069] The first device of the system is used to send a parameter switching request to a 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 a target communication parameter carried by the parameter switching request; wherein the target communication parameter includes a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency 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] The first device is the gateway device and any one of the multiple 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, by applying the solution provided in the embodiment of the present application, the data transmission system includes a gateway device, multiple imaging devices wirelessly connected to the gateway device, and multiple sensors wirelessly connected to each imaging device. Among them, a first device for sending data and a second device for receiving data can be determined in the above-mentioned gateway device and multiple imaging devices, and when the first device is a gateway device, the second device is any imaging device, and when the first device is any imaging device, the second device is a gateway device. In this way, when any imaging device transmits data with the gateway device, the second device can switch the radio frequency frequency and / or increase the communication rate, so that the first device and the second device transmit data according to the radio frequency frequency after switching and / or the increased communication rate of the above-mentioned second device.
[0073] Among them, since when the sensor, imaging device and gateway device all transmit data according to the preset radio frequency frequency, during the data transmission process between any imaging device and the gateway device, the data transmission between other imaging devices and the connected sensor will cause co-frequency interference to the data transmission between the imaging device and the gateway device, therefore, switching the radio frequency frequency can prevent the data transmission between the imaging device and the gateway device from the above co-frequency interference, and at the same time, it does not affect the data transmission between other imaging devices and the connected sensor, which can improve the success rate of data transmission in the system. In addition, since the amount of data transmitted between the imaging device and the gateway data is often large, therefore, increasing the communication rate can improve the data transmission efficiency between the imaging device and the gateway data.
[0074] Based on this, by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system can be improved without increasing the hardware cost.
[0075] Before describing a data transmission system provided in an embodiment of the present application, relevant concepts involved in the embodiment of the present application are first briefly described.
[0076] 1. Tree network: Tree network is also called multi-star network. There are multiple computing centers in the network, but there is little information exchange between computing centers of the same level. The main information exchange is between the terminal and the connected computing center and the upper and lower computing centers. Among them, the host (computing center) at the top has the ability to manage the entire network. The tree network is composed of multiple levels of star structures connected vertically, and each node of the tree is a computing center or a switching device. Generally speaking, the closer to the root of the tree, the better the performance of the node device.
[0077] For example, Figure 1 The data transmission system shown is a tree-like network structure system, in which the gateway device is the host at the top level and the gateway device is the root of the tree; each camera and each sensor is a node of the tree, and multiple cameras are computing centers at the same level; the gateway device and each camera are upper and lower computing centers, and each camera and each connected sensor are upper and lower computing centers.
[0078] 2. Co-channel interference: refers to the interference caused by two or more signals with the same carrier frequency to the receiver receiving the co-frequency signal. This interference will cause the signal-to-noise ratio of the receiver to decrease, affecting the communication quality.
[0079] That is, when a group of data sending devices and data receiving devices perform data transmission at a radio frequency, if there is another group of data sending devices and data receiving devices performing data transmission at the same radio frequency, the signal carrier frequencies of the signals transmitted in the above two data transmissions are the same, and they interfere with each other on the data receiving devices, resulting in a decrease in the signal-to-noise ratio of the data receiving devices, affecting the quality of the signals received by the data receiving devices, and reducing the success rate of data transmission.
[0080] 3. Adjacent channel interference: refers to the mutual interference between signals of adjacent or similar channels. Since the FM signal contains an infinite number of sideband components, when some of the sideband components fall into the passband of the adjacent channel receiver, it will cause adjacent channel interference, which will also affect the communication quality.
[0081] That is, when a group of data sending devices and data receiving devices perform data transmission according to a radio frequency, if there is another group of data sending devices and data receiving devices that perform data transmission using an adjacent radio frequency with a smaller frequency difference, the signal carrier frequencies of the signals transmitted in the above two data transmissions are close, and thus, some signal components will fall into the channel of the other party's data receiving device, thereby causing interference to 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] Below, in conjunction with the accompanying drawings, a data transmission system provided in an embodiment of the present application is described in detail.
[0083] Figure 2 A schematic diagram of a data transmission system provided in an embodiment of the present application is shown in FIG. 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, Figure 2 As shown, in the data transmission system provided in the embodiment of the present application, one imaging device 220 can access multiple sensors 230, that is, one imaging device 220 can establish a wireless communication connection with the multiple sensors 230; and one gateway device 210 can access multiple imaging devices 220, that is, one gateway device 210 can establish a wireless communication connection with the multiple imaging devices 220. Based on this, the above-mentioned gateway device 210, multiple sensors 230 and multiple imaging devices 220 can form a multi-star network, that is, a tree network. Therefore, the data transmission system provided in the embodiment of the present application is a system with a tree network structure.
[0085] In the above data transmission system, the imaging device 220 may be a visible light imaging device or a thermal imaging device, which is not specifically limited in the embodiments of the present application.
[0086] Each imaging device 220 is used to communicate with the sensor 230 connected to the wireless communication through preset communication parameters; wherein the preset communication parameters include a preset radio frequency and / or a preset communication rate.
[0087] In the above data transmission system, the sensor 230 can collect surrounding environmental information, and can form the collected environmental information into a specific wireless message, and send the wireless message to the connected imaging device 220. Among them, the data volume of the wireless message sent by the sensor 230 to the imaging device 220 is relatively small.
[0088] Typically, the sensor 230 has fixed communication parameters such as preset radio frequency and preset communication rate, which are determined when the sensor leaves the factory, are related to the hardware configuration of the sensor 230 and cannot be changed. Therefore, each imaging device can communicate with the sensor 230 connected by wireless communication through preset communication parameters, and the preset communication parameters may include: the fixed preset radio frequency and / or preset communication rate of the sensor 230.
[0089] That is, the sensor 230 can send the environmental information collected by itself to the imaging device 220 connected by wireless communication through the above 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 preset communication parameters.
[0090] Optionally, in a specific implementation, in the above-mentioned data transmission system, any imaging device 220 is specifically used to receive environmental data collected by itself and sent by a sensor 230 connected by wireless communication through a preset radio frequency; wherein the data volume of the above-mentioned environmental data is smaller than the data volume of the data to be sent.
[0091] Optionally, the sensor 230 can send the environmental information collected by itself to the imaging device 220 connected to the wireless communication by using the preset communication parameters at specified intervals. That is, when building the above data transmission system, the radio frequency between the sensor 230 and the imaging device 220 connected to the wireless communication can be preset, so that the sensor 230 can actively send the environmental information collected by itself to the imaging device 220 connected to the wireless communication according to the above radio frequency.
[0092] Among them, the above-mentioned radio frequency frequency can be the same as the acquisition frequency of the sensor 230, that is, the above-mentioned specified time length can be the time length between two consecutive environmental information acquisitions by the sensor 230, so that the sensor 230 can actively send the collected environmental information to the imaging device 220 connected to its own wireless communication after each environmental information acquisition. Of course, the above-mentioned radio frequency frequency can also be different from the acquisition frequency of the sensor 230. Considering that the sensor 230 needs to send the environmental information collected by itself to the imaging device 220, the above-mentioned radio frequency frequency can be less than the above-mentioned acquisition frequency, that is, the above-mentioned specified time length can be greater than the time length between two consecutive environmental information acquisitions by the sensor 230. Usually, the above-mentioned specified time length can be an integer multiple of the time length between two consecutive environmental information acquisitions by the sensor 230.
[0093] In addition, since the same imaging device 220 and multiple sensors 230 connected by wireless communication perform data transmission through the same preset communication parameters, when at least two sensors 230 among the above-mentioned multiple sensors 230 simultaneously send the above-mentioned environmental information to the imaging device 220, the data transmission between different sensors 230 among the above-mentioned at least two sensors 230 and the imaging device 220 will cause co-frequency interference to each other's data transmission, affecting the quality of each environmental information received by the imaging device 220 and reducing the success rate of data transmission.
[0094] Based on this, optionally, the imaging device 220 can sequentially poll each sensor 230 connected to the imaging device 220 through wireless communication. When polling each sensor 230, the imaging device 220 can send a data acquisition request to the sensor 230, and the sensor 230 can respond to the data acquisition request when receiving the data acquisition request, so as to send the environmental information collected by itself to the imaging device 220 connected to the wireless communication through the preset communication parameters, that is, when polling each sensor 230, the imaging device 220 can receive the environmental information sent by the sensor 230 through 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 turn 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 same-frequency interference caused by multiple sensors 230 simultaneously transmitting data with the same imaging device 220.
[0096] In the above data transmission system, the imaging device 220 can also collect the surrounding environment image, and perform internal processing on the environment image, and output data such as image, video and intelligent information. In addition, the imaging device 220 can also identify the wireless message sent by the connected sensor 230, and then extract the environmental information collected by the sensor 230 from the wireless message, and integrate the above environmental information into the data obtained by itself. In this way, the imaging device 220 can send the environmental information collected by the sensor 230, the data obtained by itself, such as the collected environmental image, the alarm data obtained by internal processing, the intelligent data, etc., to the gateway device 210. Among them, the amount of data sent by the imaging device 220 to the gateway device 210 is large, which can include binary data, pictures and videos. After receiving the data sent by the imaging device 220, the gateway device 210 can perform internal processing on the data, or can be linked with the upper layer device, for example, the above data can be uploaded to the central platform through the wired network, or sound and light prompts, alarm output, etc. can be performed based on the internal processing results. That is, the imaging device 220 can be used as a first device for sending data to send data to the gateway device 210, and the data sent to the gateway device 230 can be called data to be sent, and the gateway device 230 can be used as a second device for receiving data.
[0097] Among them, when the above-mentioned first device is any imaging device 220 and the above-mentioned second device is the above-mentioned gateway device 230, the imaging device 220 can generate the data to be sent based on the environmental information received and sent by the sensor 230 to which it is connected, for example, directly use the above-mentioned environmental information as the data to be sent; it can also generate the data to be sent based on the environmental image of its own environment collected by itself, for example, process the environmental image to obtain object recognition result intelligent data, alarm data and other processing result data as the data to be sent; it can also generate the data to be sent based on the above-mentioned environmental information and environmental image, for example, process the environmental image to obtain object recognition result intelligent data, alarm data and other processing result data, and integrate the above-mentioned processing result data with the above-mentioned environmental information to obtain the data to be sent.
[0098] Based on this, optionally, in a specific implementation method, when the above-mentioned first device is any imaging device 220 and the above-mentioned second device is the above-mentioned gateway device 210, the above-mentioned data to be sent includes at least: 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 above-mentioned environmental data and / or the above-mentioned environmental information.
[0099] As mentioned above, in this specific implementation, the above environmental data is the environmental data collected by the sensor 230 itself and sent by the sensor 230 wirelessly connected to any imaging device 220 as the first device. In addition, the data volume of the above environmental data is less than the data volume of the data to be sent determined by any imaging device 220 as the first device.
[0100] Optionally, in the case where the first device is any imaging device 220 and the second device is the gateway device 230 , the imaging device 220 may actively initiate a data transmission process as the first device.
[0101] Among them, considering that the gateway device 210 needs to perform internal processing on the received data, forward it to the upper layer device, etc. after receiving the data sent by the imaging device 220, in order to ensure that the data to be sent determined by the imaging device 220 can be processed by the gateway device 210 in a timely manner, the imaging device 220 can actively initiate the data transmission process as the first device, so that the imaging device 220 can actively send data to the gateway device 210. For example, the imaging device 220 can actively initiate the data transmission process according to a certain sending frequency, that is, the imaging device 220 can actively send the above-mentioned data to be sent to the gateway device 210 according to a certain sending frequency.
[0102] Optionally, when the first device is any imaging device 220 and the second device is the gateway device 230 , the imaging device 220 may be triggered by the gateway device 210 to passively initiate a data transmission process as the first device.
[0103] The gateway device 210 may sequentially poll each imaging device 220. When polling each imaging device 220, the gateway device 210 may send a data acquisition request to the imaging device 220. When receiving the data acquisition request, the imaging device 220 may respond to the data acquisition request to determine that it is the first device for data transmission. Thus, the imaging device 220 may determine the data to be sent and initiate the data transmission process as the first device.
[0104] Furthermore, the gateway device 210 may also send device configuration data, device upgrade data and other data to the imaging device 220 through a wireless communication connection to implement parameter configuration of the imaging device 220, wireless upgrade of the imaging device 220 and other operations, wherein 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 may be used as a first device for data transmission, and send data to any imaging device 220, and the data sent to any imaging device may become data to be sent, and the any imaging device 220 may be used as a second device for data reception.
[0105] Based on this, optionally, in a specific implementation, when the first device is a gateway device 210 and the second device is any imaging device 220, the data to be sent at least includes: configuration information or upgrade information of the any imaging device 220. In addition, the amount of environmental data collected by the sensor 230 to which the any imaging device 220 is wirelessly connected and sent is less than the amount of data to be sent determined by the grid device 210.
[0106] Correspondingly, when any imaging device 220 as a second device receives the above-mentioned configuration information sent by the gateway device 210, it can change its own current configuration information based on the above-mentioned configuration information; or, when any imaging device 220 as a second device receives the above-mentioned upgrade information sent by the gateway device 210, it can upgrade the device based on the above-mentioned upgrade information.
[0107] Optionally, in the case where the first device is the 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] Among them, when the gateway device 210 determines that the imaging device 220 needs to be parameter configured or the device needs to be upgraded, it can determine the imaging device 220 for which the parameters are to be configured or the device needs to be upgraded, and use 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 as the data to be sent. Furthermore, the gateway device 210 can initiate the data transmission process as the first device, and actively send the above-mentioned data to be sent to the above-mentioned imaging device 220 as the second device.
[0109] Correspondingly, when the imaging device 220 as the second device receives the above-mentioned data to be sent, if the above-mentioned data to be sent includes configuration information, the imaging device 220 can change its own current configuration information based on the configuration information to complete its own parameter configuration; if the above-mentioned data to be sent includes upgrade information, the imaging device 220 can perform device upgrade based on the upgrade information to complete its own device upgrade.
[0110] Optionally, when the first device is the gateway device 210 and the second device is any imaging device 220 , the gateway device 210 may be triggered by the imaging device 220 to passively initiate a data transmission process as the first device.
[0111] When the imaging device 220 detects that it needs to perform parameter configuration or device upgrade, it can send a configuration information acquisition request or an upgrade information acquisition request to the gateway device 210. When the gateway device 210 receives the configuration information acquisition request or the upgrade information acquisition request, it can respond to the configuration information acquisition request or the upgrade information acquisition request to determine that it is the first device for this data transmission. Thus, the gateway device 210 can determine the configuration information or upgrade information of the imaging device 220 as the 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 be used as a data transmitter for data transmission, and the second device can be used as a data receiver for data reception. 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, the gateway device 210 can be used as the first device, and the imaging device 220 can also be used as the first device. Among them, 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 the imaging device 220 that acts as the second device, and 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 that acts as the first device sends data to the gateway device 210. Furthermore, when the gateway device 210 serves as the first device, any imaging device 220 can serve as the second device, which means that any imaging device 220 among the multiple imaging devices 220 can serve as the second device, and during one data transmission process, multiple imaging devices 220 can serve as the second device.
[0113] Based on this, in an embodiment of the present application, the first device of the above-mentioned data transmission system can be: a gateway device 210 and any one of multiple imaging devices 220; and, when the first device is a gateway device 210, the second device of the above-mentioned 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 above-mentioned data transmission system is the gateway device 210.
[0114] The first device is used 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 configured 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 a target radio frequency and / or a target communication rate, and the target radio frequency is different from the above-mentioned preset radio frequency; and the target communication rate is greater than the above-mentioned preset communication rate.
[0117] As mentioned above, in the above data transmission system, data transmission (wireless communication interaction) can be performed between the imaging device 220 and the gateway device 210. In addition, in the above data transmission system, although the sensor 230 can actively send data to the imaging device 220 connected by wireless communication, or can passively send data to the imaging device 220 when the imaging device 220 polls, no matter which data transmission method the sensor 230 adopts, the sensor 230 can only send data to the imaging device 220 in one direction, and the communication parameters such as the preset radio frequency frequency and the preset communication rate used by the sensor 230 to communicate with the imaging device 220 are fixed and cannot be changed.
[0118] Among them, since the preset radio frequency, preset communication rate and other communication parameters of the sensor 230 are fixed, the sensor 230 communicates with the imaging device 220 through the fixed preset radio frequency, preset communication rate and other communication parameters. In the above-mentioned related art, if the imaging device 220 and the gateway device 210 still use the above-mentioned preset radio frequency and preset communication rate when transmitting data, there will be two problems.
[0119] The first problem is that when the preset communication rate is low, since the amount of data transmitted between the imaging device 220 and the gateway device 210 is often large, the transmission time of the data transmission 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 the data transmission between the imaging device 220 and the gateway device 210, if other imaging devices 220 also transmit data with the sensor 230 connected by wireless communication, then since the same radio frequency is used in the above-mentioned multiple simultaneous data transmission processes, the above-mentioned multiple simultaneous data transmission processes will generate co-frequency interference, thereby affecting each other. For example, the data transmission between other imaging devices 220 and the sensor 230 connected by wireless communication will cause co-frequency interference to the data transmission between the current imaging device 220 and the gateway device 210, thereby causing the above-mentioned multiple simultaneous data transmission processes to fail in communication, affecting the data transmission success rate.
[0121] Based on this, in an embodiment of the present 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 above-mentioned 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 by the above-mentioned parameter switching request, thereby enabling the above-mentioned first device and the second device to perform data transmission through the above-mentioned target communication parameters.
[0122] In order to solve the problem caused by using the same preset radio frequency frequency and preset communication rate for data transmission between the above-mentioned imaging device 220, the gateway device 210 and the sensor 230, the radio frequency frequency and / or communication rate used for data transmission between the imaging device 220 and the gateway device 210 can be changed. Therefore, the above-mentioned target communication parameters may include a target radio frequency frequency and / or a target communication rate, and the target communication rate is greater than the above-mentioned preset communication rate, and the target radio frequency frequency is different from the above-mentioned preset radio frequency frequency.
[0123] Optionally, in a specific implementation, the target communication parameter includes a target radio frequency frequency, and a frequency difference between the target radio frequency frequency and the preset radio frequency frequency is greater than a specified difference.
[0124] In this specific implementation, the target RF frequency is different from the preset RF frequency. In order to avoid adjacent-channel interference when the communication channel where the target RF frequency is located and the communication channel where the preset RF frequency is located simultaneously perform data transmission due to the target RF frequency being too close to the preset RF frequency, the target RF frequency and the preset RF frequency cannot be too close to each other, but should have a larger interval. Therefore, the frequency difference between the target RF frequency and the preset RF frequency can be greater than the specified difference to avoid the adjacent-channel interference.
[0125] Optionally, in a specific implementation, the above-mentioned target communication parameters include a target radio frequency; the above-mentioned first device, before sending a parameter switching request to the second device, is also used to select a target radio frequency from a preset frequency range corresponding to the above-mentioned 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 corresponding to each data transmission system is different from the preset radio frequency of the sensor in the data transmission system.
[0127] In this specific implementation, in some cases, there may be multiple data transmission systems provided by the embodiments of the present application in the same scene. When data transmission exists between a first device and a second device in multiple data transmission systems at the same time, in order to prevent co-channel interference between different systems caused by the first device and the second device performing data transmission through the same radio frequency during the above-mentioned data transmission between different systems, different preset frequency ranges may be set for different data transmission systems, and different data transmission systems have different corresponding preset frequency ranges. Moreover, each radio frequency frequency within the preset frequency range corresponding to each data transmission system is different from the preset radio frequency frequency of the sensor in the data transmission system.
[0128] In this way, each time the data transmission process between the imaging device 220 and the gateway device 210 in the above-mentioned data transmission system is initiated, when the first device determines that there is data to be sent, it first selects the 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, and then sends the above-mentioned data parameter request to the second device. Based on this, when data transmission between the first device and the second device exists in multiple data transmission systems at the same time, the first device and the second device in different data transmission systems use different target radio frequency frequencies for data transmission, which can avoid causing co-frequency interference between different systems.
[0129] The first device may select a target radio frequency within the preset frequency range in a variety of ways. For example, the first device may randomly select a target radio frequency within the preset frequency range.
[0130] Furthermore, the second device receives the parameter switching request, thereby obtaining the target communication parameters carried in the parameter request, and the second device can switch its own communication parameters to the target communication parameters.
[0131] In this way, the first device and the second device can perform data transmission 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 above-mentioned target communication parameters include the target radio frequency frequency, the above-mentioned first device and the above-mentioned second device can transmit data in the communication channel where the above-mentioned target radio frequency frequency is located, according to the above-mentioned preset communication rate; for another example, when the above-mentioned target communication parameters include the target communication rate, the above-mentioned first device and the above-mentioned second device can transmit data in the communication channel where the above-mentioned preset radio frequency frequency is located, according to the target communication rate; for another example, when the above-mentioned target communication parameters include the target radio frequency frequency and the target communication rate, the above-mentioned first device and the second device can transmit data in the communication channel where the above-mentioned target radio frequency frequency is located, according to the target communication rate.
[0133] As mentioned earlier, Figure 3 A signaling interaction diagram between a first device and a second device in a data transmission system provided in an embodiment of the present application.
[0134] S301: The first device determines 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 using the target communication parameters.
[0139] S306: The second device receives the data to be sent through the target communication parameters.
[0140] It can be seen from the above that by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, it is possible to improve the transmission effect of data transmission between any imaging device and the gateway device in the data transmission system without increasing the hardware cost.
[0141] As mentioned above, since the preset radio frequency frequency, preset communication rate and other communication parameters of the sensor 230 are fixed, in the prior art, usually, in order to achieve normal communication of the entire data transmission system, the radio frequency frequency, communication rate and other communication parameters used by the imaging device 220 and the gateway device 210 for communication are set to be consistent with the preset radio frequency frequency, preset communication rate and other communication parameters of the above-mentioned sensor 230, thereby causing the above-mentioned co-channel interference, low communication efficiency and other problems.
[0142] Considering that in many cases, the communication parameters such as the RF frequency and communication rate of the gateway device 210 and the imaging device 220 are adjustable, therefore, when data is transmitted between the gateway device 210 and the imaging device 220, the communication parameters such as the RF 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 above-mentioned sensor 230, so as to solve the above-mentioned co-frequency interference, low communication efficiency and other problems. When the data transmission between the gateway device 210 and the imaging device 220 is completed, the communication parameters such as the RF frequency and communication rate of the gateway device 210 and the imaging device 220 are switched back to the preset communication parameters of the above-mentioned sensor 230, so as to avoid affecting the subsequent data transmission of the above-mentioned data acquisition system, for example, not affecting the subsequent data transmission between the sensor 230 and the imaging device 220 connected by wireless communication.
[0143] Based on this, optionally, in a specific implementation:
[0144] The second device is further configured to send a response signal to the first device when receiving the parameter switching request, and switch its own communication parameters to the preset communication parameters after receiving the data to be sent.
[0145] The response signal is used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters.
[0146] The first device is further configured to receive the response signal and switch its own communication parameters to the target communication parameters; after the data to be sent is completed, the first device switches its own communication parameters back to the 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 above-mentioned data transmission system, the first device as the data sending end and the second device as the data receiving end need to negotiate the target communication parameters used by the two during this data transmission process.
[0148] Therefore, after receiving the parameter switching request carrying the target communication parameters, the second device can determine whether to agree to switch its own communication parameters to the target communication parameters. When it is determined that the switch is agreed, the second device can send a response signal to the first device for the parameter switching request and switch its own communication parameters to the target communication parameters. The response signal is a signal used to indicate that the second device agrees to switch its own communication parameters to the target communication parameters.
[0149] Afterwards, when 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 above-mentioned target communication parameters may include a target RF frequency and / or a target communication rate. Therefore, when the above-mentioned target communication parameters include a target RF frequency, the above-mentioned first device and the second device may both switch their own RF frequencies from the above-mentioned preset RF frequency to a target RF frequency different from the preset RF frequency; and when the above-mentioned target communication parameters include a target communication rate, the above-mentioned first device and the second device may both switch their own communication rates from the preset communication rate to a target communication rate greater than the preset communication rate; further, when the above-mentioned target communication parameters include a target RF frequency and a target communication rate, the above-mentioned first device and the second device may both switch their own RF frequencies to the target RF frequency, and switch their own communication rates to the target communication rate.
[0151] Furthermore, after the first device and the second device complete the switching of the target communication parameters, the first device and the second device can perform data transmission through the switched target communication parameters. That is, the first device can send the data to be sent to the second device through the target communication parameters. And the second device can receive the data to be sent through the target communication parameters.
[0152] Afterwards, since the preset radio frequency frequency and preset communication rate of the sensor 230 are fixed, in order not to affect the subsequent data transmission in the above data acquisition system, for example, not to affect the subsequent data transmission between the sensor 230 and the imaging device 210, the above first device can switch its own communication parameters back to the above preset communication parameters when sending all the data to be sent to the second device, and the above second device can also switch its own communication parameters back to the above preset communication parameters when receiving all the data to be sent sent by the above first device. That is, the above first device can switch its own communication parameters back to the preset communication parameters after the data to be sent is sent, and the above second device can switch its own communication parameters back to the preset communication parameters after the data to be sent is received.
[0153] For example, when the above-mentioned target communication parameters include the target RF frequency, the above-mentioned first device and the second device can both switch their own RF frequencies from the target RF frequency back to the preset RF frequency; and when the above-mentioned target communication parameters include the target communication rate, the above-mentioned first device and the second device can both switch their own communication rates from the target communication rate back to the preset communication rate; further, when the above-mentioned target communication parameters include the target RF frequency and the target communication rate, the above-mentioned first device and the second device can both switch their own RF frequencies back to the preset RF frequency, and switch their own communication rates back to the preset communication rate.
[0154] As mentioned above, after the transmission of the data to be sent is completed, the first device and the second device can switch back to their original communication parameters (preset communication parameters) to perform their subsequent linkage processing. Optionally, in the transmission process of the data to be sent, if there is any transmission abnormality, the first device and the second device can switch their own communication parameters back to the 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, and other imaging devices 220 and the gateway device 210.
[0155] That is, in this specific implementation, in order to improve the transmission effect of the data transmission between the imaging device 220 and the gateway device 210, each time the data transmission process between the imaging device 220 and the gateway device 210 in the above-mentioned data transmission system is initiated, the radio frequency frequency and / or communication rate negotiation can be carried out through the protocol to agree on the target radio frequency frequency to be switched to and / or the target communication rate to be increased. After the negotiation is completed, the imaging device 220 and the gateway device 210 can each switch to the agreed target radio frequency frequency and / or target communication rate for data transmission, and after the data transmission is completed, switch back to the original communication parameters (preset communication parameters). In this way, it is convenient for the imaging device 220 to continue to receive the environmental data sent by the connected sensor 230, and for the gateway device 210 to communicate with other imaging devices 220 in the subsequent process.
[0156] Among them, since both the imaging device 220 and the gateway device 210 can serve as data sending ends, and, as mentioned above, the data transmission between the imaging device 220 and the gateway device 210 can be carried out by the gateway device 210 actively polling, the gateway device 210 passively receiving requests, etc. Therefore, the initiator of each data transmission between the imaging device 220 and the gateway device 210, that is, the device serving as the data sending end of each data transmission is not fixed, and thus, the requester of the above-mentioned communication parameter switching is not fixed, that is, the sender of the above-mentioned parameter switching request is not fixed.
[0157] As mentioned earlier, Figure 4 The signaling interaction diagram between a first device and a second device in a data transmission system provided by this specific implementation is shown in FIG. 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 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 using the target communication parameters.
[0165] S408: The second device receives the data to be sent through the target communication parameters.
[0166] S409: After the to-be-sent data is sent, the first device switches its own communication parameters back to the preset communication parameters.
[0167] S410: After receiving the data to be sent, the second device switches its own communication parameters back to the preset communication parameters.
[0168] Further, Figure 1 Taking the data transmission system shown in the figure as an example, when the target communication parameters include the target radio frequency and the target communication rate, Figure 5 A flowchart of a data transmission process between any camera and a gateway device in a data transmission system provided by this specific implementation method is shown in FIG. 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, and the above data transmission process may include the following steps S501-S509.
[0169] S501: Request for switching radio frequency and communication parameters.
[0170] Among them, the first device on the left sends a radio frequency and communication parameter switching request to the second device on the right. The 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: RF and communication parameter switching response.
[0172] Among them, the second device on the right sends a radio frequency and communication parameter switching response to the first device on the left. The radio frequency and communication parameter switching response is a response signal to the parameter switching request in this specific implementation method, which is used to indicate that the second device on the right agrees to switch the radio frequency frequency to the target radio frequency frequency and switch the communication rate to the target communication rate.
[0173] S503: Switch frequency and increase communication rate.
[0174] Among them, after receiving the above-mentioned RF and communication parameter switching response, the first device on the left switches the frequency and increases the communication rate for its own communication parameters, that is, switches its own RF frequency to the target RF frequency, and switches its own communication rate to the target communication rate.
[0175] S504: Switch frequency and increase communication rate.
[0176] Among them, the second device on the right agrees to switch the RF frequency to the target RF frequency, and switch the communication rate to the target communication rate. Therefore, after sending the above-mentioned RF and communication parameter switching response to the first device on the left, the second device on the right switches the frequency and increases the communication rate for its own communication parameters, that is, switches its own RF frequency to the target RF frequency, and switches its own communication rate to the target communication rate.
[0177] S505: Big data sending and receiving processing.
[0178] The first device on the left sends the data to be sent to the second device on the right through the switched target radio frequency and target communication rate, and the second device on the right receives the data to be sent through the switched target radio frequency and target communication rate, and processes the data accordingly. Since the amount of data to be sent transmitted between the camera and the gateway is large, the data to be sent transmitted between the camera and the gateway can be called big data.
[0179] S506: Switch back to the original frequency and communication rate.
[0180] Among them, the first device on the left can switch back to the original frequency and communication rate after the above-mentioned data to be sent is sent. The original frequency and communication rate are the preset radio frequency frequency and preset communication rate of the sensor in the embodiment of the present application.
[0181] S507: Switch back to the original frequency and communication rate.
[0182] Among them, after receiving the above-mentioned data to be sent, the second device on the right can switch back to the original frequency and communication rate, and the original frequency and communication rate are the preset radio frequency frequency and preset communication rate of the sensor in the embodiment of the present application.
[0183] S508: Subsequent linkage processing.
[0184] Among them, the data transmission between the first device on the left and the second device on the right is completed, and the camera or gateway on the left can continue subsequent operations, for example, the camera receives environmental data sent by the sensor connected by wireless communication, the camera or gateway participates in the next data transmission as the second device, the gateway uploads data to the central platform as a data transmission device, makes sound and light prompts, outputs alarms, etc.
[0185] S509: Subsequent linkage processing.
[0186] Among them, the data transmission between the first device on the left and the second device on the right is completed, and the camera or gateway on the right can continue subsequent operations, for example, the camera receives environmental data sent by the sensor connected by wireless communication, the camera or gateway participates in the next data transmission as the first device, the gateway uploads data to the central platform as a data transmission device, makes sound and light prompts, outputs alarms, etc.
[0187] As mentioned above, usually, the sensor 230 has fixed communication parameters such as preset radio frequency frequency and preset communication rate. In some cases, the gateway device 210 also has fixed communication parameters such as radio frequency frequency and communication rate. For example, the gateway device 210 communicates with the imaging device 220 through the communication parameters such as the target radio frequency frequency and target communication rate, and the communication parameters such as the target radio frequency frequency and target communication rate are fixed and cannot be changed. As mentioned above, the target radio frequency frequency is different from the preset radio frequency frequency; the target communication rate is greater than the preset communication rate.
[0188] Therefore, in order to realize normal communication of the entire data transmission system, the imaging device 220 switches its own communication parameters to the communication parameters of the gateway device 210 when communicating with the gateway device 210, so as to realize data transmission with the gateway device 210 through the communication parameters of the gateway device 210, and the imaging device 220 switches its own communication parameters to the preset communication parameters of the sensor 230 when communicating with the sensor 230, so as to realize data transmission with the sensor 230 through the preset communication parameters of the sensor 230. That is, in the data transmission process of the data transmission system, the gateway device 210 and the sensor 230 keep the communication parameters fixed and cannot be changed, while the communication parameters of the imaging device 220 are switched between the communication parameters of the gateway device 210 and the preset communication parameters of the sensor 230.
[0189] As mentioned above, when the first device is the gateway device 210 and the second device is any imaging device 220, a parameter switching request carrying a target communication parameter can be sent to the any imaging device 220 through the gateway device 210, so that the any imaging device 220 switches the communication parameters and communicates with the gateway device 210 through the target communication parameters, that is, receives the data to be sent sent by the gateway device 210 through the target communication parameters through the target communication parameters. The target communication parameters are fixed and unchangeable communication parameters of the gateway device 210.
[0190] Correspondingly, when any imaging device 220 acts as a data sending end to send data to the gateway device 210, the imaging device 220 may actively switch its own communication parameters to the above-mentioned target communication parameters.
[0191] Based on this, optionally, in a specific implementation, when the first device is a gateway device 210 and the second device is any imaging device 220, 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 sensor 230 connected to the wireless communication.
[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 fixed and unchangeable communication parameters of the gateway device 210, and each imaging device 220 communicates with the gateway device 210 through the target communication parameters, and each imaging device 220 communicates with the sensor 230 connected by wireless communication through the preset communication parameters of the sensor 230. Furthermore, when acting as a data transmitter to send data to the gateway device 210, any imaging device 220 switches its own communication parameters to the target communication parameters, and when acting as a data receiver to receive data sent by the sensor 230 connected by wireless communication, any imaging device 220 switches its own communication parameters to the preset communication parameters of the sensor 230 connected by wireless communication.
[0194] As mentioned above, when the communication parameters of the above-mentioned gateway device 210 and the sensor 230 are fixed and cannot be changed, the first device is the gateway device 210, and the above-mentioned second device is any imaging device 220, and each imaging device 220 communicates with the gateway device 210 through the above-mentioned target communication parameters, the gateway device 210 sends a parameter switching request carrying the target communication parameters to the any imaging device 220, so that the any imaging device 220 switches its own communication parameters to the target communication parameters, and receives the data to be sent sent by the gateway device 210 through the target communication parameters through the target communication parameters. After receiving the above-mentioned data to be sent, in order to ensure the subsequent data transmission between the any imaging device 220 and the sensor 230 connected by wireless communication, so that the any imaging device 220 can receive the data sent by the sensor 230 connected by wireless communication, the any imaging device 220 can switch its own communication parameters from the target communication parameters back to the above-mentioned preset communication parameters.
[0195] Based on this, optionally, in a specific implementation, the imaging device 220 is also used to switch its own communication parameters back to the preset communication parameters after the reception of the data to be sent is completed.
[0196] In this specific implementation, when the first device is a gateway device 210 and the above-mentioned second device is any imaging device 220, the imaging device 220 as a data receiving end can continue to serve as a data receiving end to receive data sent by the sensor 230 connected by wireless communication after receiving the data to be sent sent by the above-mentioned gateway device 210. Since the imaging device 220 communicates with the sensor 230 through the preset communication parameters of the sensor 230, after the reception of the data to be sent sent by the above-mentioned gateway device 210 is completed, the imaging device 220 can switch its own communication parameters back to the preset communication parameters of the sensor 230.
[0197] Corresponding to a data transmission system provided by the above-mentioned embodiment of the present application, the embodiment of the present application also provides a data sending method, which is applied to a first device in the data transmission system, the system including: 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 sensor wirelessly connected through preset communication parameters, and the preset communication parameters include 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 A flow chart of a data transmission method provided in an embodiment of the present application is shown as follows: Figure 6 As shown, the data sending method may include the following steps S601-S602.
[0199] S601: After determining the data to be sent, sending a parameter switching request to a second device in 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, 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 parameter, so that the second device receives the data to be sent through the target communication parameter.
[0202] 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.
[0203] Based on this, by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system can be improved without increasing the hardware cost.
[0204] Optionally, in a specific implementation, the data sending method further includes:
[0205] receiving a response signal, and switching 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 receiving the data to be sent;
[0206] After the data to be sent is sent, the communication parameters of the device are switched back to the preset communication parameters.
[0207] Optionally, in a 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 a specific implementation, after the reception of the data to be sent is completed, the imaging device switches its own communication parameters back to the preset communication parameters.
[0209] Optionally, in a specific implementation, the imaging device receives environmental data collected by itself and sent by a sensor connected by wireless communication through the preset radio frequency; wherein the amount of the environmental data is smaller than the amount of the data to be sent.
[0210] Optionally, in a 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 any 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 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.
[0211] Corresponding to a data transmission system provided by the above-mentioned embodiment of the present application, the embodiment of the present application also provides a data receiving method, which is applied to a second device in the data transmission system, the system including: 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 sensor wirelessly connected through preset communication parameters, and the preset communication parameters include 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 A flow chart of a data receiving method provided in an embodiment of the present application is shown as follows: 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 a first device in 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: Switching 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, 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 to-be-sent data sent by the first device using the target communication parameters through the target communication parameters.
[0218] 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.
[0219] Based on this, by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system can be improved without increasing the hardware cost.
[0220] Optionally, in a specific implementation, the data receiving method further includes:
[0221] Upon receiving the parameter switching request, sending a response signal to the first device; wherein, the first device receives the response signal and switches its own communication parameters to the target communication parameters, and the first device switches its own communication parameters back to the preset communication parameters after the data to be sent is sent, 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 reception of the data to be sent is completed, the communication parameters of the device itself are switched back to the preset switching parameters.
[0223] Optionally, in a 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 a specific implementation, after the reception of the data to be sent is completed, the imaging device switches its own communication parameters back to the preset communication parameters.
[0225] Optionally, in a specific implementation, the imaging device receives environmental data collected by itself and sent by a sensor connected by wireless communication through the preset radio frequency; wherein the amount of the environmental data is smaller than the amount of the data to be sent.
[0226] Optionally, in a 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 any 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 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.
[0227] Corresponding to a data transmission method provided in the above embodiment of the present application, the embodiment of the present application also provides a data transmission device. The data transmission device is applied to a first device 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 sensor wirelessly connected through preset communication parameters, the preset communication parameters including a preset radio frequency and / or a preset communication rate; the first device is any one of the gateway device and the plurality of imaging devices.
[0228] Figure 8 A structural diagram of a data sending device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the data sending device may include:
[0229] The request sending module 810 is used to send a parameter switching request to the second device of 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 by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate;
[0230] A data sending module 820, configured to send the data to be sent to the second device through the target communication parameter, so that the second device receives the data to be sent through the target communication parameter;
[0231] 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.
[0232] Based on this, by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system can be improved without increasing the hardware cost.
[0233] Optionally, in a specific implementation, the data sending device further includes:
[0234] a signal receiving module, configured 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 receiving the data to be sent;
[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 sent.
[0236] Corresponding to a data receiving method provided in the above embodiment of the present application, the embodiment of the present application also provides a data receiving device. The data receiving device is applied to a second device 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 sensor wirelessly connected through preset communication parameters, the preset communication parameters including a preset radio frequency and / or a preset communication rate; the second device is: any one of the gateway device and the plurality of imaging devices.
[0237] Fig. 9 A schematic diagram of the structure of a data receiving device provided in an embodiment of the present application is shown in FIG. Fig. 9 As shown, the data receiving device may include:
[0238] A request receiving module 910 is used 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 the data to be sent;
[0239] A parameter switching module 920, configured to switch its own communication parameters to the target communication parameters carried by 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] The data receiving module 930 is used to receive the to-be-sent data sent by the first device through the target communication parameter through the target communication parameter;
[0241] 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.
[0242] Based on this, by applying the solution provided in the embodiment of the present application, the data transmission success rate and / or data transmission efficiency can be improved simply by switching the RF frequency and / or increasing the communication rate for data transmission between the imaging device and the gateway device. Therefore, there is no need for excessively high hardware costs, and the implementation solution is simple. Therefore, the transmission effect of data transmission between any imaging device and a gateway device in the data transmission system can be improved without increasing the hardware cost.
[0243] Optionally, in a specific implementation, the data receiving device further includes:
[0244] a signal sending module, configured to send a response signal to the first device upon receiving the parameter switching request; wherein, the first device receives the response signal and switches its own communication parameters to the target communication parameters, and the first device switches its own communication parameters back to the preset communication parameters after the data to be sent is sent, 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 reception of the data to be sent is completed.
[0246] The present application also provides an electronic device, such as Fig.10 As shown, including:
[0247] Memory 1001, used for storing computer programs;
[0248] The processor 1002 is used to implement the steps of a data sending method and / or a data receiving method provided in the above-mentioned embodiment of the present application when executing the program stored in the memory 1001.
[0249] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 1002, the communication interface, and the memory 1001 communicate with each other via the communication bus.
[0250] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0251] The communication interface is used for communication between the above electronic device and other devices.
[0252] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0253] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0254] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of a data sending method and / or a data receiving method provided in the above-mentioned embodiment of the present application are implemented.
[0255] In another embodiment provided in the present application, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute the steps of a data sending method and / or a data receiving method provided in the above-mentioned embodiment of the present application.
[0256] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part 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, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.
[0257] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0258] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for method embodiments, device embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments, since they are basically similar to system embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0259] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A data transmission system, characterized in that: The system includes: 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 is used to communicate with the sensor connected to the wireless communication through preset communication parameters; wherein the preset communication parameters include a preset radio frequency and / or a preset communication rate; The first device of the system is used to send a parameter switching request to a 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 a target communication parameter carried by the parameter switching request; wherein the target communication parameter includes a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency 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 data to be sent through the target communication parameters; The first device is the gateway device and any one of the multiple 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.
2. The system according to claim 1, characterized in that The second device is further configured to send a response signal to the first device when receiving the parameter switching request, and switch its own communication parameters back to the preset switching parameters after the reception of the to-be-sent data is completed; 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; after the to-be-sent data is sent, switch its own communication parameters back to the preset communication parameters.
3. The system according to claim 1, characterized in that The first device is the gateway device and the second device is any imaging device, each imaging device communicates with the gateway device via the target communication parameter; The imaging device is further 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 the wireless communication.
4. The system according to claim 3, characterized in that The imaging device is also used for: After the reception of the data to be sent is completed, the communication parameters of the device are switched back to the preset communication parameters.
5. The system according to claim 1, characterized in that The imaging device is specifically used to receive the environmental data collected by the sensor through the preset radio frequency. The amount of the environmental data is smaller than the amount of the data to be sent.
6. The system according to claim 5, characterized in that In the case where 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; In the case where 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 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.
7. A data transmission method, 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 to the gateway device, and a plurality of sensors wirelessly connected to each imaging device; each imaging device communicates with the sensor wirelessly connected through preset communication parameters, the preset communication parameters comprising a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the plurality of imaging devices; the method comprising: After determining the data to be sent, 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 own communication parameters to the target communication parameters carried by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate; Sending the data to be sent to the second device through the target communication parameter, so that the second device receives the data to be sent through the target communication parameter; 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.
8. A data receiving method, characterized in that: A second device applied to 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 sensor wirelessly connected through preset communication parameters, the preset communication parameters comprising 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 method comprising: 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 data to be sent; Switching its own communication parameters to the target communication parameters carried by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate; receiving, by means of the target communication parameter, the data to be sent sent by the first device by means of the target communication parameter; 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.
9. A data sending 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 to the gateway device, and a plurality of sensors wirelessly connected to each imaging device; each imaging device communicates with the sensor wirelessly connected through preset communication parameters, the preset communication parameters comprising a preset radio frequency frequency and / or a preset communication rate; the first device is any one of the gateway device and the plurality of imaging devices; the apparatus comprises: A request sending module, configured to send a parameter switching request to a second device of 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 by the parameter switching request; wherein the target communication parameters include a target radio frequency frequency and / or a target communication rate, the target radio frequency frequency is different from the preset radio frequency frequency, and the target communication rate is higher than the preset communication rate; a data sending module, configured to send the data to be sent to the second device through the target communication parameter, so that the second device receives the data to be sent through the target communication parameter; 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.
10. A data receiving device, characterized in that: A second device applied to 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 sensor wirelessly connected through preset communication parameters, the preset communication parameters comprising 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 apparatus comprises: A request receiving module, used 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 the data to be sent; A parameter switching module, configured to switch its own communication parameters to the target communication parameters carried by 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; 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; 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.
11. An electronic device, characterized in that: The electronic device 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 comprises: a plurality of sensors wirelessly connected to each imaging device; the electronic device comprises: Memory, used to store computer programs; The processor is used to implement the method described in claim 7 and / or 8 when executing the program stored in the memory.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to claim 7 and / or 8 is implemented.
Citation Information
Patent Citations
Double-frequency-band communication device for indoor light sensor wireless network
CN102387185A
Data transmission method, device, equipment and system
CN117440455A
LoRa networking detection and debugging method, device and equipment and medium
CN117499951A
Data transmission method, product hardware circuit and gateway
CN117811968A