CN110362347B - Real-time priority multichannel processor and control method - Google Patents

Real-time priority multichannel processor and control method Download PDF

Info

Publication number
CN110362347B
CN110362347B CN201910648888.2A CN201910648888A CN110362347B CN 110362347 B CN110362347 B CN 110362347B CN 201910648888 A CN201910648888 A CN 201910648888A CN 110362347 B CN110362347 B CN 110362347B
Authority
CN
China
Prior art keywords
control module
data
input
channel
priority
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.)
Active
Application number
CN201910648888.2A
Other languages
Chinese (zh)
Other versions
CN110362347A (en
Inventor
朱小军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Kuake Photoelectric Technology Co ltd
Original Assignee
Chengdu Kuake Photoelectric Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Kuake Photoelectric Technology Co ltd filed Critical Chengdu Kuake Photoelectric Technology Co ltd
Priority to CN201910648888.2A priority Critical patent/CN110362347B/en
Publication of CN110362347A publication Critical patent/CN110362347A/en
Application granted granted Critical
Publication of CN110362347B publication Critical patent/CN110362347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7839Architectures of general purpose stored program computers comprising a single central processing unit with memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/3005Arrangements for executing specific machine instructions to perform operations for flow control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to a real-time priority multichannel processor and a control method, which adopt a brand-new multichannel design architecture, realize the unified scheduling of a plurality of input streams to a plurality of output streams through fewer hardware logic circuits, allocate control time slots according to priority for each data channel, prevent the deadlock of a data scheduling state, have no internal storage unit, do not need to buffer intermediate data, have stable and reliable performance, can effectively improve the working efficiency of data scheduling among multiple channels, thoroughly solve the data interaction problem between all external data and an internal register and between an internal memory and an application system, and have priority data arbitration control, and the whole design is simple, easy, stable and reliable in practical application.

Description

Real-time priority multichannel processor and control method
Technical Field
The invention relates to a real-time priority multichannel processor and a control method, belonging to the technical field of data communication application.
Background
The multichannel data scheduling control method is widely applied to data communication control application, and aims at interconnection of various external devices and unified data scheduling.
Disclosure of Invention
The invention aims to solve the technical problem of providing a real-time priority multichannel processor, which adopts a brand-new multichannel design architecture and can effectively improve the working efficiency of data scheduling among multiple channels.
The invention adopts the following technical scheme for solving the technical problems: the invention designs a real-time priority multichannel processor which is used for realizing priority scheduling between multi-input data signals and multi-input control instructions; the system comprises a read-write control module, a data uplink control module, a data downlink control module, an emergency interruption control module and a centralized control module;
the output end of the data uplink control module and the input end of the data downlink control module are respectively connected with the read-write control module; the read-write control module is used for receiving asynchronous data input signals formed by one or two of multi-input data signals and multi-input control instructions, sampling the asynchronous data input signals and acquiring corresponding one or two of multi-target data signals and multi-target control instructions;
the input end of the data uplink control module and the output end of the data downlink control module are respectively connected with the centralized control module, the data uplink control module is used for realizing the establishment and connection of uplink channels, and the data downlink control module is used for realizing the establishment and connection of downlink channels;
the emergency interruption control module is connected with the read-write control module in a bidirectional data communication manner, meanwhile, the emergency interruption control module is communicated with the centralized control module in a unidirectional manner, the communication direction is pointed to the emergency interruption control module by the centralized control module, and the emergency interruption control module is used for realizing establishment and connection of an emergency interruption channel;
the centralized control module carries out priority scheduling on an uplink channel, a downlink channel and an emergency interrupt channel according to the preset priority level sequence, realizes priority scheduling on multi-target data signals and multi-target control instructions, and further realizes priority scheduling between multi-input data signals and multi-input control instructions.
As a preferred technical scheme of the invention: completing data access to an external memory based on priority scheduling between the multi-input data signals and the multi-input control instructions; the real-time priority multichannel processor also comprises an input/output control module, the centralized control module is in bidirectional data communication connection with the input/output control module, the input/output control module is connected with an external memory, and the input/output control module identifies a target data signal or a target control instruction from the centralized control module and completes data access to the external memory according to an identification result.
As a preferred technical scheme of the invention: the read-write control module realizes the receiving of asynchronous data input signals composed of one or two of multi-input data signals and multi-input control instructions through the communication with an external application system and an external control device respectively.
In view of the above, the technical problem to be solved by the present invention is to provide a control method based on a real-time priority multi-channel processor, which can effectively improve the working efficiency of data scheduling among multiple channels and realize stable data scheduling by applying a multi-channel architecture.
In order to solve the technical problems, the invention adopts the following technical scheme: the invention designs a control method based on a real-time priority multichannel processor, which comprises the following steps:
the method comprises the following steps that A, the read-write control module receives asynchronous data input signals composed of one or two of multi-input data signals and multi-input control instructions, samples the asynchronous data input signals, and obtains one or two of corresponding multi-target data signals and multi-target control instructions;
b, the read-write control module carries out latch processing on one or two types of the obtained multi-target data signals and the multi-target control instructions;
c, the read-write control module is respectively communicated with the data uplink control module, the data downlink control module and the emergency interruption control module to realize the establishment and connection of an uplink channel, a downlink channel and an emergency interruption channel;
and D, the centralized control module carries out priority scheduling on the uplink channel, the downlink channel and the emergency interrupt channel according to the preset priority sequence, namely the centralized control module realizes the priority scheduling acquisition of the multi-target data signals or the multi-target control instructions, namely the priority scheduling between the multi-input data signals and the multi-input control instructions.
As a preferred technical scheme of the invention: step E, after step D is executed, step E is executed;
and E, the input and output control module identifies the target data signal or the target control instruction from the centralized control module and completes data access to the external memory according to the identification result.
As a preferred technical scheme of the invention: the preset priority is an emergency interrupt channel, a downlink channel and an uplink channel in sequence from high to low.
Compared with the prior art, the real-time priority multichannel processor and the control method have the following technical effects by adopting the technical scheme:
the invention designs a real-time priority multichannel processor and a control method, adopts a brand-new multichannel design architecture, realizes the unified scheduling of a plurality of input streams to a plurality of output streams through fewer hardware logic circuits, allocates control time slots according to the priority for each data channel, prevents the deadlock of a data scheduling state, has no internal storage unit, does not need to buffer intermediate data, has stable and reliable performance, can effectively improve the working efficiency of data scheduling among multiple channels, thoroughly solves the problem of data interaction between all external data and an internal register as well as between an internal memory and an application system, and has priority data arbitration control, and the whole design is simple, feasible, stable and reliable in practical application.
Drawings
FIG. 1 is a block diagram of a real-time priority multi-channel processor designed in accordance with the present invention.
Detailed Description
The following description will explain embodiments of the present invention in further detail with reference to the accompanying drawings.
The invention designs a real-time priority multichannel processor which is used for realizing priority scheduling between multi-input data signals and multi-input control instructions; in practical application, as shown in fig. 1, the system includes a read-write control module, a data uplink control module, a data downlink control module, an emergency interrupt control module, and a centralized control module.
The output end of the data uplink control module and the input end of the data downlink control module are respectively connected with the read-write control module; the read-write control module realizes the receiving of asynchronous data input signals composed of one or two of multi-input data signals and multi-input control instructions through the communication with an external application system and an external control device respectively, and samples the asynchronous data input signals to obtain one or two of corresponding multi-target data signals and multi-target control instructions.
The input end of the data uplink control module and the output end of the data downlink control module are respectively connected with the centralized control module, the data uplink control module is used for realizing the establishment and connection of uplink channels, and the data downlink control module is used for realizing the establishment and connection of downlink channels.
The emergency interruption control module is connected with the read-write control module in a bidirectional data communication mode, meanwhile, the emergency interruption control module is communicated with the centralized control module in a unidirectional mode, the communication direction is directed to the emergency interruption control module by the centralized control module, and the emergency interruption control module is used for achieving establishment and connection of an emergency interruption channel.
The centralized control module carries out priority scheduling on an uplink channel, a downlink channel and an emergency interrupt channel according to the preset priority level sequence, realizes priority scheduling on multi-target data signals and multi-target control instructions, and further realizes priority scheduling between multi-input data signals and multi-input control instructions.
When the designed real-time priority multichannel processor is used in specific application, the data access to an external memory is further completed based on the priority scheduling between the multi-input data signals and the multi-input control instructions; the real-time priority multichannel processor also comprises an input/output control module, the centralized control module is in bidirectional data communication connection with the input/output control module, the input/output control module is connected with an external memory, and the input/output control module identifies a target data signal or a target control instruction from the centralized control module and completes data access to the external memory according to an identification result.
Aiming at the design of the real-time priority multi-channel processor for performing data access operation on the external memory in practical application, the invention is specifically designed and implemented by the following steps.
And step A, the read-write control module receives asynchronous data input signals consisting of one or two of multi-input data signals and multi-input control instructions, samples the asynchronous data input signals and obtains one or two of corresponding multi-target data signals and multi-target control instructions.
And B, the read-write control module carries out latch processing on one or two types of the obtained multi-target data signals and the multi-target control instructions.
And step C, the read-write control module is respectively communicated with the data uplink control module, the data downlink control module and the emergency interruption control module, so that the establishment and connection of an uplink channel, a downlink channel and an emergency interruption channel are realized.
And D, the centralized control module carries out priority scheduling on the uplink channel, the downlink channel and the emergency interrupt channel according to the preset priority sequence, namely the centralized control module realizes the priority scheduling acquisition of the multi-target data signals or the multi-target control instructions, namely the priority scheduling between the multi-input data signals and the multi-input control instructions, and then the step E is carried out.
In practical application, the preset priority is an emergency interrupt channel, a downlink channel and an uplink channel in sequence from high to low.
And E, the input and output control module identifies the target data signal or the target control instruction from the centralized control module and completes data access to the external memory according to the identification result.
In the above design control method, for the release operation of the data link of the uplink channel, the downlink channel, and the emergency interrupt channel, the release of the data link must be completed by transmitting the data release signal to the first stage of the reverse direction after the data has been processed.
The real-time priority multichannel processor and the control method designed by the technical scheme adopt a brand-new multichannel design architecture, realize the unified scheduling of a plurality of input streams to a plurality of output streams through fewer hardware logic circuits, allocate control time slots according to the priority for each data channel, prevent the deadlock of a data scheduling state, have no internal storage unit, do not need to buffer intermediate data, have stable and reliable performance, can effectively improve the working efficiency of data scheduling among multiple channels, thoroughly solve the problems of data interaction between all external data and internal registers and between an internal memory and an application system, and have priority data arbitration control, and the whole design is simple, feasible, stable and reliable in practical application.
In addition, the design scheme of the patent can instantiate a plurality of real-time priority multichannel processing, process more channels, greatly improve the processing efficiency of data with higher relative priority ratio, can be applied to data interaction processing under the condition of interconnection of a large number of external devices, and greatly improves the data processing capacity of the whole system.
The embodiments of the present invention have been described in detail with reference to the drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (6)

1. A real-time priority multichannel processor is used for realizing priority scheduling between multi-input data signals and multi-input control instructions; the method is characterized in that: the system comprises a read-write control module, a data uplink control module, a data downlink control module, an emergency interruption control module and a centralized control module;
the output end of the data uplink control module and the input end of the data downlink control module are respectively connected with the read-write control module; the read-write control module is used for receiving asynchronous data input signals consisting of one or two of multi-input data signals and multi-input control instructions, sampling the asynchronous data input signals and acquiring corresponding one or two of multi-target data signals and multi-target control instructions;
the input end of the data uplink control module and the output end of the data downlink control module are respectively connected with the centralized control module, the data uplink control module is used for realizing the establishment and connection of uplink channels, and the data downlink control module is used for realizing the establishment and connection of downlink channels;
the emergency interruption control module is connected with the read-write control module in a bidirectional data communication manner, meanwhile, the emergency interruption control module is communicated with the centralized control module in a unidirectional manner, the communication direction points to the emergency interruption control module from the centralized control module, and the emergency interruption control module is used for realizing the establishment and connection of an emergency interruption channel;
the centralized control module carries out priority scheduling on an uplink channel, a downlink channel and an emergency interrupt channel according to the preset priority level sequence, realizes priority scheduling on multi-target data signals and multi-target control instructions, and further realizes priority scheduling between multi-input data signals and multi-input control instructions.
2. The real-time priority multi-channel processor of claim 1, wherein: completing data access to an external memory based on priority scheduling between the multi-input data signals and the multi-input control instructions; the real-time priority multichannel processor also comprises an input/output control module, the centralized control module is in bidirectional data communication connection with the input/output control module, the input/output control module is connected with an external memory, and the input/output control module identifies a target data signal or a target control instruction from the centralized control module and completes data access to the external memory according to an identification result.
3. A real-time priority multi-channel processor according to claim 1 or 2, characterized in that: the read-write control module realizes the receiving of asynchronous data input signals composed of one or two of multi-input data signals and multi-input control instructions through the communication with an external application system and an external control device respectively.
4. A control method for a real-time priority multi-channel processor according to claim 2, comprising the steps of:
the method comprises the following steps that A, the read-write control module receives asynchronous data input signals formed by one or two of multi-input data signals and multi-input control instructions, samples the asynchronous data input signals and obtains corresponding one or two of multi-target data signals and multi-target control instructions;
b, the read-write control module carries out latch processing on one or two types of the obtained multi-target data signals and the multi-target control instructions;
c, the read-write control module is respectively communicated with the data uplink control module, the data downlink control module and the emergency interruption control module to realize the establishment and connection of an uplink channel, a downlink channel and an emergency interruption channel;
and D, the centralized control module carries out priority scheduling on the uplink channel, the downlink channel and the emergency interrupt channel according to the preset priority sequence, namely the centralized control module realizes the priority scheduling acquisition of the multi-target data signals or the multi-target control instructions, namely the priority scheduling between the multi-input data signals and the multi-input control instructions.
5. The control method based on the real-time priority multi-channel processor as claimed in claim 4, wherein: step E, after step D is executed, step E is executed;
and E, the input and output control module identifies the target data signal or the target control instruction from the centralized control module and completes data access to the external memory according to the identification result.
6. A control method based on a real-time priority multi-channel processor according to claim 4 or 5, characterized in that: the preset priority is an emergency interrupt channel, a downlink channel and an uplink channel in sequence from high to low.
CN201910648888.2A 2019-07-18 2019-07-18 Real-time priority multichannel processor and control method Active CN110362347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910648888.2A CN110362347B (en) 2019-07-18 2019-07-18 Real-time priority multichannel processor and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910648888.2A CN110362347B (en) 2019-07-18 2019-07-18 Real-time priority multichannel processor and control method

Publications (2)

Publication Number Publication Date
CN110362347A CN110362347A (en) 2019-10-22
CN110362347B true CN110362347B (en) 2023-02-28

Family

ID=68220876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910648888.2A Active CN110362347B (en) 2019-07-18 2019-07-18 Real-time priority multichannel processor and control method

Country Status (1)

Country Link
CN (1) CN110362347B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453368A (en) * 2020-03-24 2021-09-28 阿里巴巴集团控股有限公司 Instruction scheduling method and instruction scheduling device
CN111857835B (en) * 2020-07-23 2024-01-19 珠海优特电力科技股份有限公司 Signal processing method and device, smart card and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101940056A (en) * 2007-12-13 2011-01-05 艾色拉公司 Radio access technology
CN101977200A (en) * 2010-11-03 2011-02-16 中国电信股份有限公司 Method and system for realizing multichannel online
CN102193865A (en) * 2010-03-16 2011-09-21 联想(北京)有限公司 Storage system, storage method and terminal using same
CN202050293U (en) * 2011-05-18 2011-11-23 长沙威瀚电气设备有限公司 Load control collection terminal
CN103064808A (en) * 2011-10-24 2013-04-24 北京强度环境研究所 Priority adjustable multiple-channel direct memory access (DMA) controller
CN106909524A (en) * 2017-03-17 2017-06-30 数据通信科学技术研究所 A kind of on-chip system and its communication interaction method
CN108279927A (en) * 2017-12-26 2018-07-13 芯原微电子(上海)有限公司 The multichannel command control method and system, controller of adjustable instruction priority

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101940056A (en) * 2007-12-13 2011-01-05 艾色拉公司 Radio access technology
CN102193865A (en) * 2010-03-16 2011-09-21 联想(北京)有限公司 Storage system, storage method and terminal using same
CN101977200A (en) * 2010-11-03 2011-02-16 中国电信股份有限公司 Method and system for realizing multichannel online
CN202050293U (en) * 2011-05-18 2011-11-23 长沙威瀚电气设备有限公司 Load control collection terminal
CN103064808A (en) * 2011-10-24 2013-04-24 北京强度环境研究所 Priority adjustable multiple-channel direct memory access (DMA) controller
CN106909524A (en) * 2017-03-17 2017-06-30 数据通信科学技术研究所 A kind of on-chip system and its communication interaction method
CN108279927A (en) * 2017-12-26 2018-07-13 芯原微电子(上海)有限公司 The multichannel command control method and system, controller of adjustable instruction priority

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Design of the data acquisition system based on STM32;Zhang H;《Procedia Computer Science》;20131231;222-228 *
同轴电缆千兆速率接入物理层数字信号处理关键技术;余玲玲;《中国优秀硕士学位论文全文数据库信息科技辑》;20140115(第01期);I136-1036 *

Also Published As

Publication number Publication date
CN110362347A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN110362347B (en) Real-time priority multichannel processor and control method
CN108345555B (en) Interface bridge circuit based on high-speed serial communication and method thereof
CN112035388B (en) High-performance encryption and decryption method based on PCI-e channel
CN110457244B (en) Serial port communication mode conversion method, system and processor
WO2022160312A1 (en) Data transmission method and apparatus, and electronic device and storage medium
US20110179212A1 (en) Bus arbitration for sideband signals
US20190370212A1 (en) Inter-processor communication method for access latency between system-in-package (sip) dies
Surligas et al. Empowering the IoT heterogeneous wireless networking with software defined radio
CN104242981A (en) Embedded type communication device based on software radio
CN103617301A (en) Multi-channel data acquisition processing device based on DSP and FPGA
EP4246965A2 (en) Method and device, equipment, and storage medium for data processing
CN109840231A (en) A kind of PCIe-SRIO interconnecting device and its method
CN214586880U (en) Information processing apparatus
CN104243246B (en) A kind of FlexRay bus tests and optimization method and device based on ZigBee technology
CN106201931B (en) A kind of hypervelocity matrix operation coprocessor system
CN115292237A (en) Chip and data transmission method thereof
CN209803775U (en) Data processing apparatus
CN111079922B (en) AXI-APB-based neural network interaction system, method, server and storage medium
CN106803816B (en) Configurable self-adaptive load balancing system and method
CN111830874A (en) Multi-channel serial digital signal transmission control device and method for train control system
CN114490007A (en) Computing module, reconfigurable chip, reconfiguration method, device, equipment and medium
KR20020088046A (en) Memory accelerator, acceleration method and associated interface card and motherboard
CN110633493A (en) OpenCL transaction data processing method based on Intel FPGA
CN107077381A (en) Asynchronous instruction performs device and method
CN109032566B (en) Decoupling method and device of software logic layer and communication layer

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