CN114095172A - Wireless interface forward data verification method and device - Google Patents
Wireless interface forward data verification method and device Download PDFInfo
- Publication number
- CN114095172A CN114095172A CN202010633999.9A CN202010633999A CN114095172A CN 114095172 A CN114095172 A CN 114095172A CN 202010633999 A CN202010633999 A CN 202010633999A CN 114095172 A CN114095172 A CN 114095172A
- Authority
- CN
- China
- Prior art keywords
- data
- protocol
- current frame
- hash value
- frame data
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a method and a device for verifying wireless interface forward data, wherein the method comprises the following steps: sending configuration information of the HASH algorithm to the RRU, so that the RRU can receive the configuration information to complete the configuration and initialization of the HASH algorithm; if data are sent to the RRU through the fronthaul interface, calculating a HASH value of the sent current frame data, and filling the HASH value of the sent current frame data into a reserved field of a CPRI protocol or an eCPRI protocol; and/or if the data sent by the RRU is received through the forwarding interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a verification result. The embodiment of the invention can ensure that the data of the forward interface cannot be tampered in the transmission process, and meets the requirement of a user on high reliability of the data.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for verifying forwarding data of a wireless interface.
Background
Facing the development requirement of the future 5G (the 5th generation, fifth generation mobile communication technology) network, the 5G mobile communication Base station reconstructs an existing BBU (baseband processing module) -RRU (Remote Radio Unit) architecture into a CU (Central Unit) -DU (Distributed Unit) -RRU architecture, and the original BBU function is reconstructed into two functional entities, namely a CU and a DU, wherein the CU mainly includes a non-real-time wireless upper layer protocol stack function and also supports the deployment of part of core network function sinking and edge application services, and the DU mainly processes a layer function of physical layer functionality and real-time requirement, and an interface between the device and the RRU is a forward-pass interface.
In the existing 5G base station, there is no excessive data protection and check in the aspect of forwarding data, and IQ data is transmitted according to the CPRI protocol or the eccri protocol. Industry customers are an important aspect in future 5G network deployments. The industry customers generally have higher requirements on data privacy, the data privacy is required to be not tampered in the transmission process, and the environment of deploying 5G base stations by some industry customers is very severe, such as mines and the like, and the accuracy of the forward data is strongly required in the situations. At present, the technical solutions of various manufacturers are ensured by a data transmission verification mechanism of an ethernet physical layer, but such a protection mechanism cannot accurately verify the data integrity of each frame, and has certain limitations on the expansion of customers in the future 5G industry.
The prior art cannot ensure the data integrity of each frame in the data forwarding process and cannot meet the requirement of a user on high data reliability.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for verifying forwarding data of a wireless interface, which overcome the above problems or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for verifying forwarding data of a wireless interface, including:
sending configuration information of a Hash algorithm to a remote radio frequency module RRU, so that the RRU receives the configuration information to complete configuration and initialization of the Hash algorithm;
if data are sent to the RRU through the fronthaul interface, calculating a HASH value of sent current frame data, and filling the HASH value of the sent current frame data into a reserved field of a common public radio interface CPRI protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
and if the data sent by the RRU is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a verification result.
Optionally, the method further comprises:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting the RRU to retransmit or discard the current frame data.
Optionally, the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
In a second aspect, an embodiment of the present invention provides a method for verifying forwarding data of a wireless interface, including:
receiving configuration information of a Hash algorithm sent by a baseband processing module, and completing configuration and initialization of the Hash algorithm;
if the data is transmitted to the baseband processing module through the fronthaul interface, calculating a HASH value of the transmitted current frame data, and filling the HASH value of the transmitted current frame data into a reserved field of a Common Public Radio Interface (CPRI) protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
if the data sent by the baseband processing module is received through the fronthaul interface, calculating the HASH value of the received current frame data, comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, and obtaining the verification result
The baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
Optionally, the method further comprises:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting a baseband processing module to retransmit or discard the current frame data.
Optionally, the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
In a third aspect, an embodiment of the present invention provides a device for verifying forwarding data of a wireless interface, including:
the first configuration module is used for sending configuration information of a Hash algorithm to the remote radio frequency module RRU so that the RRU can receive the configuration information to complete the configuration and initialization of the Hash algorithm;
the first sending and checking module is used for calculating the HASH value of the sent current frame data if the data is sent to the RRU through the fronthaul interface, and filling the HASH value of the sent current frame data into a reserved field of a common public radio interface CPRI protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
the first receiving and checking module is used for calculating the HASH value of the received current frame data if the data sent by the RRU is received through the fronthaul interface, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eccri protocol to obtain a checking result.
In a fourth aspect, an embodiment of the present invention provides a device for verifying forwarding data of a wireless interface, including:
the second configuration module is used for receiving the configuration information of the HasH algorithm sent by the baseband processing module and completing the configuration and initialization of the HasH algorithm;
the second sending and checking module is used for calculating the HASH value of the sent current frame data if the data is sent to the baseband processing module through the fronthaul interface, and filling the HASH value of the sent current frame data into a reserved field of a Common Public Radio Interface (CPRI) protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
the second receiving and checking module is used for calculating the HASH value of the received current frame data if the data sent by the baseband processing module is received through the fronthaul interface, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a checking result;
the baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the wireless interface forwarding data verification method provided in the first aspect or the second aspect when executing the program.
In a sixth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the wireless interface forwarding data verification method as provided in the first aspect or the second aspect.
The wireless interface forward data verification method and device provided by the embodiment of the invention can ensure that forward interface data cannot be tampered in the transmission process by performing HASH operation on each frame of data by using the HASH algorithm to obtain the HASH value and performing data verification on the HASH value stored in the protocol reserved field, thereby meeting the requirement of a user on high reliability of the data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for verifying forwarding data of a wireless interface according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for verifying forwarding data of a wireless interface according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a wireless interface forwarding data verification apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wireless interface forwarding data verification apparatus according to an embodiment of the present invention;
fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Facing the development requirement of the 5G (the 5th generation, fifth generation mobile communication technology) network, the 5G mobile communication Base station is to be reconfigured from the existing BBU (baseband processing module) -RRU (Remote Radio Unit) architecture to CU (Central Unit) -DU (Distributed Unit) -RRU architecture, the original BBU function is to be reconfigured to CU and DU two functional entities, wherein the CU device mainly includes a non-real-time wireless upper layer protocol stack function and also supports the deployment of part of core network function sinking and edge application services, the DU device mainly handles the layer function of physical layer functionality and real-time requirement, the interface between the device and the RRU is a fronthaul interface, in the 4G era, the interface generally adopts the CPRI standard to replace the conventional coaxial cable connection, the CPRI is an interface standard based on direct connection cable, the method realizes data multiplexing in a TDM mode, needs exclusive transmission bandwidth, defines three types of data streams of user, control, management and synchronization, wherein the data stream of a user plane transmits quantized IQ transceiving signals of an RRU antenna. The user plane data bandwidth of the CPRI is proportional to the sampling frequency (bandwidth) and the number of ports. In order to meet 5G requirements, CPRI organizations promulgated the eccri protocol in 2017. Unlike CPRI, eCPRI is a packet-based interface standard, does not specify a network implementation form, and can be implemented by any network (e.g., ethernet/IP/UDP/OTN). The protocol only specifies the user plane data and some real-time control messages, such as frame formats of remote memory read-write, delay measurement and the like, does not specify the implementation of control management and synchronization, and recommends the implementation of the existing mature scheme based on the network, such as the synchronization based on PTP and SyncE in the Ethernet. In order to reduce bandwidth overhead, eCPRI provides references of several division forms based on a BBU-RRU division mode defined by 3GPP, and partial or all physical layer functions are divided into RRUs to be realized, so that data transmitted between the BBU and the RRU are changed into modulation symbols (IID), coding bit sequences (ID) and even original data bits (D) from IQ signals on antennas, and thus, the communication bandwidth between the BBU and the RRU is remarkably reduced.
In the current eCPRI protocol, a data format for verifying the forwarding interface is not specified explicitly, and the method is not suitable for wide industry clients. In future industry customers, or the data sensitivity is high, the requirement on the accuracy is high; or the deployment condition is relatively bad, and packet loss is easy to occur in the transmission process. Therefore, the embodiment of the invention provides a method and a device for verifying forwarding data of a wireless interface, which ensure that the data cannot be tampered in the transmission process.
Fig. 1 is a schematic flowchart of a method for verifying forwarding data of a wireless interface according to an embodiment of the present invention, including:
specifically, the execution main body in the embodiment of the present invention is a baseband processing module, and it should be noted that the baseband processing module in the embodiment of the present invention is specifically an indoor baseband processing unit BBU or a central unit DU.
The embodiment of the invention is realized by expanding the protocol stack software of the prior BBU or DU side. And the protocol stack software of the baseband processing module sends the configuration information of the HASH algorithm to the remote radio frequency module RRU, so that the RRU receives the configuration information to complete the configuration and initialization of the HASH algorithm.
The configuration information of the HASH algorithm comprises the specifically adopted HASH algorithm, relevant parameter information and control information of the HASH algorithm. The HASH algorithm is not limited by the embodiment of the invention. For example, the SM3 algorithm may be used, and the configuration information of the HASH algorithm includes parameter information and control information related to the SM3 algorithm, the SM3 algorithm.
After receiving the configuration information of the HASH algorithm sent by the baseband processing module side, the RRU completes the operations of configuration, self-checking, initialization and the like of the HASH algorithm according to the configuration information, and returns a ready state to the baseband processing module side after the RRU is ready.
and if the data sent by the RRU is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a verification result.
Specifically, the reserved field of the CPRI protocol or the eccri protocol refers to a field that can be customized in the CPRI protocol or the eccri protocol.
In an embodiment, the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
If the baseband processing module sends data to the RRU through the fronthaul interface, calculating a HASH value of the sent current frame data, filling the HASH value of the sent current frame data into a reserved field of a CPRI protocol or an eccri protocol, so that the RRU receives the data sent by the baseband processing module, calculating the HASH value of the received current frame data according to relevant parameter information and control information of a HASH algorithm, and comparing the HASH value of the received current frame data with a value stored in the reserved field of the CPRI protocol or the eccri protocol, at this time, the value stored in the reserved field of the CPRI protocol or the eccri protocol is the HASH value of the current frame data sent by the baseband processing module, which is calculated at the baseband processing module side, so as to obtain a verification result.
If the baseband processing module receives data sent by the RRU through the fronthaul interface, calculating a HASH value of the received current frame data, and comparing the HASH value of the received current frame data with a value stored in a reserved field of a CPRI protocol or an eCPRI protocol, wherein the reserved field of the CPRI protocol or the eCPRI protocol is the HASH value of the current frame data sent by the RRU and obtained by calculation on the RRU side, and a verification result is obtained.
And according to the check result, whether the data is tampered or wrong in the transmission process can be obtained.
According to the wireless interface forward data verification method provided by the embodiment of the invention, HASH operation is carried out on each frame of data by using the HASH algorithm to obtain the HASH value, and data verification is carried out through the HASH value stored in the protocol reserved field, so that the forward interface data can be ensured not to be tampered in the transmission process, and the requirement of a user on high reliability of the data is met.
On the basis of the foregoing embodiment, the method for verifying forwarding data of a wireless interface according to the embodiment of the present invention further includes:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting the RRU to retransmit or discard the current frame data.
Specifically, if the verification result is that the HASH value of the received current frame data is the same as the value stored in the reserved field of the CPRI protocol or the eccri protocol, it indicates that the data is not tampered and has an error in the transmission process, and the data verification is successful.
And if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, indicating that the data is falsified or has errors in the transmission process, requesting the RRU to retransmit or discard the current frame data.
The wireless interface forward data verification method provided by the embodiment of the invention can ensure that the forward interface data cannot be tampered in the transmission process, and meets the requirement of a user on high reliability of the data.
Fig. 2 is a schematic flow chart of a method for verifying forwarding data of a wireless interface according to another embodiment of the present invention, including:
200, receiving configuration information of a Hash algorithm sent by a baseband processing module, and completing configuration and initialization of the Hash algorithm;
specifically, the execution main body of the embodiment of the present invention is a remote radio frequency module RRU. It should be noted that, in the embodiment of the present invention, the baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
The embodiment of the invention realizes the wireless interface forward data verification process through a hardware algorithm in the RRU.
And the RRU receives the configuration information of the HASH algorithm sent by the baseband processing module to complete the configuration and initialization of the HASH algorithm.
The configuration information of the HASH algorithm comprises the specifically adopted HASH algorithm, relevant parameter information and control information of the HASH algorithm. The HASH algorithm is not limited by the embodiment of the invention. For example, the SM3 algorithm may be used, and the configuration information of the HASH algorithm includes parameter information and control information related to the SM3 algorithm, the SM3 algorithm.
After receiving the configuration information of the HASH algorithm sent by the baseband processing module side, the RRU completes the operations of configuration, self-checking, initialization and the like of the HASH algorithm according to the configuration information, and returns a ready state to the baseband processing module side after the RRU is ready.
Specifically, the reserved field of the CPRI protocol or the eccri protocol refers to a field that can be customized in the CPRI protocol or the eccri protocol.
In an embodiment, the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
If the RRU sends data to the baseband processing module through the fronthaul interface, calculating the HASH value of the sent current frame data, filling the HASH value of the sent current frame data into a reserved field of a CPRI protocol or an eCPRI protocol so that the baseband processing module receives the data sent by the RRU, calculating the HASH value of the received current frame data according to relevant parameter information and control information of a HASH algorithm, comparing the HASH value of the received current frame data with a value stored in the reserved field of the CPRI protocol or the eCPRI protocol, and obtaining a verification result by comparing the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, namely the HASH value of the current frame data sent by the RRU and calculated at the RRU side.
If the RRU receives the data sent by the baseband processing module through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with a value stored in a reserved field of a CPRI protocol or an eCPRI protocol, wherein the reserved field of the CPRI protocol or the eCPRI protocol is the HASH value of the current frame data sent by the baseband processing module and calculated at the baseband processing module side, and a verification result is obtained.
And according to the check result, whether the data is tampered or wrong in the transmission process can be obtained.
In the wireless interface forward data verification method provided by the embodiment of the invention, the HASH algorithm is utilized to perform HASH operation on each frame of data to obtain the HASH value, and the HASH value stored in the protocol reserved field is used for performing data verification, so that the forward interface data can not be tampered in the transmission process without replacing RRU hardware, and the requirement of a user on high reliability of the data is met.
On the basis of the foregoing embodiment, the method for verifying forwarding data of a wireless interface according to the embodiment of the present invention further includes:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting a baseband processing module to retransmit or discard the current frame data.
Specifically, if the verification result is that the HASH value of the received current frame data is the same as the value stored in the reserved field of the CPRI protocol or the eccri protocol, it indicates that the data is not tampered and has an error in the transmission process, and the data verification is successful.
And if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, indicating that the data is tampered or wrong in the transmission process, requesting a baseband processing module to retransmit or discard the current frame data.
The wireless interface forward data verification method provided by the embodiment of the invention can ensure that the forward interface data cannot be tampered in the transmission process, and meets the requirement of a user on high reliability of the data.
Another embodiment of the present invention provides a method for verifying forwarding data of a wireless interface, including:
step 1, the DU side sends related information of algorithm configuration to the RRU through the extended protocol stack software, wherein the information comprises the type of the algorithm, the parameter type of the algorithm, the initialization command of the algorithm and the like.
And step 2, the RRU receives control information sent by the DU, completes the operations of configuration, self-checking, initialization and the like of the algorithm, and wants the DU to return to a ready state after the preparation is ready.
Step 3, duplex transmission is started, the DU side calculates the HASH value of each frame of data, if the HASH value is a sending request, the value is filled in a specific field of the CSR domain and sent to the RRU; if the request is received, the value is compared with the value stored in the CSR domain specific field.
Step 4, calculating the HASH value of each frame of data by the RRU side, if the request is a sending request, filling the value into a specific field of the CSR domain and sending the value to the DU; if the request is received, the value is compared with the value stored in the CSR domain specific field.
And 5, recording the frame number and initiating retransmission if the data is found to be wrong.
Fig. 3 is a schematic structural diagram of a wireless interface forwarding data verification apparatus according to an embodiment of the present invention, including: the first configuration module 310, the first transmission verification module 320, and/or the first reception verification module 330, wherein,
a first configuration module 310, configured to send configuration information of a HASH algorithm to a remote radio frequency module RRU, so that the RRU receives the configuration information to complete configuration and initialization of the HASH algorithm;
specifically, the first configuration module 310 sends configuration information of the HASH algorithm to the remote radio frequency module RRU, so that the RRU receives the configuration information to complete configuration and initialization of the HASH algorithm.
The configuration information of the HASH algorithm comprises the specifically adopted HASH algorithm, relevant parameter information and control information of the HASH algorithm. The HASH algorithm is not limited by the embodiment of the invention. For example, the SM3 algorithm may be used, and the configuration information of the HASH algorithm includes parameter information and control information related to the SM3 algorithm, the SM3 algorithm.
After receiving the configuration information of the HASH algorithm sent by the baseband processing module side, the RRU completes the operations of configuration, self-checking, initialization and the like of the HASH algorithm according to the configuration information, and returns a ready state to the baseband processing module side after the RRU is ready.
The first sending and checking module 320 is configured to calculate a HASH value of current frame data to be sent if data is sent to the RRU through the fronthaul interface, and fill the HASH value of the current frame data to be sent into a reserved field of a common public radio interface CPRI protocol or an eccri protocol;
the first receiving and checking module 330 is configured to calculate a HASH value of received current frame data if data sent by the RRU is received through the fronthaul interface, and compare the HASH value of the received current frame data with a value stored in a reserved field of a CPRI protocol or an eccri protocol to obtain a checking result.
Specifically, the reserved field of the CPRI protocol or the eccri protocol refers to a field that can be customized in the CPRI protocol or the eccri protocol.
In an embodiment, the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
If the first sending and checking module 320 sends data to the RRU through the fronthaul interface, calculating a HASH value of the sent current frame data, and filling the HASH value of the sent current frame data into a reserved field of a CPRI protocol or an eccri protocol, so that the RRU receives the data sent by the baseband processing module, calculating the HASH value of the received current frame data according to relevant parameter information and control information of a HASH algorithm, and comparing the HASH value of the received current frame data with a value stored in the reserved field of the CPRI protocol or the eccri protocol, at this time, a value stored in the reserved field of the CPRI protocol or the eccri protocol is the HASH value of the current frame data sent by the first sending and checking module 320, which is calculated at the baseband processing module side, to obtain a checking result.
If the first receiving and checking module 330 receives data sent by the RRU through the fronthaul interface, the HASH value of the received current frame data is calculated, and the HASH value of the received current frame data is compared with a value stored in a reserved field of a CPRI protocol or an eccri protocol, at this time, the reserved field of the CPRI protocol or the eccri protocol is the HASH value of the current frame data sent by the RRU, which is obtained by calculation at the RRU side, so as to obtain a checking result.
And according to the check result, whether the data is tampered or wrong in the transmission process can be obtained.
The wireless interface forward data verification device provided by the embodiment of the invention utilizes the HASH algorithm to carry out HASH operation on each frame of data to obtain the HASH value, and carries out data verification through the HASH value stored in the protocol reserved field, so that the forward interface data can be ensured not to be tampered in the transmission process, and the requirement of a user on high reliability of the data is met.
On the basis of the above embodiment, the wireless interface forwarding data verification apparatus further includes:
and the post-inspection processing module is used for requesting the RRU to retransmit or discard the current frame data if the verification result indicates that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol.
Fig. 4 is a schematic structural diagram of a wireless interface forwarding data verification apparatus according to an embodiment of the present invention, including: the second configuration module 410, the second transmission verification module 420, and/or the second reception verification module 430, wherein,
a configuration module 410, configured to receive configuration information of the HASH algorithm sent by the baseband processing module, and complete configuration and initialization of the HASH algorithm;
specifically, the configuration module 410 receives configuration information of the HASH algorithm sent by the baseband processing module, and completes configuration and initialization of the HASH algorithm.
The configuration information of the HASH algorithm comprises the specifically adopted HASH algorithm, relevant parameter information and control information of the HASH algorithm. The HASH algorithm is not limited by the embodiment of the invention. For example, the SM3 algorithm may be used, and the configuration information of the HASH algorithm includes parameter information and control information related to the SM3 algorithm, the SM3 algorithm.
After receiving the configuration information of the HASH algorithm sent by the baseband processing module side, the configuration module 410 completes operations such as configuration, self-checking, and initialization of the HASH algorithm according to the configuration information, and returns a ready state to the baseband processing module side after being ready.
A second sending and checking module 420, configured to calculate a HASH value of current frame data to be sent if data is sent to the baseband processing module through the fronthaul interface, and fill the HASH value of the current frame data to be sent into a reserved field of a common public radio interface CPRI protocol or an eccri protocol;
the second receiving and checking module 430 is configured to calculate a HASH value of received current frame data if data sent by the baseband processing module is received through the fronthaul interface, and compare the HASH value of the received current frame data with a value stored in a reserved field of a CPRI protocol or an eccri protocol to obtain a checking result;
the baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
Specifically, the reserved field of the CPRI protocol or the eccri protocol refers to a field that can be customized in the CPRI protocol or the eccri protocol.
In an embodiment, the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
If the second transmission checking module 420 transmits data to the baseband processing module through the fronthaul interface, calculating a HASH value of the transmitted current frame data, filling the HASH value of the transmitted current frame data into a reserved field of a CPRI protocol or an eccri protocol, so that the baseband processing module receives the data transmitted by the second transmission checking module 420, calculating the HASH value of the received current frame data according to relevant parameter information and control information of a HASH algorithm, and comparing the HASH value of the received current frame data with a value stored in the reserved field of the CPRI protocol or the eccri protocol, at this time, a value stored in the reserved field of the CPRI protocol or the eccri protocol is the HASH value of the current frame data transmitted by the second transmission checking module 420, which is calculated at the RRU side, to obtain a checking result.
If the second receiving and checking module 430 receives the data sent by the baseband processing module through the forwarding interface, the HASH value of the received current frame data is calculated, and the HASH value of the received current frame data is compared with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, at this time, the reserved field of the CPRI protocol or the eCPRI protocol is the HASH value of the current frame data sent by the baseband processing module, which is calculated and obtained at the baseband processing module side, so as to obtain the checking result.
And according to the check result, whether the data is tampered or wrong in the transmission process can be obtained.
The wireless interface forward data verification device provided by the embodiment of the invention utilizes the HASH algorithm to carry out HASH operation on each frame of data to obtain the HASH value, and carries out data verification through the HASH value stored in the protocol reserved field, so that the forward interface data can not be tampered in the transmission process without replacing RRU hardware, and the requirement of a user on high reliability of the data is met.
On the basis of the above embodiment, the wireless interface forwarding data verification apparatus further includes:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting a baseband processing module to retransmit or discard the current frame data.
Fig. 5 is a schematic entity structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. Processor 510 may invoke a computer program stored on memory 530 and operable on processor 510 to perform the wireless interface forwarding data verification methods provided by the various method embodiments described above, including, for example: sending configuration information of a Hash algorithm to a remote radio frequency module RRU, so that the RRU receives the configuration information to complete configuration and initialization of the Hash algorithm; if data are sent to the RRU through the fronthaul interface, calculating a HASH value of sent current frame data, and filling the HASH value of the sent current frame data into a reserved field of a common public radio interface CPRI protocol or an eCPRI protocol; and/or if the data sent by the RRU is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with a value stored in a reserved field of a CPRI protocol or an eCPRI protocol to obtain a verification result.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for checking the forwarding data of the wireless interface provided in the foregoing method embodiments, and for example, the method includes: sending configuration information of a Hash algorithm to a remote radio frequency module RRU, so that the RRU receives the configuration information to complete configuration and initialization of the Hash algorithm; if data are sent to the RRU through the fronthaul interface, calculating a HASH value of sent current frame data, and filling the HASH value of the sent current frame data into a reserved field of a common public radio interface CPRI protocol or an eCPRI protocol; and/or if the data sent by the RRU is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with a value stored in a reserved field of a CPRI protocol or an eCPRI protocol to obtain a verification result.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for checking the forwarding data of the wireless interface provided in the foregoing method embodiments, and for example, the method includes: receiving the configuration information of the HASH algorithm sent by a baseband processing module, and completing the configuration and initialization of the HASH algorithm; if the data is transmitted to the baseband processing module through the fronthaul interface, calculating a HASH value of the transmitted current frame data, and filling the HASH value of the transmitted current frame data into a reserved field of a CPRI protocol or an eCPRI protocol; and/or, if the data sent by the baseband processing module is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a verification result; the baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for verifying forwarding data of a wireless interface is characterized by comprising the following steps:
sending configuration information of a Hash algorithm to a remote radio frequency module RRU, so that the RRU receives the configuration information to complete configuration and initialization of the Hash algorithm;
if data are sent to the RRU through the fronthaul interface, calculating a HASH value of sent current frame data, and filling the HASH value of the sent current frame data into a reserved field of a common public radio interface CPRI protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
and if the data sent by the RRU is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a verification result.
2. The method for verifying the forwarding data of the wireless interface according to claim 1, further comprising:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting the RRU to retransmit or discard the current frame data.
3. The method according to claim 1, wherein the reserved field of the CPRI protocol or the eccri protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eccri protocol.
4. A method for verifying forwarding data of a wireless interface is characterized by comprising the following steps:
receiving configuration information of a Hash algorithm sent by a baseband processing module, and completing configuration and initialization of the Hash algorithm;
if the data is transmitted to the baseband processing module through the fronthaul interface, calculating a HASH value of the transmitted current frame data, and filling the HASH value of the transmitted current frame data into a reserved field of a Common Public Radio Interface (CPRI) protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
if the data sent by the baseband processing module is received through the fronthaul interface, calculating the HASH value of the received current frame data, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a verification result;
the baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
5. The method for verifying the forwarding data of the wireless interface according to claim 4, further comprising:
and if the verification result is that the HASH value of the received current frame data is different from the value stored in the reserved field of the CPRI protocol or the eCPRI protocol, requesting a baseband processing module to retransmit or discard the current frame data.
6. The method according to claim 4, wherein the reserved field of the CPRI protocol or the eCPRI protocol is specifically a reserved field in a CSR data field of the CPRI protocol or the eCPRI protocol.
7. A wireless interface forward data verification device, comprising:
the first configuration module is used for sending configuration information of a Hash algorithm to the remote radio frequency module RRU so that the RRU can receive the configuration information to complete the configuration and initialization of the Hash algorithm;
the first sending and checking module is used for calculating the HASH value of the sent current frame data if the data is sent to the RRU through the fronthaul interface, and filling the HASH value of the sent current frame data into a reserved field of a common public radio interface CPRI protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
the first receiving and checking module is used for calculating the HASH value of the received current frame data if the data sent by the RRU is received through the fronthaul interface, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eccri protocol to obtain a checking result.
8. A wireless interface forward data verification device, comprising:
the second configuration module is used for receiving the configuration information of the HasH algorithm sent by the baseband processing module and completing the configuration and initialization of the HasH algorithm;
the second sending and checking module is used for calculating the HASH value of the sent current frame data if the data is sent to the baseband processing module through the fronthaul interface, and filling the HASH value of the sent current frame data into a reserved field of a Common Public Radio Interface (CPRI) protocol or an eCPRI protocol; and/or the presence of a gas in the gas,
the second receiving and checking module is used for calculating the HASH value of the received current frame data if the data sent by the baseband processing module is received through the fronthaul interface, and comparing the HASH value of the received current frame data with the value stored in the reserved field of the CPRI protocol or the eCPRI protocol to obtain a checking result;
the baseband processing module is specifically an indoor baseband processing unit BBU or a central unit DU.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the wireless interface forwarding data verification method according to any one of claims 1 to 6 when executing the program.
10. A non-transitory computer readable storage medium, having stored thereon a computer program, which, when being executed by a processor, performs the steps of the wireless interface forwarding data verification method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010633999.9A CN114095172A (en) | 2020-07-02 | 2020-07-02 | Wireless interface forward data verification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010633999.9A CN114095172A (en) | 2020-07-02 | 2020-07-02 | Wireless interface forward data verification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114095172A true CN114095172A (en) | 2022-02-25 |
Family
ID=80294814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010633999.9A Pending CN114095172A (en) | 2020-07-02 | 2020-07-02 | Wireless interface forward data verification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114095172A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114885043A (en) * | 2022-05-23 | 2022-08-09 | 南京濠暻通讯科技有限公司 | Interface system and method for self-adaptive forwarding protocol |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130159821A1 (en) * | 2010-07-19 | 2013-06-20 | Zte Corporation | Method, System and Device for Monitoring Error Code of Common Public Radio Interface (CPRI) link |
WO2015192264A1 (en) * | 2014-06-16 | 2015-12-23 | Orange | Method for checking the integrity of data transmitted through c-ran |
CN106412991A (en) * | 2015-07-30 | 2017-02-15 | 深圳市中兴微电子技术有限公司 | Data transmission method, sending device, and receiving device |
US20170063586A1 (en) * | 2014-05-12 | 2017-03-02 | Huawei Technologies Co., Ltd. | Method for transmitting data between baseband unit bbu and remote radio unit rru, and data transmission apparatus |
CN106686607A (en) * | 2015-11-09 | 2017-05-17 | ***通信集团设计院有限公司 | Communication network, service access method and related device |
US10028323B1 (en) * | 2016-09-27 | 2018-07-17 | Sprint Communications Company L.P. | Wireless network access point to select a device-to-device communication master for a device-to-device communication group |
US20190289497A1 (en) * | 2018-03-19 | 2019-09-19 | Mavenir Networks, Inc. | System and method for reduction in fronthaul interface bandwidth for cloud ran |
US20190313280A1 (en) * | 2018-04-04 | 2019-10-10 | At&T Intellectual Property I, L.P. | Legacy network maximum transmission unit isolation capability through deployment of a flexible maximum transmission unit packet core design |
WO2020049335A1 (en) * | 2018-09-04 | 2020-03-12 | Telefonaktiebolaget Lm Ericsson (Publ) | Signalling storm mitigation in a secured radio access network |
US20200119797A1 (en) * | 2017-06-16 | 2020-04-16 | Huawei Technologies Co., Ltd. | Communication method and communications apparatus |
CN111212446A (en) * | 2019-12-31 | 2020-05-29 | 京信通信***(中国)有限公司 | Data processing method, data processing device, computer equipment and storage medium |
CN111264044A (en) * | 2018-10-09 | 2020-06-09 | 华为技术有限公司 | Chip, method for generating private key and method for trustable certification |
-
2020
- 2020-07-02 CN CN202010633999.9A patent/CN114095172A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130159821A1 (en) * | 2010-07-19 | 2013-06-20 | Zte Corporation | Method, System and Device for Monitoring Error Code of Common Public Radio Interface (CPRI) link |
US20170063586A1 (en) * | 2014-05-12 | 2017-03-02 | Huawei Technologies Co., Ltd. | Method for transmitting data between baseband unit bbu and remote radio unit rru, and data transmission apparatus |
WO2015192264A1 (en) * | 2014-06-16 | 2015-12-23 | Orange | Method for checking the integrity of data transmitted through c-ran |
CN106412991A (en) * | 2015-07-30 | 2017-02-15 | 深圳市中兴微电子技术有限公司 | Data transmission method, sending device, and receiving device |
CN106686607A (en) * | 2015-11-09 | 2017-05-17 | ***通信集团设计院有限公司 | Communication network, service access method and related device |
US10028323B1 (en) * | 2016-09-27 | 2018-07-17 | Sprint Communications Company L.P. | Wireless network access point to select a device-to-device communication master for a device-to-device communication group |
US20200119797A1 (en) * | 2017-06-16 | 2020-04-16 | Huawei Technologies Co., Ltd. | Communication method and communications apparatus |
US20190289497A1 (en) * | 2018-03-19 | 2019-09-19 | Mavenir Networks, Inc. | System and method for reduction in fronthaul interface bandwidth for cloud ran |
US20190313280A1 (en) * | 2018-04-04 | 2019-10-10 | At&T Intellectual Property I, L.P. | Legacy network maximum transmission unit isolation capability through deployment of a flexible maximum transmission unit packet core design |
WO2020049335A1 (en) * | 2018-09-04 | 2020-03-12 | Telefonaktiebolaget Lm Ericsson (Publ) | Signalling storm mitigation in a secured radio access network |
CN111264044A (en) * | 2018-10-09 | 2020-06-09 | 华为技术有限公司 | Chip, method for generating private key and method for trustable certification |
CN111212446A (en) * | 2019-12-31 | 2020-05-29 | 京信通信***(中国)有限公司 | Data processing method, data processing device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
RAN1 SECRETARY: "R1-060756 \"Approved Report from RAN1 LTE Ad Hoc Meeting\"", 3GPP TSG_RAN\\WG1_RL1, no. 1 * |
张驰,黄本雄,张剑: "PKI与数字证书及其在嵌入式WEB服务器上的应用", 中国数据通信, no. 02 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114885043A (en) * | 2022-05-23 | 2022-08-09 | 南京濠暻通讯科技有限公司 | Interface system and method for self-adaptive forwarding protocol |
CN114885043B (en) * | 2022-05-23 | 2024-03-22 | 南京濠暻通讯科技有限公司 | Interface system and method of self-adaptive forward protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5912086B2 (en) | Method and system for accurate clock synchronization of a communication system through interaction of communication layers and sub-layers in a communication system | |
Mountaser et al. | On the feasibility of MAC and PHY split in cloud RAN | |
JP2022174214A (en) | Method and device for transmitting multi-code words | |
KR20200039234A (en) | Apparatus and method for synchronization using wireless communication network in wireless communication system | |
WO2015100589A1 (en) | Data transmission method, data forwarding device, and system | |
US8650604B2 (en) | Method and system for synchronization of audio/video (A/V) stream format change in wireless communication systems | |
WO2018127141A1 (en) | Reference signal transmission method and apparatus | |
US11563465B2 (en) | Code block group configuration with code block segmentation for 5G systems | |
CN113796029A (en) | Unit and method of base station system for transmission on forward link | |
WO2018202023A1 (en) | Method and device for notification of reference signal | |
KR20240035877A (en) | Network optimization methods and communication devices | |
CN114095172A (en) | Wireless interface forward data verification method and device | |
KR102655526B1 (en) | Apparatus and method for synchronization using wireless communication network in wireless communication system | |
WO2021244405A1 (en) | Ppdu transmission method and related apparatus | |
WO2017219205A1 (en) | Base station, data transmission method and apparatus | |
WO2020221261A1 (en) | Communication method and apparatus | |
WO2021097769A1 (en) | Clock synchronization method and apparatus | |
CN111416689B (en) | Data transmission method and communication equipment | |
CN117395769A (en) | Information transmission method and related equipment | |
WO2024032775A1 (en) | Quantization method and apparatus | |
CN114745776B (en) | Clock synchronization method, device, equipment and medium based on wireless network | |
JP7322524B2 (en) | Communication system and communication device | |
WO2023236143A1 (en) | Information transceiving method and apparatus | |
WO2024061217A1 (en) | Communication method and related apparatus | |
EP4344293A1 (en) | Method for sending data, method for receiving data, and communication 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 |