CN114286451A - Wireless communication instruction compression method and related device - Google Patents
Wireless communication instruction compression method and related device Download PDFInfo
- Publication number
- CN114286451A CN114286451A CN202111591505.6A CN202111591505A CN114286451A CN 114286451 A CN114286451 A CN 114286451A CN 202111591505 A CN202111591505 A CN 202111591505A CN 114286451 A CN114286451 A CN 114286451A
- Authority
- CN
- China
- Prior art keywords
- target
- compression
- wireless communication
- instruction
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides a wireless communication instruction compression method and a related device, which are applied to first Internet of things equipment, wherein the method comprises the following steps: establishing communication connection between the first Internet of things device and the second Internet of things device through a target communication channel; acquiring a first wireless communication instruction; acquiring a target channel parameter of the target communication channel; performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction; and sending the second wireless communication instruction to the second networking equipment through the target communication channel. By adopting the embodiment of the application, the instruction transmission efficiency can be improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and a related apparatus for compressing wireless communication commands.
Background
With the rapid development of scientific technology, communication technology is becoming mature, and communication also becomes a part of people's life. Although information security also becomes a key point of attention, currently, it takes time to send an instruction, and the instruction may take a long time to send because of carrying instruction content, so that a problem how to improve instruction transmission efficiency is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a wireless communication instruction compression method and a related device, which can improve instruction transmission efficiency.
A first aspect of the embodiments of the present application provides a method for compressing a wireless communication instruction, where the method is applied to a first internet of things device, and the method includes:
establishing communication connection between the first Internet of things device and the second Internet of things device through a target communication channel;
acquiring a first wireless communication instruction;
acquiring a target channel parameter of the target communication channel;
performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction;
and sending the second wireless communication instruction to the second networking equipment through the target communication channel.
A second aspect of the embodiments of the present application provides a wireless communication instruction compression device, which is applied to a first internet of things device, the device includes: a communication unit, an acquisition unit and a compression unit, wherein,
the communication unit is used for establishing communication connection between the first Internet of things device and the second Internet of things device through a target communication channel;
the acquisition unit is used for acquiring a first wireless communication instruction; and obtaining a target channel parameter of the target communication channel;
the compression unit is used for performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction;
the communication unit is further configured to send the second wireless communication instruction to the second networking device through the target communication channel.
A third aspect of the embodiments of the present application provides an electronic device, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the step instructions in the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps as described in the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has at least the following beneficial effects:
the wireless communication instruction compression method and the related device are applied to first Internet of things equipment, and communication connection between the first Internet of things equipment and second Internet of things equipment is established through a target communication channel; acquiring a first wireless communication instruction; acquiring a target channel parameter of a target communication channel; performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction; and a second wireless communication instruction is sent to the second networking equipment through the target communication channel, and instruction compression processing is carried out according to the target channel parameters, so that not only can a compression effect strongly related to the channel be obtained, but also the data transmission efficiency can be improved, and the data transmission safety can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for compressing a wireless communication command according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a method for compressing a wireless communication command according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a wireless communication command compression apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The first Internet of things device and the second Internet of things device described in this application embodiment may both be electronic Devices, and the electronic Devices may include smart phones (e.g., Android phones, iOS phones, Windows Phone phones, etc.), metas-related Devices (e.g., virtual reality/augmented reality Devices), tablet computers, palmtop computers, vehicle-mounted Devices (e.g., automobile data recorders), servers, notebook computers, Mobile Internet Devices (MID, Mobile Internet Devices), wearable Devices (e.g., smart watches, bluetooth headsets), and the like.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for compressing a wireless communication command according to an embodiment of the present disclosure. As shown in fig. 1, the method for compressing wireless communication commands applied to a first internet of things device includes the following steps:
101. and establishing communication connection between the first Internet of things equipment and the second Internet of things equipment through a target communication channel.
In this embodiment, the channel type of the target communication channel may include at least one of the following: a bluetooth communication channel, an infrared communication channel, a zigbee communication channel, a wifi communication channel, a mobile communication channel, a visible light communication channel, etc., without limitation thereto.
In a specific implementation, the communication connection between the first internet of things device and the second internet of things device may be established through a target communication channel, and the target communication channel may include a downlink communication link and an uplink communication link.
102. A first wireless communication command is obtained.
In this embodiment of the application, the first wireless communication instruction may be set by the first internet of things device side, and the first wireless communication instruction may include at least one of the following: voice processing instructions, image processing instructions, control commands, and the like, without limitation. The first wireless communication command may carry a command content, which may include a command type part and, of course, a data part, which may include at least one of the following: voice data, image data, character strings, documents, etc., without limitation thereto. The first wireless communication command can be a single command or a combination command. When the first wireless communication command is a combined command, the first wireless communication command may further carry a command priority parameter, where the command priority parameter is used to control an execution order of the commands or a compression order of the commands.
103. And acquiring target channel parameters of the target communication channel.
In a specific implementation, the channel parameter may include at least one of: network rate, network delay, packet loss rate, signal-to-noise ratio, network bandwidth, etc., without limitation.
Optionally, the method may further include the following steps:
acquiring target instruction content of the first wireless communication instruction;
extracting keywords from the target instruction content to obtain target keywords;
and when the target keyword meets a preset condition, executing the step of acquiring the target channel parameter of the target communication channel.
The preset condition can be preset or default to the system. In the specific implementation, the first wireless communication instruction may be analyzed to obtain a target instruction content corresponding to the first wireless communication instruction, the target instruction content may be subjected to keyword extraction to obtain a target keyword, and when the target keyword meets a preset condition, it is indicated that the first wireless communication instruction contains some sensitive information, or if the target keyword needs to be compressed, a target channel parameter of a target communication channel may be obtained, and instruction compression processing may be performed according to the target channel parameter.
104. And performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction.
In specific implementation, a mapping relationship between a preset channel parameter and a compression parameter may be pre-stored, and then, a compression parameter corresponding to a target channel parameter may be determined according to the mapping relationship, and then, an instruction compression process may be performed on the first wireless communication instruction based on the compression parameter, so as to obtain a second wireless communication instruction.
Wherein the compression parameters may include at least one of: a compression algorithm, a compression ratio, a compression position, a compression time length and the like, which are not limited herein, wherein the compression ratio is a ratio between a compressed part and original data; the compression position refers to which part of data needs to be compressed; the compression time duration can be understood as the time duration taken for compression or the time duration taken for decompression. In the embodiment of the application, instruction compression processing is performed on part or all of the first wireless communication instruction according to the target channel parameter to obtain the second wireless communication instruction.
Optionally, the step of performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction may include the following steps:
determining a first compression parameter corresponding to the target channel parameter;
determining a target fluctuation factor corresponding to the target channel parameter;
optimizing the first compression parameter according to the target fluctuation factor to obtain a second compression parameter;
and performing instruction compression processing on the first wireless communication instruction according to the second compression parameter to obtain the second wireless communication instruction.
In the embodiment of the present application, a mapping relationship between a preset channel parameter and a compression parameter may be prestored, and then the compression parameter corresponding to the target channel parameter may be determined according to the mapping relationship, of course, a channel parameter of a preset time period may also be determined, and a target fluctuation factor is determined based on the channel parameter, where the preset time period may be preset or default to the system. Because the channel parameters are fluctuant, the fluctuation factor reflects the fluctuation condition of the channel, and the value range of the fluctuation factor can be-0.1.
Furthermore, the first compression parameter may be optimized according to the target fluctuation factor to obtain a second compression parameter, (i.e., (1+ target fluctuation factor) × the first compression parameter), and then the first wireless communication command may be compressed according to the second compression parameter to obtain a second wireless communication command.
Optionally, the target channel parameter includes a target network rate and a target signal-to-noise ratio;
when the first wireless communication command is a combination command, the determining a first compression parameter corresponding to the target channel parameter in the above steps may include:
determining a target compression control algorithm corresponding to the target network rate according to a mapping relation between a preset network rate and a compression control algorithm;
determining a target compression ratio coefficient corresponding to the target signal-to-noise ratio according to a preset mapping relation between the signal-to-noise ratio and the compression ratio coefficient;
and taking the target compression control algorithm and the target compression scaling factor as the first compression parameter.
In specific implementation, a mapping relationship between a preset network rate and a compression control algorithm and a mapping relationship between a preset signal-to-noise ratio and a compression scaling factor may be stored in advance.
Specifically, when the target channel parameter includes a target network rate and a target signal-to-noise ratio, a target compression control algorithm corresponding to the target network rate may be determined according to a mapping relationship between a preset network rate and a compression control algorithm, a target compression scaling factor corresponding to the target signal-to-noise ratio may be determined according to a mapping relationship between a preset signal-to-noise ratio and a compression scaling factor, and finally, the target compression control algorithm and the target compression scaling factor may be used as the first compression parameter, when the first wireless communication instruction is a combined instruction, the first wireless communication instruction may include an instruction priority parameter, and the target compression scaling factor may be partially or fully compressed based on the target compression scaling factor, for example, the target compression scaling factor is 20%, and 20% of instructions in the first wireless communication instruction may be compressed based on the instruction priority parameter, the rest may not be compressed.
Optionally, the step of determining the target fluctuation factor corresponding to the target channel parameter may include the following steps:
acquiring a channel parameter set in a preset time period;
performing mean square error operation according to the channel parameter set to obtain a first mean square error;
and determining a target fluctuation factor corresponding to the first mean square error according to a preset mapping relation between the mean square error and the fluctuation factor.
Wherein the preset time period can be preset or default by the system. The first internet of things device can also store a mapping relation between a preset mean square error and a fluctuation factor in advance.
In specific implementation, a channel parameter set in a preset time period may be obtained, mean square error operation may be performed according to the channel parameter set to obtain a first mean square error, and a target fluctuation factor corresponding to the first mean square error may be determined according to a mapping relationship between a preset mean square error and the fluctuation factor.
105. And sending the second wireless communication instruction to the second networking equipment through the target communication channel.
In the concrete implementation, a second wireless communication instruction can be sent to the second networking equipment through the target communication channel, so that on one hand, the instruction transmission efficiency can be improved, and on the other hand, the transmission safety can be improved.
The wireless communication instruction compression method is applied to first Internet of things equipment, and communication connection between the first Internet of things equipment and second Internet of things equipment is established through a target communication channel; acquiring a first wireless communication instruction; acquiring a target channel parameter of a target communication channel; performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction; and a second wireless communication instruction is sent to the second networking equipment through the target communication channel, and instruction compression processing is carried out according to the target channel parameters, so that not only can a compression effect strongly related to the channel be obtained, but also the data transmission efficiency can be improved, and the data transmission safety can be improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for compressing a wireless communication command according to an embodiment of the present disclosure. As shown in fig. 2, the method for compressing wireless communication commands applied to the first internet of things device includes the following steps:
201. and establishing communication connection between the first Internet of things equipment and the second Internet of things equipment through a target communication channel.
202. A first wireless communication command is obtained.
203. And acquiring the target instruction content of the first wireless communication instruction.
204. And extracting keywords from the target instruction content to obtain target keywords.
205. And when the target keyword meets a preset condition, acquiring a target channel parameter of the target communication channel.
206. And performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction.
207. And sending the second wireless communication instruction to the second networking equipment through the target communication channel.
The detailed description of the steps 201 to 207 may refer to the detailed description of the steps 101 to 105, and is not repeated herein.
The wireless communication instruction compression method is applied to first Internet of things equipment, and communication connection between the first Internet of things equipment and second Internet of things equipment is established through a target communication channel; acquiring a first wireless communication instruction; acquiring target instruction content of a first wireless communication instruction; extracting keywords from the target instruction content to obtain target keywords; when the target keyword meets a preset condition, acquiring a target channel parameter of a target communication channel; performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction; the second wireless communication instruction is sent to the second networking equipment through the target communication channel, instruction compression processing is carried out according to the target channel parameters, the compression effect strongly related to the channel can be obtained according to the condition that sensitive data are carried in the instruction, the data transmission efficiency is improved, and the data transmission safety can also be improved.
In accordance with the foregoing embodiments, please refer to fig. 3, where fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be a first internet of things device, and as shown in the figure, the electronic device includes a processor, an input device, an output device, and a memory, and the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to invoke the program instructions, and the program includes instructions for performing the following steps;
establishing communication connection between the first Internet of things device and the second Internet of things device through a target communication channel;
acquiring a first wireless communication instruction;
acquiring a target channel parameter of the target communication channel;
performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction;
and sending the second wireless communication instruction to the second networking equipment through the target communication channel.
Optionally, in the aspect that the instruction compression processing is performed on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction, the program includes an instruction for executing the following steps:
determining a first compression parameter corresponding to the target channel parameter;
determining a target fluctuation factor corresponding to the target channel parameter;
optimizing the first compression parameter according to the target fluctuation factor to obtain a second compression parameter;
and performing instruction compression processing on the first wireless communication instruction according to the second compression parameter to obtain the second wireless communication instruction.
Optionally, the target channel parameter includes a target network rate and a target signal-to-noise ratio;
when the first wireless communication command is a combination command, in the aspect of determining the first compression parameter corresponding to the target channel parameter, the program includes a command for executing the following steps:
determining a target compression control algorithm corresponding to the target network rate according to a mapping relation between a preset network rate and a compression control algorithm;
determining a target compression ratio coefficient corresponding to the target signal-to-noise ratio according to a preset mapping relation between the signal-to-noise ratio and the compression ratio coefficient;
and taking the target compression control algorithm and the target compression scaling factor as the first compression parameter.
Optionally, in the aspect of determining the target fluctuation factor corresponding to the target channel parameter, the program includes instructions for executing the following steps:
acquiring a channel parameter set in a preset time period;
performing mean square error operation according to the channel parameter set to obtain a first mean square error;
and determining a target fluctuation factor corresponding to the first mean square error according to a preset mapping relation between the mean square error and the fluctuation factor.
Optionally, the program further includes instructions for performing the following steps:
acquiring target instruction content of the first wireless communication instruction;
extracting keywords from the target instruction content to obtain target keywords;
and when the target keyword meets a preset condition, executing the step of acquiring the target channel parameter of the target communication channel.
The electronic equipment establishes communication connection between first Internet of things equipment and second Internet of things equipment through a target communication channel; acquiring a first wireless communication instruction; acquiring a target channel parameter of a target communication channel; performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction; and a second wireless communication instruction is sent to the second networking equipment through the target communication channel, and instruction compression processing is carried out according to the target channel parameters, so that not only can a compression effect strongly related to the channel be obtained, but also the data transmission efficiency can be improved, and the data transmission safety can be improved.
In accordance with the above, please refer to fig. 4, fig. 4 is a schematic structural diagram of a wireless communication command compression apparatus according to an embodiment of the present disclosure. Wireless communication instruction compressor arrangement is applied to first thing networking device, the device includes: a communication unit 401, an acquisition unit 402, and a compression unit 403, wherein,
the communication unit 401 is configured to establish a communication connection between the first internet of things device and the second internet of things device through a target communication channel;
the obtaining unit 402 is configured to obtain a first wireless communication instruction; and obtaining a target channel parameter of the target communication channel;
the compressing unit 403 is configured to perform instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction;
the communication unit 401 is further configured to send the second wireless communication instruction to the second networking device through the target communication channel.
Optionally, in the aspect that the instruction compression processing is performed on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction, the compression unit 403 is specifically configured to:
determining a first compression parameter corresponding to the target channel parameter;
determining a target fluctuation factor corresponding to the target channel parameter;
optimizing the first compression parameter according to the target fluctuation factor to obtain a second compression parameter;
and performing instruction compression processing on the first wireless communication instruction according to the second compression parameter to obtain the second wireless communication instruction.
Optionally, the target channel parameter includes a target network rate and a target signal-to-noise ratio;
when the first wireless communication instruction is a combination instruction, in the aspect of determining the first compression parameter corresponding to the target channel parameter, the compression unit 403 is specifically configured to:
determining a target compression control algorithm corresponding to the target network rate according to a mapping relation between a preset network rate and a compression control algorithm;
determining a target compression ratio coefficient corresponding to the target signal-to-noise ratio according to a preset mapping relation between the signal-to-noise ratio and the compression ratio coefficient;
and taking the target compression control algorithm and the target compression scaling factor as the first compression parameter.
Optionally, in the aspect of determining the target fluctuation factor corresponding to the target channel parameter, the compressing unit 403 is specifically configured to:
acquiring a channel parameter set in a preset time period;
performing mean square error operation according to the channel parameter set to obtain a first mean square error;
and determining a target fluctuation factor corresponding to the first mean square error according to a preset mapping relation between the mean square error and the fluctuation factor.
Optionally, the apparatus 400 is further specifically configured to:
acquiring target instruction content of the first wireless communication instruction;
extracting keywords from the target instruction content to obtain target keywords;
and when the target keyword meets a preset condition, executing the step of acquiring the target channel parameter of the target communication channel.
The wireless communication instruction compression device is applied to first Internet of things equipment, and communication connection between the first Internet of things equipment and second Internet of things equipment is established through a target communication channel; acquiring a first wireless communication instruction; acquiring a target channel parameter of a target communication channel; performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction; and a second wireless communication instruction is sent to the second networking equipment through the target communication channel, and instruction compression processing is carried out according to the target channel parameters, so that not only can a compression effect strongly related to the channel be obtained, but also the data transmission efficiency can be improved, and the data transmission safety can be improved.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the wireless communication instruction compression methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program causes a computer to execute some or all of the steps of any one of the wireless communication instruction compression methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash memory disks, read-only memory, random access memory, magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A wireless communication instruction compression method is applied to a first Internet of things device, and comprises the following steps:
establishing communication connection between the first Internet of things device and the second Internet of things device through a target communication channel;
acquiring a first wireless communication instruction;
acquiring a target channel parameter of the target communication channel;
performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction;
and sending the second wireless communication instruction to the second networking equipment through the target communication channel.
2. The method of claim 1, wherein the performing the command compression process on the first wireless communication command according to the target channel parameter to obtain a second wireless communication command comprises:
determining a first compression parameter corresponding to the target channel parameter;
determining a target fluctuation factor corresponding to the target channel parameter;
optimizing the first compression parameter according to the target fluctuation factor to obtain a second compression parameter;
and performing instruction compression processing on the first wireless communication instruction according to the second compression parameter to obtain the second wireless communication instruction.
3. The method of claim 2, wherein the target channel parameters comprise a target network rate and a target signal-to-noise ratio;
when the first wireless communication instruction is a combined instruction, the determining a first compression parameter corresponding to the target channel parameter includes:
determining a target compression control algorithm corresponding to the target network rate according to a mapping relation between a preset network rate and a compression control algorithm;
determining a target compression ratio coefficient corresponding to the target signal-to-noise ratio according to a preset mapping relation between the signal-to-noise ratio and the compression ratio coefficient;
and taking the target compression control algorithm and the target compression scaling factor as the first compression parameter.
4. The method of claim 2, wherein the determining the target fluctuation factor corresponding to the target channel parameter comprises:
acquiring a channel parameter set in a preset time period;
performing mean square error operation according to the channel parameter set to obtain a first mean square error;
and determining a target fluctuation factor corresponding to the first mean square error according to a preset mapping relation between the mean square error and the fluctuation factor.
5. The method according to any one of claims 1-4, further comprising:
acquiring target instruction content of the first wireless communication instruction;
extracting keywords from the target instruction content to obtain target keywords;
and when the target keyword meets a preset condition, executing the step of acquiring the target channel parameter of the target communication channel.
6. The utility model provides a wireless communication instruction compression device which characterized in that is applied to first thing networking equipment, the device includes: a communication unit, an acquisition unit and a compression unit, wherein,
the communication unit is used for establishing communication connection between the first Internet of things device and the second Internet of things device through a target communication channel;
the acquisition unit is used for acquiring a first wireless communication instruction; and obtaining a target channel parameter of the target communication channel;
the compression unit is used for performing instruction compression processing on the first wireless communication instruction according to the target channel parameter to obtain a second wireless communication instruction;
the communication unit is further configured to send the second wireless communication instruction to the second networking device through the target communication channel.
7. The apparatus of claim 6, wherein in the aspect that the first wireless communication instruction is compressed according to the target channel parameter to obtain a second wireless communication instruction, the compressing unit is specifically configured to:
determining a first compression parameter corresponding to the target channel parameter;
determining a target fluctuation factor corresponding to the target channel parameter;
optimizing the first compression parameter according to the target fluctuation factor to obtain a second compression parameter;
and performing instruction compression processing on the first wireless communication instruction according to the second compression parameter to obtain the second wireless communication instruction.
8. The apparatus of claim 7, wherein the target channel parameters comprise a target network rate and a target signal-to-noise ratio;
when the first wireless communication instruction is a combination instruction, in the aspect of determining the first compression parameter corresponding to the target channel parameter, the compression unit is specifically configured to:
determining a target compression control algorithm corresponding to the target network rate according to a mapping relation between a preset network rate and a compression control algorithm;
determining a target compression ratio coefficient corresponding to the target signal-to-noise ratio according to a preset mapping relation between the signal-to-noise ratio and the compression ratio coefficient;
and taking the target compression control algorithm and the target compression scaling factor as the first compression parameter.
9. An electronic device comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111591505.6A CN114286451B (en) | 2021-12-23 | 2021-12-23 | Wireless communication instruction compression method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111591505.6A CN114286451B (en) | 2021-12-23 | 2021-12-23 | Wireless communication instruction compression method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114286451A true CN114286451A (en) | 2022-04-05 |
CN114286451B CN114286451B (en) | 2023-09-22 |
Family
ID=80874649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111591505.6A Active CN114286451B (en) | 2021-12-23 | 2021-12-23 | Wireless communication instruction compression method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114286451B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010027493A1 (en) * | 1999-12-03 | 2001-10-04 | Wallace Christopher Ryall | Method for providing streaming media data in a network-based environment |
US20160021064A1 (en) * | 2014-07-15 | 2016-01-21 | Hendrik Lock | System and method to secure sensitive content in a uri |
CN111050417A (en) * | 2019-12-27 | 2020-04-21 | 咻享智能(深圳)有限公司 | Wireless Internet of things equipment control method and related device |
CN111385043A (en) * | 2019-12-31 | 2020-07-07 | 咻享智能(深圳)有限公司 | Wireless internet of things channel management method and related device |
CN112702406A (en) * | 2020-12-18 | 2021-04-23 | 深圳市富途网络科技有限公司 | Data processing method, device and storage medium |
WO2021150121A1 (en) * | 2020-01-24 | 2021-07-29 | Polarcus Shipholding As | Compression and transmission of seismic data |
CN113823277A (en) * | 2021-11-23 | 2021-12-21 | 北京百瑞互联技术有限公司 | Keyword recognition method, system, medium, and apparatus based on deep learning |
-
2021
- 2021-12-23 CN CN202111591505.6A patent/CN114286451B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010027493A1 (en) * | 1999-12-03 | 2001-10-04 | Wallace Christopher Ryall | Method for providing streaming media data in a network-based environment |
US20160021064A1 (en) * | 2014-07-15 | 2016-01-21 | Hendrik Lock | System and method to secure sensitive content in a uri |
CN111050417A (en) * | 2019-12-27 | 2020-04-21 | 咻享智能(深圳)有限公司 | Wireless Internet of things equipment control method and related device |
CN111385043A (en) * | 2019-12-31 | 2020-07-07 | 咻享智能(深圳)有限公司 | Wireless internet of things channel management method and related device |
WO2021150121A1 (en) * | 2020-01-24 | 2021-07-29 | Polarcus Shipholding As | Compression and transmission of seismic data |
CN112702406A (en) * | 2020-12-18 | 2021-04-23 | 深圳市富途网络科技有限公司 | Data processing method, device and storage medium |
CN113823277A (en) * | 2021-11-23 | 2021-12-21 | 北京百瑞互联技术有限公司 | Keyword recognition method, system, medium, and apparatus based on deep learning |
Also Published As
Publication number | Publication date |
---|---|
CN114286451B (en) | 2023-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140208328A1 (en) | Method for terminal acceleration, terminal and storage medium | |
CN105573733B (en) | Method, web front-end and the system that browser is communicated with web front-end | |
CN108881781B (en) | Method and device for determining resolution in video call process | |
CN110493030A (en) | Network optimized approach, device, computer equipment and storage medium | |
CN111352912A (en) | Compressed file processing method, device, storage medium, terminal and server | |
CN109756568A (en) | Processing method, equipment and the computer readable storage medium of file | |
CN109783446A (en) | Method and apparatus for storing data | |
CN112084959A (en) | Crowd image processing method and device | |
CN106572131A (en) | Media data sharing method and system in Internet of things | |
US20170155866A1 (en) | Method and device for controlling television | |
CN111917813A (en) | Communication method, device, equipment, system and storage medium | |
CN112888024B (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN106383731B (en) | A kind of data migration method and mobile terminal | |
CN105471998A (en) | Method and device for synchronizing application data in multiple terminals | |
CN114286451A (en) | Wireless communication instruction compression method and related device | |
CN107168648B (en) | File storage method and device and terminal | |
CN114339737B (en) | Wireless communication instruction encryption method and related equipment | |
CN105469433B (en) | Picture compression method and equipment thereof | |
WO2017092315A1 (en) | Method and device for controlling television | |
CN107391354A (en) | The method and system of automatic monitoring terminal performance, storage device | |
CN114138733A (en) | Log collection method and device, terminal equipment and storage medium | |
CN111400630A (en) | Resource preloading method and related equipment | |
CN114338843B (en) | Intelligent coding system of wireless communication protocol | |
CN110007894B (en) | Method and device for transmitting audio information | |
CN114971349A (en) | Information generation method, device, equipment, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |