CN114338843B - Intelligent coding system of wireless communication protocol - Google Patents
Intelligent coding system of wireless communication protocol Download PDFInfo
- Publication number
- CN114338843B CN114338843B CN202111655221.9A CN202111655221A CN114338843B CN 114338843 B CN114338843 B CN 114338843B CN 202111655221 A CN202111655221 A CN 202111655221A CN 114338843 B CN114338843 B CN 114338843B
- Authority
- CN
- China
- Prior art keywords
- data
- target
- wireless communication
- communication protocol
- protocol
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 146
- 230000006978 adaptation Effects 0.000 claims abstract description 23
- 238000012856 packing Methods 0.000 claims description 53
- 238000004806 packaging method and process Methods 0.000 claims description 20
- 230000006870 function Effects 0.000 claims description 10
- 238000013507 mapping Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The embodiment of the application provides an intelligent coding system of wireless communication protocol, is applied to internet of things equipment, the intelligent coding system of wireless communication protocol includes: the device comprises a data receiving and transmitting module, a protocol adaptation module and an encoding module, wherein the data receiving and transmitting module is used for acquiring target data; the protocol adaptation module is used for determining a target wireless communication protocol corresponding to the target data; the encoding module is used for encoding the target data based on the target wireless communication protocol to obtain encoded data. By adopting the embodiment of the application, intelligent coding can be realized.
Description
Technical Field
The application relates to the technical field of communication, in particular to an intelligent coding system of a wireless communication protocol.
Background
With the rapid development of scientific technology, communication technology is also mature, and communication is also part of life of people. Although information security is also an important point of attention, at present, codes are widely applied in the internet of things technology, but the existing code form is single and cannot meet the diversified demands of users, so the problem of how to realize intelligent codes is urgently solved.
Disclosure of Invention
The embodiment of the application provides an intelligent coding system of a wireless communication protocol, which can realize intelligent coding.
The embodiment of the application provides an intelligent coding system of wireless communication protocol, which is applied to Internet of things equipment, and the intelligent coding system of the wireless communication protocol comprises: a data receiving and transmitting module, a protocol adapting module and an encoding module, wherein,
the data receiving and transmitting module is used for acquiring target data;
the protocol adaptation module is used for determining a target wireless communication protocol corresponding to the target data;
the encoding module is used for encoding the target data based on the target wireless communication protocol to obtain encoded data.
The implementation of the embodiment of the application has at least the following beneficial effects:
the intelligent coding system of the wireless communication protocol is applied to the Internet of things equipment, and the intelligent coding system of the wireless communication protocol comprises: the device comprises a data receiving and transmitting module, a protocol adaptation module and a coding module, wherein the data receiving and transmitting module acquires target data; a protocol adaptation module determines a target wireless communication protocol corresponding to the target data; the coding module codes the target data based on the target wireless communication protocol to obtain coded data, and further, the wireless communication protocol corresponding to the data can be determined, coding operation is completed based on the wireless communication protocol, intelligent coding is facilitated, coding effect corresponds to the characteristics of the data, and personalized intelligent coding is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an intelligent encoding system of a wireless communication protocol according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an internet of things system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an internet of things device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
The internet of things devices described in the embodiments of the present application may be electronic devices, where the electronic devices may include smart phones (such as Android mobile phones, iOS mobile phones, windows Phone mobile phones, etc.), meta-universe related devices (such as virtual reality/augmented reality devices), tablet computers, palm computers, vehicle-mounted devices (such as automobile data recorders), servers, notebook computers, mobile internet devices (MID, mobile Internet Devices), wearable devices (such as smart watches, bluetooth headsets), etc., which are merely examples, but not exhaustive, including but not limited to the electronic devices described above, the electronic devices may also be other smart home devices, and the smart home devices may be all devices capable of implementing smart home functions, which are not described herein.
The embodiments of the present application are described in detail below.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent encoding system of a wireless communication protocol according to an embodiment of the present application. As shown in fig. 1, the intelligent coding system applied to the internet of things device, the wireless communication protocol includes: a data receiving and transmitting module, a protocol adapting module and an encoding module, wherein,
the data receiving and transmitting module is used for acquiring target data;
the protocol adaptation module is used for determining a target wireless communication protocol corresponding to the target data;
the encoding module is used for encoding the target data based on the target wireless communication protocol to obtain encoded data.
The data transceiver module may be used to implement data reception or data forwarding, and the data transceiver module may be a communication module, where the communication module may include at least one of the following: bluetooth communication module, infrared communication module, mobile communication module, radio frequency communication module, wireless fidelity communication module, zigbee communication module, visible light communication module, millimeter wave communication module, lora communication module etc., not limited herein, mobile communication module can support at least one of the following communication standards: the 2G communication standard, 3G communication standard, 4G communication standard, 5G communication standard, 6G communication standard, etc., are not limited herein.
The protocol adaptation module is used for realizing protocol allocation, and the protocol adaptation module can adapt all communication protocols supported by the internet of things equipment, for example, can adapt a wireless communication protocol corresponding to data.
The encoding module is used for implementing encoding functions, such as video encoding, image encoding, voice encoding, and the like, and is not limited herein.
Wherein the target data may include at least one of: text data, video data, voice data, image data, sensor-detected data, and the like, are not limited herein. The target data may be data of a preset period of time, which may be preset or default to the system.
The target wireless communication protocol may include one or more protocols, and the protocol content of the target wireless communication protocol may include at least one of the following: data communication protocols, data packing protocols, encoding/decoding protocols, device control protocols, management logic protocols, etc., are not limited herein. Of course, multiple sub-protocols may also be included under each type of protocol. The target wireless communication protocol may be used to implement various communication functions, or communication data processing functions.
The internet of things device is applied to an internet of things system as shown in fig. 2, and the internet of things system can include N internet of things devices, which specifically can be: the Internet of things equipment 1, the Internet of things equipment 2, the Internet of things equipment 3, the Internet of things equipment 4 and …, the Internet of things equipment N-1 and the Internet of things equipment N, wherein N is an integer larger than 1.
The data transceiver module, the protocol adaptation module and the encoding module can be independent modules, and each independent module can be a software module or a hardware module.
In the specific implementation, the target data is acquired, the target wireless communication protocol corresponding to the target data is determined, then the target data is encoded based on the target wireless communication protocol to obtain encoded data, the encoded data can be sent to the appointed equipment, the appointed equipment can be preset or default by the system, in the encoding process, the encoding parameters corresponding to the appointed equipment can be acquired, the target data is encoded according to the encoding parameters to obtain encoded data, and furthermore, the encoded data can be adapted to the appointed equipment, so that the appointed equipment can conveniently perform decoding operation, and the data interaction efficiency is improved. The designated device may be another electronic device, that is, another internet of things device in the internet of things system. The number of the appointed devices can be one or more, when the number of the appointed devices is multiple, the coded data can be transmitted in groups, the coded data can meet the equipment environment of each appointed device in the multiple appointed devices, the data mass transmission efficiency is improved, and the coding efficiency and the data interaction efficiency are improved.
When the target wireless communication protocol is a communication protocol or an encoding protocol, the target data may be encoded based on the target wireless communication protocol to obtain encoded data, or the target wireless communication protocol and the target data may be encoded at the same time to obtain encoded data.
Optionally, the determining the target wireless communication protocol corresponding to the target data may include the following steps:
acquiring target attribute information of the target data;
and determining the target wireless communication protocol corresponding to the target attribute information.
In this embodiment of the present application, the attribute information may include at least one of the following: the data type, the data source, the data size, etc. are not limited herein, and further, a mapping relationship between preset attribute information and a wireless communication protocol may be stored in advance, and the target wireless communication protocol corresponding to the target attribute information may be determined based on the mapping relationship, and further, the wireless communication protocol corresponding to the data may be obtained.
Optionally, the determining the target wireless communication protocol corresponding to the target data may include the following steps:
extracting keywords from the target data to obtain target keywords;
and determining the target wireless communication protocol corresponding to the target keyword according to the mapping relation between the preset keyword and the wireless communication protocol.
In a specific implementation, the key may include at least one of: character strings, numbers, patterns, waveforms, etc., are not limited herein.
In a specific implementation, a mapping relationship between a preset keyword and a wireless communication protocol may be stored in advance, a keyword may be extracted from target data to obtain a target keyword, and then a target wireless communication protocol corresponding to the target keyword is determined according to the mapping relationship between the preset keyword and the wireless communication protocol, so that a corresponding wireless communication protocol may be selected based on data content.
Optionally, when the target wireless communication protocol is an encoding protocol and a packaging protocol, the encoding the target data based on the target wireless communication protocol to obtain encoded data includes:
packaging the target data according to the packaging protocol to obtain P data packets;
and encoding the P data packets according to the encoding protocol to obtain the encoded data.
In this embodiment of the present application, the target wireless communication protocol may include a plurality of protocols, for example, the target wireless communication protocol may include an encoding protocol and a packaging protocol, and further, the target data may be packaged according to the packaging protocol to obtain P data packets, and then, each data packet in the P data packets is encoded according to the encoding protocol to obtain encoded data, so that the data may be packaged and encoded, so that the data encoding is performed orderly, the encoding frequency is reduced, and the power consumption of the device is reduced while the encoding is performed.
Optionally, the packaging the target data according to the packaging protocol to obtain P packets, including:
arranging the target data according to time sequence;
dividing the arranged data into P data segments, wherein each data segment comprises a plurality of data;
determining the data characteristics of each data segment in the P data segments to determine packing parameters, so as to obtain P packing parameters;
and packing the P data segments according to the P packing parameters to obtain the P data packets.
Wherein the packing parameters may include at least one of: the packing protocol number, packing frequency, packet size, packet format, etc., are not limited herein. In a specific implementation, each data packet may further include a timestamp, or the data packet index may record the packing time, and the data packet index may be used to mark the data of the data packet, or may also be used to implement data packet statistics.
Specifically, the target data can be arranged according to time sequence, the arranged data is divided into P data segments, each data segment comprises a plurality of data, the data characteristics of each data segment in the P data segments can be determined to determine packing parameters, P packing parameters are obtained, namely, each data packet has own characteristics when being uniformly packed based on the relevance of the plurality of data segments, each data segment in the P data segments is packed according to the P packing parameters, and P data packets are obtained, so that the packing coordination is ensured, each data packet has unique individuality, diversified packing is facilitated, and the data security can be improved to a certain extent.
Optionally, the determining the data characteristic of each of the P data segments determines a packing parameter, to obtain P packing parameters, including:
determining the data importance of each data segment in the P data segments to obtain P data importance;
determining the average value of the importance degrees of the P data;
determining a reference packing parameter corresponding to the mean value;
determining the deviation between the importance of the P data and the average value to obtain P deviations;
determining P packing adjustment parameters according to the P deviations;
and adjusting the reference packing parameters according to the P packing adjustment parameters to obtain the P packing parameters.
In a specific implementation, a keyword of each data segment can be determined, and according to a mapping relation between a preset keyword and importance, the data importance of each data segment in the P data segments is determined, so that the importance of the P data segments can be represented by a specific numerical value.
Furthermore, the average value of the P data importance levels can be determined, then the reference packing parameters corresponding to the average value are determined according to the mapping relation between the preset importance levels and the packing parameters, the deviation of each data importance level in the P data importance levels and the average value can be determined, P deviations can be obtained, the packing adjustment parameters corresponding to each deviation in the P deviations can be determined according to the mapping relation between the preset deviation and the packing adjustment parameters, then the P packing adjustment parameters can be obtained, and then the reference packing parameters are adjusted according to each packing adjustment parameter in the P packing adjustment parameters, so that P packing parameters can be obtained, and meanwhile, the data packet has own characteristic individuality.
Optionally, the encoding the target data based on the target wireless communication protocol to obtain encoded data includes:
integrating the target wireless communication protocol with the target data to obtain reference data;
and encoding the reference data to obtain the encoded data.
In a specific implementation, the target wireless communication protocol and the target data can be integrated together to obtain the reference data, the reference data is encoded to obtain the encoded data, and the target wireless communication protocol and the target data can be encoded at the same time, so that the target wireless communication protocol and the target data can be compressed, and the subsequent data transmission efficiency can be improved.
Optionally, the protocol adaptation module is further specifically configured to:
detecting the memory size of the target data;
and executing the step of determining the target wireless communication protocol corresponding to the target data when the memory size is larger than or equal to the preset memory size.
In a specific implementation, the preset memory size may be preset or default, specifically, the memory size of the target data may be detected, and when the memory size is greater than or equal to the preset memory size, the step of determining the target wireless communication protocol corresponding to the target data is performed, so that when the data memory is sufficiently large, the encoding may be performed again, avoiding frequent encoding, and helping to reduce power consumption of the device.
Optionally, the protocol adaptation module is further specifically configured to:
when the memory size is smaller than the preset memory size, filling the target data to obtain filling data;
in the aspect of encoding the target data based on the target wireless communication protocol to obtain encoded data, the encoding module is further specifically configured to:
and encoding the filling data based on the target wireless communication protocol to obtain encoded data.
And when the memory size is smaller than the preset memory size, filling the target data to obtain filling data, and further, the coding module can code the filling data based on a target wireless communication protocol to obtain coded data, and the data filling can save the data length standardization, thereby being beneficial to standardized operation and improving the coding efficiency.
Optionally, the intelligent encoding system of the wireless communication protocol further includes a decoding module, where the decoding module is specifically configured to:
and decoding the encoded data to obtain decoded data.
In a specific implementation, the decoding module can also decode the encoded data to obtain decoded data, so that data decoding is realized.
The intelligent coding system of the wireless communication protocol is applied to the Internet of things equipment, and the intelligent coding system of the wireless communication protocol comprises: the device comprises a data receiving and transmitting module, a protocol adaptation module and a coding module, wherein the data receiving and transmitting module acquires target data; a protocol adaptation module determines a target wireless communication protocol corresponding to the target data; the coding module codes the target data based on the target wireless communication protocol to obtain coded data, and further, the wireless communication protocol corresponding to the data can be determined, coding operation is completed based on the wireless communication protocol, intelligent coding is facilitated, coding effect corresponds to the characteristics of the data, and personalized intelligent coding is achieved.
In accordance with the foregoing embodiments, referring to fig. 3, fig. 3 is a schematic structural diagram of an internet of things device provided in the embodiment of the present application, as shown in the drawing, 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, and the memory is configured to store a computer program, the computer program includes program instructions, the processor is configured to invoke the program instructions, the internet of things device includes an intelligent encoding system of a wireless communication protocol, and the intelligent encoding system of the wireless communication protocol includes: the device comprises a data receiving and transmitting module, a protocol adapting module and an encoding module, wherein the program comprises instructions for executing the following steps:
the data receiving and transmitting module acquires target data;
the protocol adaptation module is used for determining a target wireless communication protocol corresponding to the target data;
the encoding module is used for encoding the target data based on the target wireless communication protocol to obtain encoded data.
Optionally, in the determining a target wireless communication protocol corresponding to the target data, the program includes instructions for:
acquiring target attribute information of the target data;
and determining the target wireless communication protocol corresponding to the target attribute information.
Optionally, in the determining a target wireless communication protocol corresponding to the target data, the program includes instructions for:
extracting keywords from the target data to obtain target keywords;
and determining the target wireless communication protocol corresponding to the target keyword according to the mapping relation between the preset keyword and the wireless communication protocol.
Optionally, when the target wireless communication protocol is an encoding protocol and a packaging protocol, in the aspect of encoding the target data based on the target wireless communication protocol to obtain encoded data, the program includes instructions for executing the following steps:
packaging the target data according to the packaging protocol to obtain P data packets;
and encoding the P data packets according to the encoding protocol to obtain the encoded data.
Optionally, in the aspect of packaging the target data according to the packaging protocol to obtain P packets, the program includes instructions for performing the following steps:
arranging the target data according to time sequence;
dividing the arranged data into P data segments, wherein each data segment comprises a plurality of data;
determining the data characteristics of each data segment in the P data segments to determine packing parameters, so as to obtain P packing parameters;
and packing the P data segments according to the P packing parameters to obtain the P data packets.
Optionally, in determining the data characteristic of each of the P data segments to determine a packing parameter, obtaining P packing parameters, the program includes instructions for:
determining the data importance of each data segment in the P data segments to obtain P data importance;
determining the average value of the importance degrees of the P data;
determining a reference packing parameter corresponding to the mean value;
determining the deviation between the importance of the P data and the average value to obtain P deviations;
determining P packing adjustment parameters according to the P deviations;
and adjusting the reference packing parameters according to the P packing adjustment parameters to obtain the P packing parameters.
Optionally, in the aspect of encoding the target data based on the target wireless communication protocol to obtain encoded data, the program includes instructions for:
integrating the target wireless communication protocol with the target data to obtain reference data;
and encoding the reference data to obtain the encoded data.
Optionally, the above program further comprises instructions for performing the steps of:
the protocol adaptation module detects the memory size of the target data; and executing the step of determining the target wireless communication protocol corresponding to the target data when the memory size is larger than or equal to the preset memory size.
Optionally, the above program further comprises instructions for performing the steps of:
the protocol adaptation module fills the target data when the memory size is smaller than the preset memory size, so as to obtain filling data;
and in the aspect of encoding the target data based on the target wireless communication protocol to obtain encoded data, the encoding module encodes the filling data based on the target wireless communication protocol to obtain encoded data.
Optionally, the intelligent coding system of the wireless communication protocol further comprises a decoding module, and the program further comprises instructions for executing the following steps:
and the decoding module performs decoding operation on the encoded data to obtain decoded data.
The internet of things device described in the application, the internet of things device includes an intelligent coding system of a wireless communication protocol, the intelligent coding system of the wireless communication protocol includes: the device comprises a data receiving and transmitting module, a protocol adaptation module and a coding module, wherein the data receiving and transmitting module acquires target data; a protocol adaptation module determines a target wireless communication protocol corresponding to the target data; the coding module codes the target data based on the target wireless communication protocol to obtain coded data, and further, the wireless communication protocol corresponding to the data can be determined, coding operation is completed based on the wireless communication protocol, intelligent coding is facilitated, coding effect corresponds to the characteristics of the data, and personalized intelligent coding is achieved.
The embodiment of the application also provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, where the computer program makes a computer execute part or all of the steps of the functions executed by the intelligent encoding system of any one of the wireless communication protocols described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program that causes a computer to perform some or all of the steps of the functions performed by the smart code system of any one of the wireless communication protocols described in the method embodiments above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software program modules.
The integrated units, if implemented in the form of software program modules, may be stored in a computer-readable memory for sale or use as a stand-alone product. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory includes: a U-disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-only memory, random access memory, magnetic or optical disk, etc.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Claims (7)
1. An intelligent coding system of a wireless communication protocol, which is characterized in that the intelligent coding system is applied to internet of things equipment, and comprises: the device comprises a data receiving and transmitting module, a protocol adaptation module and an encoding module, wherein the data receiving and transmitting module is used for realizing data receiving or data forwarding, and the data receiving and transmitting module comprises a communication module; the protocol adaptation module is used for realizing protocol distribution, and can adapt to all communication protocols supported by the Internet of things equipment; the coding module is used for realizing a coding function;
the data receiving and transmitting module is used for acquiring target data;
the protocol adaptation module is used for determining a target wireless communication protocol corresponding to the target data; the target wireless communication protocol comprises one or more protocols, and the protocol content of the target wireless communication protocol comprises at least one of the following: data communication protocol, data packaging protocol, encoding/decoding protocol, device control protocol, and management logic protocol; each class of protocol includes a plurality of sub-protocols below; the target wireless communication protocol is used for realizing various communication functions or communication data processing functions;
the encoding module is used for encoding the target data based on the target wireless communication protocol to obtain encoded data; the system is also used for sending the coded data to a designated device, wherein the designated device is a plurality of devices;
wherein when the target wireless communication protocol is a coding protocol and a packaging protocol, the coding the target data based on the target wireless communication protocol to obtain coded data includes:
packaging the target data according to the packaging protocol to obtain P data packets;
coding the P data packets according to the coding protocol to obtain coded data;
the step of packaging the target data according to the packaging protocol to obtain P data packets includes:
arranging the target data according to time sequence;
dividing the arranged data into P data segments, wherein each data segment comprises a plurality of data;
determining the data characteristics of each data segment in the P data segments to determine packing parameters, so as to obtain P packing parameters;
packaging the P data segments according to the P packaging parameters to obtain the P data packets;
the determining the data characteristic of each data segment in the P data segments to determine a packing parameter, to obtain P packing parameters, includes:
determining the data importance of each data segment in the P data segments to obtain P data importance;
determining the average value of the importance degrees of the P data;
determining a reference packing parameter corresponding to the mean value;
determining the deviation between the importance of the P data and the average value to obtain P deviations;
determining P packing adjustment parameters according to the P deviations;
adjusting the reference packing parameters according to the P packing adjustment parameters to obtain the P packing parameters, wherein the packing parameters comprise at least one of the following: packing protocol number, packing frequency, packet size, packet format.
2. The intelligent encoding system of a wireless communication protocol according to claim 1, wherein the determining a target wireless communication protocol corresponding to the target data comprises:
acquiring target attribute information of the target data;
and determining the target wireless communication protocol corresponding to the target attribute information.
3. The intelligent encoding system of a wireless communication protocol according to claim 1, wherein the determining a target wireless communication protocol corresponding to the target data comprises:
extracting keywords from the target data to obtain target keywords;
and determining the target wireless communication protocol corresponding to the target keyword according to the mapping relation between the preset keyword and the wireless communication protocol.
4. A system for intelligent encoding of a wireless communication protocol according to any of claims 1-3, wherein said encoding of said target data based on said target wireless communication protocol to obtain encoded data comprises:
integrating the target wireless communication protocol with the target data to obtain reference data;
and encoding the reference data to obtain the encoded data.
5. A system for intelligent encoding of a wireless communication protocol according to any of claims 1-3, wherein the protocol adaptation module is further specifically configured to:
detecting the memory size of the target data;
and executing the step of determining the target wireless communication protocol corresponding to the target data when the memory size is larger than or equal to the preset memory size.
6. The intelligent coding system of a wireless communication protocol according to claim 5, wherein the protocol adaptation module is further specifically configured to:
when the memory size is smaller than the preset memory size, filling the target data to obtain filling data;
in the aspect of encoding the target data based on the target wireless communication protocol to obtain encoded data, the encoding module is further specifically configured to:
and encoding the filling data based on the target wireless communication protocol to obtain encoded data.
7. A smart coding system for a wireless communication protocol according to any of claims 1-3, wherein the smart coding system for a wireless communication protocol further comprises a decoding module, the decoding module being specifically configured to:
and decoding the encoded data to obtain decoded data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111655221.9A CN114338843B (en) | 2021-12-30 | 2021-12-30 | Intelligent coding system of wireless communication protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111655221.9A CN114338843B (en) | 2021-12-30 | 2021-12-30 | Intelligent coding system of wireless communication protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114338843A CN114338843A (en) | 2022-04-12 |
CN114338843B true CN114338843B (en) | 2024-04-02 |
Family
ID=81019284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111655221.9A Active CN114338843B (en) | 2021-12-30 | 2021-12-30 | Intelligent coding system of wireless communication protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114338843B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1130452A (en) * | 1994-07-08 | 1996-09-04 | 摩托罗拉公司 | Method and system for automatic optimization of data throughput using variable packet length and code parameters |
CN101340592A (en) * | 2008-08-14 | 2009-01-07 | 上海交通大学 | Energy control system for video transmission under hybrid radio environment |
CN103237085A (en) * | 2013-05-15 | 2013-08-07 | 晁彦公 | Internet-of-things gateway and medical monitoring system comprising same |
CN103718488A (en) * | 2011-08-01 | 2014-04-09 | 三星电子株式会社 | Method and system for scalable information packetization and aggregation for information transmission in communication networks |
JP2018117259A (en) * | 2017-01-19 | 2018-07-26 | 達陞企業股▲ふん▼有限公司 | One-to-many audio video streaming method by audio video synchronous take in |
CN111684777A (en) * | 2017-09-13 | 2020-09-18 | 亚马逊技术有限公司 | Distributed multi-data center video packaging system |
CN112291563A (en) * | 2020-10-22 | 2021-01-29 | 咪咕视讯科技有限公司 | Video coding method, video coding equipment and computer readable storage medium |
CN112422514A (en) * | 2020-10-26 | 2021-02-26 | 深圳Tcl新技术有限公司 | Multimedia data transmission method and device, intelligent household equipment and storage medium |
CN112583664A (en) * | 2020-12-08 | 2021-03-30 | 广东荣文科技集团有限公司 | Data processing method and related device |
CN112799981A (en) * | 2021-01-26 | 2021-05-14 | 展讯半导体(成都)有限公司 | Data transmission control method, function machine and related product |
CN113676533A (en) * | 2021-08-17 | 2021-11-19 | 郝香茹 | Transmission channel determination method and system based on data compression of Internet of things |
-
2021
- 2021-12-30 CN CN202111655221.9A patent/CN114338843B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1130452A (en) * | 1994-07-08 | 1996-09-04 | 摩托罗拉公司 | Method and system for automatic optimization of data throughput using variable packet length and code parameters |
CN101340592A (en) * | 2008-08-14 | 2009-01-07 | 上海交通大学 | Energy control system for video transmission under hybrid radio environment |
CN103718488A (en) * | 2011-08-01 | 2014-04-09 | 三星电子株式会社 | Method and system for scalable information packetization and aggregation for information transmission in communication networks |
CN103237085A (en) * | 2013-05-15 | 2013-08-07 | 晁彦公 | Internet-of-things gateway and medical monitoring system comprising same |
JP2018117259A (en) * | 2017-01-19 | 2018-07-26 | 達陞企業股▲ふん▼有限公司 | One-to-many audio video streaming method by audio video synchronous take in |
CN111684777A (en) * | 2017-09-13 | 2020-09-18 | 亚马逊技术有限公司 | Distributed multi-data center video packaging system |
CN112291563A (en) * | 2020-10-22 | 2021-01-29 | 咪咕视讯科技有限公司 | Video coding method, video coding equipment and computer readable storage medium |
CN112422514A (en) * | 2020-10-26 | 2021-02-26 | 深圳Tcl新技术有限公司 | Multimedia data transmission method and device, intelligent household equipment and storage medium |
CN112583664A (en) * | 2020-12-08 | 2021-03-30 | 广东荣文科技集团有限公司 | Data processing method and related device |
CN112799981A (en) * | 2021-01-26 | 2021-05-14 | 展讯半导体(成都)有限公司 | Data transmission control method, function machine and related product |
CN113676533A (en) * | 2021-08-17 | 2021-11-19 | 郝香茹 | Transmission channel determination method and system based on data compression of Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN114338843A (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9286249B2 (en) | USB device communication method, device and system wherein a human interface device (HID) descriptor and report are added to a driver of USB device | |
US8036598B1 (en) | Peer-to-peer transfer of files with back-office completion | |
CN106375942B (en) | Method and device for transmitting data information | |
CN104199951B (en) | Web page processing method and device | |
CN102571820B (en) | For transmitting the method for data, compression service device and terminal | |
JP5753946B2 (en) | Method and system for downloading font files | |
CN105141567A (en) | Interactive data processing method and system of terminal application and service end and interaction method | |
CN103731493A (en) | Page transmission method, device and system | |
CN104081701A (en) | Communication method, system and device for optical network system | |
CN111865952B (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN104272774A (en) | Systems and methods for processing encoded data streams | |
CN114338843B (en) | Intelligent coding system of wireless communication protocol | |
WO2001059607A3 (en) | Entertainment file and related information integration method, apparatus and system | |
CN106533850A (en) | Panel scene control method based on NFC card mode | |
CN106326403A (en) | Web page generating method and device | |
CN112004101B (en) | Virtual live broadcast data transmission method and device and storage medium | |
CN112422514A (en) | Multimedia data transmission method and device, intelligent household equipment and storage medium | |
CN105635305A (en) | Method for pushing unified content labels and server | |
CN114339737B (en) | Wireless communication instruction encryption method and related equipment | |
CN108427671B (en) | Information conversion method and apparatus, storage medium, and electronic apparatus | |
CN112888024A (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN114339739A (en) | Intelligent management system of wireless communication protocol | |
CN114286451B (en) | Wireless communication instruction compression method and related device | |
CN108989813A (en) | A kind of high efficiency of compression/decompression method, computer installation and storage medium | |
CN109286922B (en) | Bluetooth prompt tone processing method, system, readable storage medium and Bluetooth device |
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 |