CN103729187B - Drive program architecture design method and system based on buffer area - Google Patents

Drive program architecture design method and system based on buffer area Download PDF

Info

Publication number
CN103729187B
CN103729187B CN201310753185.9A CN201310753185A CN103729187B CN 103729187 B CN103729187 B CN 103729187B CN 201310753185 A CN201310753185 A CN 201310753185A CN 103729187 B CN103729187 B CN 103729187B
Authority
CN
China
Prior art keywords
driver
relief area
function
pointer
read
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.)
Expired - Fee Related
Application number
CN201310753185.9A
Other languages
Chinese (zh)
Other versions
CN103729187A (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.)
Shenzhen Institute of Information Technology
Original Assignee
Shenzhen Institute of Information Technology
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 Shenzhen Institute of Information Technology filed Critical Shenzhen Institute of Information Technology
Priority to CN201310753185.9A priority Critical patent/CN103729187B/en
Publication of CN103729187A publication Critical patent/CN103729187A/en
Application granted granted Critical
Publication of CN103729187B publication Critical patent/CN103729187B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a drive program architecture design method and system based on a buffer area. The drive program architecture design method based on the buffer area relates to a buffer area layer drive program, a logic channel layer drive program and a physical channel layer drive program. The method and system have the advantages that a drive program architecture designed with the method and system provides four kinds of abstract and uniform buffer area interfaces for processing base band service, and great improvement is made in the aspects of cross-platform portability, robustness, configurability and the like compared with a traditional drive program interface.

Description

The method and system of the driver framework design based on relief area
Technical field
The present invention relates to moving communicating field, the method for driver framework design more particularly, to based on relief area and be System.
Background technology
Digital Signal Processing in mobile communication base band business(Embedded)Field, various base band business(WIMAX、LTE、 UMTS, TD-SCDMA, GSM etc.)Operate on a set of driver platform software, or a kind of base band business is in a set of driving journey Run on a variety of hardware platforms under the support of sequence platform software.In existing treatment technology, in order to reach to basic-level support Multiple hardwares platform, the demand to the multiple base band business of high-rise support, software platform needs for every kind of hardware platform and every kind of industry Business processes the driver providing Complete customization.When service needed changes hardware platform, software platform(Driver software) In the code related to hardware platform be accomplished by significantly being changed.At present in built-in field, there is not yet and both supported TI hardware platform, support again Freescale hardware platform and other hardware platform software platform.
Digital Signal Processing in mobile communication base band business(Embedded)Field, multiple to basic-level support hard in order to reach Part platform, the demand to the multiple base band business of high-rise support, software platform needs for every kind of hardware platform and every kind of Business Processing The driver of Complete customization is provided.When service needed changes hardware platform, software platform(Driver software)In with hard The related code of part platform is accomplished by significantly being changed.This modification brings to software design, exploitation, test, maintenance Larger workload and risk.As can be seen here, traditional framework mode makes driver software(Software platform)Reusable There is certain defect in property, the aspect such as portability, configurability, maintainability.
Digital Signal Processing in mobile communication base band business(Embedded)Field, various base band business(WIMAX、LTE、 UMTS, TD-SCDMA, GSM etc.)Operate on a set of driver platform software, or a kind of base band business is in a set of driving journey Run on a variety of hardware platforms under the support of sequence platform software.For example, general dsp chip(As TI DSP, Freescale DSP, LSI DSP etc.)Or carry the hardware platforms such as the SOC of dsp processor core or CPU core.In traditional process, in order to Reach to basic-level support multiple hardwares platform, to the high-rise demand supporting multiple base band business, software platform needs for every kind of hard Part platform and the software of every kind of Business Processing offer Complete customization.For example, the version A of base band business operates on TI DSP, phase Operate on Freescale DSP with the version B of base band business, in order to support this two sets of hardware platforms, software platform frequently with Architectural schemes be two sets of drivers of offer respectively, and two sets of UDI functions are also inconsistent(Interface typically sets It is calculated as relying on hardware, hardware is different, interface function is also different).The consequence so leading to is that business release A is if necessary to run On Freescale DSP hardware platform or business release B needs to operate on TI DSP hardware platform, business release A or industry In the software platform of business version B, the code related to hardware platform is accomplished by significantly being changed, and this modification is to software Design, exploitation, test, maintenance bring larger workload and risk.As can be seen here, traditional software platform framework mode makes drive Dynamic program software(Software platform)There is certain lacking at aspects such as reusability, portability, configurability, maintainabilitys Fall into.
In general purpose computer field, there are Windows, Linux, Unix etc. commercial at present or open source operating system provides unification Interface(The VFS interface of such as Linux), cross-platform(Support ARM/X86/MIPS/SPARC/SH etc.)Software platform.But The DSP of TI series only supported by the DSP/BIOS platform that built-in field, such as TI provide, and the SmartDSP OS of Freesacle is only Support Freescale series DSP etc., there is not yet at present and both supported TI hardware platform, support again Freescale hardware platform and Other hardware platforms software platform.
Content of the invention
In order to solve the problems of the prior art, the invention provides a kind of driver framework design based on relief area Method.
The invention provides a kind of method of the driver framework design based on relief area, drive journey including buffering region layer Sequence, logical channel layer driver, physical channel layer driver, base band business uses the function that relief area driver provides Interface;Relief area driver and logical channel driver are inheritances, and logical channel realizes the function pointer of relief area The function pointing to, and the function pointer assignment to relief area when logical channel creates example;Logical channel driver and thing Reason channels drive program is syntagmatic or paradigmatic relation, can support multiple logical channels, logic on a physical channel Channel layer driver uses the handling function of physical channel layer driver, is configured by configuration function;Physical channel The reception and the transmission that are hardware, complete data of driver operation.
As a further improvement on the present invention, relief area includes cyclic buffer, block buffer, frame buffer zone and fixation Relief area, the method also includes cyclic buffer interface, block buffer interface, frame buffer zone interface and fixing relief area and connects Mouthful.
As a further improvement on the present invention, described cyclic buffer includes read pointer, write pointer, pre- read pointer, prewrites Pointer, it is intended that source address, destination address and length when described fixing relief area is read and write every time.
As a further improvement on the present invention, described block buffer has following feature:Safeguard that this delays by reading and writing pointer Rush area;Total block number mesh have to be larger than equal to 2;Read each block data when, return length be all valid data in this block Length;Same piece, synchronization supports multiple write operation, does not support multiple read operation.
As a further improvement on the present invention, described frame buffer zone has following feature:
Frame buffer zone is managed using queue, and queue at least contains message queue and idle queues;
The frame buffer zone size that each queue element (QE) points to is identical;
Each queue element (QE) and each frame buffer zone are bindings.
Present invention also offers a kind of driver framework designed system based on relief area, drive including buffering region layer Program, logical channel layer driver, physical channel layer driver, base band business uses the letter that relief area driver provides Number interface;Relief area driver and logical channel driver are inheritances, and the function that logical channel realizes relief area refers to The function that pin points to, and the function pointer assignment to relief area when logical channel creates example;Logical channel driver with Physical channel driver is syntagmatic or paradigmatic relation, can support multiple logical channels, patrol on a physical channel Collect the handling function that channel layer driver uses physical channel layer driver, configured by configuration function;Physics leads to The reception and the transmission that are hardware, complete data of road driver operation.
As a further improvement on the present invention, relief area includes cyclic buffer, block buffer, frame buffer zone and fixation Relief area, the method also includes cyclic buffer interface, block buffer interface, frame buffer zone interface and fixing relief area and connects Mouthful.
As a further improvement on the present invention, described cyclic buffer includes read pointer, write pointer, pre- read pointer, prewrites Pointer, it is intended that source address, destination address and length when described fixing relief area is read and write every time.
As a further improvement on the present invention, described block buffer has following feature:Safeguard that this delays by reading and writing pointer Rush area;
Total block number mesh have to be larger than equal to 2;
Read each block data when, return length be all valid data in this block length;
Same piece, synchronization supports multiple write operation, does not support multiple read operation.
As a further improvement on the present invention, described frame buffer zone has following feature:
Frame buffer zone is managed using queue, and queue at least contains message queue and idle queues;
The frame buffer zone size that each queue element (QE) points to is identical;
Each queue element (QE) and each frame buffer zone are bindings.
The invention has the beneficial effects as follows:The present invention is analyzing existing mobile communication base band business(Including WIMAX, LTE, UMTS, TD-SCDMA, GSM etc.)On the basis of data processing feature, obtain the base band business based on relief area for four classes(Including base Business in cyclic buffer, the business based on block buffer, the business based on frame buffer zone, the business based on fixing relief area Deng).According to this four classes relief area business, take out four class relief areas, and embedded software is gone out based on this four classes Buffer Design The device driver framework of platform.It is abstract that the driver framework of present invention design provides four classes for base band Business Processing , unified buffer interface, all connect than traditional driver at aspects such as cross-platform transplantability, vigorousness and configurability Mouth is greatly improved.
Brief description
Fig. 1 is the driver framework figure based on relief area of the present invention.
Fig. 2 is the cyclic buffer structure chart of the present invention.
Fig. 3 is the block buffer structure chart of the present invention.
Fig. 4 is the frame buffer configuration figure of the present invention.
Fig. 5 is the fixing relief area structure chart of the present invention.
Specific embodiment
To mobile communication base band business(WIMAX, LTE, UMTS, TD-SCDMA, GSM etc.)After data processing is analyzed, It can be found that the following features that base band Business Processing has:
1. because reason, the business number such as processor is different with the data processing speed of Peripheral Interface, business datum flow is big All carry out data buffer storage according to including the data such as controlling stream, Media Stream, commissioning stream using relief area;
2. take and account for from processing speed, memory source, the operation to relief area can be divided into first copy reprocessing Read-write(Read-write with copy)Mode and the read-write both modes not copying directly process on relief area;
3. base band type of service determines the attribute of relief area, and these attributes include relief area type(Including circular buffering Area, block race way, frame buffer zone and fixing relief area), size, level(Level1RAM in DDR RAM, piece, in piece Level2RAM etc.), read-write mode(Band copy read-write or direct read/write), carry out auxiliary transmission etc. the need of using DMA;
4. base band business can abstract be four kinds of relief area business, i.e. cyclic buffer business, block buffer business, frame buffering Area's business and fixing relief area business.The present invention devises the similar buffer interface of four classes, they be cyclic buffer interface, Frame buffer zone interface, block buffer interface and fixing buffer interface.
The driver framework based on relief area of present invention design is as shown in figure 1, framework can be divided into following three layers:
1. buffer region layer(Ccf layer)Driver:This layer is unrelated with equipment, supports the demand such as cross-platform, reusable;
2. logical channel layer driver:Logical channel is all related to hardware device and base band business, so different is hard Part equipment or different base band business, need to realize inheriting the driver of buffer characteristics;
3. physical channel layer driver:Physical channel is related to hardware device, so different hardware devices, needs to realize Different drivers.
The three-tier architecture design of above-mentioned driver meets to rely on is inverted principle, level baseband business procedure and bottom layer driving Program is dependent on relief area ccf layer, and bottom layer driving driver realizes the function of relief area frame requirements, and level baseband industry The function of make suring with the offer of relief area framework, level baseband business and bsp driver are orthogonal, independent mutually(Low coupling Close).Wherein, the present invention introduces the concept of logical channel in framework, and an a kind of corresponding relief area/application of logical channel is real Example.Logical channel is with the difference of physical channel, and multiple logical channels can be supported in a physical channel, and this mechanism makes often Plant Business Processing and can reduce, using independent logical channel, the mutually exclusive operation that sharing channel is brought, improve efficiency and stablize Property.Additionally, this driver framework can adopt the Object-Oriented Design of C language, realize inheritance model, make relief area operate tool There is polymorphism, meet the operation such as buffer area read-write, reception and transmission of each logical channel class and require.
Driver framework in figure shown in Fig. 1, buffering divide into cyclic buffer, block buffer, frame buffer zone with And fix relief area.
Wherein, the cyclic buffer shown in Fig. 2 has following feature:
1. safeguard this relief area by reading and writing pointer(Actually also pre-read and pre- write pointer), give tacit consent to various pointers more New unit is Byte;
2. apply the data packet length inserted every time unequal, because data length is unequal, typically in packet In there is data length field;
3. the packet acquiescence filled in every time is all 4 byte-aligned(Application data bag can not line up, and driver is complete Become alignment work);
4. work as relief area(Buffer)When trailing space is not enough, need to increase Pad bag(Acquiescence Pad bag form: 0xFFFF0000+Pad length).Assume that Pad length is 256, then Pad bag is 0xFFFF0100.
Block shown in Fig. 3(bank)Relief area then has following characteristics:
1. safeguard this relief area by reading and writing pointer;
2. the renewal unit of various pointers is a Bank Size;
3. apply the data packet length inserted every time unequal, but fill in every time and not can exceed that a Bank Size;
4. total Bank number have to be larger than equal to 2, i.e. n >=2;
5. read each Bank data when, return length be all valid data in this Bank length;
6. same Bank, synchronization supports multiple write operation, does not support multiple read operation;
7. this type Buffer can not be managed at present and be used for chip chamber(Write finger because receiving terminal is not received by Bank Pin, except these write pointers are sent to receiving terminal by the non-timed).
Frame buffer zone shown in Fig. 4 has following feature:
1. frame buffer zone(Frame Buffer)It is managed using queue, in general queue at least contains message queue (MsgQue)And idle queues(FreeQue);
2. the Frame Buffer size that each queue element (QE) points to is identical;
3. can be continuous or discontinuous between each Frame Buffer;
4. the data packet length applied is variable, but not can exceed that Frame Size, typically has field list in queue element (QE) Show data packet length;
5. each queue element (QE) and each Frame Buffer are bindings.
Fixing relief area shown in Fig. 5 has following feature:
1. drive and do not make any caching;
It is intended that source address, destination address and length when 2. reading and writing every time;
3. it is similar to Copy function, the space that the data of certain length is started to another address from certain address Copy.
As shown in figure 1, the present invention adopts the Object-Oriented Design of C language, the mutual relation between its module is as follows:
1. base band business uses relief area driver(Relief area class)The function interface providing;
2. relief area driver and logical channel driver(Logical channel class)It is inheritance, logical channel class continues Hold relief area class.Logical channel realizes the function that the function pointer of relief area points to, and when logical channel creates example to slow Rush the function pointer assignment in area;
3. logical channel driver and physical channel driver(Physical channel class)It is syntagmatic/paradigmatic relation, Multiple logical channels can be supported on a physical channel, in driver, logical channel class uses the operation of physical channel class Function, is configured by configuration function;
4. physical channel driver(Physical channel class)The reception and the transmission that are hardware, complete data of operation.
The driver framework of application present invention design, the process analyses of mobile communication base band business operation in driver As follows:
1. the read-write of relief area, including the read-write with copy or direct read/write it is only necessary to most 1 call back function.For example Cyclic buffer, needs the buffer area read-write function of calling logic passage class, and current readjustment is to support multiple cyclic buffers The read-write of form;
2. the reception of relief area and transmission can be received or be sent it is only necessary to carry out 2 function calls.This 2 letters It is relief area class respectively that number calls(As base class or parent)Calling logic passage class(As derived class or subclass)Interface, logic Passage class interface interchange physical channel class(Hardware)Interface, the operation that just can complete hardware receives and sends.With Linux using empty Intend file system and carry out data receiver and transmission(System also needs to 6 function calls after calling)Compare, in the present invention, function returns Number of times is adjusted to greatly reduce, program operational efficiency is lifted.
As seen from Figure 1, according to the thought of layering/module, can be adopted based on the driver framework of four class relief areas Object-oriented method is designed, including three below content:
1. buffering plot structure and Interface design
Enter row buffer layer first(Ccf layer)Structure and Interface design, it includes following two steps:
1st step:Referring to figs. 2 to Fig. 5, according to cyclic buffer, block buffer, frame buffer zone, fixing relief area structure Figure, relief area is respectively designated as struct T_CyclicBuf, struct T_BankBuf, struct T_FrameBuf, Struct T_FixBuf, and the structure member of each buffering plot structure is determined according to structure chart;
2nd step:Enter the Interface design of row buffer class.Go out various framework function, such as xx_read for Buffer Design (), xx_write (), xx_send () etc., xx represent relief area name.
2. logical channel structure and Interface design
Next to that logical channel Rotating fields and Interface design, it also includes two steps, specific as follows:
1st step:The structure design of logical channel class, logical channel Similar integral relief area class, in C language, inheritance The structure of relief area class need to be placed in the 1st structure member of logical channel class, relief area class can be by multiple logical channel classes Inherit, thus supporting the operation of multiple relief areas.For example, the structure design of the Srio Directio passage based on cyclic buffer As follows:
struct T_CyclicBuf_SrioDirectioCh;
2nd step:The Interface design of logical channel class.Most of functions of logical channel class are to realize relief area class correlation letter Number pointer, these functions are not opened to the outside world, only create and close function, and a small amount of peculiar function of logical channel class is external Open.For example, the establishment of struct T_CyclicBuf_SrioDirectioCh and closing function yy_open () and yy_ Close (), yy are logical channel module names.
3. physical channel structure and Interface design.
It is finally physical channel Rotating fields and Interface design.Physical channel is determined by hardware corridor completely, including structure and Interface.For example, physical channel structure is:struct T_SrioDirectioCh;Physical channel interface is zz_open (), zz_ Close (), zz_transfer ().
The invention also discloses a kind of driver framework designed system based on relief area, drive including buffering region layer Program, logical channel layer driver, physical channel layer driver, base band business uses the letter that relief area driver provides Number interface;Relief area driver and logical channel driver are inheritances, and the function that logical channel realizes relief area refers to The function that pin points to, and the function pointer assignment to relief area when logical channel creates example;Logical channel driver with Physical channel driver is syntagmatic or paradigmatic relation, can support multiple logical channels, patrol on a physical channel Collect the handling function that channel layer driver uses physical channel layer driver, configured by configuration function;Physics leads to The reception and the transmission that are hardware, complete data of road driver operation.
Relief area includes cyclic buffer, block buffer, frame buffer zone and fixing relief area, and the method also includes circulating Buffer interface, block buffer interface, frame buffer zone interface and fixing buffer interface.
Described cyclic buffer includes read pointer, write pointer, pre- read pointer, pre- write pointer, and described fixing relief area is each It is intended that source address, destination address and length during read-write.
Described block buffer has following feature:Safeguard this relief area by reading and writing pointer;Total block number mesh have to be larger than Equal to 2;Read each block data when, return length be all valid data in this block length;Same piece, synchronization props up Hold multiple write operation, do not support multiple read operation.
Described frame buffer zone has following feature:Frame buffer zone is managed using queue, and queue at least contains message team Row and idle queues;The frame buffer zone size that each queue element (QE) points to is identical;Each queue element (QE) and each frame buffer Area is binding.
Using the architecture technology of the present invention, device driver can be made in portability, vigorousness, efficiency, motility etc. Aspect obtains preferable effect.It is portable raising first, mainly include two kinds of portabilities.The first portability is The portability of base band business, it is only necessary to modification relevant configuration, such as relief area on the software platform based on the present invention, appoints Business and other device resource allocation strategy, software platform just can easily be supported different base band business or support multiple base band simultaneously Business.Second portability is the portability of hardware platform, by realizing newly-increased driver(Hardware device correlation Part)Carry out the support to new hardware platform, and buffer interface keeps constant, because base band business is only connect using relief area Mouthful, so base band business procedure is without any changes, thus being easily reached the cross-platform characteristic of level baseband business.Just because of Both is portable, and the software platform based on architecture design of the present invention supports the operation of following scene:
(1)The switching of base band business.For example switch to base band business WIMAX or from base band business from UMTS base band business UMTS switches to base band business WIMAX and base band business LTE, in addition to the configuration files such as modification resource distribution, task configuration, bottom Layer driver need not be changed.
(2)The switching of bsp driver.For example switch to Freescale hardware platform from TI hardware platform, only need to cut Change to the device driver of Freescale hardware platform, base band business and the software platform interface calling are high-level business phase Close code to be not required to change.
The architecture technology of the present invention also can improve the motility of base band business software deployment.Such as two modular services have information Interaction, belongs to cyclic buffer business, using cyclic buffer operate interface.Now by this two modules from two of same chip The deployment of core switches to the interaction of two cores of two chip chambers, no matter which kind of interface chip chamber uses, comes for base band business Say, still complete the read-write operation of data using cyclic buffer operate interface, the modification of hardware is in base band business it appear that thoroughly Bright, specifically hardware-related operation is realized by the logical channel depending on buffer interface.Certainly, setup code and The related configuration code of platform also needs to change.
In terms of the raising of vigorousness, the architecture technology of the present invention is standardized to four kinds of relief area operations, provides four Cover similar function interface, including the operation such as reading and writing, reception, transmission.Because these function interfaces are tested through abundant, and have There is higher reusability, and function parameter is judged and ensures, directly use array or special letter with traditional Number process is compared, and these normalizing operations will reduce memory overwriting etc. extremely so that program is more healthy and stronger.Meanwhile, using mould The framework of massing, reduces coupling between module and module, when increasing or change hardware, only need to be according to buffer interface Carry out design, realization and the test of this driver of modules, reduce the impact that modification is brought to whole driver.
In terms of efficiency raising, the architecture technology of the present invention uses inheritance mechanism(C language uses function pointer)Realize slow Rush the various operations in area.From the point of view of the level of base band calling service relief area operation, at most only need two-layer just can reach operation The purpose of hardware, completes transmission or the reception of data.
The architecture technology of the present invention be exploitation unified, reusable driver test platform provides the foundation.Buffering Area abstract so that no matter how hardware platform changes, the buffer interface externally providing will not change, this change with constant Change, so that the Uniting of the driver test platform based on relief area and test case optimization is become easier to.Using this Bright, the reusable a set of test case of various hardware platform and test platform.
Above content is to further describe it is impossible to assert with reference to specific preferred implementation is made for the present invention Being embodied as of the present invention is confined to these explanations.For general technical staff of the technical field of the invention, On the premise of present inventive concept, some simple deduction or replace can also be made, all should be considered as belonging to the present invention's Protection domain.

Claims (8)

1. a kind of based on relief area driver framework design method it is characterised in that include buffering region layer driver, Logical channel layer driver, physical channel layer driver, base band business is connect using the function that relief area driver provides Mouthful;Relief area driver and logical channel driver are inheritances, and the function pointer that logical channel realizes relief area refers to To function, and logical channel create example when to relief area function pointer assignment;Logical channel driver and physics Channels drive program is syntagmatic or paradigmatic relation, can support multiple logical channels on a physical channel, and logic is led to Channel layer driver uses the handling function of physical channel layer driver, is configured by configuration function;Physical channel is driven The reception and the transmission that are hardware, complete data of dynamic program operation;Relief area includes cyclic buffer, block buffer, frame buffering Area and fixing relief area, the method also includes cyclic buffer interface, block buffer interface, frame buffer zone interface and fixation Buffer interface.
2. method according to claim 1 it is characterised in that:Described cyclic buffer includes read pointer, write pointer, pre-reads Pointer, pre- write pointer, it is intended that source address, destination address and length when described fixing relief area is read and write every time.
3. method according to claim 1 is it is characterised in that described block buffer has following feature:Referred to by read-write This relief area safeguarded by pin;
Total block number mesh have to be larger than equal to 2;
Read each block data when, return length be all valid data in this block length;
Same piece, synchronization supports multiple write operation, does not support multiple read operation.
4. method according to claim 1 is it is characterised in that described frame buffer zone has following feature:
Frame buffer zone is managed using queue, and queue at least contains message queue and idle queues;
The frame buffer zone size that each queue element (QE) points to is identical;
Each queue element (QE) and each frame buffer zone are bindings.
5. a kind of driver framework designed system based on relief area it is characterised in that include buffering region layer driver, Logical channel layer driver, physical channel layer driver, base band business is connect using the function that relief area driver provides Mouthful;Relief area driver and logical channel driver are inheritances, and the function pointer that logical channel realizes relief area refers to To function, and logical channel create example when to relief area function pointer assignment;Logical channel driver and physics Channels drive program is syntagmatic or paradigmatic relation, can support multiple logical channels on a physical channel, and logic is led to Channel layer driver uses the handling function of physical channel layer driver, is configured by configuration function;Physical channel is driven The reception and the transmission that are hardware, complete data of dynamic program operation;Relief area includes cyclic buffer, block buffer, frame buffering Area and fixing relief area, this system also includes cyclic buffer interface, block buffer interface, frame buffer zone interface and fixation Buffer interface.
6. system according to claim 5 it is characterised in that:Described cyclic buffer includes read pointer, write pointer, pre-reads Pointer, pre- write pointer, it is intended that source address, destination address and length when described fixing relief area is read and write every time.
7. system according to claim 5 it is characterised in that:Described block buffer has following feature:Referred to by read-write This relief area safeguarded by pin;
Total block number mesh have to be larger than equal to 2;
Read each block data when, return length be all valid data in this block length;
Same piece, synchronization supports multiple write operation, does not support multiple read operation.
8. system according to claim 5 is it is characterised in that described frame buffer zone has following feature:
Frame buffer zone is managed using queue, and queue at least contains message queue and idle queues;
The frame buffer zone size that each queue element (QE) points to is identical;
Each queue element (QE) and each frame buffer zone are bindings.
CN201310753185.9A 2013-12-31 2013-12-31 Drive program architecture design method and system based on buffer area Expired - Fee Related CN103729187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310753185.9A CN103729187B (en) 2013-12-31 2013-12-31 Drive program architecture design method and system based on buffer area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310753185.9A CN103729187B (en) 2013-12-31 2013-12-31 Drive program architecture design method and system based on buffer area

Publications (2)

Publication Number Publication Date
CN103729187A CN103729187A (en) 2014-04-16
CN103729187B true CN103729187B (en) 2017-02-15

Family

ID=50453273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310753185.9A Expired - Fee Related CN103729187B (en) 2013-12-31 2013-12-31 Drive program architecture design method and system based on buffer area

Country Status (1)

Country Link
CN (1) CN103729187B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407843A (en) * 2014-10-22 2015-03-11 浪潮软件集团有限公司 Dependency inversion optimization method for decoupling high-low layer modules
CN106330764B (en) * 2016-08-15 2019-11-15 北京蓝海讯通科技股份有限公司 Manage method, application and the calculating equipment of data buffering

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801020A (en) * 2005-12-28 2006-07-12 河北工业大学 Embedded field bus protocol interface device and implementation method
CN101788803A (en) * 2010-01-15 2010-07-28 上海维宏电子科技有限公司 Easily expansible numerical control system based on Windows
CN102541760A (en) * 2012-01-04 2012-07-04 记忆科技(深圳)有限公司 Computer system based on solid-state hard disk

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8959280B2 (en) * 2008-06-18 2015-02-17 Super Talent Technology, Corp. Super-endurance solid-state drive with endurance translation layer (ETL) and diversion of temp files for reduced flash wear

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801020A (en) * 2005-12-28 2006-07-12 河北工业大学 Embedded field bus protocol interface device and implementation method
CN101788803A (en) * 2010-01-15 2010-07-28 上海维宏电子科技有限公司 Easily expansible numerical control system based on Windows
CN102541760A (en) * 2012-01-04 2012-07-04 记忆科技(深圳)有限公司 Computer system based on solid-state hard disk

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于虚拟机技术的安全驱动模型设计与实现;殷一鸣;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090215(第2期);正文第9-13,30-33页 *

Also Published As

Publication number Publication date
CN103729187A (en) 2014-04-16

Similar Documents

Publication Publication Date Title
CN104956347B (en) By a kind of interconnection agreement enumerate and/or configuration mechanism be used for different interconnection agreements
US20010049726A1 (en) Data path engine
CN100464304C (en) Device and method for realizing zero copy based on Linux operating system
CN102163072B (en) Software-based thread remapping for power savings
Reusing Comparison of operating systems tinyos and contiki
JP5671150B2 (en) Lockless buffer management scheme for telecommunications network applications
US20020016869A1 (en) Data path engine
CN101520738A (en) Virtual machine system based on the management technology of equipment access storage and equipment access control method thereof
WO2001095097A2 (en) Wireless java device
CN109144710A (en) Resource regulating method, device and computer readable storage medium
CN107967225A (en) Data transmission method, device, computer-readable recording medium and terminal device
CN103294635A (en) Modem component processing core and integrated circuit based on software communication architecture (SCA)
CN1282085C (en) Method of parallel regulating multi-task of imbedding system
CN114363170A (en) Container service network configuration method and related product
CN103729187B (en) Drive program architecture design method and system based on buffer area
CN113849296A (en) Apparatus and method for closed loop dynamic resource allocation control framework
CN108351838B (en) Memory management functions are provided using polymerization memory management unit (MMU)
CN113849223A (en) Apparatus and method for resource allocation control framework using performance flags
CN104133671B (en) The hardware interface screening arrangement and method of a kind of digital processing device
CN106055481A (en) Computer program test method and device
CN104536773B (en) Embedded software dynamic memory recovery method based on internal memory scanning
CN103631645A (en) Digital family middleware system based on digital medical treatment
CN1859356A (en) Service processing device and service processing method
CN117873508A (en) Method, device, equipment and medium for processing incremental data of software component database
CN105893036A (en) Compatible accelerator extension method for embedded system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170215

Termination date: 20201231