Load data verification method based on communication voice coding
By introducing a load data verification method in the voice call system, the problem of poor processing of abnormal data frames in the prior art is solved, and the security, reliability and efficiency of data transmission are improved.
Patent Information
- Application Number
- CN202411503492.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-03-07
AI Technical Summary
The prior art cannot effectively judge and process abnormal data frames in voice calls, resulting in waste of network transmission bandwidth and unnecessary voice decoding.
A load data verification method based on communication voice encoding is provided. The encoded data flow is checked through the verification unit to ensure the integrity and validity of the data, and decode it after the verification is passed.
It effectively avoids the invalid waste of network transmission bandwidth, reduces unnecessary voice decoding, improves the security and reliability of data transmission, and reduces the cost and complexity of network element cluster deployment.
Smart Images

Figure CN119583524A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of coding and decoding, and in particular to a load data verification method based on communication voice coding. Background Art
[0002] With the development of communication technology, the application of voice over Internet Protocol (VoIP) technology based on IP is becoming more and more widespread. VoIP voice calls use the Internet Protocol (IP) to achieve voice calls and multimedia conferences. They need to communicate through a capability platform and are characterized by high efficiency and low cost.
[0003] like Figure 1 The transmission process of the IMS network element media plane data shown in the figure reaches the called side mobile terminal in the order of calling side mobile terminal-calling side network element device-called side network element device-called side mobile terminal. However, due to the rapid development of communication technology, the original 2G era only supported the basic PCMA / PCMU coding mode, and the current 4 / 5G GSM / ILBC / G723.1 / G729 / AMR-NB / AMR-WB / EVS / G722 and other coding modes have caused the network element to support more and more coding modes.
[0004] In the existing network element media transmission process, UDP is processed out of order. Each network element needs to transmit UDP data, regardless of whether the data is correct or not, which wastes precious transmission resources in terms of telecommunications network element bandwidth and media data transmission.
[0005] The existing systems in the current network, especially the MRCF, PSBC network elements and the wireless terminal side, do not have any judgment on abnormal data frames in the source code of the open source decoding. The open source decoding only decodes the data, and each application layer needs to waste resources to perform decoding verification.
[0006] Most of the existing systems on the network need to be upgraded and reconstructed to handle abnormal data. Without a complete exception handling mechanism, large-scale upgrades and verifications will not allow for targeted and rapid adjustments based on the validity of the data.
[0007] In order to solve the above problems, people have been seeking an ideal technical solution. Summary of the invention
[0008] The purpose of the present invention is to provide a load data verification method based on communication voice coding in view of the deficiencies in the prior art.
[0009] In order to achieve the above object, the technical solution adopted by the present invention is: A first aspect provides a payload data verification method based on communication speech coding, comprising the following steps: Connect to the SBC / PCSCF network element of the calling side media in application server mode; Respond to the heartbeat interaction of the SBC / PCSCF network element of the calling side media, and wait to receive the verification request sent by the SBC / PCSCF network element of the calling side media, the verification request including the encoding format, data frame length and encoded data stream; Call the corresponding verification unit according to the coding format in the verification request to perform data length and content verification on the coded data stream based on the specifications of ITU-T and 3GPP; The verification result is returned to the SBC / PCSCF network element of the calling side media according to the verification result, so that the network element device can determine whether to send the encoded data stream corresponding to the verification result to the next network element according to the verification result.
[0010] Furthermore, when the verification fails, the data length field in the verification result returned to the SBC / PCSCF network element of the calling side media is 0; when the SBC / PCSCF network element of the calling side media detects that the length field is 0, it abandons the transmission of the current coded data stream to the next network element; When the verification passes, the data length field in the verification result returned to the SBC / PCSCF network element of the calling side media is the data length field of the encoded data stream; when the SBC / PCSCF network element of the calling side media detects that the length field is not 0, the encoded data stream corresponding to the verification result is sent to the next network element.
[0011] A second aspect can provide a payload data verification and decoding server based on communication voice coding, wherein the payload data verification and decoding server is deployed with: Decoders for several different speech coding formats, the decoders comprising decoding source codes for the corresponding coding formats; Verification units for several different speech coding formats, each of which has built-in ITU-T and 3GPP specifications for the corresponding coding formats; The buffer includes a plurality of buffer queues, and is used to receive the check decoding request sent by the client network element device, and distribute the received check decoding request to the buffer queue for buffering according to the dynamic distribution function; the check decoding request includes the coding format, the data frame length and the coded data stream; A parallel processor includes multiple processing channels, each of which corresponds to a cache queue, and is used to read a verification decoding request from a cache, and call a corresponding verification unit according to the coding format in the verification decoding request to perform data length and content verification on the coded data stream based on ITU-T and 3GPP specifications; when the verification passes, continue to call a corresponding decoder according to the coding format in the verification decoding request to decode and obtain voice decoding data; when the verification fails, no decoding is performed. Further, the parallel processor returns the data length field and the data to the client network element device according to the processing result; Among them, when the verification fails, the data returned to the customer network element device is an unverified coded data stream, and the returned data length field is 0; when the customer network element device detects that the data length field is 0, it abandons the transmission of the unverified coded data stream to the next network element; When the verification passes and the decoding is successful, the data returned to the customer network element device is the voice decoding data, and the value of the returned data length field is the length of the voice decoding data; when the customer network element device detects that the length field is not 0, it sends the voice decoding data to the next customer network element device.
[0012] Furthermore, a corresponding decoder is created for each speech coding format, and configuration parameters are initialized; when configuring parameters, the global static single-dimensional variables in the decoding source code are modified to global static multi-dimensional variables, and then static variable memory is allocated; Each processing channel calls the corresponding decoder to decode according to the speech coding format in the verification decoding request, including: The processing channel requests the memory space of the corresponding dimension from the decoder according to the data frame length in the verification decoding request, and modifies the overflow variables and carry variables in the basic operation file of the decoding source code from global static single-dimensional variables to global static multi-dimensional variables of the corresponding dimension; finally, the modified decoder is used to decode the encoded data stream to obtain the speech decoding data.
[0013] 6. According to a load data verification decoding server based on communication voice coding as described in claim 5, it is characterized in that after the decoder receives the data frame length sent by the processing channel, it allocates memory space of corresponding dimensions to the processing channel, wherein the memory space allocated to different processing channels is independent and non-repetitive.
[0014] Further, the parallel processor obtains channel configuration information, the channel configuration information includes a processing channel type, a number of CPU cores, and a decoding interval, the processing channel type includes a thread, a process, or a service; Generate an equal number of thread-level processing channels, process-level processing channels or service-level processing channels according to the number of CPU cores and the type of processing channels; Create an equal number of cache queues in the cache according to the number of CPU cores, and associate and bind a cache queue with a processing channel; The verification decoding requests are obtained from the cache queue in batches according to the decoding interval.
[0015] Furthermore, each processing channel obtains the verification decoding request and the queue cache time of the verification decoding request at the same time. When the verification passes, it determines whether the difference between the current time and the queue cache time exceeds the preset time threshold. If it exceeds, the returned data is an unverified encoded data stream, the returned data length field is 0, and the undecoded information is returned synchronously; if it does not exceed, the corresponding decoder is called to decode according to the encoding format in the verification decoding request to obtain voice decoding data.
[0016] A third aspect provides an IMS network element media transmission system, including a calling network and a called network; The calling network includes a calling side mobile terminal, a calling side EPC network, a calling side PSCF / SBC network element, a calling side CE network element and the load data verification and decoding server described in the second aspect, and the load data verification and decoding server is connected to the calling side PSCF / SBC network element; the called network includes a called side mobile terminal, a called side EPC network, a called side PSCF / SBC network element and a called side CE network element.
[0017] The present invention has outstanding substantive features and significant progress compared to the prior art. Specifically, 1. The present invention can judge the integrity and validity of the data before decoding the encoded data. Once the data is abnormal, the data will be discarded, thus avoiding the ineffective waste of network transmission bandwidth and reducing unnecessary voice decoding.
[0018] 2. In the present invention, the verification unit and the decoder are placed in the operator's network through the media plane AS (application server). Both parties maintain their status through the heartbeat mechanism. Once the heartbeat status or connection is abnormal, the media plane network element data can be directly transmitted to the next network element, so the security and reliability of data transmission can be guaranteed.
[0019] 3. Compared with most existing network element cluster deployment devices, the present invention only needs one server to complete the deployment, and has the advantages of low cost, high efficiency, and standard-based processing.
[0020] 4. The present invention has the function of rapid upgrading without affecting the overall network. It does not require the adaptation, upgrading and transformation of most network elements. It only needs to be connected to a certain network element. Compared with a large-scale network element upgrade, it has stronger application affinity and practicality.
[0021] 5. Set up multiple processing channels, each of which corresponds to a verification and decoding request. Call the corresponding verification unit for verification according to the voice coding format in the verification and decoding request, and call the corresponding decoder for decoding after the verification passes. Process multiple verification and decoding requests simultaneously through multiple processing channels, which can avoid data intersection and reduce the occupation and consumption of system resources such as CPU by high concurrency. 6. Carry out secondary development on the decoding source code of the open source decoder, modify the single-dimensional variable into a multi-dimensional variable to enable the decoder to simultaneously process multiple verification decoding requests of the same type, and its secondary development source code can be fully disclosed to ensure the integrity, correctness, standardization and openness of data decoding. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a schematic diagram of the original IMS network element media transmission diagram.
[0023] Figure 2 It is an overall flow chart of the verification method described in Example 1 of the present invention.
[0024] Figure 3 It is a schematic diagram of a payload data verification and decoding server according to Embodiment 2 of the present invention.
[0025] Figure 4 This is a workflow diagram of the payload data verification and decoding server according to Embodiment 2 of the present invention.
[0026] Figure 5 It is a flow chart of the EVS after secondary development of the present invention.
[0027] Figure 6 This is the network element media transmission diagram described in Example 3 of the present invention. DETAILED DESCRIPTION
[0028] The technical solution of the present invention is further described in detail below through specific implementation methods.
[0029] Example 1 This embodiment provides a method for verifying payload data based on communication speech coding, such as Figure 2 As shown, the following steps are included: Connect to the SBC / PCSCF network element of the calling side media in application server mode; Respond to the heartbeat interaction of the SBC / PCSCF network element of the calling side media, and wait to receive the verification request sent by the SBC / PCSCF network element of the calling side media, the verification request including the encoding format, data frame length and encoded data stream; According to the coding format in the verification request, the corresponding verification unit is called to perform data length and content verification on the coded data stream based on the specifications of ITU-T and 3GPP; preferably, data length verification refers to determining whether the length of the data conforms to the length corresponding to the coding format; the purpose of content verification is to verify whether the data conforms to the frame structure in the coding specification. The validity of the data can be verified through data length verification and content verification.
[0030] The verification result is returned to the SBC / PCSCF network element of the calling side media based on the verification result, so that the network element device can determine whether to send the encoded data stream corresponding to the verification result to the next network element or to the decoding server for decoding.
[0031] In one embodiment, the verification result includes a data length field, so that the network element device can determine whether to send the encoded data stream to the next network element according to the data length field.
[0032] Furthermore, when the data length and content verification fails, the data length field in the verification result returned to the SBC / PCSCF network element of the calling side media is 0; when the SBC / PCSCF network element of the calling side media detects that the length field is 0, it abandons the transmission of the current encoded data stream to the next network element; When the data length and content verification pass, the data length field in the verification result returned to the SBC / PCSCF network element of the calling side media is the data length field of the encoded data stream; when the SBC / PCSCF network element of the calling side media detects that the length field is not 0, the encoded data stream corresponding to the verification result is sent to the next network element.
[0033] To verify the solution described in this embodiment, a media network element device and a data verification system are built and data is tested using the UDP protocol for transmission, specifically including the following steps: S1: Build the network element interconnection environment; Due to business requirements, the data verification system runs in the Linux system, and therefore performs data connection with the PSBC network element through the UDP socket method, wherein the data verification system has the verification method described in this embodiment built-in.
[0034] S2: The network element device and the data verification system confirm the status through heartbeat interaction. After the heartbeat status of both parties is confirmed to be normal, the network element device determines that the data verification system is running normally. If the status is normal, it will go to S3; if it is abnormal, it will continue to S2, but the data will go directly to the next network element until the heartbeat status is normal; S3: The network element device sends the coding format, data frame length and coded data stream for this verification to the data verification system. The coding is not limited to voice coding formats such as G711 / G722 / G723 / G729 / AMR-NB / AMR-WB / EVS / GSM / ILBC / SILK and video coding formats such as H264 / H263.
[0035] S4: Data verification system. When receiving the voice coding format, it will perform data length and content verification according to the specifications of ITU-T and 3GPP. For example, G711 coding, the standard specification can encode 5 milliseconds, 10 milliseconds, 20 milliseconds, 30 milliseconds, and 40 milliseconds of sampling data. After the data length is encoded, the length is 40 bytes, 80 bytes, 160 bytes, 240 bytes, and 320 bytes; for example, G723 coding, the standard specification has a bandwidth of 5.3kbps and 6.3kbps, and the sampled data is encoded After that, its data length is an integer multiple of 20 bytes or 24 bytes; for example, AMR-NB encoding, in IMS network elements and NGN-BICC network element devices, its variable coding rate after sampling ranges from 4.75bps to 12.2kbps, and its data frames are divided into single-channel single-frame and single-channel multi-frame data. The effective length of single-channel single-frame encoding is 12 bytes to 31 bytes. The single-channel multi-frame data is tested for rate and frame quality according to F|FT|Q. Once the content and length do not meet the specifications, the parameters should be returned to the network element to discard the frame.
[0036] S5: The data verification system returns parameters to the network element device, including a data length field. When the network element device detects that the data length field is 0, it abandons transmitting the current encoded data stream to the next network element. Otherwise, it sends the data length and the encoded data stream to the next network element.
[0037] This embodiment uses a unified data verification interface to solve the existing problems such as waste of transmission resources. It can also connect the method and device to the existing media network element equipment in AS mode without changing the existing communication network, so as to realize seamless network element access, data extraction, and data verification. In the connected media network element, the voice coding format and the corresponding data packet content that need to be processed can directly determine the abnormality of the data frame, which can not only avoid the transmission of invalid data in the network and invalid encoding and decoding, but also achieve rapid upgrade and verification.
[0038] This embodiment only requires one general server to complete the deployment and docking of network element equipment, and to build and test the voice coding format and data verification environment; unified standard specifications of each coding format are used for data verification, and all processing is based on ITU-T and 3GPP specifications, which can maximize the standardization and effectiveness of data verification.
[0039] Example 2 This embodiment provides a payload data verification decoding server based on communication voice coding, such as Figure 3-4 The payload data verification and decoding server is deployed with: Decoders for several different speech coding formats, the decoders comprising decoding source codes for the corresponding coding formats; Verification units for several different speech coding formats, each of which has built-in ITU-T and 3GPP specifications for the corresponding coding formats; The buffer includes a plurality of buffer queues, and is used to receive the check decoding request sent by the client network element device, and distribute the received check decoding request to the buffer queue for buffering according to the dynamic distribution function; the check decoding request includes the coding format, the data frame length and the coded data stream; A parallel processor includes multiple processing channels, each processing channel corresponds to a cache queue, and is used to read a verification decoding request from a cache, and call a corresponding verification unit according to the coding format in the verification decoding request to perform data length and content verification on the encoded data stream based on ITU-T and 3GPP specifications; when the verification passes, continue to call the corresponding decoder according to the coding format in the verification decoding request to decode and obtain voice decoding data; when the verification fails, no decoding is performed.
[0040] Further, the parallel processor returns the data length field and the data to the client network element device according to the processing result; Among them, when the verification fails, the data returned to the customer network element device is an unverified coded data stream, and the returned data length field is 0; when the customer network element device detects that the data length field is 0, it abandons the transmission of the unverified coded data stream to the next network element; When the verification passes and the decoding is successful, the data returned to the customer network element device is the voice decoding data, and the value of the returned data length field is the length of the voice decoding data; when the customer network element device detects that the length field is not 0, it sends the voice decoding data to the next customer network element device.
[0041] It is understandable that the decoding source codes of the decoder are all source codes that meet the ITU-T and 3GPP standards, and the encoding formats include but are not limited to G711 / G722 / G723 / G729 / AMR-NB / AMR-WB / EVS / GSM / ILBC / ILBC / SILK / H264 / H263.
[0042] However, the variables in the traditional decoding source code are global static single-dimensional variables. Therefore, if batch data is encountered, it can only be decoded serially, which takes a long time to decode; and when cross-voice decoding or batch data is decoded simultaneously, it is easy to cause noise in the decoded voice, which may also cause the decoding operation to crash.
[0043] To this end, this embodiment conducts secondary development on the open source decoding source code, and modifies the single-dimensional variable into a multi-dimensional variable, so that it is suitable for cross-speech decoding or batch data decoding at the same time, such as Figure 5 As shown, the details are as follows: Create a corresponding decoder for each speech coding format and initialize the configuration parameters; when configuring the parameters, modify the global static single-dimensional variables in the decoding source code to global static multi-dimensional variables, and then allocate static variable memory; Each processing channel calls the corresponding decoder to decode according to the speech coding format in the verification decoding request, including: The processing channel requests the memory space of the corresponding dimension from the decoder according to the data frame length in the verification decoding request, and modifies the overflow variables and carry variables in the basic operation file of the decoding source code from global static single-dimensional variables to global static multi-dimensional variables of the corresponding dimension; finally, the modified decoder is used to decode the encoded data stream to obtain the speech decoding data.
[0044] That is to say, the processing channel requests the memory space of the corresponding dimension from the decoder according to the data frame length in the verification decoding request, and modifies the overflow variable and carry variable in the basic operation file of the decoding source code from the global static single-dimensional variables to the global static multi-dimensional variables of the corresponding dimensions. This is equivalent to dividing the original decoder into several small decoders, each of which corresponds to a processing channel for decoding the encoded data stream of the processing channel; and multiple small decoders can work at the same time to realize the simultaneous decoding of multiple encoded data streams.
[0045] It should be noted that after the decoder receives the data frame length sent by the processing channel, it allocates memory space of corresponding dimensions to the processing channel, where the memory space allocated to different processing channels is independent and non-repetitive, thereby ensuring that a decoder is virtually divided into several small decoders that do not interfere with each other.
[0046] In one embodiment, the steps for the parallel processor to obtain a processing channel are as follows: The parallel processor obtains channel configuration information, where the channel configuration information includes a processing channel type, a number of CPU cores, and a decoding interval, where the processing channel type includes a thread, a process, or a service; Generate an equal number of thread-level processing channels, process-level processing channels or service-level processing channels according to the number of CPU cores and the type of processing channels; Create an equal number of cache queues in the cache according to the number of CPU cores, and associate and bind a cache queue with a processing channel; The verification decoding requests are obtained from the cache queue in batches according to the decoding interval.
[0047] In specific implementation, at least one of multi-threading, multi-processing, and multi-service is used to decode multiple encoded data streams. Specifically, an equal number of thread-level processing channels, process-level processing channels, or service-level processing channels are generated according to the number of CPU cores and the type of processing channels. For example, if the configuration information is multi-threading and 100 CPU cores, 100 process-level processing channels will be created to simultaneously perform data verification and decoding. Create an equal number of cache queues in the cache according to the number of CPU cores, and associate and bind a cache queue with a processing channel; the cache queue is a hash bucket structure, and the encoding format, data length, etc. in the verification decoding request are stored in different nodes of the hash bucket.
[0048] The verification and decoding requests are obtained from the cache queue in batches according to the decoding interval. For example, each batch of decoding is verified and decoded with a storage time of 4 seconds or with 200 packets as a batch.
[0049] Furthermore, the configuration information also includes resampling configuration information and channel configuration information; After receiving the voice decoding data, the processing channel resamples the voice decoding data based on the resampling configuration information and the channel configuration information, and outputs the encoded data stream of the corresponding channel.
[0050] For example, if the resampling configuration information includes a sampling precision of 16 bits, and the channel configuration information is mono, then the voice decoding data is resampled based on the sampling precision of 16 bits, and a mono encoded data stream is output.
[0051] It should be noted that, usually, depending on the encoding, the jitter time of each frame of data is between 20 milliseconds and 150 milliseconds. Affected by the network environment, the data transmission time is not fixed, and the normal decoding process takes some time. In order to reduce the perception of the target device, each processing channel obtains the verification decoding request while also obtaining the queue cache time of the verification decoding request. When the verification passes, it is determined whether the difference between the current time and the queue cache time exceeds the preset time threshold. If it exceeds, the returned data is an unverified encoded data stream, and the returned data length field is the data length of the encoded data stream, and the undecoded information is returned synchronously; if it does not exceed, the corresponding decoder is called according to the encoding format in the verification decoding request for decoding to obtain voice decoding data.
[0052] Specifically, the preset time threshold can be set to 20 milliseconds. Once the difference between the current time and the queue cache time exceeds 20 milliseconds, no decoding processing is performed, and the data is directly sent to the target device, and it is notified that it is undecoded original data.
[0053] In this embodiment, multiple processing channels are set, each processing channel corresponds to a verification and decoding request, and the corresponding verification unit is called for verification according to the voice coding format in the verification and decoding request, and the corresponding decoder is called for decoding after the verification passes; multiple verification and decoding requests are processed simultaneously through multiple processing channels, which can not only avoid data crossing, but also reduce the occupation and consumption of system resources such as CPU by codec transcoding with high concurrency.
[0054] This embodiment conducts secondary development on the decoding source code of the open source decoder, modifies the single-dimensional variable into a multi-dimensional variable to enable the decoder to simultaneously process multiple verification decoding requests of the same type, and its secondary development source code can be fully disclosed to ensure the integrity, correctness, standardization and openness of data decoding.
[0055] Compared with most existing network element cluster deployment devices, this embodiment only needs one server to complete the deployment, and has the advantages of low cost, high efficiency, and processing based on standards and specifications.
[0056] Example 3 This embodiment provides an IMS network element media transmission system, such as Figure 6 As shown, it includes a calling network and a called network; The calling network includes a calling side mobile terminal, a calling side EPC network, a calling side PSCF / SBC network element, a calling side CE network element and the payload data verification and decoding server described in Example 2, wherein the payload data verification and decoding server is connected to the calling side PSCF / SBC network element and receives a verification and decoding request sent by the calling side PSCF / SBC network element; the called network includes a called side mobile terminal, a called side EPC network, a called side PSCF / SBC network element and a called side CE network element.
[0057] Preferably, when the heartbeat interaction between the PSCF / SBC network element on the calling side and the payload data verification and decoding server is abnormal, the PSCF / SBC network element on the calling side directly sends the data to the next network element.
[0058] This embodiment can judge the integrity and validity of the data before decoding the encoded data or transmitting the data. Once the data is abnormal, the data will be discarded, thereby avoiding the ineffective waste of network transmission bandwidth and reducing unnecessary voice decoding.
[0059] In this embodiment, the payload data verification and decoding server is placed in the operator's network invisibly through the media plane AS (application server). Both parties maintain the status through the heartbeat mechanism. Once the heartbeat status or connection is abnormal, the media plane network element data can be directly transmitted to the next network element, so the security and reliability of data transmission can be guaranteed.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.
Claims
1. A load data verification method based on communication voice coding, characterized in that: The following steps are involved: Connect to the SBC / PCSCF network element of the calling side media in application server mode; Respond to the heartbeat interaction of the SBC / PCSCF network element of the calling side media, and wait to receive the verification request sent by the SBC / PCSCF network element of the calling side media, the verification request including the encoding format, data frame length and encoded data stream; Call the corresponding verification unit according to the coding format in the verification request to perform data length and content verification on the coded data stream based on the specifications of ITU-T and 3GPP; The verification result is returned to the SBC / PCSCF network element of the calling side media according to the verification result, so that the network element device can determine whether to send the encoded data stream corresponding to the verification result to the next network element according to the verification result.
2. A method for verifying payload data based on communication speech coding according to claim 1, characterized in that: When the verification fails, the data length field in the verification result returned to the SBC / PCSCF network element of the calling side media is 0; when the SBC / PCSCF network element of the calling side media detects that the length field is 0, it abandons the transmission of the current coded data stream to the next network element; When the verification passes, the data length field in the verification result returned to the SBC / PCSCF network element of the calling side media is the data length field of the encoded data stream; when the SBC / PCSCF network element of the calling side media detects that the length field is not 0, the encoded data stream corresponding to the verification result is sent to the next network element.
3. A load data verification and decoding server based on communication voice coding, characterized in that: The payload data verification and decoding server is deployed with: Decoders for several different speech coding formats, the decoders comprising decoding source codes for the corresponding coding formats; Verification units for several different speech coding formats, each of which has built-in ITU-T and 3GPP specifications for the corresponding coding formats; The cache includes a plurality of cache queues, and is used to receive the check decoding request sent by the client network element device, and distribute the received check decoding request to the cache queue for caching according to the dynamic distribution function; The verification decoding request includes a coding format, a data frame length and a coded data stream; A parallel processor includes a plurality of processing channels, each processing channel corresponds to a cache queue, and is used to read a verification decoding request from a cache, and call a corresponding verification unit according to the coding format in the verification decoding request to perform data length and content verification on the coded data stream based on ITU-T and 3GPP specifications; when the verification passes, continue to call a corresponding decoder according to the coding format in the verification decoding request to perform decoding, and obtain voice decoding data; If verification is unsuccessful, no decoding is performed.
4. The payload data verification and decoding server based on communication voice coding according to claim 3, characterized in that: The parallel processor returns the data length field and data to the client network element device according to the processing result; Among them, when the verification fails, the data returned to the customer network element device is an unverified coded data stream, and the returned data length field is 0; when the customer network element device detects that the data length field is 0, it abandons the transmission of the unverified coded data stream to the next network element; When the verification passes and the decoding is successful, the data returned to the customer network element device is the voice decoding data, and the value of the returned data length field is the length of the voice decoding data; when the customer network element device detects that the length field is not 0, it sends the voice decoding data to the next customer network element device.
5. The payload data verification and decoding server based on communication voice coding according to claim 3, characterized in that: Create a corresponding decoder for each speech coding format and initialize the configuration parameters; when configuring the parameters, modify the global static single-dimensional variables in the decoding source code to global static multi-dimensional variables, and then allocate static variable memory; Each processing channel calls the corresponding decoder to decode according to the speech coding format in the verification decoding request, including: The processing channel requests the memory space of the corresponding dimension from the decoder according to the data frame length in the verification decoding request, and modifies the overflow variables and carry variables in the basic operation file of the decoding source code from global static single-dimensional variables to global static multi-dimensional variables of the corresponding dimension; finally, the modified decoder is used to decode the encoded data stream to obtain the speech decoding data.
6. A payload data verification and decoding server based on communication voice coding according to claim 5, characterized in that: After the decoder receives the data frame length sent by the processing channel, it allocates memory space of corresponding dimensions to the processing channel, wherein the memory space allocated to different processing channels is independent and non-repetitive.
7. A payload data verification and decoding server based on communication voice coding according to claim 3, characterized in that: The parallel processor obtains channel configuration information, where the channel configuration information includes a processing channel type, a number of CPU cores, and a decoding interval, where the processing channel type includes a thread, a process, or a service; Generate an equal number of thread-level processing channels, process-level processing channels or service-level processing channels according to the number of CPU cores and the type of processing channels; Create an equal number of cache queues in the cache according to the number of CPU cores, and associate and bind a cache queue with a processing channel; The verification decoding requests are obtained from the cache queue in batches according to the decoding interval.
8. A payload data verification and decoding server based on communication voice coding according to any one of claims 3 to 7, characterized in that: Each processing channel obtains the verification decoding request and the queue cache time of the verification decoding request at the same time. When the verification passes, it determines whether the difference between the current time and the queue cache time exceeds the preset time threshold. If it exceeds, the returned data is the unverified encoded data stream, and the returned data length field is the data length of the encoded data stream, and the undecoded information is returned synchronously; If it does not exceed, the corresponding decoder is called to decode according to the encoding format in the verification decoding request to obtain the voice decoding data.
9. An IMS network element media transmission system, characterized in that: Includes calling network and called network; The calling network includes a calling side mobile terminal, a calling side EPC network, a calling side PSCF / SBC network element, a calling side CE network element and a load data verification and decoding server as described in any one of claims 3-8, and the load data verification and decoding server is connected to the calling side PSCF / SBC network element; the called network includes a called side mobile terminal, a called side EPC network, a called side PSCF / SBC network element and a called side CE network element.
10. The IMS network element media transmission system according to claim 5, characterized in that: When the heartbeat interaction between the PSCF / SBC network element on the calling side and the payload data verification and decoding server is abnormal, the PSCF / SBC network element on the calling side directly sends the data to the next network element.