CN107070593A - Relay based on multichannel communication reception system starts method - Google Patents
Relay based on multichannel communication reception system starts method Download PDFInfo
- Publication number
- CN107070593A CN107070593A CN201710070609.XA CN201710070609A CN107070593A CN 107070593 A CN107070593 A CN 107070593A CN 201710070609 A CN201710070609 A CN 201710070609A CN 107070593 A CN107070593 A CN 107070593A
- Authority
- CN
- China
- Prior art keywords
- sync
- data
- dma
- node
- reception system
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0036—Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the receiver
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Communication Control (AREA)
Abstract
Start method the invention discloses a kind of relay based on multichannel communication reception system, including multichannel communication reception system carries out the steps such as power-up initializing.The present invention enters sampling using DMA channel control ADC, ADC, when carrying out data sampling, can directly access internal memory by DMA channel, realize on the premise of processor resource is not accounted for, data signal is gathered, and is saved in the internal memory of processor, ADC directly obtains sampled data from internal memory, computing resource can be saved, also there is good adaptive characteristic, strong antijamming capability during detection, with good receptivity.
Description
Technical field
The invention belongs to wireless communication technology field.Specifically related to a kind of relay based on multichannel communication reception system
Startup method.
Background technology
It is the bridge of the interrupt processing between microprocessor and peripheral hardware, the interrupt requests sent by peripheral hardware need to interrupt control
Device is handled.But in multichannel communication reception system, relay startup is unsuccessful, test has found each submodule
Relay is given to through the correct interrupt signal that produces, but interruption routine is not carried out in software;And use processor
Read sampled data, although real-time decoding can be realized, but cause decoded result easily by extraneous noise jamming because sample rate is low,
Decoding effect is not good, if the decoding effect to have pursued, can only abandon real-time, first carry out signal sampling, be put in caching,
Then the sampled data in caching is decoded again, because DMA moves down coversion base band data in batches, new data is periodically
Covering legacy data, cause same frame signal be cut off, respectively at new and old two data blocks, be easily lost information.
The content of the invention
The invention aims to overcome a kind of above-mentioned not enough relay based on multichannel communication reception system of offer
Startup method.
A kind of relay based on multichannel communication reception system starts method, comprises the following steps:
Multichannel communication reception system carries out power-up initializing;
Start ADC_DMA;
Judge whether to complete data-moving, moved next time if it is not, then returning to previous step and starting;If it is, interrupting
DMA goes to next step;
Carry out the judgement and restructuring of frame information;
Start Sync_DMA after the judgement and restructuring that complete effective frame information;
Carry out Sync synchronization process;
Judge whether Sync completes synchronization process, if it is not, then returning to previous step proceeds Sync synchronization process;If
It is then to go to next step;
Whether judge synchronization is last frame data, if it is not, then being back to the judgement and restructuring for carrying out frame information;Such as
Fruit is then to go to the step of judging whether to complete data-moving.
Further, the step of startup ADC_DMA is specially:
Start processor DMA channel, driving ADC directly accesses internal memory, ADC input analog signal outputs by DMA channel
The digital signal data that processor can be used;
ADC obtains sampled data by DMA channel, is directly stored in internal memory;
Detect that buffer area whether there is sampled data, such as there is sampled data, then it is every by increasing direct memory access
The secondary data volume moved.
Further, it is described carry out frame information judgement and restructuring the step of be specially:
Processor is interrupted by DMA and obtains sampled data, and the sampled data is cached;
Detect that buffer area whether there is sampled data, such as there is sampled data, then send signal to node, node receives letter
After number, enter a judgement, if only receiving the signal of single information source node, its correspondence is sent to after directly amplifying to signal next
The node of topology;Otherwise, carry out after network code and the scattered restructuring of data frame, be sent to a node.
Further, the step of startup Sync_DMA is specially:
Host main frames send write order;
Sync receives write order and parses the order, and then Sync fills in data by DMA channel in internal memory;
Interrupted by DMA and receive Host data, and be written in buffering area, after the completion of, continue to repeat above-mentioned action.
Further, the process of progress Sync synchronization process is specially:
Time synchronized Sync messages are sent from clock node to master clock node, and record transmission Sync;
The Sync messages sent from clock node to master clock node are transmitted to master clock node;
When from clock node receive master clock node return Sync messages when, record receive the Sync messages when
Between;
Master clock node receives the Sync messages of master-salve clock node transmission, can record reception and send out Sync from clock node
The time of message.
The present invention enters sampling using DMA channel control ADC, and ADC, can be direct when carrying out data sampling by DMA channel
Internal memory is accessed, is realized on the premise of processor resource is not accounted for, data signal is gathered, and be saved in the internal memory of processor, ADC
Sampled data is directly obtained from internal memory, computing resource can be saved, it is anti-interference during detection also with good adaptive characteristic
Ability is strong, with good receptivity.
Brief description of the drawings
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
Below in conjunction with specific embodiment, the present invention is further illustrated:
A kind of relay based on multichannel communication reception system starts method, comprises the following steps:
Multichannel communication reception system carries out power-up initializing;
Start ADC_DMA;
Judge whether to complete data-moving, moved next time if it is not, then returning to previous step and starting;If it is, interrupting
DMA goes to next step;
Carry out the judgement and restructuring of frame information;
Start Sync_DMA after the judgement and restructuring that complete effective frame information;
Carry out Sync synchronization process;
Judge whether Sync completes synchronization process, if it is not, then returning to previous step proceeds Sync synchronization process;If
It is then to go to next step;
Whether judge synchronization is last frame data, if it is not, then being back to the judgement and restructuring for carrying out frame information;Such as
Fruit is then to go to the step of judging whether to complete data-moving.
The step of startup ADC_DMA is specially:
Start processor DMA channel, driving ADC directly accesses internal memory, ADC input analog signal outputs by DMA channel
The digital signal data that processor can be used;
ADC obtains sampled data by DMA channel, is directly stored in internal memory;
Detect that buffer area whether there is sampled data, such as there is sampled data, then it is every by increasing direct memory access
The secondary data volume moved.
It is described carry out frame information judgement and restructuring the step of be specially:
Processor is interrupted by DMA and obtains sampled data, and the sampled data is cached;
Detect that buffer area whether there is sampled data, such as there is sampled data, then send signal to node, node receives letter
After number, enter a judgement, if only receiving the signal of single information source node, its correspondence is sent to after directly amplifying to signal next
The node of topology;Otherwise, carry out after network code and the scattered restructuring of data frame, be sent to a node.
The step of startup Sync_DMA is specially:
Host main frames send write order;
Sync receives write order and parses the order, and then Sync fills in data by DMA channel in internal memory;
Interrupted by DMA and receive Host data, and be written in buffering area, after the completion of, continue to repeat above-mentioned action.
Carry out Sync synchronization process process be specially:
Time synchronized Sync messages are sent from clock node to master clock node, and record transmission Sync;
The Sync messages sent from clock node to master clock node are transmitted to master clock node;
When from clock node receive master clock node return Sync messages when, record receive the Sync messages when
Between;
Master clock node receives the Sync messages of master-salve clock node transmission, can record reception and send out Sync from clock node
The time of message.
Claims (5)
1. a kind of relay based on multichannel communication reception system starts method, it is characterised in that comprise the following steps:
Multichannel communication reception system carries out power-up initializing;
Start ADC_DMA;
Judge whether to complete data-moving, moved next time if it is not, then returning to previous step and starting;Turn if it is, interrupting DMA
To next step;
Carry out the judgement and restructuring of frame information;
Start Sync_DMA after the judgement and restructuring that complete effective frame information;
Carry out Sync synchronization process;
Judge whether Sync completes synchronization process, if it is not, then returning to previous step proceeds Sync synchronization process;If it is,
Then go to next step;
Whether judge synchronization is last frame data, if it is not, then being back to the judgement and restructuring for carrying out frame information;If
It is then to go to the step of judging whether to complete data-moving.
2. the relay according to claim 1 based on multichannel communication reception system starts method, it is characterised in that institute
Stating the step of starting ADC_DMA is specially:
Start processor DMA channel, driving ADC directly accesses internal memory, ADC input analog signal output processing by DMA channel
The digital signal data that device can be used;
ADC obtains sampled data by DMA channel, is directly stored in internal memory;
Detect that buffer area whether there is sampled data, such as there is sampled data, then removed every time by increasing direct memory access
The data volume of shifting.
3. the relay according to claim 2 based on multichannel communication reception system starts method, it is characterised in that institute
State carry out frame information judgement and restructuring the step of be specially:
Processor is interrupted by DMA and obtains sampled data, and the sampled data is cached;
Detect that buffer area whether there is sampled data, such as there is sampled data, then send signal to node, node receives signal
Afterwards, enter a judgement, if only receiving the signal of single information source node, it is sent to after directly amplifying to signal and corresponds to next open up
The node flutterred;Otherwise, carry out after network code and the scattered restructuring of data frame, be sent to a node.
4. the relay according to claim 3 based on multichannel communication reception system starts method, it is characterised in that institute
Stating the step of starting Sync_DMA is specially:
Host main frames send write order;
Sync receives write order and parses the order, and then Sync fills in data by DMA channel in internal memory;
Interrupted by DMA and receive Host data, and be written in buffering area, after the completion of, continue to repeat above-mentioned action.
5. the relay according to claim 4 based on multichannel communication reception system starts method, it is characterised in that enter
The process of row Sync synchronization process is specially:
Time synchronized Sync messages are sent from clock node to master clock node, and record transmission Sync;
The Sync messages sent from clock node to master clock node are transmitted to master clock node;
When receiving the Sync messages of master clock node return from clock node, record receives the time of the Sync messages;
Master clock node receives the Sync messages of master-salve clock node transmission, can record reception and send out Sync messages from clock node
Time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710070609.XA CN107070593B (en) | 2017-02-09 | 2017-02-09 | Interrupt starting method based on multi-channel communication receiving system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710070609.XA CN107070593B (en) | 2017-02-09 | 2017-02-09 | Interrupt starting method based on multi-channel communication receiving system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107070593A true CN107070593A (en) | 2017-08-18 |
CN107070593B CN107070593B (en) | 2020-08-28 |
Family
ID=59598158
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710070609.XA Active CN107070593B (en) | 2017-02-09 | 2017-02-09 | Interrupt starting method based on multi-channel communication receiving system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070593B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1892569A (en) * | 2005-07-08 | 2007-01-10 | 科诚股份有限公司 | Multi-way series transmission and control apparatus and method |
US20090055713A1 (en) * | 2007-08-21 | 2009-02-26 | Samsung Electronics Co., Ltd. | Ecc control circuits, multi-channel memory systems including the same, and related methods of operation |
CN102567256A (en) * | 2011-12-16 | 2012-07-11 | 龙芯中科技术有限公司 | Processor system, as well as multi-channel memory copying DMA accelerator and method thereof |
CN103793342A (en) * | 2012-11-02 | 2014-05-14 | 中兴通讯股份有限公司 | Multichannel direct memory access (DMA) controller |
-
2017
- 2017-02-09 CN CN201710070609.XA patent/CN107070593B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1892569A (en) * | 2005-07-08 | 2007-01-10 | 科诚股份有限公司 | Multi-way series transmission and control apparatus and method |
US20090055713A1 (en) * | 2007-08-21 | 2009-02-26 | Samsung Electronics Co., Ltd. | Ecc control circuits, multi-channel memory systems including the same, and related methods of operation |
CN102567256A (en) * | 2011-12-16 | 2012-07-11 | 龙芯中科技术有限公司 | Processor system, as well as multi-channel memory copying DMA accelerator and method thereof |
CN103793342A (en) * | 2012-11-02 | 2014-05-14 | 中兴通讯股份有限公司 | Multichannel direct memory access (DMA) controller |
Also Published As
Publication number | Publication date |
---|---|
CN107070593B (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1659800A3 (en) | Decoder for a video broadcasting mobile receiver using parallel co-processors | |
CN106708240B (en) | Power saving method, server and power saving system | |
US11295747B2 (en) | System and a method for transmission of audio signals | |
CN102571317B (en) | Based on the method for data synchronization of pci bus and system in software radio system | |
CN102608579B (en) | SAR (synthetic aperture radar) data receiving and processing system and method | |
AU2004221088A2 (en) | Pre-empting low-priority traffic with high-priority traffic | |
CN107423148A (en) | A kind of double buffering protocol data analysis system being applied under multi-task scheduling environment | |
WO2022062851A1 (en) | Waiting duration determination method and apparatus | |
CN107168710B (en) | Embedded Linux serial port driver development method based on blocking receiving mechanism | |
CN107070593A (en) | Relay based on multichannel communication reception system starts method | |
CN107846328B (en) | Network rate real-time statistical method based on concurrent lock-free ring queue | |
JP7035188B2 (en) | Synchronization method and equipment | |
CN106899386B (en) | Method for demodulating fragmented frame signals based on multi-channel communication receiving system | |
CN102595621A (en) | Method and apparatus for parameter storage control at uplink receiving terminal | |
CN207835492U (en) | A kind of Double buffer carrier wave demodulation system | |
CN111541583B (en) | System, method and device for testing fragment message cache | |
CN101399929A (en) | Image analysis device for flat television set | |
US20100216506A1 (en) | System and Methods for Supporting Multiple Communications Protocols on a Mobile Phone Device | |
CN102591821A (en) | Method and device for processing data reporting interrupt control | |
CN110706718A (en) | Audio peripheral denoising processing method and system based on desktop virtualization | |
CN110730141A (en) | Aggregation scheduling method, sending end and computer readable storage medium | |
CN112149439B (en) | Decoding self-alignment method, device and equipment for SWP physical layer S2 | |
CN116155843B (en) | PYNQ-based pulse neural network chip data communication method and system | |
CN112995725B (en) | Method and device for dynamically changing coding rate of video coder-decoder | |
CN1325219A (en) | First-layer protocol realizing device and method for personal hand-held communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201218 Address after: No.368 Keyun Road, high tech Zone, Chengdu, Sichuan 610000 Patentee after: Chengdu Mifeng perception Technology Co.,Ltd. Address before: 430223 No.2, Wuda Science Park Road, Donghu high tech Development Zone, Wuhan City, Hubei Province Patentee before: WUHAN MIFENG COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |