Data protection method and system for frequency modulation synchronization network
By dividing the audio data into data blocks and encoding and storage according to the block number, the data loss problem in the frequency modulation synchronization network is solved, and signal synchronization and user listening quality are guaranteed.
Patent Information
- Application Number
- CN202510313681.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-06-17
AI Technical Summary
In the frequency modulation synchronization network, network instability leads to data loss, resulting in delay deviation of frequency modulation synchronization network network, affecting signal synchronization and user listening quality.
By dividing the audio data into multiple data blocks according to the preset length and encoding and storage according to the block number, the frequency modulation synchronous exciter calculates the data block address when reading. If a data block is lost, the old block data is used instead to ensure that the data blocks are read and stored sequentially.
It effectively solves the problem of frequency modulation synchronization network delay deviation caused by data loss in network transmission, ensures signal synchronization and user listening quality, and avoids network failure caused by data loss.
Smart Images

Figure CN120165812A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and more particularly, to a data protection method and system for a frequency modulation synchronization network. Background Art
[0002] Currently, when transmitting signals in a frequency modulation synchronization network, there is no effective data protection scheme, and data may be lost due to unstable network during remote transmission. In the delay adjustment of frequency modulation synchronization networking, FIFO (First In First Out) is usually used for data caching to achieve the delay purpose. Under normal circumstances, the data entering the FIFO and the data output from the FIFO have the same rate. When data is lost in the network, the data entering the FIFO decreases, and the data read from the FIFO is advanced, resulting in a delay deviation in the networking of the synchronization network. After long-term accumulation, the networking of the synchronization network fails. Summary of the Invention
[0003] In view of this, the present invention provides a data protection method and system for a frequency modulation synchronization network to solve the above problems.
[0004] The present invention provides a data protection method for a frequency modulation synchronization network, including: S1: dividing audio data into multiple data blocks according to a preset length; S2: based on the result of the block division, setting a number for indexing any continuous data block; S3: encoding and / or decoding according to the numbers of the data blocks; S4: sequentially storing in a frequency modulation synchronization exciter according to the block numbers; S5: the frequency modulation synchronization exciter outputs the data time according to the needs of the frequency modulation synchronization network networking, and calculates the address of the corresponding data block for reading.
[0005] According to an embodiment of the present invention, in the above S3, if data corruption occurs during decoding, continue decoding or discard the database, and perform normal decoding on the next data block.
[0006] According to an embodiment of the present invention, if a data block loss is detected during decoding, do not perform decoding; output the number corresponding to the data block during decoding of the next data block.
[0007] According to an embodiment of the present invention, in the above S4, if a data block loss is detected during storage, do not write its address, and write the address of the next data block according to the number.
[0008] According to an embodiment of the present invention, in the above S5, if a data block loss is detected during reading, fill and replace the address of the missing data block with the address of the previous data block.
[0009] The present invention also provides a data protection system for a frequency modulation synchronization network, including: an audio encoder, configured to block audio data according to a preset length and number each data block after blocking; a frequency modulation synchronization exciter, configured to store and read audio data in the order of block numbers, and perform frequency modulation encoding and network delay adjustment on the audio data; a frequency modulation synchronization decoder, configured to perform frequency modulation decoding on the received audio data, identify the block order according to the block numbers, discard damaged and / or lost blocks, and continue to decode subsequent blocks.
[0010] According to an embodiment of the present invention, the audio encoder blocks the audio data according to a length of 1152 PCM data and numbers each data block. The present invention is not limited to 1152 PCM data, which is only a preferred allocation length.
[0011] According to an embodiment of the present invention, the frequency modulation synchronization exciter internally uses a RAM to cache data, calculates the addresses of corresponding blocks according to the requirements of the frequency modulation synchronization network for networking, and reads them. When a block is lost, the old block data is used for substitution.
[0012] According to an embodiment of the present invention, when storing and reading audio data blocks, the frequency modulation synchronization exciter identifies the block order according to the block numbers; when a block is lost, it skips the corresponding position of the block and continues to store subsequent blocks.
[0013] According to an embodiment of the present invention, the frequency modulation synchronization exciter performs frequency modulation encoding on the audio data and uses a RAM cache to achieve delay.
[0014] The beneficial effects of the present invention are as follows:
[0015] The present invention solves the problem that due to data loss and damage in network transmission, the frequency modulation synchronization exciter cannot accurately output data according to the requirements of the synchronization network, resulting in deviation of the frequency modulation synchronization network delay, ultimately affecting the asynchronization of signals transmitted by different frequency modulation synchronization base stations, the unsuccessful networking of the frequency modulation synchronization network, affecting the listening quality of users, and even being unacceptable. The technology of the present invention can ignore some incorrect data, has a small impact on the entire frequency modulation, and will not affect the networking of the entire frequency modulation synchronization network. And by storing and reading in blocks by the exciter, even if a block is lost, it does not affect the time of the entire frequency modulation synchronization network. The lost block is replaced by an old block, which has a small impact on the frequency modulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a frequency modulation logic schematic diagram of the prior art;
[0017] Figure 2 It is a schematic flowchart of the data protection method for the frequency modulation synchronization network provided by the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] To enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below in conjunction with specific embodiments.
[0019] Please refer to Figure 1 , in FM synchronous audio transmission, audio data needs to be compressed and transmitted to the receiving end, and then decoded and played. However, during remote network transmission, due to network instability, data may be lost or errors may occur. These errors can cause the audio decoder to fail to correctly reconstruct the original audio signal, resulting in incorrect sound output. In addition, network latency and data loss will also cause system time synchronization deviation, further affecting the synchronization of the audio.
[0020] Therefore, please refer to Figure 2 , this embodiment provides a data protection method for an FM synchronous network, including:
[0021] S1: Segment the audio data into multiple data blocks according to a preset length;
[0022] S2: Based on the result of the segmentation, set a number for indexing for any consecutive data blocks;
[0023] S3: Encode and / or decode according to the numbers of the data blocks;
[0024] S4: Store sequentially according to the block numbers in the FM synchronous exciter;
[0025] S5: The FM synchronous exciter outputs the data time according to the requirements of the FM synchronous network networking, calculates the addresses of the corresponding data blocks for reading, and reads out the incomplete blocks in sequence.
[0026] In addition, since the data is stored in the way of RAM, if there is no new data to overwrite the data at the read address of the RAM, the old data is read. In this embodiment, if a data block is lost or damaged, for the corresponding lost part of the data, no writing or partial writing is performed when writing to this RAM block, and the data of the previous block is read and replaced when reading.
[0027] Among them, if data corruption occurs during decoding, continue decoding or discard the database, and perform normal decoding on the next data block. If a data block is lost or the data of this block is incomplete, it is still stored at the position of this block. The next block is stored in the corresponding order.
[0028] On the other hand, this embodiment also provides a data protection system for an FM synchronous network, including:
[0029] An audio encoder for dividing audio data into chunks according to a preset length and numbering each data chunk after division;
[0030] A frequency modulation synchronous exciter for storing and reading audio data in the order of chunk numbers and performing frequency modulation encoding and network delay adjustment on the audio data;
[0031] A frequency modulation synchronous decoder for performing frequency modulation decoding on the received audio data, identifying the chunk order according to the chunk number, discarding damaged and / or lost chunks, and continuing to decode subsequent chunks.
[0032] Optionally, the audio encoder divides the audio data into chunks with a length of 1152 PCM data and numbers each data chunk. The frequency modulation synchronous exciter uses an internal RAM to cache data and calculates the addresses of the corresponding chunks for reading according to the requirements of the frequency modulation synchronous network. When a chunk is lost, the old chunk data is used for replacement. When storing and reading audio data chunks, the frequency modulation synchronous exciter identifies the chunk order according to the chunk number; when a chunk is lost, it skips the corresponding position of that chunk and continues to store subsequent chunks. The frequency modulation synchronous exciter performs frequency modulation encoding on the audio data and uses the RAM cache to achieve delay.
[0033] Based on the above solution, in this embodiment, the audio data is first divided into chunks and encoded by the frequency modulation synchronous audio encoder, and then synchronization information is inserted. The encoded data is sent to the receiving end. After it arrives at the receiving end, the frequency modulation synchronous audio decoder first decodes the received data, indexes and checks according to the chunk numbers, and discards the data chunks with errors. The decoded data is sent to the frequency modulation synchronous exciter. The data chunking and de-chunk redundancy techniques are used to combat data loss caused by network instability, ensuring that the audio decoder accurately decodes and plays the audio data; the storage mechanism can orderly save and read data chunks and use the previous data for compensation when data is lost.
[0034] In an alternative implementation scenario, first, the encoder encodes and transmits the audio data in chunks, and then transmits it over the network. The decoder receives the numbered data chunks and decodes and verifies them in the order of the numbers. If there is a decoding error or data loss, the erroneous or lost data chunks are discarded or replaced. The exciter performs frequency modulation encoding after receiving the sequentially numbered chunks, caches and reads the data according to the time requirements to maintain synchronization. The frequency modulation synchronization exciter outputs the data of the corresponding chunks according to the required time for playback. In this way, the continuously chunked audio data per second during the transmission process is transmitted from the sender to the receiver over the network. The received data chunks are decoded by the encoder and processed according to the numbers. The lost chunks are discarded or filled with old data according to the situation, while maintaining a stable playback time and synchronization in the synchronization network. Finally, the received data chunks are stored and read according to the numbers by the frequency modulation synchronization exciter, and the data bitstream is output according to the requirements of the frequency modulation synchronization network, realizing the asynchronous buffering technology and packet loss correction function of the device, ensuring the stable operation of the system.
[0035] In this way, this embodiment uses fixed-length data chunks and index encoding of chunk numbers to enhance the ability to resist data loss. Secondly, during the decoding process, chunk numbers and number indexes are used to avoid decoding errors caused by data loss. When the data is discarded, the decoder processes it by discarding or replacing it to ensure the overall performance of the system. Finally, the storage and on-demand reading functions in the frequency modulation synchronization exciter ensure the alternative and on-demand application of the data. It achieves the following: 1. The decoder can accurately decode the audio data, is not prone to decoding errors, and effectively eliminates the damage to the original audio signal; 2. The frequency modulation synchronization network remains stable in the case of data loss, can effectively replace the discarded chunks, reduce the delay time, and achieve data synchronization and compensation.
[0036] The above is only the preferred implementation mode of the present invention. It should be noted that the above preferred implementation mode should not be regarded as a limitation of the present invention. The protection scope of the present invention should be subject to the scope defined by the claims. For those of ordinary skill in the art of this technology, without departing from the spirit and scope of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A data protection method for a frequency modulation synchronization network, characterized in that: include: S1: Split the audio data into multiple data blocks according to a preset length; S2: Based on the result of the block division, any continuous data block is set as a number for indexing; S3: Encode and / or decode according to the number of the data block; S4: storing in order according to the block number in the FM synchronous exciter; S5: The FM synchronous exciter outputs the data time according to the needs of the FM synchronous network, and calculates the address of the corresponding data block for reading.
2. A method for protecting data in a frequency modulation synchronization network according to claim 1, characterized in that: In the above S3, if data corruption occurs during decoding, the decoding is continued or the database is discarded and the next data block is decoded normally.
3. A method for protecting data in a frequency modulation synchronization network according to claim 2, characterized in that: If a data block is detected to be lost during decoding, decoding is not performed; when decoding the next data block, the number corresponding to the data block is output.
4. The data protection method of a frequency modulation synchronization network according to claim 1, characterized in that: In the above S4, if it is detected that a data block is lost during storage, its address is not written, and the address of the next data block is written according to the number.
5. The data protection method of a frequency modulation synchronization network according to claim 1, characterized in that: In the above S5, if it is detected that a data block is lost during reading, the address of the previous data block is used as the address of the missing data block to fill and replace it.
6. A data protection system for a frequency modulation synchronization network, comprising: The audio encoder is used to divide the audio data into blocks according to a preset length and number each data block after the division; An FM synchronous exciter, for storing and reading audio data in block number order, and performing FM encoding and network delay adjustment on the audio data; The FM synchronous decoder is used to FM decode the received audio data and identify the block sequence according to the block number, discard the damaged and / or lost blocks, and continue to decode the subsequent blocks.
7. A data protection system for a frequency modulation synchronization network according to claim 6, characterized in that: The audio encoder divides the audio data into blocks according to the length of 1152 PCM data and numbers each data block.
8. A data protection system for a frequency modulation synchronization network according to claim 6, characterized in that: The frequency modulation synchronous exciter uses RAM to cache data internally, and calculates the address of the corresponding block for reading according to the networking needs of the frequency modulation synchronous network. When a block is lost, it is replaced with the old block data.
9. A data protection system for a frequency modulation synchronization network according to claim 6, characterized in that: When storing and reading audio data blocks, the FM synchronous exciter identifies the block sequence according to the block number; when a block is lost, the corresponding position of the block is skipped and the subsequent blocks are stored continuously.
10. A data protection system for a frequency modulation synchronization network according to claim 6, characterized in that: The FM synchronous exciter performs FM encoding on the audio data and realizes delay by using RAM buffer.