Cross-protocol communication method and device, equipment, storage medium and product
By using deep neural networks and knowledge modules for semantic coding and binary conversion in cross-protocol communication systems, wireless technology protocol communication is directly carried out between heterogeneous devices, solving the problem of low cross-protocol communication efficiency in the existing technology, achieving lower latency and higher efficiency.
Patent Information
- Application Number
- CN202411308035.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-09-19
AI Technical Summary
Existing cross-protocol communications are less efficient, resulting in increased communication latency between heterogeneous devices and increased system deployment complexity and cost.
By using deep neural network modules and knowledge modules on the sending and receiving ends of cross-protocol communications, semantic encoding and binary conversion are performed, and data is directly sent and received according to the wireless technology protocol of the sending end, avoiding the use of relay protocol conversion equipment.
It realizes reducing communication latency, improving cross-protocol communication efficiency, and reducing the complexity and cost of system deployment.
Smart Images

Figure CN119814889A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data communication technology, and in particular to cross-protocol communication methods, devices, equipment, storage media and products. Background Art
[0002] With the rapid development of wireless communication technology and the Internet of Things, the era of the Internet of Everything has arrived, and more and more devices and terminals have communication needs. In the field of communications, each device must follow specific specifications and standards for information transmission and processing. These specifications and standards are collectively referred to as "protocols." In traditional communication systems, communication between heterogeneous devices (i.e., devices that follow different wireless protocols) often needs to be carried out through relay protocol conversion devices, which not only increases communication latency, but also increases the complexity and cost of system deployment. Therefore, how to improve the efficiency of cross-protocol communication has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of this application is to provide a cross-protocol communication method, device, equipment, storage medium and product, aiming to solve the technical problem of low efficiency of existing cross-protocol communication.
[0004] To achieve the above object, the present application proposes a cross-protocol communication method, which is applied to a cross-protocol communication sending end, and the cross-protocol communication method includes the following steps:
[0005] Perform semantic coding on the information to be sent to obtain a semantic coding result;
[0006] Using cross-protocol communication knowledge, the semantic coding result is converted into a binary sequence to be sent;
[0007] The binary sequence to be sent is sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent.
[0008] Optionally, the cross-protocol communication sending end includes a DNN module and a knowledge module, and the step of semantically encoding the information to be sent to obtain a semantic encoding result includes:
[0009] Encode the information to be sent by the DNN module to obtain a semantic vector of the information to be sent;
[0010] Matching the semantic vector of the information to be sent with the semantic knowledge base through the knowledge module to obtain a matching result;
[0011] A semantic encoding result is determined based on the matching result.
[0012] Optionally, the step of sending the to-be-sent binary sequence to the cross-protocol communication receiving end according to the sending end wireless technology protocol includes:
[0013] Packing the binary sequence to be sent according to the wireless technology protocol of the sending end to obtain a data packet to be sent;
[0014] The data packet to be sent is sent to a cross-protocol communication receiving end through a wireless channel.
[0015] In addition, to achieve the above purpose, the present application also proposes a cross-protocol communication method, which is applied to a cross-protocol communication receiving end. The cross-protocol communication method includes the following steps:
[0016] Receive a data packet sent by a cross-protocol communication sending end, and extract a binary sequence in the data packet;
[0017] Transforming the binary sequence using cross-protocol communication knowledge to obtain a semantic vector;
[0018] Searching in a semantic knowledge base according to the semantic vector to obtain a search result;
[0019] The information to be sent is determined based on the search result.
[0020] Optionally, the cross-protocol communication receiving end includes a receiving end DNN module and a semantic knowledge base, the cross-protocol communication sending end corresponding to the cross-protocol communication receiving end includes a sending end DNN module, and the cross-protocol communication method further includes:
[0021] The receiving-end DNN module, the semantic knowledge base and the sending-end DNN module are jointly trained based on a preset loss function, wherein the preset loss function includes reconstruction loss, semantic knowledge loss and commitment loss.
[0022] In addition, to achieve the above-mentioned purpose, the present application also proposes a cross-protocol communication device, which is applied to a cross-protocol communication sending end, and the cross-protocol communication device includes:
[0023] A semantic coding module, used for semantically coding the information to be sent to obtain a semantic coding result;
[0024] A binary conversion module, used to perform binary conversion on the semantic encoding result by using cross-protocol communication knowledge to obtain a binary sequence to be sent;
[0025] The sending module is used to send the binary sequence to be sent to the cross-protocol communication receiving end according to the sending end wireless technology protocol, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent.
[0026] In addition, to achieve the above-mentioned purpose, the present application also proposes a cross-protocol communication device, which is applied to a cross-protocol communication receiving end, and the cross-protocol communication device includes:
[0027] A receiving module, used to receive a data packet sent by a cross-protocol communication sending end, and extract a binary sequence in the data packet;
[0028] A binary sequence conversion module, used to convert the binary sequence using cross-protocol communication knowledge to obtain a semantic vector;
[0029] A retrieval module, used to search in a semantic knowledge base according to the semantic vector to obtain a retrieval result;
[0030] A determination module is used to determine the information to be sent based on the search result.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a cross-protocol communication device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the cross-protocol communication method described above.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the cross-protocol communication method described above are implemented.
[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the cross-protocol communication method described above.
[0034] The cross-protocol communication transmitting end of the present application performs semantic encoding on the information to be sent to obtain a semantic encoding result; uses cross-protocol communication knowledge to perform binary conversion on the semantic encoding result to obtain a binary sequence to be sent; sends the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the transmitting end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of the present application does not require the addition of additional relay protocol conversion equipment, and can reduce communication delays.
[0035] The cross-protocol communication receiving end of the present application receives a data packet sent by a cross-protocol communication sending end, and extracts a binary sequence in the data packet; converts the binary sequence using cross-protocol communication knowledge to obtain a semantic vector; searches the semantic knowledge base according to the semantic vector to obtain a search result; and determines the information to be sent based on the search result. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of the present application does not require the addition of additional relay protocol conversion devices, and can reduce communication delays. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0038] Figure 1 A flowchart of the first embodiment of the cross-protocol communication method of the present application is provided;
[0039] Figure 2 A schematic diagram of the structure provided for the first embodiment of the cross-protocol communication method of the present application;
[0040] Figure 3 A schematic diagram of a flow chart provided for Embodiment 2 of the cross-protocol communication method of the present application;
[0041] Figure 4 A schematic diagram of the module structure provided for the first embodiment of the cross-protocol communication device of the present application;
[0042] Figure 5 A schematic diagram of the module structure provided for the second embodiment of the cross-protocol communication device of the present application;
[0043] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the cross-protocol communication method in the embodiment of the present application.
[0044] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0046] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0047] The cross-protocol communication sending end of the present application performs semantic encoding on the information to be sent to obtain a semantic encoding result; uses cross-protocol communication knowledge to perform binary conversion on the semantic encoding result to obtain a binary sequence to be sent; and sends the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end.
[0048] The cross-protocol communication receiving end of the present application receives a data packet sent by a cross-protocol communication sending end, and extracts a binary sequence in the data packet; converts the binary sequence using cross-protocol communication knowledge to obtain a semantic vector; searches the semantic knowledge base according to the semantic vector to obtain a search result; and determines the information to be sent based on the search result. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of the present application does not require the addition of additional relay protocol conversion devices, and can reduce communication delays.
[0049] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a cross-protocol communication system, etc. The following takes the cross-protocol communication system as an example to illustrate this embodiment and the following embodiments.
[0050] Based on this, the embodiment of the present application provides a cross-protocol communication method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the cross-protocol communication method of the present application.
[0051] In this embodiment, the cross-protocol communication method is applied to the cross-protocol communication sending end, and the cross-protocol communication method includes steps S10 to S30:
[0052] Step S10, semantic coding is performed on the information to be sent to obtain a semantic coding result;
[0053] It should be understood that CrossTechnology Communication (CTC) is a technology that allows heterogeneous devices following different wireless protocols (such as WiFi, ZigBee, Bluetooth, etc.) to communicate directly without modifying the hardware. This technology has significant potential in simplifying the connection of massive heterogeneous devices in 6G Internet of Things. However, due to the inherent hardware and standard heterogeneity between incompatible wireless technologies, CTC has serious limitations in transmission efficiency and reliability, which hinders its widespread application in industrial scenarios. The source-channel joint coding method based on deep learning (called Deep Joint Source-Channel Coding, DJSCC) has shown significant results in achieving high-efficiency and high-reliability communication. But it focuses on achieving communication between devices using the same protocol.
[0054] It should be noted that this embodiment is an innovative knowledge-driven DJSCC scheme, namely a deep source-channel joint coding scheme, which can be referred to Figure 2 , Figure 2 A structural diagram provided for the first embodiment of the cross-protocol communication method of the present application; this embodiment includes a deep source-channel joint encoder (Deep Joint Source-Channel Encoder, DJSCE, hereinafter referred to as the encoder) located at the transmitting end (i.e., the cross-protocol communication transmitting end): through deep learning technology, the source and channel coding are jointly optimized, and the encoding and decoding strategy can be dynamically adjusted according to different channel environments and protocol characteristics. This method not only improves the transmission efficiency of CTC, but also enhances its robustness in complex and changeable communication environments. The deep source-channel joint decoder (Deep Joint Source-Channel Decod er, DJSCD, hereinafter referred to as the decoder) located at the receiving end (cross-protocol communication receiving end): by cooperating with the deep source-channel joint encoder, the accuracy and completeness of the received data are ensured, and the overall communication process is further optimized. The knowledge base (Shared Knowledge Base, SKB) shared by the transmitting and receiving ends: collects and maintains various semantic knowledge and CTC proprietary knowledge (i.e., cross-protocol communication knowledge). Semantic knowledge provides the necessary context for the codec, ensuring that critical information can be effectively transmitted even at extremely low bit rates; CTC-specific knowledge enables the system to quickly adapt to the heterogeneity of different hardware and standards.
[0055] Reference Figure 2It can be seen that this embodiment consists of a DJSCE located at the transmitting end, a DJSCD located at the receiving end, and a SKB. DJSCE: consists of a deep neural network module (DNN module) and a knowledge module (Knowledge module). The DNN module consists of network layers such as convolution, normalization, and linear rectifier unit activation function (ReLU function), and some residual connections are made between layers to alleviate the problem of gradient disappearance. The knowledge module is responsible for extracting appropriate knowledge from the knowledge base and integrating it into the encoding process. DJSCD: consists of a DNN module and a knowledge module. The DNN module can be roughly regarded as a mirror image of the DNN module of DJSCE, and its function is opposite to that of the DNN module of DJSCE. The knowledge module is the same as the knowledge module of DJSCE. SKB: Contains two types of knowledge: semantic knowledge and CTC knowledge.
[0056] Specifically, semantic knowledge (denoted as S) is a set of K semantic vectors, denoted as in 1≤k≤K is the kth semantic vector. The values of these semantic vectors will be learned through end-to-end training of the entire system. CTC knowledge is denoted as C n , 1≤n≤N, is defined as a set of N existing CTC coding algorithms. These algorithms implement basic cross-protocol transmission at the bit level, which has been developed through extensive research on the heterogeneity between different hardware and standards over the years. Specifically, the nth algorithm (n=1,...,N) is denoted as a pair of functions in and are the operations of the algorithm at the sending and receiving ends respectively. It is worth noting that if C n It is specially designed for the sender (receiver). is just an identity function.
[0057] It should be noted that, refer to Figure 2 The semantic encoding of the information to be sent to obtain the semantic encoding result can be performed by the deep neural network module to semantically encode the information to be sent to obtain the semantic encoding result.
[0058] Furthermore, the step S10 may include: encoding the information to be sent through the DNN module to obtain a semantic vector of the information to be sent;
[0059] Matching the semantic vector of the information to be sent with the semantic knowledge base through the knowledge module to obtain a matching result;
[0060] A semantic encoding result is determined based on the matching result.
[0061] In a specific implementation, the information to be sent can be recorded as M. The encoder encodes the message M through its DNN module to generate a set of vectors X representing the semantics of M, i.e., the semantic vector of the information to be sent. in, 1≤d≤D), can be expressed as:
[0062] X=F α (M)
[0063] Here, Fα(·) represents the deep neural network used to construct the DNN module in DJSCE, and α represents the trainable parameters of the neural network.
[0064] It should be noted that the knowledge module matches the semantic vector of the information to be sent with the semantic knowledge base, and the matching result can be that the encoder uses S to fine-tune (replace) X. Specifically, for d=1,…,D, the knowledge module first measures X d The distance between each semantic vector in S, and then the knowledge module records the closest to X d The index z of the semantic vector d , which can be expressed as:
[0065]
[0066] Let Z = {z1,...,z D}, at this time, Z has replaced X to represent the semantics of M, that is, the semantic encoding result.
[0067] Step S20, using cross-protocol communication knowledge to perform binary conversion on the semantic coding result to obtain a binary sequence to be sent;
[0068] It should be noted that the use of cross-protocol communication knowledge to perform binary conversion on the semantic coding result to obtain the binary sequence to be sent can be performed by Figure 2 The knowledge module in the above code uses the cross-protocol communication knowledge to perform binary conversion on the semantic coding result to obtain the binary sequence to be sent. Specifically, DJSCE uses CTC knowledge Cn to convert Z into a binary sequence B1(z d Only a few bits are needed to encode, which greatly improves the transmission efficiency). This step uses the To perform the conversion, it is expressed as:
[0069]
[0070] Step S30, sending the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent.
[0071] It should be noted that the wireless technology protocol of the transmitting end may be the protocol of the wireless technology adopted by the cross-protocol communication transmitting end. The cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent, which may be that the cross-protocol communication receiving end decodes the binary sequence in the received data packet through the deep source-channel joint decoder of the cross-protocol communication receiving end to reconstruct the information to be sent. The sending of the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the transmitting end may be that the binary sequence to be sent is packaged according to the wireless technology protocol of the transmitting end to obtain the data packet to be sent; and the data packet to be sent is sent to the cross-protocol communication receiving end through a wireless channel.
[0072] This embodiment can implement CTC efficiently and reliably. This embodiment compresses and encodes messages using neural network technology, converts them into semantic information, adopts a semantic knowledge sharing structure to reduce transmission overhead, and combines the existing CTC encoding algorithm as domain knowledge to guide the neural network to more accurately capture the heterogeneous characteristics of the sending and receiving devices. In the picture transmission scenario, compared with the most advanced CTC method, this embodiment greatly reduces the transmission overhead and significantly improves the structural similarity of picture transmission, demonstrating its superiority in practical applications.
[0073] This embodiment performs semantic encoding on the information to be sent to obtain a semantic encoding result; uses cross-protocol communication knowledge to perform binary conversion on the semantic encoding result to obtain a binary sequence to be sent; sends the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of this embodiment does not need to add additional relay protocol conversion equipment, and can reduce communication delay.
[0074] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , Figure 3 A flow chart of Embodiment 2 of the cross-protocol communication method of the present application is provided. In this embodiment, the cross-protocol communication method is applied to the cross-protocol communication receiving end. The cross-protocol communication method includes the following steps:
[0075] Step S40: receiving a data packet sent by the cross-protocol communication sending end, and extracting a binary sequence in the data packet;
[0076] It should be noted that the receiving end receives the data packet to be sent by the sending end according to the protocol it follows, and extracts the binary sequence B2 from it. Due to the inherent heterogeneity between the sending and receiving standards and the influence of the channel, B2 is not completely equal to B1.
[0077] Step S50: using cross-protocol communication knowledge to convert the binary sequence to obtain a semantic vector;
[0078] It should be noted that the use of cross-protocol communication knowledge to convert the binary sequence to obtain a semantic vector can be achieved by using CTC knowledge Cn to convert B2 into This step uses the knowledge module provided To perform the conversion, it can be expressed as:
[0079]
[0080] Step S60: searching in a semantic knowledge base according to the semantic vector to obtain a search result;
[0081] It should be noted that the search in the semantic knowledge base based on the semantic vector can obtain the search result based on Retrieve the semantic vector from S to obtain the retrieval result. This operation is expressed as:
[0082]
[0083] These retrieved vectors form a complete semantic vector It represents the semantics of M. However, due to the unreliability of cross-protocol transmission and the influence of the channel, Some of the indexes in may be wrong or missing. Without a complete set of You cannot get complete To solve this problem, the semantic vector corresponding to the index loss position can be replaced by the mean of the semantic vectors in S. For example, if the index is lost, then its corresponding semantic vector will be replaced by:
[0084]
[0085] Step S70: Determine the information to be sent based on the search result.
[0086] It should be noted that the information to be sent based on the search result may be determined by the receiving end through its DNN module based on To reconstruct M, we get the actual reconstruction result The operation can be expressed as:
[0087]
[0088] in, represents the deep neural network of the DNN module in DJSCD, where β represents the trainable parameters of the neural network. By end-to-end training, we can get appropriate α and β to make
[0089] Furthermore, in order to To improve the efficiency of cross-protocol transmission, this embodiment requires joint training of the DNN module of DJSCE, the DNN module of DJSCD, and S. When S is initialized, its semantic vector is randomly generated; as the training progresses, the value of the semantic vector is gradually optimized and updated according to the reconstruction effect of M. To this end, this embodiment designs the following loss function:
[0090]
[0091] This loss function consists of three components, each of which plays a crucial role in training:
[0092] Part I, is the reconstruction loss, which represents the original message M and its reconstruction result This part prompts DJSCE and DJSED to search for the best values of iteration parameters (i.e., α and β) to achieve reliable message transmission across protocols.
[0093] Part II, is the semantic knowledge loss, which measures the output X of the DNN module in DJSCE and the set of semantic vectors retrieved by the knowledge module in DJSCD Where μ is a constant and sg[·] indicates stopping the reverse gradient propagation. The semantic vector in approaches the value of X.
[0094] Part III, is the commitment loss, which measures the difference between X and The Euclidean distance between , where λ is a constant. Unlike semantic knowledge loss, it ensures (promises) that X This part prevents the semantic vectors in the semantic knowledge base from growing uncontrollably (which may cause instability during training).
[0095] This embodiment receives a data packet sent by a cross-protocol communication sending end, and extracts a binary sequence in the data packet; converts the binary sequence using cross-protocol communication knowledge to obtain a semantic vector; searches a semantic knowledge base according to the semantic vector to obtain a search result; and determines the information to be sent based on the search result. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of this embodiment does not require the addition of an additional relay protocol conversion device, and can reduce communication delays.
[0096] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the cross-protocol communication method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0097] The present application also provides a cross-protocol communication device, which is applied to a cross-protocol communication sending end. Figure 4 , Figure 4 A schematic diagram of a module structure provided for the first embodiment of the cross-protocol communication device of the present application; the cross-protocol communication device comprises:
[0098] A semantic coding module 10, used for semantically coding the information to be sent to obtain a semantic coding result;
[0099] A binary conversion module 20, used to perform binary conversion on the semantic coding result by using cross-protocol communication knowledge to obtain a binary sequence to be sent;
[0100] The sending module 30 is used to send the binary sequence to be sent to the cross-protocol communication receiving end according to the sending end wireless technology protocol, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent.
[0101] This embodiment performs semantic encoding on the information to be sent to obtain a semantic encoding result; uses cross-protocol communication knowledge to perform binary conversion on the semantic encoding result to obtain a binary sequence to be sent; sends the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of this embodiment does not need to add additional relay protocol conversion equipment, and can reduce communication delay.
[0102] The present application also provides a cross-protocol communication device, which is applied to a cross-protocol communication receiving end. Figure 5 , Figure 5 A schematic diagram of a module structure provided for the second embodiment of the cross-protocol communication device of the present application; the cross-protocol communication device comprises:
[0103] The receiving module 40 is used to receive a data packet sent by the cross-protocol communication sending end and extract a binary sequence in the data packet;
[0104] A binary sequence conversion module 50, used to convert the binary sequence using cross-protocol communication knowledge to obtain a semantic vector;
[0105] A retrieval module 60, configured to search a semantic knowledge base according to the semantic vector to obtain a retrieval result;
[0106] The determination module 70 is used to determine the information to be sent based on the search result.
[0107] This embodiment receives a data packet sent by a cross-protocol communication sending end, and extracts a binary sequence in the data packet; converts the binary sequence using cross-protocol communication knowledge to obtain a semantic vector; searches a semantic knowledge base according to the semantic vector to obtain a search result; and determines the information to be sent based on the search result. Compared with the existing method of completing cross-protocol communication by performing protocol conversion through a relay protocol conversion device, the above method of this embodiment does not require the addition of an additional relay protocol conversion device, and can reduce communication delays.
[0108] The cross-protocol communication device provided by the present application adopts the cross-protocol communication method in the above-mentioned embodiment, which can solve the technical problem of low efficiency of existing cross-protocol communication. Compared with the prior art, the beneficial effects of the cross-protocol communication device provided by the present application are the same as the beneficial effects of the cross-protocol communication method provided by the above-mentioned embodiment, and other technical features in the cross-protocol communication device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.
[0109] The present application provides a cross-protocol communication device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the cross-protocol communication method in the above-mentioned embodiment one.
[0110] Reference below Figure 6, which shows a schematic diagram of the structure of a cross-protocol communication device suitable for implementing an embodiment of the present application. The cross-protocol communication device in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The cross-protocol communication device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0111] like Figure 6 As shown, the cross-protocol communication device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the cross-protocol communication device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the cross-protocol communication device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a cross-protocol communication device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0112] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0113] The cross-protocol communication device provided by the present application adopts the cross-protocol communication method in the above embodiment, which can solve the technical problem of low efficiency of existing cross-protocol communication. Compared with the prior art, the beneficial effects of the cross-protocol communication device provided by the present application are the same as the beneficial effects of the cross-protocol communication method provided by the above embodiment, and other technical features in the cross-protocol communication device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0114] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0115] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0116] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the cross-protocol communication method in the above-mentioned embodiment.
[0117] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0118] The computer-readable storage medium may be included in the cross-protocol communication device; or may exist independently without being assembled into the cross-protocol communication device.
[0119] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the cross-protocol communication device, the cross-protocol communication device executes the cross-protocol communication method.
[0120] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0121] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0122] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0123] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned cross-protocol communication method, and can solve the technical problem of low efficiency of existing cross-protocol communication. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the cross-protocol communication method provided in the above-mentioned embodiment, and will not be repeated here.
[0124] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned cross-protocol communication method when executed by a processor.
[0125] The computer program product provided by this application can solve the technical problem of low efficiency of existing cross-protocol communication. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the cross-protocol communication method provided by the above embodiment, which will not be repeated here.
[0126] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A cross-protocol communication method, characterized in that: Applied to a cross-protocol communication sending end, the cross-protocol communication method comprises the following steps: Perform semantic coding on the information to be sent to obtain a semantic coding result; Using cross-protocol communication knowledge, the semantic coding result is converted into a binary sequence to be sent; The binary sequence to be sent is sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent.
2. The cross-protocol communication method according to claim 1, characterized in that: The cross-protocol communication sending end includes a DNN module and a knowledge module, and the step of semantically encoding the information to be sent to obtain a semantic encoding result includes: Encode the information to be sent by the DNN module to obtain a semantic vector of the information to be sent; Matching the semantic vector of the information to be sent with the semantic knowledge base through the knowledge module to obtain a matching result; A semantic encoding result is determined based on the matching result.
3. The cross-protocol communication method according to claim 1, characterized in that: The step of sending the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end includes: Packing the binary sequence to be sent according to the wireless technology protocol of the sending end to obtain a data packet to be sent; The data packet to be sent is sent to a cross-protocol communication receiving end through a wireless channel.
4. A cross-protocol communication method, characterized in that: Applied to a cross-protocol communication receiving end, the cross-protocol communication method comprises the following steps: Receive a data packet sent by a cross-protocol communication sending end, and extract a binary sequence in the data packet; Transforming the binary sequence using cross-protocol communication knowledge to obtain a semantic vector; Searching in a semantic knowledge base according to the semantic vector to obtain a search result; The information to be sent is determined based on the search result.
5. The cross-protocol communication method according to claim 4, characterized in that: The cross-protocol communication receiving end includes a receiving end DNN module and a semantic knowledge base, and the cross-protocol communication sending end corresponding to the cross-protocol communication receiving end includes a sending end DNN module. The cross-protocol communication method also includes: The receiving-end DNN module, the semantic knowledge base and the sending-end DNN module are jointly trained based on a preset loss function, wherein the preset loss function includes reconstruction loss, semantic knowledge loss and commitment loss.
6. A cross-protocol communication device, characterized in that: The cross-protocol communication device is applied to a cross-protocol communication sending end, and the cross-protocol communication device includes: A semantic coding module, used for semantically coding the information to be sent to obtain a semantic coding result; A binary conversion module, used to perform binary conversion on the semantic encoding result by using cross-protocol communication knowledge to obtain a binary sequence to be sent; The sending module is used to send the binary sequence to be sent to the cross-protocol communication receiving end according to the wireless technology protocol of the sending end, and the cross-protocol communication receiving end decodes the binary sequence to be sent to obtain the information to be sent.
7. A cross-protocol communication device, characterized in that: The cross-protocol communication device is applied to a cross-protocol communication receiving end, and the cross-protocol communication device includes: A receiving module, used to receive a data packet sent by a cross-protocol communication sending end, and extract a binary sequence in the data packet; A binary sequence conversion module, used to convert the binary sequence using cross-protocol communication knowledge to obtain a semantic vector; A retrieval module, used to search in a semantic knowledge base according to the semantic vector to obtain a retrieval result; A determination module is used to determine the information to be sent based on the search result.
8. A cross-protocol communication device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the cross-protocol communication method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the cross-protocol communication method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the cross-protocol communication method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Semantic communication method and device, electronic equipment and storage medium
CN115292726A
Dialogue round detection method and device, equipment, medium and program product
CN116959417A
Encoding method, decoding method, encoding device, decoding device and electronic equipment
CN117692094A
Semantic coding method for ocean data, terminal equipment and storage medium
CN118138194A
Multiple access method and related device
US11895629B1
Cited By
API protocol conversion method and device, equipment and medium
CN120499284A